/*
Theme Name: FlyNet Neumorph
Theme URI: https://flynet.kz
Description: Мягкий объёмный дизайн для интернет-провайдера
Version: 3.0
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: #f0f2f5;
    color: #1a2a3a;
    line-height: 1.5;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== ШАПКА ===== */
.site-header {
    background: #0a2b3c;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: 70px;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    display: block;
    height: 55px;
    width: auto;
    filter: brightness(0) invert(1);
}

.tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-left: 15px;
}

/* ДЕСКТОПНОЕ МЕНЮ */
.nav-menu {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-link {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 30px;
    background: transparent;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.nav-link.active {
    background: transparent;
    color: inherit;
}

/* ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКОВ */
.language-switcher {
    display: flex;
    gap: 5px;
}

.language-switcher a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}

.language-switcher a:hover,
.language-switcher a.active {
    background: #e67e22;
    color: white;
}

/* Мобильный переключатель языков */
.mobile-language-switcher {
    display: none;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.1);
    width: 100%;
}

.mobile-language-switcher a {
    padding: 8px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    background: rgba(0,0,0,0.05);
    color: #1a2a3a;
}

.mobile-language-switcher a.active {
    background: #e67e22;
    color: white;
}

/* ===== КНОПКА БУРГЕРА (мобильная) ===== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ===== ГЕРОЙ ===== */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #0a2b3c 0%, #1a4a6e 100%);
    color: white;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #e67e22;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* ===== ТАРИФЫ ===== */
.tariffs-section {
    padding: 60px 0;
}

.tariffs-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.tariff-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.tariff-card {
    background: #eef2f5;
    border-radius: 48px;
    padding: 35px 25px;
    width: 280px;
    text-align: center;
    box-shadow: 12px 12px 24px #d0d5d9, -12px -12px 24px #ffffff;
    transition: all 0.3s ease;
}

.tariff-card:hover {
    box-shadow: inset 8px 8px 16px #d0d5d9, inset -8px -8px 16px #ffffff;
    transform: scale(0.98);
}

.tariff-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.speed {
    font-size: 16px;
    font-weight: 600;
    color: #e67e22;
    text-transform: uppercase;
}

.tariff-name {
    font-size: 26px;
    font-weight: 700;
    margin: 15px 0 10px;
    color: #0a2b3c;
}

.price {
    font-size: 42px;
    font-weight: 800;
    color: #e67e22;
    margin: 15px 0;
}

.price small {
    font-size: 14px;
    color: #7f8c8d;
}

.tariff-desc {
    font-size: 13px;
    color: #7f8c8d;
    margin: 10px 0;
}

.tariff-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.tariff-select-btn {
    background: linear-gradient(135deg, #0a2b3c, #e67e22);
    color: white;
}

.tariff-detail-btn {
    background: #eef2f5;
    color: #2c3e50;
    box-shadow: 5px 5px 10px #d0d5d9, -5px -5px 10px #ffffff;
}

.tariff-badge {
    background: #e67e22;
    color: white;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    margin-bottom: 15px;
}

/* ===== ФОРМА ===== */
.order-section {
    padding: 60px 0;
    background: #0a2b3c;
}

.order-card {
    max-width: 550px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.order-card h3 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
    color: #0a2b3c;
}

.order-form input {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 16px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.order-form input:focus {
    outline: none;
    border-color: #e67e22;
    box-shadow: 0 0 0 3px rgba(230,126,34,0.1);
}

.order-form button {
    background: #e67e22;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-form button:hover {
    background: #d4521e;
    transform: translateY(-2px);
}

/* ===== КОНТАКТЫ ===== */
.contacts-block {
    padding: 60px 0;
    background: #f0f2f5;
    text-align: center;
}

.contacts-block h4 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #0a2b3c;
}

.contacts-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-link {
    background: #eef2f5;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    color: #0a2b3c;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 5px 5px 12px #d0d5d9, -5px -5px 12px #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-link:hover {
    background: #e67e22;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(230,126,34,0.3);
}

/* ===== ПОДВАЛ ===== */
.footer {
    background: #0a2b3c;
    padding: 40px 0 25px;
    color: rgba(255,255,255,0.7);
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-logo img {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 12px;
    opacity: 0.7;
}

.footer-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-contacts a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

.footer-contacts a:hover {
    color: #e67e22;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    background: rgba(255,255,255,0.1);
    padding: 8px 18px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-size: 13px;
    transition: 0.2s;
}

.footer-social a:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

.footer-address {
    font-size: 13px;
    opacity: 0.7;
    text-align: right;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
}

/* ===== КНОПКА ЛИЧНОГО КАБИНЕТА ===== */
.lk-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    background: #e67e22;
    color: white !important;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.lk-button:hover {
    background: #d4521e;
    transform: translateY(-2px);
}

.lk-button-mobile {
    background: #e67e22 !important;
    color: white !important;
    margin-top: 10px;
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 500px;
    width: 90%;
    background: white;
    border-radius: 24px;
    padding: 40px;
    position: relative;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    cursor: pointer;
}

.modal-detail-btn {
    background: #e67e22;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
}

.modal-detail-btn:hover {
    background: #d4521e;
}

/* ===== КНОПКА "НАВЕРХ" ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #e67e22 !important;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px) scale(1.05);
    background: #f39c12 !important;
}
/* ===== АНИМАЦИИ ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.tariff-card, .review-card {
    opacity: 0;
    animation: fadeUp 0.6s ease forwards;
}
.tariff-card:nth-child(1) { animation-delay: 0.1s; }
.tariff-card:nth-child(2) { animation-delay: 0.2s; }
.tariff-card:nth-child(3) { animation-delay: 0.3s; }

/* ===== МОБИЛЬНАЯ АДАПТАЦИЯ ===== */
@media (max-width: 900px) {
    .container {
        padding: 0 20px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0a2b3c;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 25px 20px;
        z-index: 1000;
    }
    
    .nav-menu.open {
        display: flex;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        color: white;
    }
    
    .language-switcher {
        display: none;
    }
    
    .mobile-language-switcher {
        display: flex;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .tariff-card {
        width: 100%;
        max-width: 320px;
    }
    
    .tariff-buttons {
        flex-direction: column;
    }
    
    .tariff-select-btn, .tariff-detail-btn {
        width: 100%;
    }
    
    .footer-grid {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-address {
        text-align: center;
    }
    
    .lk-button {
        display: none !important;
    }
    
    .lk-button-mobile {
        display: flex !important;
    }
    
    .logo img {
        height: 40px;
    }
    .footer-logo img {
        height: 35px;
    }
}

@media (min-width: 901px) {
    .lk-button-mobile {
        display: none !important;
    }
    .mobile-menu-btn {
        display: none !important;
    }
    .nav-menu {
        display: flex !important;
    }
}

/* ===== ЛОГОТИП ===== */
.logo img {
    display: block;
    height: 55px;
    width: auto;
    object-fit: contain;
}

.footer-logo img {
    display: block;
    height: 45px;
    width: auto;
    object-fit: contain;
}

.site-header .logo img {
    filter: none;
}
/* ===== КНОПКИ КОНТАКТОВ - ЕДИНЫЙ СТИЛЬ ===== */
.contacts-list .contact-link {
    background: linear-gradient(135deg, var(--primary, #0a2b3c), var(--button-color, #e67e22)) !important;
    color: white !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
    border: none !important;
    padding: 12px 28px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
}

.contacts-list .contact-link:hover {
    background: linear-gradient(135deg, var(--button-color, #e67e22), var(--button-hover-color, #f39c12)) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 15px rgba(230,126,34,0.4) !important;
    color: white !important;
}
/* ===== ЦЕНЫ И СКОРОСТЬ В ТАРИФАХ ===== */

/* Цена тарифов */
.price {
    color: #e67e22 !important;
    font-size: 40px;
    font-weight: 800;
    margin: 15px 0;
}

.price small {
    font-size: 14px;
    color: #6c757d;
}

/* Скорость в тарифах */
.speed {
    color: #e67e22 !important;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Если хотите, чтобы цвет менялся через админку */
.price {
    color: var(--accent, #e67e22) !important;
}

.speed {
    color: var(--accent, #e67e22) !important;
}
/* ===== БЕЙДЖИ НА ТАРИФАХ ===== */
.tariff-badge {
    background: linear-gradient(135deg, var(--primary, #0a2b3c), var(--button-color, #e67e22)) !important;
    color: white !important;
    display: inline-block;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.tariff-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
/* --- ДОПОЛНИТЕЛЬНЫЙ ГЛЯНЦЕВЫЙ ЭФФЕКТ ДЛЯ КАРТОЧЕК --- */
.tariff-card::before,
.order-card::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    height: 30%;
    background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0));
    border-radius: 32px;
    pointer-events: none;
}

.tariff-card {
    position: relative;
    overflow: hidden;
}

.order-card {
    position: relative;
    overflow: hidden;
}
/* --- ПОЛЯ ВВОДА ФОРМЫ (УГЛУБЛЁННЫЕ) --- */
.order-form input,
.order-form textarea {
    background: #eef2f5 !important;
    border: none !important;
    border-radius: 28px !important;
    padding: 16px 24px !important;
    font-size: 16px !important;
    box-shadow: inset 8px 8px 16px #d0d5d9, inset -8px -8px 16px #ffffff !important;
    transition: all 0.3s ease !important;
    color: #1a2a3a !important;
}

.order-form input:focus,
.order-form textarea:focus {
    outline: none !important;
    box-shadow: inset 5px 5px 12px #d0d5d9, inset -5px -5px 12px #ffffff !important;
    border: none !important;
}

/* --- ФОРМА ЗАЯВКИ --- */
.order-card {
    
    border-radius: 48px !important;
    padding: 48px !important;
    box-shadow: 15px 15px 50px #d0d5d9, -15px -15px 50px #ffffff !important;
    border: 1px solid rgba(255,255,255,0.5) !important;
}

.order-card h3 {
    color: #0a2b3c !important;
    font-weight: 700 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.05) !important;
}
/* ===== КАРТОЧКИ ТАРИФОВ - УГЛУБЛЁННЫЕ (ВПУКЛЫЕ ВНУТРЬ) ===== */
.tariff-card {
    
    border-radius: 32px !important;
    padding: 30px 25px !important;
    /* Эффект вдавленности внутрь */
    box-shadow: inset 8px 8px 16px #d0d5d9, inset -8px -8px 16px #ffffff !important;
    transition: all 0.3s ease !important;
    border: none !important;
    position: relative;
}

/* При наведении - усиление вдавленности */
.tariff-card:hover {
    box-shadow: inset 12px 12px 24px #d0d5d9, inset -12px -12px 24px #ffffff !important;
    transform: translateY(-2px) !important;
}

/* ===== ОТДЕЛЬНО СВЕЧЕНИЕ ПРИ НАВЕДЕНИИ ===== */
.tariff-card:hover {
    box-shadow: 
        inset 8px 8px 16px #d0d5d9, 
        inset -8px -8px 16px #ffffff,
        0 0 20px rgba(10,43,60,0.2),
        0 0 40px rgba(10,43,60,0.1) !important;
}

/* Название тарифа */
.tariff-name {
    color: #0a2b3c !important;
    font-weight: 800 !important;
}

/* Иконка тарифа */
.tariff-icon {
    font-size: 48px !important;
    transition: all 0.3s ease !important;
}


































/* ===== КНОПКИ МЕНЮ - БЕЛОЕ СВЕЧЕНИЕ И УГЛУБЛЁННОСТЬ ===== */
.nav-link {
    position: relative;
    transition: all 0.3s ease !important;
    background: transparent !important;
    color: rgba(255,255,255,0.85) !important;
    padding: 8px 18px !important;
    border-radius: 30px !important;
}

/* Эффект углубления при наведении */
.nav-link:hover {
    background: rgba(255,255,255,0.15) !important;
    color: white !important;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.1), inset -2px -2px 5px rgba(255,255,255,0.2) !important;
}

/* Белое свечение при наведении */
.nav-link:hover {
    box-shadow: 
        inset 2px 2px 5px rgba(0,0,0,0.1),
        inset -2px -2px 5px rgba(255,255,255,0.3),
        0 0 12px rgba(255,255,255,0.3),
        0 0 8px rgba(255,255,255,0.2) !important;
}

/* Активная кнопка меню */
.nav-link.active {
    background: rgba(255,255,255,0.2) !important;
    color: white !important;
    box-shadow: 
        inset 3px 3px 8px rgba(0,0,0,0.15),
        inset -3px -3px 8px rgba(255,255,255,0.3),
        0 0 15px rgba(255,255,255,0.4) !important;
}

/* ===== УГЛУБЛЁННОСТЬ ДЛЯ КНОПОК ЯЗЫКОВ ===== */
.language-switcher a {
    position: relative;
    transition: all 0.3s ease !important;
    background: rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.8) !important;
    padding: 6px 12px !important;
    border-radius: 30px !important;
}

.language-switcher a:hover,
.language-switcher a.active {
    background: rgba(255,255,255,0.2) !important;
    color: white !important;
    box-shadow: 
        inset 2px 2px 5px rgba(0,0,0,0.1),
        inset -2px -2px 5px rgba(255,255,255,0.3),
        0 0 10px rgba(255,255,255,0.3) !important;
}


/* ===== МОДАЛЬНОЕ ОКНО - ПРИ НАЖАТИИ "ПОДРОБНЕЕ" ===== */

/* Затемнённый фон */
.modal {
    background: rgba(10,43,60,0.85) !important;
    backdrop-filter: blur(5px) !important;
}

/* Контент модального окна */
.modal-content {
    
    border-radius: 48px !important;
    padding: 40px !important;
    max-width: 500px !important;
    width: 90% !important;
    box-shadow: 25px 25px 50px #d0d5d9, -25px -25px 50px #ffffff, 0 0 30px rgba(10,43,60,0.2) !important;
    border: 1px solid rgba(255,255,255,0.5) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Глянцевый блеск сверху */
.modal-content::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    height: 30%;
    background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0));
    border-radius: 48px;
    pointer-events: none;
}

/* Иконка в модальном окне */
.modal-icon {
    font-size: 64px !important;
    margin-bottom: 15px !important;
    display: inline-block !important;
    background: linear-gradient(135deg, #0a2b3c, #c0392b) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
}

/* Название тарифа в модалке */
.modal-content h3 {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #0a2b3c !important;
    margin-bottom: 15px !important;
}

/* Скорость в модалке */
.modal-speed {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #c0392b !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-bottom: 10px !important;
}

/* Цена в модалке */
.modal-price {
    font-size: 48px !important;
    font-weight: 800 !important;
    color: #c0392b !important;
    margin: 15px 0 !important;
}

.modal-price small {
    font-size: 16px !important;
    color: #6c757d !important;
}

/* Описание в модалке */
.modal-desc {
    font-size: 14px !important;
    color: #6c757d !important;
    margin-bottom: 20px !important;
    line-height: 1.6 !important;
}

/* Заголовок "Что входит в тариф" */
.modal-content h4 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0a2b3c !important;
    margin: 20px 0 15px !important;
    text-align: left !important;
}

/* Список преимуществ */
.modal-features {
    list-style: none !important;
    text-align: left !important;
    margin: 0 0 25px 0 !important;
    padding: 0 !important;
}

.modal-features li {
    padding: 10px 0 !important;
    font-size: 15px !important;
    color: #1a2a3a !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.modal-features li:last-child {
    border-bottom: none !important;
}

.modal-features li::before {
    content: "✓" !important;
    color: #c0392b !important;
    font-weight: 700 !important;
    font-size: 18px !important;
}

/* Кнопка в модальном окне */
.modal-detail-btn {
    background: linear-gradient(135deg, #0a2b3c, #c0392b) !important;
    border: none !important;
    border-radius: 40px !important;
    padding: 14px 28px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: white !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
}

.modal-detail-btn:hover {
    background: linear-gradient(135deg, #c0392b, #e74c3c) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(192,57,43,0.3) !important;
}

/* Кнопка закрытия */
.modal-close {
    position: absolute !important;
    top: 20px !important;
    right: 25px !important;
    font-size: 28px !important;
    cursor: pointer !important;
    color: #6c757d !important;
    transition: all 0.3s ease !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
}

.modal-close:hover {
    color: #c0392b !important;
    transform: scale(1.1) !important;
    background: rgba(0,0,0,0.05) !important;
}

/* ===== БУРГЕР-МЕНЮ - ПРИНУДИТЕЛЬНЫЕ СТИЛИ ===== */
.mobile-menu-btn {
    display: none !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 30px !important;
    height: 22px !important;
    z-index: 10001 !important;
}

.mobile-menu-btn span {
    display: block !important;
    width: 100% !important;
    height: 3px !important;
    background: white !important;
    border-radius: 3px !important;
    transition: 0.3s !important;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg) !important;
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0 !important;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg) !important;
}

/* Планшеты и телефоны */
@media (max-width: 900px) {
    .mobile-menu-btn {
        display: flex !important;
    }
    
    .nav-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: #0a2b3c !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
        padding: 25px 20px !important;
        z-index: 10000 !important;
        box-shadow: 0 15px 30px rgba(0,0,0,0.2) !important;
        border-radius: 0 0 20px 20px !important;
        display: none !important;
    }
    
    .nav-menu.open {
        display: flex !important;
    }
    
    .nav-link {
        width: 100% !important;
        text-align: center !important;
        padding: 12px 20px !important;
        color: white !important;
    }
    
    .language-switcher {
        display: none !important;
    }
    
    .mobile-language-switcher {
        display: flex !important;
    }
    
    .lk-button {
        display: none !important;
    }
    
    .lk-button-mobile {
        display: flex !important;
    }
}

@media (min-width: 901px) {
    .mobile-menu-btn {
        display: none !important;
    }
    .nav-menu {
        display: flex !important;
        position: relative !important;
    }
    .mobile-language-switcher {
        display: none !important;
    }
    .language-switcher {
        display: flex !important;
    }
    .lk-button-mobile {
        display: none !important;
    }
    .lk-button {
        display: inline-flex !important;
    }
}


@media (max-width: 900px) {
    .site-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
    }
    
    .header-container {
        display: grid !important;
        grid-template-columns: auto 1fr auto !important;
        gap: 5px !important;
    }
    
    .logo {
        grid-column: 1 !important;
    }
    
    .mobile-menu-btn {
        grid-column: 3 !important;
        display: flex !important;
        justify-self: end !important;
    }
}

/* ===== ПРИНУДИТЕЛЬНЫЙ ЦВЕТ КАРТОЧЕК ИЗ АДМИНКИ ===== */
/* Этот блок должен быть ВНЕ медиа-запроса */
.tariff-card,
.order-card,
.modal-content,
.review-card,
.value-card,
.mission-box,
.vision-box {
    background: var(--card-bg, #ffffff) !important;
}

/* Для главной страницы */
body.home .tariff-card,
body.home .order-card,
body.home .modal-content,
body.home .review-card {
    background: var(--card-bg, #ffffff) !important;
}
/* ПРИНУДИТЕЛЬНЫЕ ЦВЕТА ДЛЯ КНОПКИ НАВЕРХ */
.scroll-top {
    background: var(--button-color, #e67e22) !important;
}
.scroll-top:hover {
    background: var(--button-hover-color, #f39c12) !important;
}
/* ===== ЧЕКБОКС СОГЛАСИЯ - ЗЕЛЁНЫЙ ПРИ ВЫБОРЕ ===== */
.form-checkbox {
    margin: 20px 0;
    text-align: left;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #1a2a3a;
    user-select: none;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkmark {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #eef2f5;
    border: 2px solid #d0d5d9;
    border-radius: 6px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* При наведении - лёгкая подсветка */
.checkbox-label:hover .checkmark {
    border-color: var(--button-color, #e67e22);
    box-shadow: 0 0 0 2px rgba(230,126,34,0.1);
}

/* При выборе (checked) - ЗЕЛЁНЫЙ цвет */
.checkbox-label input:checked ~ .checkmark {
    background: #28a745 !important;
    border-color: #28a745 !important;
}

.checkbox-label input:checked ~ .checkmark:after {
    display: block;
}

/* При фокусе */
.checkbox-label input:focus ~ .checkmark {
    box-shadow: 0 0 0 3px rgba(40,167,69,0.2);
    border-color: #28a745;
}

/* При нажатии (active) */
.checkbox-label input:active ~ .checkmark {
    transform: scale(0.95);
}
/* ===== КАСТОМНЫЕ УВЕДОМЛЕНИЯ ===== */
.custom-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    min-width: 300px;
    max-width: 500px;
    width: 90%;
}

.custom-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.notification-content {
    background: white;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-left: 4px solid;
}

.custom-notification.error .notification-content {
    border-left-color: #dc3545;
    background: #fff5f5;
}

.custom-notification.success .notification-content {
    border-left-color: #28a745;
    background: #f0fff4;
}

.notification-icon {
    font-size: 24px;
}

.notification-message {
    flex: 1;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.notification-close:hover {
    background: rgba(0,0,0,0.1);
    color: #333;
}

@media (max-width: 768px) {
    .custom-notification {
        width: 95%;
        bottom: 20px;
    }
    .notification-content {
        padding: 12px 16px;
    }
/* ===== МОБИЛЬНАЯ КНОПКА ЛИЧНОГО КАБИНЕТА ===== */
.lk-button-mobile {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, var(--button-color, #e67e22), var(--button-hover-color, #d4521e)) !important;
    color: white !important;
    padding: 12px 20px !important;
    border-radius: 40px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    width: auto !important;
    min-width: 160px !important;
    margin: 10px 0 !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
}

.lk-button-mobile:hover {
    background: linear-gradient(135deg, var(--button-hover-color, #d4521e), var(--button-color, #e67e22)) !important;
    transform: translateY(-2px) !important;
    color: white !important;
}

/* Адаптация для очень маленьких экранов */
@media (max-width: 480px) {
    .lk-button-mobile {
        min-width: 140px !important;
        padding: 10px 16px !important;
        font-size: 13px !important;
    }

/* ===== КНОПКА ОПЛАТЫ KASPI ===== */
.pay-button {
    background: linear-gradient(135deg, #e67e22, #d4521e) !important;
    color: white !important;
    border: none !important;
    padding: 8px 18px !important;
    border-radius: 30px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-left: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.pay-button:hover {
    background: linear-gradient(135deg, #d4521e, #c0392b) !important;
    transform: translateY(-2px) !important;
}

/* Мобильная кнопка оплаты */
.pay-button-mobile {
    background: linear-gradient(135deg, #e67e22, #d4521e) !important;
    color: white !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: 40px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: auto !important;
    min-width: 160px !important;
    margin: 10px 0 !important;
}

.pay-button-mobile:hover {
    background: linear-gradient(135deg, #d4521e, #c0392b) !important;
    transform: translateY(-2px) !important;
}

/* ===== КНОПКА ОПЛАТЫ KASPI (универсальная) ===== */
.pay-button {
    background: linear-gradient(135deg, #e67e22, #d4521e) !important;
    color: white !important;
    border: none !important;
    padding: 8px 18px !important;
    border-radius: 30px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-left: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
}

.pay-button:hover {
    background: linear-gradient(135deg, #d4521e, #c0392b) !important;
    transform: translateY(-2px) !important;
}

/* На мобильных экранах кнопка становится чуть меньше */
@media (max-width: 768px) {
    .pay-button {
        padding: 6px 12px !important;
        font-size: 11px !important;
        margin-left: 5px !important;
    }
}

/* На совсем маленьких экранах - только иконка */
@media (max-width: 480px) {
    .pay-button span {
        display: none !important;
    }
}

}