/* ===== УНИКАЛЬНЫЕ СТИЛИ ДЛЯ ГЛАВНОЙ  ===== */

        .hero {
            background: linear-gradient(135deg, var(--primary-soft) 0%, #FFF9F5 100%);
            padding: 40px 0 30px;  /* Вертикальные отступы */
            position: relative;
            overflow: hidden;
            min-height: auto;      /* Не фиксированная высота */
        }
        .hero::before {
            content: "AEROCK";
            position: absolute;
            bottom: 10px;
            right: 20px;
            font-size: 15vw;
            font-weight: 400;
            color: rgba(242, 124, 56, 0.03);
            pointer-events: none;
        }
        .hero-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }
        .hero-title {
            font-size: 2.8rem;
            font-weight: 800;
            margin-bottom: 20px;
            color: var(--dark);
            line-height: 1.2;
        }
        .hero-title span {
            color: var(--primary);
            border-bottom: 4px solid var(--primary);
            padding-bottom: 5px;
            display: inline-block;
        }
        .hero-subtitle {
            font-size: 1.1rem;
            color: var(--gray);
            margin-bottom: 30px;
            max-width: 90%;
        }
        .hero-image {
            background: white;
            border-radius: 30px;
            padding: 10px;
            box-shadow: var(--shadow);
            border: 1px solid var(--border);
        }
        
        /* Стили для иконок в списках */
        .icon-list {
            list-style: none;
            padding: 0;
        }
        .icon-list li {
            padding: 10px 0;
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .icon-list i {
            color: var(--primary);
            width: 24px;
            font-size: 1.2rem;
        }

        /* ===== АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ (ТОЛЬКО ПЕРВАЯ СЕКЦИЯ) ===== */
        @media (max-width: 768px) {
            .hero {
                padding: 20px 0;        /* Минимальные отступы */
            }
            
            .hero-grid {
                grid-template-columns: 1fr;  /* Одна колонка */
                gap: 15px;                   /* Уменьшенный gap */
            }
            
            .hero-title {
                font-size: 1.8rem;            /* Уменьшил шрифт */
                margin-bottom: 10px;
                text-align: center;
            }
            
            .hero-title span {
                border-bottom-width: 3px;      /* Тоньше подчёркивание */
                padding-bottom: 3px;
            }
            
            .hero-subtitle {
                font-size: 0.95rem;            /* Подзаголовок */
                max-width: 100%;
                margin-bottom: 15px;
                text-align: center;
            }
            
            .hero-buttons {
                display: flex;
                flex-direction: column;        /* Кнопки друг под другом */
                gap: 10px;
                align-items: center;
                width: 100%;
            }
            
            .hero-buttons .btn {
                width: 100%;                   /* Кнопки на всю ширину */
                max-width: 280px;               /* Но не слишком широкие */
                padding: 10px 20px;
                font-size: 0.95rem;
                justify-content: center;
            }
            
            .hero-image {
                order: -1;                      /* Картинка сверху */
                max-width: 280px;                /* Ограничим ширину */
                margin: 0 auto 10px;             /* Центрируем */
                padding: 8px;
            }
            
            .hero-image img {
                max-height: 160px;                /* Ограничим высоту */
                width: auto;
                margin: 0 auto;
                display: block;
            }
        }

        @media (max-width: 480px) {
            .hero {
                padding: 15px 0;
            }
            
            .hero-title {
                font-size: 1.5rem;            /* Ещё меньше для узких экранов */
            }
            
            .hero-subtitle {
                font-size: 0.9rem;
            }
            
            .hero-image {
                max-width: 220px;
            }
            
            .hero-image img {
                max-height: 130px;
            }
        }

/* ===== ОБЩИЕ СТИЛИ ДЛЯ ВСЕГО САЙТА ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #F27C38;
    --primary-light: #FF9A5E;
    --primary-soft: #FFF0E6;
    --dark: #2E3A47;
    --gray: #6B7A8A;
    --light-gray: #F5F7FA;
    --white: #FFFFFF;
    --border: #E8ECF0;
    --shadow: 0 15px 30px -10px rgba(0,0,0,0.05);
    --watermark: rgba(242, 124, 56, 0.15);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Анимации */
.fade-up {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 18px rgba(242, 124, 56, 0.2);
}

.btn-primary:hover {
    background: #E06A2A;
    transform: translateY(-3px);
    box-shadow: 0 12px 22px rgba(242, 124, 56, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* ===== ШАПКА ===== */
header {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
}

/* Десктопное меню */
.desktop-nav {
    display: flex;
    gap: 24px;
}

.desktop-nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    white-space: nowrap;
}

.desktop-nav a:hover {
    color: var(--primary);
}

/* Мобильное меню */
.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 99;
    flex-direction: column;
    gap: 15px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 15px;
    border-radius: 12px;
    transition: all 0.3s;
    background: var(--light-gray);
}

.mobile-nav a:hover {
    background: var(--primary);
    color: white;
}

/* ===== ВОДЯНОЙ ЗНАК ===== */
.watermark-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.watermark-container::after {
    content: "ТЕПЛОПУШКА.РФ";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    color: var(--watermark);
    font-size: 2rem;
    font-weight: 800;
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.watermark-container img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* ===== ЗАГОЛОВКИ ===== */
h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 70px;
    height: 4px;
    background: var(--primary);
}

.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 80%;
    margin-bottom: 40px;
}

/* ===== СЕКЦИИ ===== */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--light-gray);
}

/* ===== ТАБЛИЦЫ ===== */
.table-responsive {
    overflow-x: auto;
    margin: 40px 0;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.9rem;
}

th {
    background: var(--primary);
    color: white;
    font-weight: 600;
    padding: 15px;
    text-align: center;
}

td {
    padding: 12px 15px;
    border: 1px solid var(--border);
    text-align: center;
}

tr:nth-child(even) {
    background: var(--light-gray);
}

/* ===== СЕТКИ ===== */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* ===== КАРТОЧКИ ===== */
.card {
    background: white;
    padding: 30px 25px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s;
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 25px 40px -12px rgba(242, 124, 56, 0.15);
}

.card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.model-badge {
    display: inline-block;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* ===== ЦЕНЫ ===== */
.price-table {
    margin: 20px 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.price-row:last-child {
    border-bottom: none;
}

.price-row .model {
    font-weight: 600;
}

.price-row .price-value {
    font-weight: 700;
    color: var(--primary);
}

/* ===== ДОКУМЕНТЫ ===== */
.docs {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.doc-item {
    background: white;
    padding: 16px 25px;
    border-radius: 50px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    color: var(--dark);
}

.doc-item i {
    color: var(--primary);
    font-size: 1.3rem;
}

.doc-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* ===== КОНТАКТНАЯ СЕКЦИЯ ===== */
.contact-section {
    background: var(--primary-soft);
    padding: 80px 0;
    text-align: center;
}

.btn-contact {
    background: var(--primary);
    color: white;
    font-size: 1.2rem;
    padding: 16px 50px;
    border-radius: 60px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 12px 25px rgba(242, 124, 56, 0.3);
    margin-top: 25px;
    text-decoration: none;
    display: inline-block;
}

.btn-contact:hover {
    background: #E06A2A;
    transform: scale(1.05);
}

/* ===== КНОПКА ВВЕРХ ===== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border-radius: 30px;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 8px 25px rgba(242, 124, 56, 0.4);
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: #E06A2A;
    transform: translateY(-5px) scale(1.05);
}

/* ===== ФУТЕР ===== */
footer {
    background: var(--dark);
    color: white;
    padding: 30px 0;
    text-align: center;
}

/* ===== СТРАНИЦА КОНТАКТОВ ===== */
.page-header {
    background: var(--primary-soft);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 80px 0;
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    display: inline-block;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--primary);
    width: 40px;
    text-align: center;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.yandex-form {
    background: white;
    border-radius: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
    min-height: 750px;
}

.yandex-form iframe {
    width: 100%;
    height: 750px;
    border: none;
}

/* ===== КАЛЬКУЛЯТОР ===== */
.calc-container {
    padding: 60px 0;
}

.iframe-wrapper {
    background: white;
    border-radius: 43px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.iframe-wrapper iframe {
    width: 100%;
    height: 3550px;
    border: 1px solid #BCF0F0;
    border-radius: 43px;
}

/* ===== ТЕХНИЧЕСКИЕ ТАБЛИЦЫ ===== */
.tech-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.9rem;
}

.tech-table th {
    background: var(--primary);
    color: white;
    padding: 12px;
    text-align: center;
}

.tech-table td {
    padding: 10px;
    border: 1px solid var(--border);
    text-align: center;
}

.tech-table tr:nth-child(even) {
    background: var(--light-gray);
}

.warning-box {
    background: #fff3e0;
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 20px 20px 0;
}

.warning-box i {
    color: var(--primary);
    margin-right: 10px;
}

.mount-list {
    list-style: none;
    padding: 0;
}

.mount-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mount-list i {
    color: var(--primary);
    width: 24px;
}

/* ===== АДАПТАЦИЯ ===== */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: block; }
    
    h2 { 
        font-size: 1.8rem; 
        display: block;
        text-align: center;
    }
    h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .section-desc { max-width: 100%; }
    
    .watermark-container::after {
        font-size: 1.2rem;
    }
    
    .contact-grid { grid-template-columns: 1fr; }
    .page-header h1 { font-size: 2rem; }
    .iframe-wrapper iframe { height: 2800px; }
    
    .hero-grid { grid-template-columns: 1fr; }
    .hero-image { order: -1; }
    .hero-title { font-size: 2rem; }
    .logo img { height: 35px; }
}

@media (max-width: 480px) {
    .watermark-container::after {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    .hero-title { font-size: 1.7rem; }
    .logo img { height: 30px; }
    .hero-buttons .btn { 
        padding: 10px 20px; 
        font-size: 0.9rem;
    }
    .price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 360px) {
    .tech-table {
        font-size: 0.7rem;
    }
    .tech-table td {
        padding: 5px 3px;
    }
}