.language-switcher {
    display: flex;
    gap: 6px;
    margin-left: 15px;
}

.lang-btn {
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    color: #525252;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    background: #e5e5e5;
    color: #0f172a;
}

.lang-btn.active {
    background: #0f172a;
    color: white;
    border-color: #0f172a;
}


/* МОБИЛЬНЫЙ ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКОВ */
.mobile-language-switcher {
    display: none;
    padding: 56px 8px 12px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-lang-title {
    font-size: 10px;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mobile-lang-buttons {
    display: flex;
    gap: 6px;
    justify-content: center;
    background: #f5f5f5;
    padding: 3px;
    border-radius: 20px;
}

.mobile-lang-btn {
    background: transparent;
    border: none;
    color: #525252;
    padding: 6px 16px;
    border-radius: 18px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
    font-weight: 500;
    flex: 1;
}

.mobile-lang-btn:hover {
    color: #0f172a;
}

.mobile-lang-btn.active {
    background: white;
    color: #0f172a;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

        /* ОСНОВНЫЕ СТИЛИ ХЕДЕРА */
        .header {
            background: rgba(255, 255, 255, 0.85);
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
            position: fixed;
            width: calc(100% - 3rem);
            max-width: 1400px;
            top: 1rem;
            left: 50%;
            transform: translateX(-50%);
            z-index: 998;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            transition: all 0.2s ease;
            border: 1px solid rgba(0, 0, 0, 0.06);
            padding: 0.5rem 0;
            overflow-x: hidden;
            border-radius: 24px;
        }

        .header.scrolled {
            background: rgba(255, 255, 255, 0.95);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            top: 0.5rem;
        }

        .nav-container {
            max-width: 1300px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 1.5rem;
            gap: 0.75rem;
            position: relative;
            min-height: 50px;
            width: 100%;
            overflow-x: hidden;
        }

        /* ЛОГО */
        .logo {
            position: relative;
            transition: opacity 0.2s ease;
            z-index: 2;
            flex-shrink: 0;
            text-decoration: none;
        }

        .logo:hover {
            opacity: 0.7;
        }

        .logo img {
            height: 46px;
            width: auto;
            display: block;
            transition: opacity 0.2s ease;
            max-width: 100%;
        }

        /* НАВИГАЦИЯ */
        .nav-center {
            position: absolute;
            left: 46%;
            transform: translateX(-50%);
            display: flex;
            justify-content: center;
            z-index: 1;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 0.25rem;
            margin: 0;
            padding: 0;
            align-items: center;
        }

        .nav-links li {
            position: relative;
        }

        .nav-links a {
            text-decoration: none;
            color: #525252;
            font-weight: 500;
            transition: all 0.2s ease;
            padding: 0.5rem 0.85rem;
            display: block;
            font-size: 0.88rem;
            white-space: nowrap;
            border-radius: 8px;
        }

        .nav-links a:hover {
            color: #0f172a;
            background: rgba(0, 0, 0, 0.04);
        }

        .nav-links a.active {
            color: #2e7d32;
            font-weight: 600;
            background: rgba(46, 125, 50, 0.08);
        }
        
        /* Адаптив для средних десктопов */
        @media (min-width: 769px) and (max-width: 1100px) {
            .nav-links a {
                padding: 0.45rem 0.6rem;
                font-size: 0.82rem;
            }
            
            .nav-links {
                gap: 0.15rem;
            }
            
            .cta-header-btn {
                padding: 0.5rem 1rem !important;
                font-size: 0.82rem !important;
            }
            
            .logo img {
                height: 40px;
            }
        }
        
        /* Адаптив для больших десктопов */
        @media (min-width: 1101px) {
            .nav-links a {
                padding: 0.5rem 1rem;
                font-size: 0.9rem;
            }
            
            .nav-links {
                gap: 0.3rem;
            }
        }

        /* ПРАВАЯ ЧАСТЬ */
        .header-right {
            display: flex;
            align-items: center;
            gap: 1rem;
            flex-shrink: 0;
            z-index: 2;
        }

        .cta-header-btn {
            padding: 0.5rem 1.1rem !important;
            background: transparent !important;
            background-image: none !important;
            color: #4caf50 !important;
            border: 2px solid #4caf50 !important;
            border-radius: 24px !important;
            font-weight: 600 !important;
            text-decoration: none !important;
            transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
            box-shadow: 0 2px 8px rgba(76, 175, 80, 0.1) !important;
            white-space: nowrap !important;
            position: relative !important;
            overflow: hidden !important;
            font-size: 0.85rem !important;
            letter-spacing: 0.01em !important;
            flex-shrink: 0 !important;
        }

        /* Убираем любые псевдоэлементы */
        .cta-header-btn::before,
        .cta-header-btn::after {
            display: none !important;
        }

        .cta-header-btn:hover {
            background: linear-gradient(135deg, #4caf50, #5cb860) !important; /* Зеленый фон только при ховере */
            background-image: linear-gradient(135deg, #4caf50, #5cb860) !important;
            color: white !important; /* Белый текст при ховере */
            border-color: #4caf50 !important;
            transform: translateY(-2px) !important;
            box-shadow: 0 8px 24px rgba(76, 175, 80, 0.3) !important;
        }

       .whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent; /* Убираем фон */
    border: none; /* Убираем обводку */
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: none; /* Убираем тень */
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.whatsapp-btn:hover {
    border-color: transparent;
    box-shadow: none; /* Убираем тень при ховере */
    transform: scale(1.1) translateY(-1px); /* Немного увеличиваем при ховере */
}

.whatsapp-btn img {
    width: 32px; /* Увеличиваем размер иконки */
    height: 32px;
    transition: all 0.3s ease;
    filter: brightness(0) saturate(100%) invert(35%) sepia(85%) saturate(1200%) hue-rotate(100deg) brightness(90%) contrast(95%); /* Зеленые оттенки */
}

.whatsapp-btn:hover img {
    filter: brightness(0) saturate(100%) invert(40%) sepia(95%) saturate(1500%) hue-rotate(100deg) brightness(85%) contrast(100%); /* Более насыщенный зеленый при ховере */
    transform: scale(1.05);
}

        /* МОБИЛЬНОЕ МЕНЮ */
        .mobile-menu-btn {
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 52px;
            height: 52px;
            background: transparent;
            border: none;
            cursor: pointer;
            transition: all 0.2s ease;
            padding: 0;
            border-radius: 12px;
            flex-shrink: 0;
        }

        .mobile-menu-btn:hover {
            background: #f5f5f5;
        }

        .menu-icon {
            transition: all 0.2s ease;
            width: 30px;
            height: 30px;
        }

        .menu-icon path {
            stroke: #525252;
        }

        .mobile-menu-btn:hover .menu-icon path {
            stroke: #0f172a;
        }

        .mobile-menu-btn.active {
            background: #f5f5f5;
        }

        .mobile-menu-btn.active .menu-icon path {
            stroke: #0f172a;
        }

        .mobile-menu {
            position: fixed;
            top: 80px;
            right: 1rem;
            width: 280px;
            max-width: calc(100vw - 2rem);
            background: white;
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
            border-radius: 16px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            z-index: 1000;
            padding: 12px;
            border: 1px solid rgba(0, 0, 0, 0.06);
        }

        .mobile-menu.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .mobile-menu-close {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 36px;
            height: 36px;
            background: #f5f5f5;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            transition: all 0.2s ease;
            z-index: 10;
        }

        .mobile-menu-close:hover {
            background: #e5e5e5;
        }

        .mobile-menu-close svg {
            width: 20px;
            height: 20px;
            stroke: #525252;
        }

        .mobile-menu-close:hover svg {
            stroke: #0f172a;
        }

        .mobile-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 999;
            backdrop-filter: blur(2px);
        }

        .mobile-menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .mobile-nav-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .mobile-nav-links li {
            margin: 0;
        }

        .mobile-nav-links a {
            display: block;
            padding: 12px 16px;
            color: #525252;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.2s ease;
            border-radius: 8px;
            margin-bottom: 2px;
        }

        .mobile-nav-links a:hover {
            background: #f5f5f5;
            color: #0f172a;
        }

        .mobile-nav-links a.active {
            color: #0f172a;
            font-weight: 600;
            background: #fafafa;
        }

        /* Кнопки действий в мобильном меню */
        .mobile-menu-actions {
            padding: 8px 0 4px;
            border-top: 1px solid #f0f0f0;
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-top: 8px;
        }

        .mobile-order-btn,
        .mobile-whatsapp-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 12px 16px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 0.95rem;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .mobile-order-btn {
            background: #10b981;
            color: white;
            border: none;
            box-shadow: 0 1px 3px rgba(16, 185, 129, 0.2);
        }

        .mobile-order-btn:hover {
            background: #059669;
            transform: translateY(-1px);
            box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
        }

        .mobile-whatsapp-btn {
            background: #25D366;
            color: white;
            border: none;
            box-shadow: 0 1px 3px rgba(37, 211, 102, 0.2);
        }

        .mobile-whatsapp-btn:hover {
            background: #20BA5A;
            transform: translateY(-1px);
            box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
        }

        .mobile-order-btn svg,
        .mobile-whatsapp-btn svg {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
            stroke: white;
        }

        /* АДАПТИВНЫЕ МЕДИА-ЗАПРОСЫ */
        
        /* Планшеты */
        @media (max-width: 768px) {
            .header {
                width: calc(100% - 2rem);
                top: 0.75rem;
                border-radius: 20px;
            }

            .header.scrolled {
                top: 0.5rem;
            }

            .nav-center {
                display: none;
            }
            
            /* СКРЫВАЕМ ВСЕ КНОПКИ НА МОБИЛКАХ */
            .cta-header-btn,
            .whatsapp-btn,
            .language-switcher {
                display: none !important;
            }
            
            /* Показываем мобильный переключатель языков */
            .mobile-language-switcher {
                display: block;
            }
            
            .mobile-menu-btn {
                display: flex;
            }

            .logo img {
                height: 40px;
            }
            
            .nav-container {
                padding: 0 max(0.6rem, 1.5vw);
                gap: max(0.3rem, 1vw);
                min-height: 48px;
            }
            
            .header {
                padding: 0.15rem 0;
            }
            
            body {
                padding-top: 52px;
            }
            
            .logo img {
                height: 26px;
            }
            
            .cta-header-btn {
                padding: 0.35rem 0.7rem;
                font-size: 0.72rem;
                border-radius: 16px;
                font-weight: 600;
            }
            
            .whatsapp-btn {
                width: 38px;
                height: 38px;
            }
            
            .whatsapp-btn img {
                width: 28px;
                height: 28px;
            }
            
            .mobile-menu-btn {
                width: 38px;
                height: 38px;
                padding: 6px;
            }
            
            .header-right {
                gap: max(0.3rem, 1vw);
            }
        }

        /* Мобильные устройства */
        @media (max-width: 480px) {
            .nav-container {
                padding: 0 max(0.8rem, 2.5vw) !important;
                gap: max(0.4rem, 1.5vw) !important;
                min-height: 50px !important;
            }
            
            .mobile-language-switcher {
                display: block;
            }
            
            .header {
                padding: 0.2rem 0 !important;
            }
            
            .language-switcher {
                display: none;
            }
            
            body {
                padding-top: 54px !important;
            }
            
            .logo img {
                height: 32px !important;
            }
            
            .cta-header-btn {
                padding: 0.4rem 0.8rem !important;
                font-size: 0.74rem !important;
                border-radius: 18px !important;
            }
            
            .whatsapp-btn {
                width: 38px !important;
                height: 38px !important;
            }
            
            .whatsapp-btn img {
                width: 30px !important;
                height: 30px !important;
            }
            
            .mobile-menu-btn {
                width: 48px !important;
                height: 48px !important;
            }
            
            .menu-icon {
                width: 36px !important;
                height: 36px !important;
            }
            
            .header-right {
                gap: max(0.4rem, 1.5vw) !important;
            }
            
            .mobile-menu {
                width: min(280px, 75vw);
            }
        }

        /* Очень маленькие экраны */
        @media (max-width: 360px) {
            .nav-container {
                padding: 0 max(0.6rem, 2vw) !important;
                gap: max(0.3rem, 1vw) !important;
                min-height: 42px !important;
            }
            
            .language-switcher {
                display: none;
            }
            
            .mobile-language-switcher {
                display: block;
            }
            
            body {
                padding-top: 46px !important;
            }
            
            .logo img {
                height: 28px !important;
            }
            
            .cta-header-btn {
                padding: 0.3rem 0.6rem !important;
                font-size: 0.69rem !important;
                border-radius: 16px !important;
            }
            
            .whatsapp-btn {
                width: 32px !important;
                height: 32px !important;
            }
            
            .whatsapp-btn img {
                width: 26px !important;
                height: 26px !important;
            }
            
            .mobile-menu-btn {
                width: 44px !important;
                height: 44px !important;
                padding: 5px !important;
            }
            
            .menu-icon {
                width: 32px !important;
                height: 32px !important;
            }
            
            .header-right {
                gap: max(0.3rem, 1vw) !important;
            }
            
            .mobile-menu {
                width: min(100vw, 300px);
            }
        }

        /* Экстремально маленькие экраны */
        @media (max-width: 320px) {
            .nav-container {
                padding: 0 max(0.5rem, 1.5vw) !important;
                gap: max(0.2rem, 0.8vw) !important;
                min-height: 40px !important;
            }
            
            .language-switcher {
                display: none;
            }
            
            .mobile-language-switcher {
                display: block;
            }
            
            body {
                padding-top: 44px !important;
            }
            
            .logo img {
                height: 14px !important;
            }
            
            .cta-header-btn {
                padding: 0.25rem 0.5rem !important;
                font-size: 0.64rem !important;
                border-radius: 14px !important;
            }
            
            .whatsapp-btn {
                width: 30px !important;
                height: 30px !important;
            }
            
            .whatsapp-btn img {
                width: 24px !important;
                height: 24px !important;
            }
            
            .mobile-menu-btn {
                width: 30px !important;
                height: 30px !important;
                padding: 5px !important;
            }
            
            .header-right {
                gap: max(0.2rem, 0.8vw) !important;
            }
        }

        /* Критически маленькие экраны */
        @media (max-width: 280px) {
            .nav-container {
                padding: 0 0.4rem !important;
                gap: 0.2rem !important;
                min-height: 38px !important;
            }
            
            .language-switcher {
                display: none;
            }
            
            .mobile-language-switcher {
                display: block;
            }
            
            body {
                padding-top: 42px !important;
            }
            
            .logo img {
                height: 12px !important;
            }
            
            .cta-header-btn {
                padding: 0.2rem 0.4rem !important;
                font-size: 0.59rem !important;
                border-radius: 12px !important;
            }
            
            .whatsapp-btn {
                width: 28px !important;
                height: 28px !important;
            }
            
            .whatsapp-btn img {
                width: 22px !important;
                height: 22px !important;
            }
            
            .mobile-menu-btn {
                width: 28px !important;
                height: 28px !important;
                padding: 4px !important;
            }
            
            .header-right {
                gap: 0.2rem !important;
            }
        }