html, body {
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;    /* IE и Edge */
}

html::-webkit-scrollbar, body::-webkit-scrollbar {
    display: none;
}

*::-webkit-scrollbar {
    display: none;
}
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-light-gray);
    color: #fff;
    padding: 14px 0;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    display: none; /* Скрыто по умолчанию, включается скриптом */
}

.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    padding-right: 20px;
    color: #999;
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: underline;
    color: #999;
}

.cookie-btn {
    background: var(--accent-color);
    color: #000;
    border: none;
    padding: 10px 25px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    white-space: nowrap;
    transition: background 0.3s ease;
}

.cookie-btn:hover {
    background: none;
    color: #fff;
    outline: solid 1px var(--accent-color);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-content p {
        padding-right: 0;
        margin-bottom: 15px;
    }
}
.polityka{
    letter-spacing: 0.1em;
    color: #999;
    font-size: 12px;
}
.polityka a{
    text-decoration: underline;
}
#policy-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#policy-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content.policy-content {
    background-color: #ffffff;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

#policy-modal-overlay.active .modal-content.policy-content {
    transform: translateY(-10vh);
}

.policy-content .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #888;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.policy-content .close-btn:hover {
    color: #000;
}

.policy-scroll-container {
    padding: 0px 10px 0px 10px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
}

.policy-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.policy-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0 12px 12px 0;
}

.policy-scroll-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 6px;
}

.policy-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.privacy-policy {
    color: #333;
    font-family: inherit;
    line-height: 1.6;
}

.privacy-policy h1 {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
}

.privacy-policy h2 {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.privacy-policy p {
    font-size: 15px;
    margin-bottom: 15px;
}

.privacy-policy ul {
    margin: 0 0 20px 0;
    padding-left: 0;
    list-style-type: none;
}

.privacy-policy li {
    font-size: 15px;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.privacy-policy li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--color-yellow);
    border-radius: 50%;
}

.privacy-policy a {
    color: var(--color-yellow);
    text-decoration: none;
    transition: opacity 0.2s;
}

.privacy-policy a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.privacy-policy strong {
    font-weight: 600;
    color: #111;
}

@media (max-width: 600px) {
    .modal-content.policy-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .policy-scroll-container {
        padding: 40px 20px 20px 20px;
    }
    
    .privacy-policy h1 {
        font-size: 20px;
    }
    
    .privacy-policy h2 {
        font-size: 16px;
    }
    
    .privacy-policy p, 
    .privacy-policy li {
        font-size: 14px;
    }
    #policy-modal-overlay.active .modal-content.policy-content {
        transform: translateY(0vh);
    }
}
* {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
        /* --- ПЕРЕМЕННЫЕ И СБРОС --- */
        :root {
            --color-yellow: #F4D03F;
            --color-yellow-dark: #D4AC0D;
            
            --color-dark: #1F1F1F;
            --color-gray-text: #6b7280;
            --color-light-gray: #EBEBEB; /* Цвет фона Hero */
            --color-light-bg: #F5F5F5;   /* Цвет фона Услуг */
            --color-white: #ffffff;
            
            --font-main: 'Roboto', sans-serif;
            --font-heading: 'Montserrat', sans-serif;
            
            --container-width: 1200px;
            --header-height: 80px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: auto;
        }

        body {
            font-family: var(--font-main);
            color: var(--color-dark);
            background-color: var(--color-white);
            -webkit-font-smoothing: antialiased;
            line-height: 1.5;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: color 0.3s ease;
        }

        ul {
            list-style: none;
        }

        img {
            max-width: 100%;
            display: block;
        }

        /* --- ОБЩИЕ КЛАССЫ --- */
        .container {
            max-width: var(--container-width);
            margin: 0 auto;
            padding: 0 20px;
        }

        .section {
            padding: 100px 0;
        }

        .text-center { text-align: center; }
        .uppercase { text-transform: uppercase; }
        .font-black { font-weight: 900; }
        .text-yellow { color: var(--color-yellow); }

        /* Заголовки */
        h1, h2, h3 {
            font-family: var(--font-heading);
        }

        .section-title {
            font-size: 3rem;
            font-weight: 900;
            text-transform: uppercase;
            color: var(--color-dark);
            position: relative;
            display: inline-block;
            margin-bottom: 2rem;
            line-height: 1.1;
        }

        /* Подчеркивание заголовков - обновленный стиль */
        .title-underline {
            padding-bottom: 20px; /* Отступ снизу для линий */
        }

        /* Длинная тонкая полоска (фон) */
        .title-underline::before {
            content: '';
            position: absolute;
            left: 50%;
            bottom: 0;
            transform: translateX(-50%);
            width: 120px; /* Длина тонкой линии */
            height: 1px;  /* Толщина тонкой линии */
            background-color: var(--color-dark); /* черный цвет */
        }

        /* Утолщение в центре */
        .title-underline::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: -1.5px; /* Центрируем по вертикали */
            transform: translateX(-50%);
            width: 40px;  /* Длина утолщения */
            height: 4px;  /* Толщина утолщения */
            background-color: var(--color-dark); /* Акцентный цвет черный*/
        }

        /* --- SLIDING HERO BUTTONS (Новый стиль кнопок) --- */
        .sliding-buttons-wrapper {
            position: relative;
            display: inline-flex;
            border: 1px solid #aaa; /* Рамка стала чуть заметнее, так как убран фон */
            border-radius: 2px; /* Небольшое скругление */
            padding: 4px; /* Отступ внутри, чтобы желтый фон не прилипал к краям */
            background-color: transparent; /* УБРАН БЕЛЫЙ ФОН */
            box-shadow: none; /* УБРАНА ТЕНЬ */
        }

        /* Ссылки-кнопки */
        .sliding-btn {
            position: relative;
            z-index: 5; /* Текст должен быть выше фона */
            display: flex;
            align-items: center;
            justify-content: center;
            width: 160px; 
            height: 46px; 
            
            font-family: var(--font-heading);
            font-size: 11px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.2em;
            color: var(--color-dark);
            text-decoration: none;
            background: none;
            cursor: pointer;
            border: none;
            outline: none;
            transition: color 0.3s ease;
            
            /* Сброс стилей браузера для унификации */
            -webkit-appearance: none;
            appearance: none;
            margin: 0;
            line-height: normal;
        }

        /* Убираем разделительную линию, так как теперь есть общий блок */
        .sliding-btn:first-child::after {
            display: none;
        }

        /* Желтый скользящий фон */
        .sliding-bg {
            position: absolute;
            top: 4px;  /* Учитываем padding родителя */
            left: 4px; /* Учитываем padding родителя */
            height: 46px; /* Высота равна высоте кнопки */
            width: 160px; /* Ширина равна ширине кнопки */
            background-color: var(--color-yellow);
            z-index: 2; 
            transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
            border-radius: 1px;
            /* Тень для желтого фона, чтобы он выделялся */
            box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
            pointer-events: none;
        }

        /* --- ЛОГИКА ДВИЖЕНИЯ --- */
        
        /* Ширина кнопки 160px.
           При наведении на вторую кнопку, сдвигаем фон ровно на ширину одной кнопки.
        */
        .sliding-btn:nth-child(2):hover ~ .sliding-bg,
        .sliding-btn:nth-child(2):focus ~ .sliding-bg,
        .sliding-btn:nth-child(2):active ~ .sliding-bg {
            transform: translateX(160px); 
        }

        .sliding-btn:nth-child(1):hover ~ .sliding-bg,
        .sliding-btn:nth-child(1):focus ~ .sliding-bg,
        .sliding-btn:nth-child(1):active ~ .sliding-bg {
            transform: translateX(0);
        }

        /* --- END SLIDING BUTTONS --- */

        /* --- HEADER --- */
        .header {
            background-color: var(--color-light-gray);
            padding: 20px 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        /* Группировка правых элементов хедера для отступа от лого */
        .header-right-group {
            display: flex;
            align-items: center;
            gap: 40px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        /* SVG Логотип */
        .logo-svg {
            height: 64px; 
            width: auto;
            display: block;
        }

        .logo-text {
            font-family: var(--font-heading);
            font-weight: 700;
            text-transform: uppercase;
            font-size: 14px;
            line-height: 1;
            letter-spacing: 0.1em;
            color: var(--color-dark);
        }

        .nav-desktop {
            display: flex;
            align-items: center; /* Центрирование по вертикали */
            gap: 25px; /* Уменьшил отступ между пунктами (было 40px) */
        }

        .nav-link {
            font-family: var(--font-heading);
            font-size: 10px; /* Уменьшил шрифт (было 11px) */
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.15em; /* Чуть уменьшил трекинг */
            color: var(--color-dark);
            position: relative; 
            white-space: nowrap; /* Запрет переноса строк */
        }

        .nav-link:hover {
            color: var(--color-yellow);
        }

        /* Класс активной ссылки (когда мы на этом блоке) */
        .nav-link.active {
            color: var(--color-yellow);
        }

        /* --- LANGUAGE SWITCHER --- */
        .lang-switcher {
            display: grid; /* Используем сетку вместо flex */
            grid-template-columns: 1fr 1fr; /* Две колонки */
            gap: 2px 10px; /* Отступы: 2px вертикальный, 10px горизонтальный */
            margin-right: 20px;
            
        }

        .lang-link {
            font-family: var(--font-heading);
            font-size: 10px; 
            font-weight: 600;
            text-transform: uppercase;
            color: #9ca3af; 
            transition: color 0.2s ease;
            letter-spacing: 0.05em;
            text-decoration: none;
            cursor: pointer;
            line-height: 1; /* Для компактности */
        }

        .lang-link {
            font-family: var(--font-heading);
            font-size: 10px; /* Тоже уменьшил шрифт */
            font-weight: 600;
            text-transform: uppercase;
            color: #9ca3af; 
            transition: color 0.2s ease;
            letter-spacing: 0.05em;
            text-decoration: none;
            cursor: pointer;
        }

        /* --- SLIDING HERO BUTTONS (Обновлено) --- */
        .sliding-buttons-wrapper {
            position: relative;
            display: inline-flex;
            /* Убран фон и тень, оставлена только тонкая рамка */
            background-color: transparent;
            box-shadow: none;
            border: 1px solid rgba(0, 0, 0, 0.1); /* Еле заметная серая рамка */
            border-radius: 2px;
            padding: 4px;
        }

        /* ... existing code (sliding-btn styles) ... */

        /* Кнопка отправки формы (восстановлены и улучшены стили) */
        .btn-submit {
            background-color: var(--color-yellow);
            color: var(--color-dark);
            font-family: var(--font-heading);
            font-weight: 900;
            text-transform: uppercase;
            font-size: 11px;
            letter-spacing: 0.2em;
            padding: 16px 40px;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 15px;
            margin-top: 10px;
        }

        .btn-submit:hover {
            background-color: var(--color-yellow-dark);
            padding-left: 45px; /* Эффект движения при наведении */
        }

        /* --- HEADER RIGHT GROUP --- */
        /* Группировка правых элементов хедера для отступа от лого */
        .header-right-group {
            display: flex;
            align-items: center;
            gap: 30px; /* Уменьшил общий отступ между навигацией и кнопкой услуг */
        }

        .nav-link {
            font-family: var(--font-heading);
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.2em;
            color: var(--color-dark);
            position: relative; /* Для возможного подчеркивания */
        }

        .nav-link:hover {
            color: var(--color-yellow);
        }

        /* Класс активной ссылки (когда мы на этом блоке) */
        .nav-link.active {
            color: var(--color-yellow);
        }

        /* --- LANGUAGE SWITCHER --- */
        .lang-switcher {
            display: flex;
            align-items: center;
            gap: 12px; /* Расстояние между языками */
            /* Добавляем явный отступ справа, чтобы отодвинуть от следующего элемента (Контакты или Услуги) */
            margin-right: 30px; 
            display: none;
        }

        .lang-link {
            font-family: var(--font-heading);
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            color: #9ca3af; /* Светло-серый цвет для неактивных */
            transition: color 0.2s ease;
            letter-spacing: 0.05em;
            text-decoration: none;
            cursor: pointer;
        }

        .lang-link:hover {
            color: var(--color-dark);
        }

        /* Активный язык: темный и жирный */
        .lang-link.active {
            color: var(--color-dark);
            font-weight: 900; 
        }

        .btn-services {
            background-color: var(--color-yellow);
            color: var(--color-dark);
            font-family: var(--font-heading);
            font-weight: 700;
            text-transform: uppercase;
            font-size: 11px;
            letter-spacing: 0.2em;
            padding: 12px 28px;
            display: flex;
            align-items: center;
            gap: 10px;
            border: none; /* Убираем бордер, т.к. теперь это button */
            cursor: pointer; /* Курсор руки */
        }

        .btn-services:hover {
            background-color: var(--color-yellow-dark);
        }

        /* --- SERVICES DROPDOWN (Новое) --- */
        .services-wrapper {
            position: relative;
            display: inline-block;
        }

        .services-dropdown {
            display: none;
            position: absolute;
            top: 100%;
            right: 0;
            width: 280px;
            background-color: #ffffff; /* Фон изменен на белый */
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            z-index: 1100;
            flex-direction: column;
            padding: 10px 0;
            margin-top: 15px; /* Отступ от кнопки */
            border-radius: 2px;
            border: 1px solid #f0f0f0; /* Добавлена легкая рамка для контраста */
        }
        
        /* Стрелочка сверху меню */
        .services-dropdown::before {
            content: '';
            position: absolute;
            top: -8px; /* Подняли чуть выше, чтобы перекрыть бордер */
            right: 20px;
            width: 0; 
            height: 0; 
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-bottom: 8px solid #ffffff; /* Стрелочка тоже белая */
            z-index: 2;
        }

        .services-dropdown.active {
            display: flex;
            animation: fadeIn 0.2s ease-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .dropdown-item {
            padding: 15px 25px;
            font-family: var(--font-heading);
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--color-dark);
            text-decoration: none;
            transition: all 0.2s;
            border-bottom: 1px solid rgba(0,0,0,0.05);
            cursor: pointer;
            text-align: left;
            background: transparent;
            border-left: none;
            border-right: none;
            border-top: none;
            width: 100%;
        }

        .dropdown-item:last-child {
            border-bottom: none;
        }

        .dropdown-item:hover {
            background-color: var(--color-yellow); /* Подсветка желтым при наведении */
            padding-left: 35px; /* Эффект сдвига при наведении */
        }

        .menu-toggle {
            display: none;
            font-size: 24px;
            background: none;
            border: none;
            cursor: pointer;
            color: var(--color-dark);
        }

        /* Мобильное меню */
        .mobile-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background-color: white;
            padding: 20px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            border-top: 1px solid #eee;
        }

        .mobile-menu.active {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .mobile-link {
            font-family: var(--font-heading);
            font-weight: 900;
            text-transform: uppercase;
            font-size: 18px;
            letter-spacing: 0.05em;
        }

        /* --- HERO SECTION --- */
        .hero {
            background-color: var(--color-light-gray);
            padding-top: 180px;
            padding-bottom: 120px;
        }

        .hero-wrapper {
            display: flex;
            align-items: center;
            gap: 60px;
        }

        .hero-text-col {
            flex: 1;
        }

        .hero-img-col {
            flex: 1;
        }

        .hero-subtitle {
            font-family: var(--font-main);
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: #888;
            margin-bottom: 30px;
            display: block;
        }

        .hero-title {
            font-family: var(--font-heading);
            font-size: 48px;
            font-weight: 900;
            line-height: 0.95;
            text-transform: uppercase;
            color: var(--color-dark);
            margin-bottom: 30px;
        }

        .hero-description {
            color: #666;
            font-size: 15px;
            line-height: 1.6;
            margin-bottom: 40px;
            max-width: 450px;
        }

        .hero-actions {
            display: flex;
            gap: 20px;
        }

        .hero-image-wrapper {
            position: relative;
            width: 100%;
            height: 500px;
            border: 6px solid var(--color-yellow);
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
            /* Убран offset, рамка теперь часть контейнера */
        }

        .hero-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: brightness(0.95) contrast(1.1);
        }

        /* --- SERVICES SECTION --- */
        .services {
            background-color: var(--color-light-bg);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .service-card {
            background: white;
            padding: 50px 30px;
            text-align: center;
            border: 1px solid transparent;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .service-card:hover {
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
            border-color: #eee;
        }

        .service-icon {
            font-size: 48px;
            color: var(--color-yellow);
            margin-bottom: 30px;
            transition: transform 0.3s ease;
        }

        .service-card:hover .service-icon {
            transform: scale(1.1);
        }

        .service-title {
            font-family: var(--font-heading);
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            color: var(--color-dark);
        }

        /* --- ABOUT SECTION --- */
        .about-text {
            max-width: 800px;
            margin: 0 auto 60px;
            text-align: center;
            font-size: 15px;
            line-height: 1.8;
            color: #666;
        }

        .about-list {
            max-width: 800px;
            margin: 0 auto;
        }

        .about-item {
            display: flex;
            gap: 20px;
            margin-bottom: 25px;
            color: #555;
            font-size: 15px;
            line-height: 1.6;
        }

        .dot {
            width: 6px;
            height: 6px;
            background-color: var(--color-dark);
            margin-top: 10px;
            flex-shrink: 0;
        }

        /* --- COOPERATION --- */
        .cooperation-text {
            max-width: 900px;
            margin: 0 auto;
            text-align: center;
        }

        .cooperation-text p {
            margin-bottom: 25px;
            color: #666;
            line-height: 1.8;
            font-size: 15px;
        }

        /* --- CONTACTS --- */
        .contacts-form-wrapper {
            max-width: 700px;
            margin: 0 auto;
        }

        .form-subtitle {
            text-align: center;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: #999;
            margin-bottom: 50px;
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            margin-bottom: 50px;
        }

        .form-group input {
            width: 100%;
            border: none;
            border-bottom: 2px solid #eee;
            padding: 15px 5px;
            font-family: var(--font-main);
            font-size: 14px;
            background: transparent;
            outline: none;
            transition: border-color 0.3s;
        }

        .form-group input:focus {
            border-bottom-color: var(--color-yellow);
        }

        .form-footer {
            display: flex;
            justify-content: flex-end;
            flex-wrap: wrap;
        }

        /* Кнопка отправки формы */
        .btn-submit {
            background-color: var(--color-yellow);
            color: var(--color-dark);
            font-family: var(--font-heading);
            font-weight: 700;
            text-transform: uppercase;
            font-size: 11px;
            letter-spacing: 0.2em;
            padding: 15px 40px;
            border: none;
            cursor: pointer;
            transition: background-color 0.3s;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .btn-submit:hover {
            background-color: var(--color-yellow-dark);
        }

        /* --- FOOTER --- */
        .footer {
            background-color: var(--color-dark);
            color: #999;
            padding: 60px 0;
            font-size: 14px;
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }

        .footer-logo {
            font-family: var(--font-heading);
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            color: #999; /* Изменено с white на #999 */
            font-size: 12px;
        }

        .footer-info {
            display: flex;
            gap: 40px;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            font-weight: 500;
        }

        .footer-item {
            display: flex;
            align-items: center;
            gap: 10px;
            transition: color 0.3s;
            color: #999; /* Явное указание цвета */
            cursor: pointer;
        }

        .footer-item:hover, .polityka:hover {
            color: var(--color-yellow);
        }
        
        /* Иконки теперь тоже серые по умолчанию */
        .footer-item i {
            color: #999; 
            transition: color 0.3s;
        }

        /* При наведении на весь блок иконка тоже красится */
        .footer-item:hover i {
            color: var(--color-yellow);
        }

        /* --- MODAL --- */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 2000;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .modal-overlay.active {
            display: flex;
            opacity: 1;
        }

        .modal-content {
            background-color: white;
            width: 900px;
            max-width: 95%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            padding: 40px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            transform: translateY(20px);
            transition: transform 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .modal-overlay.active .modal-content {
            transform: translateY(0);
        }

        .modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: var(--color-dark);
            transition: color 0.3s;
            z-index: 10;
        }

        .modal-close:hover {
            color: var(--color-yellow);
        }

        .modal-header {
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid #eee;
        }

        .modal-title {
            font-family: var(--font-heading);
            font-size: 24px;
            font-weight: 900;
            text-transform: uppercase;
            color: var(--color-dark);
        }

        .modal-body {
            display: flex;
            gap: 40px;
        }

        .modal-left {
            flex: 1;
        }

        .modal-right {
            flex: 1;
        }

        .modal-list-title {
            font-weight: 700;
            margin-bottom: 15px;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .modal-ul {
            list-style: none;
        }

        .modal-li {
            position: relative;
            padding-left: 25px;
            margin-bottom: 12px;
            color: #555;
            font-size: 14px;
            line-height: 1.6;
        }

        .modal-li::before {
            content: '\f00c'; /* check icon */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 2px;
            color: var(--color-yellow);
            font-size: 12px;
        }

        .modal-img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            border-radius: 4px;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }

        /* --- MEDIA QUERIES (АДАПТИВНОСТЬ) --- */
        @media (max-width: 1024px) {
            .hero-title { font-size: 50px; }
            .services-grid { grid-template-columns: repeat(2, 1fr); }
            .hero-wrapper { gap: 40px; }
            /* Скрываем новую группу навигации на планшетах, как и раньше */
            .header-right-group { display: none; }
            .menu-toggle {display: block;}
            .lang-switcher{display: flex; margin-left: auto;}
        }

        @media (max-width: 768px) {
            .nav-desktop, .btn-services { display: none; }
            .hero-wrapper { flex-direction: column; text-align: center; }
            .hero { padding-top: 120px; padding-bottom: 60px; }
            .hero-title { font-size: 26px; margin-left: auto; margin-right: auto; }
            .hero-description { margin-left: auto; margin-right: auto; }
            .hero-actions { justify-content: center; }
            .hero-image-wrapper { height: 300px; }
            
            .services-grid { grid-template-columns: 1fr; }
            
            .section-title { font-size: 2rem; }
            
            .form-grid { grid-template-columns: 1fr; gap: 30px; }
            
            .footer-content { flex-direction: column; gap: 30px; }
            .footer-info { flex-direction: column; gap: 20px; align-items: center; text-align: center; }

            .modal-body {
                flex-direction: column-reverse;
            }
            .modal-img {
                height: 200px;
            }
            .modal-content {
                padding: 25px;
            }
        }
