
:root {
    /* Цвета для максимального контраста на видео */
    --bg-dark: #07080a;
    --accent-mandarin: #ff3535;
    --accent-mandarin-bright: #ff5252;
    --text-pure: #ffffff;
    --text-high-contrast: #ffffff;
    --text-dimmed: #94a3b8;
    --border-thin: rgba(255, 255, 255, 0.15);
    --glass-blur: blur(5px);
    --font-premium: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-premium);
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-pure);
    overflow-x: hidden;
}

/* --- HERO СЕКЦИЯ С ВИДЕО --- */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(7, 8, 10, 0.85) 0%, rgba(7, 8, 10, 0.6) 50%, rgba(7, 8, 10, 0.8) 100%);
    z-index: -1;
}

/* --- НОВЫЙ ЧЕРНЫЙ СЛОЙ ДЛЯ ТЕНИ (ДОБАВЛЕН) --- */
.video-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.26);
    z-index: 1;
    pointer-events: none;
}

/* --- ХЕДЕР --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-thin);
    background: rgba(77, 80, 86, 0.01);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}
.main-header.scrolled {
    background: rgba(0, 0, 0, 0.461);
}
.header-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 3px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Базовый размер стрелочки для ПК */
.nav-btn-special i {
    margin-left: 5px;
    font-size: 12px;
}
/* Навигация */
.nav-container {
    display: flex;
    gap: 48px;
}

.nav-item {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-high-contrast);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.4s;
    position: relative;
    padding: 8px 0;
}

.nav-item:hover {
    color: var(--accent-mandarin);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--accent-mandarin);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-item:hover::after {
    opacity: 1;
}

/* Логотип */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.03);
}

/* Правый блок */
.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.lang-selector {
    position: relative;
}

.lang-toggle {
    background: transparent;
    border: 1px solid var(--border-thin);
    color: var(--text-pure);
    padding: 10px 18px;
    border-radius: 100px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.lang-toggle:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.lang-toggle i {
    font-size: 14px;
    color: var(--accent-mandarin);
}

.lang-toggle .arrow {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.3s;
}

/* Выпадающее меню языков */
.lang-menu {
    position: absolute;
    top: 55px;
    right: 0;
    background: #0d0f12;
    border: 1px solid var(--border-thin);
    border-radius: 14px;
    list-style: none;
    width: 140px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    z-index: 1001;
}

.lang-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu li a {
    display: block;
    padding: 14px 18px;
    color: var(--text-dimmed);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    transition: all 0.2s;
}

.lang-menu li a:hover {
    background: rgba(255, 107, 53, 0.08);
    color: var(--accent-mandarin);
}


/* Контент Hero */
.hero-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 140px 60px 80px 60px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.content-box {
    max-width: 820px;
    opacity: 0;
    transform: translateY(20px);
    animation: clearFadeIn 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.tagline-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,133,82,0.16); /* mandarin-bright tint (#ff8552 -> rgb(255,133,82)) */
    backdrop-filter: blur(10px);
    border-radius: 50px;
    margin-bottom: 28px;
    font-size: 14px;
    color: #ffffff;
}

.main-title {
    font-family: 'Oswald', sans-serif;
    font-size: 112px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 18px;
    background: linear-gradient(to bottom, #ffffff 60%, #b3c0f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-subtitle {
    font-size: 19px;
    font-weight: 400;
    line-height: 1.65;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.45);
    margin-bottom: 48px;
}

.action-area {
    display: flex;
}

.cta-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--text-pure);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    
    /* Делаем общую рамку вокруг иконки и текста */
    padding: 8px 24px 8px 8px; /* Внутренние отступы, слева меньше, так как там круглая иконка */
    background: rgba(0, 0, 0, 0.448);
    border: 1px solid var(--border-thin);
    border-radius: 50px; /* Превращает кнопку в красивую капсулу */
    
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.icon-circle {
    width: 44px; /* Немного уменьшил, чтобы кнопка выглядела аккуратнее */
    height: 44px;
    border-radius: 50%;
    background: rgba(191, 245, 161, 0.15); /* Легкий фон для самой иконки */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #25D366; /* Фирменный зеленый цвет WhatsApp */
    transition: all 0.4s;
}

/* Ховер-эффект теперь срабатывает на всю кнопку целиком */
.cta-whatsapp:hover {
    background: var(--accent-mandarin);
    border-color: var(--accent-mandarin);
    color: var(--text-pure);
    transform: translateY(-2px); /* Легкий подъем вверх при наведении */
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.cta-whatsapp:hover .icon-circle {
    background: rgba(255, 255, 255, 0.2); /* Иконка внутри тоже красиво подсвечивается */
    color: var(--text-pure); /* Меняем зеленый цвет иконки на белый при ховере */
}

.cta-whatsapp span {
    position: relative;
}

/* Анимация */
@keyframes clearFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 1100px) {
    .main-header {

    background: rgba(179, 181, 184, 0.489);

}
    .header-inner {
        padding: 20px 40px;
    }
    .hero-wrapper {
        padding: 140px 40px 80px 40px;
    }
    .main-title {
        font-size: 58px;
    }
    .nav-container {
        gap: 28px;
    }
    .logo-img {
        max-height: 60px;
    }
    .video-shadow {
        background: rgba(0,0,0,0.36);
    }
}

@media (max-width: 768px) {
    /* Фикс шапки */
    .main-header {
        height: 60px;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    .header-inner {
        padding: 0 10px;
        height: 100%;
        gap: 10px;
    }
    
    .logo-img {
        max-height: 40px;
    }

    .header-right {
        gap: 10px;
    }

    /* Навигация на мобильных */
    .nav-container {
        display: flex;
        flex-direction: row;
        gap: 4px;
        align-items: center;
        margin-left: auto;
        margin-right: 5px;
    }
    
    .nav-container > a.nav-item {
        display: none;
    }

    /* Уменьшенные кнопки */
   /* Жестко сжимаем кнопки заявок */
    .nav-btn-special {
        font-size: 9px !important;          /* Минимально читабельный шрифт */
        padding: 4px 6px !important;        /* Убираем "пухлость" кнопки */
        line-height: 1.1 !important;        /* Сжимаем текст, если он в 2 строки (как Residence Permit) */
        height: auto !important;            /* Убираем фиксированную десктопную высоту */
        min-height: 26px !important;        /* Задаем аккуратную минимальную высоту */
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        max-width: 95px !important;         /* Ограничиваем ширину, чтобы они не разрастались */
    }
    
    .nav-btn-special i {
        font-size: 8px !important;
        margin-left: 3px !important;
    }

    /* Адаптируем кнопку языка */
    .lang-toggle {
        padding: 6px 10px;
        font-size: 12px;
        gap: 6px;
    }

    .dropdown-content.glass-dropdown {
        position: absolute;
        top: 40px;
        right: -20px;
        width: 200px;
    }

    /* Hero Секция */
    .hero-wrapper {
        padding: 100px 24px 60px 24px;
        text-align: center;
        justify-content: center;
    }
    
    .content-box {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .main-title {
        font-size: 42px;
        letter-spacing: -1px;
    }
    
    .main-subtitle {
        font-size: 16px;
        line-height: 1.6;
        max-width: 90%;
        margin: 0 auto 32px auto;
    }
    
    .action-area {
        width: 100%;
        justify-content: center;
    }
    
    .cta-whatsapp {
        width: auto;
        font-size: 14px;
    }
    
    .icon-circle {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .video-shadow {
        background: rgba(0,0,0,0.45);
    }
}
/* Для самых узких экранов (вынесено отдельно для правильной работы CSS) */
@media (max-width: 380px) {
    .lang-text {
        display: none;
    }
    
    .nav-btn-special {
        font-size: 10px !important;
        padding: 4px 4px !important;
    }
    .logo-img {
        max-height: 30px; /* Чуть уменьшаем лого на мобилках */
    }
    .lang-toggle {
        padding: 4px 6px;
    }
}
    

/* //about us style */

/* ================= ABOUT SECTION (LIGHT PREMIUM STYLE) ================= */
.about-section {
    max-width: 1600px;
    margin: 0 auto;
    padding: 100px 60px;
    background-color: #ffffff; /* Светлый чистый фон */
    color: #1a2c3e; /* Темно-синий/серый текст для хорошего контраста */
    position: relative;
    z-index: 2;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: #07080a; /* Темный заголовок */
}

.subhead {
    font-size: 18px;
    line-height: 1.5;
    color: #1a2c3e;
    margin-bottom: 32px;
    border-left: 3px solid var(--accent-mandarin); /* Фирменный мандариновый акцент */
    padding-left: 20px;
    font-weight: 600;
}

.description {
    font-size: 16px;
    line-height: 1.7;
    color: #4a5568; /* Мягкий серый цвет для комфортного чтения */
    margin-bottom: 40px;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.service-tag {
    background: #f7f9fc;
    border: 1px solid #e2e8f0;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: #2d3748;
    transition: all 0.3s ease;
}

.service-tag:hover {
    background: rgba(255, 53, 53, 0.08); /* Легкая мандариновая подсветка */
    border-color: var(--accent-mandarin);
    color: var(--accent-mandarin);
    transform: translateY(-2px);
}

/* Статистика: светлые карточки с тенями */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 24px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-mandarin);
    box-shadow: 0 10px 20px rgba(255, 53, 53, 0.1);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    color: var(--accent-mandarin); /* Яркие мандариновые цифры */
    line-height: 1;
    margin-bottom: 8px;
}
.stat-number::after {
    content: attr(data-suffix); /* Берет знак из атрибута data-suffix */
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #718096;
}
.service-tag {
    text-decoration: none; /* Убирает подчеркивание */
    color: inherit; /* Сохраняет ваш текущий цвет текста */
    display: inline-block; /* Чтобы внутренние отступы (padding) работали корректно */
    transition: all 0.3s ease; /* Плавная анимация при наведении */
}

/* Эффект при наведении мышки */
.service-tag:hover {
    transform: translateY(-3px); /* Слегка приподнимает кнопку */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Добавляет тень */
}
/* Вертикальное фото (Instagram стиль) */
.about-media {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    aspect-ratio: 4 / 5; /* Вертикальный формат */
    max-width: 550px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-media:hover img {
    transform: scale(1.03);
}

.location-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e2e8f0;
    backdrop-filter: blur(5px);
    border-radius: 50px;
    padding: 10px 20px;
    color: #1a2c3e;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Кнопка "Узнать больше" */
.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: #1a2c3e;
    padding: 14px 32px;
    border: 1px solid var(--accent-mandarin);
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    margin: 32px auto 0;
    display: block;
    width: fit-content;
}

.btn-more:hover {
    background: var(--accent-mandarin);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 53, 53, 0.3);
}

/* --- Адаптивность --- */
@media (max-width: 1100px) {
    .about-section {
        padding: 80px 40px;
    }
    .about-grid {
        gap: 40px;
    }
    .about-content h2 {
        font-size: 48px;
    }
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 24px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 500px) {
    .stat-number {
        font-size: 36px;
    }
    .services-list {
        gap: 8px;
    }
    .service-tag {
        font-size: 12px;
        padding: 6px 14px;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .stat-item {
        padding: 16px;
    }
    .location-badge {
        bottom: 16px;
        left: 16px;
        font-size: 12px;
        padding: 8px 16px;
    }
}


.services-section {
    background-color: #f5f7fc;
    padding: 60px 60px;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 52px;
    font-weight: 700;
    color: #07080a;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 18px;
    color: #4a5568;
    line-height: 1.6;
}

/* Сетка карточек */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    grid-auto-rows: minmax(min-content, max-content);
}

/* Общий стиль для карточки-кнопки */
.service-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 32px;
    text-decoration: none;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-mandarin);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-card:hover .card-num {
    background: var(--accent-mandarin);
    color: #ffffff;
    border-color: var(--accent-mandarin);
}

.service-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--accent-mandarin);
}

.card-num {
    position: absolute;
    top: 32px;
    right: 32px;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #a0aec0;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a2c3e;
    margin-bottom: 16px;
    padding-right: 50px;
}

.service-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
    flex-grow: 1;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
}

.card-tags span {
    background: #f1f4f9;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #2d3748;
}

.card-arrow {
    position: absolute;
    bottom: 32px;
    right: 32px;
    font-size: 20px;
    color: #a0aec0;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

/* --- Настройка размеров блоков (Grid Layout на 7 карточек) --- */

/* Блок 1: Занимает 1 колонку, растянут на 2 ряда вниз */
.card-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.card-large h3 {
    font-size: 26px;
}

/* Блок 7: Растянут на 2 колонки (заполняет пустующее место) */
.card-wide {
    grid-column: 2 / 4; 
    flex-direction: row;
    align-items: center;
}

.card-wide .card-wide-content {
    max-width: 85%;
}

.card-wide h3 {
    margin-bottom: 12px;
}

/* Адаптивность для услуг */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .card-large {
        grid-column: span 1;
        grid-row: span 1;
    }
    .card-wide {
        grid-column: span 2;
        flex-direction: column;
        align-items: flex-start;
    }
    .card-wide .card-wide-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 24px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .card-wide {
        grid-column: span 1;
    }
    .section-header h2 {
        font-size: 38px;
    }
}

/* ================= PARTNERS / UNIVERSITIES SECTION ================= */
.partners-section {
    background-color: #f5f7fc; 
    padding: 0; 
    overflow: hidden;
}

/* Контейнер карусели */
.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0; 
    min-height: 100px; 
    display: flex;
    align-items: center;
}

/* Бегущая дорожка */
.marquee-track {
    display: flex;
    align-items: center;
    width: max-content; 
    animation: scrollLeft 50s linear infinite; 
}

/* Пауза при наведении мыши */
.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

/* Слайд с логотипом */
.logo-slide {
    width: 200px; 
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-slide img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    transition: transform 0.4s ease;
    cursor: pointer;
}

/* Эффект при наведении (только легкое увеличение) */
.logo-slide img:hover {
    transform: scale(1.05); 
}

/* Ключевые кадры: Анимация НАЛЕВО */
@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Адаптивность --- */
@media (max-width: 768px) {
    .partners-section {
        padding: 0;
    }
    .marquee-wrapper {
        min-height: 80px;
    }
    .logo-slide {
        width: 140px;
        padding: 0 15px;
    }
    .logo-slide img {
        max-height: 50px;
    }
}

/* ================= POPULAR UNIVERSITIES GRID ================= */
.pop-uni-section {
    background-color: #f5f7fc; /* Мягкий фон для контраста */
    padding: 40px 60px;
}

.pop-uni-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Сетка карточек */
.pop-uni-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

/* Дизайн карточки */
.uni-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid #e2e8f0;
}

.uni-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-mandarin);
}

/* Блок с фото и затемнением */
.uni-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.uni-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.uni-card:hover .uni-img-wrapper img {
    transform: scale(1.08); /* Плавное увеличение фото при наведении */
}

/* Текст поверх картинки */
.uni-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 24px 20px 20px 20px;
    /* Мощный градиент для идеальной читаемости белого текста */
    background: linear-gradient(to top, rgba(7, 8, 10, 0.95) 0%, rgba(7, 8, 10, 0.6) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
}

.uni-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 6px;
    color: #ffffff;
}

.uni-location {
    font-size: 13px;
    color: #cbd5e1;
    margin-bottom: 12px;
}

.uni-location i {
    color: var(--accent-mandarin);
    margin-right: 4px;
}

/* Рейтинг */
.uni-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.uni-rating .stars {
    color: #facc15; /* Желтый цвет для звезд */
    font-size: 12px;
}

.uni-rating .score {
    font-size: 12px;
    color: #cbd5e1;
}

/* Год и студенты (нижняя линия) */
.uni-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #cbd5e1;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 12px;
}

.uni-stats span i {
    margin-right: 6px;
    opacity: 0.8;
}

/* Кнопка "Подробнее" внизу карточки */
.uni-btn {
    background: #1a2c3e; /* Темно-синий, солидный цвет */
    color: #ffffff;
    text-align: center;
    padding: 16px;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.4s ease;
}

.uni-card:hover .uni-btn {
    background: var(--accent-mandarin); /* При наведении становится мандариновой */
}

/* Класс для скрытых карточек */
.hidden-card {
    display: none;
}

/* Кнопка "Больше университетов" */
.load-more-wrapper {
    text-align: center;
    margin-top: 20px;
}

.btn-load-more {
    background: #ffffff;
    color: #1a2c3e;
    border: 1px solid #e2e8f0;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.btn-load-more:hover {
    background: var(--accent-mandarin);
    color: #ffffff;
    border-color: var(--accent-mandarin);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 53, 53, 0.2);
}

/* Анимация появления скрытых карточек */
@keyframes fadeInCard {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Адаптивность --- */
@media (max-width: 1200px) {
    .pop-uni-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .pop-uni-section {
        padding: 80px 40px;
    }
    .pop-uni-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pop-uni-section {
        padding: 60px 24px;
    }
    .pop-uni-grid {
        grid-template-columns: 1fr;
    }
    .uni-img-wrapper {
        height: 220px;
    }
}

/* ================= CTA BANNER SECTION (APP STYLE) ================= */
.cta-banner-section {
    background-color: #f5f7fc; /* Светлый фон для контраста с темным баннером */
    padding: 80px 60px;
    display: flex;
    justify-content: center;
}

.cta-banner-container {
    width: 100%;
    max-width: 1200px;
}

/* Темная карточка-баннер */
.cta-banner-card {
    background-color: #1a2c3e; /* Глубокий темный цвет, как на референсе */
    border-radius: 24px; /* Скругленные углы */
    display: flex;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Левая колонка с текстом и кнопками */
.cta-banner-content {
    width: 60%;
    padding: 56px 64px;
    position: relative;
    z-index: 2;
}

.cta-banner-content h2 {
    font-family: var(--font-premium);
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.cta-banner-text {
    font-size: 16px;
    line-height: 1.6;
    color: #a0aec0; /* Серый текст для описания */
    margin-bottom: 40px;
    max-width: 90%;
}

.text-highlight {
    color: var(--accent-mandarin); /* Фирменный мандариновый акцент */
    font-weight: 600;
}

/* Блок с кнопками */
.cta-banner-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Главная залитая кнопка */
.btn-banner-primary {
    background: var(--accent-mandarin);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--accent-mandarin);
}

.btn-banner-primary:hover {
    background: transparent;
    color: var(--accent-mandarin);
}

/* Второстепенная контурная кнопка */
.btn-banner-secondary {
    background: transparent;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-banner-secondary:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* Правая колонка с графикой */
.cta-banner-visual {
    width: 40%;
    position: relative;
    z-index: 1;
}

/* Текст "100% Ücretsiz" в правом верхнем углу */
.visual-badge {
    position: absolute;
    top: 40px;
    right: 40px;
    text-align: right;
    color: #ffffff;
    z-index: 3;
}

.badge-small {
    font-size: 16px;
    opacity: 0.8;
    display: inline-block;
    vertical-align: middle;
}

.badge-big {
    font-size: 32px;
    font-weight: 700;
    margin-left: 8px;
    letter-spacing: -1px;
    vertical-align: middle;
}

/* Декоративная линия (свуш) */
.banner-swoosh {
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 120%;
    height: 120%;
    z-index: 1;
    opacity: 0.8;
}

/* Иконка-заглушка на фоне */
.placeholder-icon {
    position: absolute;
    bottom: -30px;
    right: 40px;
    font-size: 180px;
    color: rgba(255, 255, 255, 0.04);
    z-index: 0;
    transform: rotate(-15deg);
}

/* Если добавите реальное вырезанное фото (PNG) */
.banner-image-cutout {
    position: absolute;
    bottom: 0;
    right: 0px;
    max-height: 110%;
    z-index: 2;
    pointer-events: none;
}

/* --- Адаптивность --- */
@media (max-width: 1024px) {
    .cta-banner-content {
        padding: 40px;
    }
    .cta-banner-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 900px) {
    .cta-banner-card {
        flex-direction: column; /* Делаем баннер вертикальным на планшетах */
    }
    .cta-banner-content {
        width: 100%;
        padding: 40px;
    }
    .cta-banner-visual {
        width: 100%;
        height: 140px;
    }
    .visual-badge {
        top: auto;
        bottom: 30px;
        left: 40px;
        right: auto;
        text-align: left;
    }
    .banner-swoosh {
        right: -50px;
        width: 150%;
    }
    .placeholder-icon {
        right: 10px;
        bottom: -50px;
    }
}

@media (max-width: 600px) {
    .cta-banner-section {
        padding: 40px 24px;
    }
    .cta-banner-content {
        padding: 32px 24px;
    }
    .cta-banner-content h2 {
        font-size: 24px;
    }
    .cta-banner-text {
        font-size: 15px;
        max-width: 100%;
    }
    .cta-banner-actions {
        flex-direction: column;
        width: 100%;
    }
    .btn-banner-primary, .btn-banner-secondary {
        text-align: center;
        width: 100%;
    }
    .visual-badge {
        left: 24px;
        bottom: 24px;
    }
    .badge-big {
        font-size: 28px;
    }
}
/* ================= FAQ SECTION ================= */
.faq-section {
    background-color: #ffffff;
    padding: 80px 40px; /* Уменьшили внешние отступы */
    display: flex;
    justify-content: center;
}

.faq-container {
    width: 100%;
    max-width: 1050px; /* Сильно сузили контент (было 1400px), чтобы он не был на весь экран */
}

.section-header {
    text-align: center;
    margin-bottom: 48px; /* Уменьшили отступ после заголовка */
}

.section-header h2 {
    font-family: var(--font-premium);
    font-size: 42px;
    font-weight: 700;
    color: #1a2c3e;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.6;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px; /* Сблизили вопросы и фотографию */
    align-items: start;
}

/* Левая колонка: Аккордеон */
.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
}

/* Кнопка вопроса */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0; /* Сделали строки чуть "плотнее" друг к другу */
    font-size: 16px; /* Сделали шрифт аккуратнее */
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question .arrow {
    font-size: 14px;
    color: #a0aec0;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-question:hover {
    color: #1a2c3e;
}

/* Активный вопрос */
.faq-item.active .faq-question {
    color: #1a2c3e;
    font-weight: 700;
}

.faq-item.active .faq-question .arrow {
    transform: rotate(180deg);
    color: var(--accent-mandarin);
}

/* Блок ответа */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1), padding 0.5s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 15px; /* Чуть уменьшили текст ответа */
    line-height: 1.6;
    color: #4a5568;
}

/* Мобильное фото (скрыто на десктопе) */
.faq-mobile-img {
    display: none;
    width: 100%;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Правая колонка: Динамическое фото */
.faq-visual {
    position: relative;
    height: 100%;
}

.faq-visual-sticky {
    position: sticky;
    top: 100px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.faq-visual-sticky img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease, transform 0.5s ease;
}

.faq-visual-sticky img.fade-out {
    opacity: 0;
    transform: scale(1.03);
}

/* --- Адаптивность --- */
@media (max-width: 900px) {
    .faq-section {
        padding: 60px 24px;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .faq-visual {
        display: none; 
    }
    .faq-mobile-img {
        display: block; 
    }
    .section-header h2 {
        font-size: 32px;
    }
}

/* ================= TEAM SECTION ================= */
.team-section {
    background-color: #f5f7fc; /* Светлый фон для контраста */
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.team-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 1200px;
    border-radius: 24px;
    padding: 56px 64px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

/* Шапка: Заголовок слева, кнопки справа */
.team-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 24px;
    margin-bottom: 40px;
}

.team-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #1a2c3e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Кнопки навигации */
.team-nav {
    display: flex;
    gap: 12px;
}

.team-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #1a2c3e;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.team-nav-btn:hover {
    background: var(--accent-mandarin, #ff3535);
    color: #ffffff;
    border-color: var(--accent-mandarin, #ff3535);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 53, 53, 0.2);
}

/* Обертка слайдера */
.team-slider {
    width: 100%;
    overflow: hidden; /* Прячем все, что выходит за рамки */
}

/* Лента с карточками */
.team-track {
    display: flex;
    gap: 24px;
    overflow-x: auto; /* Позволяет скроллить пальцем на телефоне */
    scroll-behavior: smooth; /* Плавная прокрутка */
    padding-bottom: 20px; /* Место для тени от карточек */
    
    /* Прячем стандартный скроллбар браузера */
    scrollbar-width: none; 
    -ms-overflow-style: none;
}
.team-track::-webkit-scrollbar { 
    display: none; 
}

/* Карточка сотрудника */
/* Карточка сотрудника */
.team-card {
    flex: 0 0 calc(33.333% - 16px); /* На ПК показываем 3 карточки */
    display: flex;
    flex-direction: column;
    align-items: center; /* Выравниваем элементы по центру */
    text-align: center;  /* Выравниваем текст по центру */
    background: #f8fafc;
    padding: 32px 24px;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.team-card:hover {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.member-photo {
    margin-bottom: 24px;
}

.member-photo img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.member-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a2c3e;
    margin-bottom: 10px;
}

.member-role {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-mandarin, #ff3535);
    background: rgba(255, 53, 53, 0.1);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.member-info p {
    font-size: 14px;
    line-height: 1.6;
    color: #718096;
    margin: 0;
}

/* --- Адаптивность --- */
@media (max-width: 1024px) {
    .team-card {
        flex: 0 0 calc(50% - 12px); /* На планшете 2 карточки */
    }
    .team-container {
        padding: 40px 32px;
    }
}

@media (max-width: 600px) {
    .team-card {
        flex: 0 0 100%; /* На телефоне 1 карточка */
    }
    .team-container {
        padding: 32px 20px;
    }
    .team-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .team-nav {
        align-self: flex-end; /* Кнопки справа под заголовком */
    }
}

/* ================= SOCIAL MEDIA SECTION ================= */
.social-section {
    background-color: #0b0d10; /* Очень глубокий темный цвет */
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Фоновое красноватое свечение для глубины */
.social-glow {
    position: absolute;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 53, 53, 0.1) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.social-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 1;
}

/* Левая часть */
.social-text-content {
    width: 45%;
}

.social-text-content h2 {
    font-family: var(--font-premium);
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.social-text-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 40px;
}

/* Кнопки прямого контакта */
.direct-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-direct {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-direct i {
    font-size: 18px;
}

/* Кнопка "Позвонить" */
.btn-call {
    background: var(--accent-mandarin);
    color: #ffffff;
    border: 1px solid var(--accent-mandarin);
}

.btn-call:hover {
    background: transparent;
    color: var(--accent-mandarin);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 53, 53, 0.2);
}

/* Кнопка "WhatsApp" */
.btn-whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #25D366;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

/* Правая часть: Сетка карточек */
.social-grid {
    width: 55%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Базовый дизайн карточки соцсети */
.social-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.social-card i {
    font-size: 42px;
    transition: transform 0.4s ease;
}

.social-card span {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Делаем последнюю карточку широкой */
.wide-card {
    grid-column: 1 / -1;
    flex-direction: row; /* Иконка и текст в ряд */
    padding: 24px;
}

.wide-card i {
    font-size: 32px;
}

/* === ЭФФЕКТЫ ПРИ НАВЕДЕНИИ (Фирменные цвета) === */
.social-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
}

.social-card:hover i {
    transform: scale(1.15) rotate(5deg);
}

/* Instagram Gradient */
.sc-insta:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 15px 30px rgba(220, 39, 67, 0.3);
}

/* YouTube Red */
.sc-youtube:hover {
    background: #FF0000;
    box-shadow: 0 15px 30px rgba(255, 0, 0, 0.2);
}

/* TikTok Black/Neon */
.sc-tiktok:hover {
    background: #000000;
    border: 1px solid #00f2fe;
    box-shadow: 0 15px 30px rgba(0, 242, 254, 0.15);
}
.sc-tiktok:hover i {
    color: #ff0050; /* TikTok pink on hover */
    filter: drop-shadow(2px 2px 0px #00f2fe); /* TikTok cyan shadow */
}

/* Telegram Blue */
.sc-telegram:hover {
    background: #0088cc;
    box-shadow: 0 15px 30px rgba(0, 136, 204, 0.3);
}

/* WhatsApp Channel Green */
.sc-wachannel:hover {
    background: #128C7E;
    box-shadow: 0 15px 30px rgba(18, 140, 126, 0.3);
}


/* --- Адаптивность --- */
@media (max-width: 1100px) {
    .social-container {
        gap: 40px;
    }
    .social-text-content h2 {
        font-size: 40px;
    }
}

@media (max-width: 900px) {
    .social-section {
        padding: 80px 40px;
    }
    .social-container {
        flex-direction: column;
        text-align: center;
    }
    .social-text-content, .social-grid {
        width: 100%;
    }
    .direct-contact-actions {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .social-section {
        padding: 60px 24px;
    }
    .social-text-content h2 {
        font-size: 32px;
    }
    .social-text-content p {
        font-size: 16px;
    }
    .direct-contact-actions {
        flex-direction: column;
    }
    .btn-direct {
        width: 100%;
        justify-content: center;
    }
    .social-grid {
        grid-template-columns: 1fr; /* На мобилках все карточки друг под другом */
    }
    .wide-card {
        grid-column: span 1;
    }
}

/* ================= REVIEWS SECTION (Google Style) ================= */
.reviews-section {
    background-color: #f8fafc; /* Светло-серый фон секции для контраста с белыми карточками */
    padding: 100px 20px;
    display: flex;
    justify-content: center;
}

.reviews-container {
    width: 100%;
    max-width: 1200px;
}

.reviews-section .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.reviews-section h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #202124; /* Цвет заголовка Google */
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.reviews-section p {
    font-size: 16px;
    color: #5f6368;
}

/* === ТЕКСТОВЫЕ ОТЗЫВЫ === */
.text-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.text-review-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    border: 1px solid #dadce0; /* Фирменная гугловская рамка */
}

.text-review-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    position: relative;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 500;
}

.reviewer-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 2px;
}

.reviewer-info span {
    display: block;
    font-size: 13px;
    color: #70757a;
}

.google-icon {
    margin-left: auto; /* Прижимаем иконку Google вправо */
    color: #4285F4;
    font-size: 20px;
}

.review-stars {
    color: #fbbc04; /* Фирменный желтый цвет звезд Google */
    font-size: 14px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.review-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #3c4043;
    margin: 0;
}

/* === МОДАЛЬНОЕ ОКНО (POPUP) === */
.review-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.review-modal.active {
    opacity: 1;
    visibility: visible;
}

.review-modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    padding: 32px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 24px 38px rgba(0,0,0,0.14);
}

.review-modal.active .review-modal-content {
    transform: translateY(0);
}

.close-modal-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f1f3f4;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    color: #5f6368;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.close-modal-btn:hover {
    background: #e8eaed;
    color: #202124;
}

.modal-full-text {
    font-size: 15px;
    line-height: 1.6;
    color: #3c4043;
    margin-top: 16px;
}

/* --- Адаптивность --- */
@media (max-width: 1024px) {
    .text-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .reviews-section {
        padding: 60px 20px;
    }
    .text-reviews-grid {
        grid-template-columns: 1fr;
    }
    .review-modal-content {
        padding: 24px;
    }
}
/* ================= FOOTER ================= */
.main-footer {
    background-color: #121418; /* Темно-графитовый цвет, как на скринах */
    color: #94a3b8; /* Приглушенный серо-синий текст */
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr; /* Настройка ширины колонок */
    gap: 60px;
    margin-bottom: 60px;
}

/* --- Колонка бренда --- */
.brand-col .footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
    display: block;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 90%;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-contacts a, .footer-contacts p {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}

.footer-contacts a:hover {
    color: var(--accent-mandarin);
}

.footer-contacts i {
    color: var(--accent-mandarin);
    font-size: 16px;
    width: 20px; /* Чтобы иконки ровно стояли в столбик */
}

/* Иконки соцсетей */
.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--accent-mandarin);
    transform: translateY(-3px);
}

/* --- Колонки ссылок --- */
.footer-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    font-family: var(--font-premium);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-mandarin);
    transform: translateX(5px); /* Легкий сдвиг вправо при наведении */
}

/* --- Карта --- */
.footer-map iframe {
    border-radius: 12px;
    filter: invert(90%) hue-rotate(180deg) brightness(80%) contrast(85%); /* Делает карту гугл темной под стиль сайта! */
    transition: filter 0.4s ease;
}

.footer-map iframe:hover {
    filter: none; /* Возвращает обычные цвета при наведении */
}

/* --- Копирайт --- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

/* --- Адаптивность --- */
@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* На планшете 2 колонки */
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding-top: 60px;
    }
    .footer-container {
        padding: 0 24px;
    }
    .footer-grid {
        grid-template-columns: 1fr; /* На телефоне 1 колонка */
        gap: 40px;
    }
    .brand-col {
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    .footer-desc {
        max-width: 100%;
    }
    .footer-contacts a, .footer-contacts p {
        justify-content: center;
    }
}

    /* --- HERO БАННЕР (Параллакс и Глассморфизм) --- */
    .uni-detail-hero {
        position: relative;
        width: 100%;
        min-height: 500px;
        background-size: cover;
        background-position: center;
        background-attachment: fixed; /* Эффект параллакса при скролле */
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 80px 20px;
        margin-top: 80px; 
    }

    /* Темное матовое стекло поверх фото */
    .uni-detail-hero .hero-overlay {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(10, 25, 47, 0.5); /* Темно-синий полупрозрачный фон */
        backdrop-filter: blur(8px); /* Тот самый эффект глассморфизма */
        -webkit-backdrop-filter: blur(8px);
        z-index: 1;
    }

    /* Контейнер с контентом (тоже в стиле стекла) */
    .uni-detail-hero .hero-content {
        position: relative;
        z-index: 2;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 40px 60px;
        border-radius: 24px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        transform: translateY(0);
        animation: floatUp 1s ease-out forwards;
    }

    @keyframes floatUp {
        0% { opacity: 0; transform: translateY(30px); }
        100% { opacity: 1; transform: translateY(0); }
    }

    /* Логотип с 3D-левитацией */
    .hero-logo-wrapper {
        width: 160px;
        height: 160px;
        background: #ffffff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.2), inset 0 0 0 5px rgba(0, 75, 147, 0.1);
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .hero-logo-wrapper:hover {
        transform: translateY(-10px) scale(1.05); /* 3D-эффект при наведении */
    }

    .hero-logo-wrapper img {
        max-width: 90%;
        max-height: 90%;
        object-fit: contain;
    }

    .hero-title {
        color: #ffffff;
        font-size: 36px;
        font-weight: 800;
        letter-spacing: 1px;
        text-transform: uppercase;
        margin: 0;
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    }

    /* Кнопка заявки (современный неон/градиент) */
    .btn-apply-hero {
        background: linear-gradient(135deg, #0056b3 0%, #003a7a 100%);
        color: #fff;
        padding: 16px 45px;
        font-size: 18px;
        font-weight: 700;
        text-decoration: none;
        border-radius: 50px;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 12px;
        border: 2px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 20px rgba(0, 86, 179, 0.3);
    }

    .btn-apply-hero:hover {
        background: linear-gradient(135deg, #ff6b00 0%, #d15800 100%);
        box-shadow: 0 15px 25px rgba(255, 107, 0, 0.4);
        transform: translateY(-3px);
        color: #fff;
        border-color: rgba(255, 255, 255, 0.3);
    }

    .btn-apply-hero:active {
        transform: translateY(1px); /* Эффект нажатия */
    }

    /* --- СЕКЦИЯ ИНФОРМАЦИИ (Чистый премиум) --- */
    .uni-detail-info {
        padding: 80px 20px;
        background-color: #f4f7f9; /* Очень мягкий светлый фон */
        position: relative;
    }

    .info-grid {
        max-width: 1200px;
        margin: -100px auto 0; /* Поднимаем блок контента поверх баннера */
        position: relative;
        z-index: 10;
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 40px;
        align-items: flex-start;
    }

    /* Карточка с текстом */
    .info-text {
        background: #ffffff;
        padding: 40px;
        border-radius: 24px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.05);
        border: 1px solid rgba(0,0,0,0.02);
    }

    .info-text h2 {
        color: #004b93;
        font-size: 32px;
        font-weight: 800;
        margin-bottom: 25px;
        position: relative;
        padding-bottom: 15px;
    }

    .info-text h2::after {
        content: '';
        position: absolute;
        bottom: 0; left: 0;
        width: 60px;
        height: 4px;
        background: #ff6b00; /* Акцентная линия */
        border-radius: 2px;
    }

    .info-text p {
        color: #4a5568;
        font-size: 17px;
        line-height: 1.9;
        text-align: justify;
    }

    /* Блок с видео */
    .info-video {
        position: sticky;
        top: 100px; /* Видео "прилипает" при скролле */
    }

    .video-wrapper {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
        border-radius: 24px;
        box-shadow: 0 25px 50px rgba(0,0,0,0.15);
        border: 5px solid #ffffff; /* Белая рамка вокруг видео */
        background: #000;
        transition: transform 0.3s ease;
    }
    
    .video-wrapper:hover {
        transform: translateY(-5px);
    }

    .video-wrapper iframe {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
    }

    .fallback-img {
        width: 100%;
        border-radius: 24px;
        box-shadow: 0 25px 50px rgba(0,0,0,0.15);
        border: 5px solid #ffffff;
    }

    /* Мобильная адаптация */
    @media (max-width: 992px) {
        .info-grid {
            grid-template-columns: 1fr;
            margin-top: -60px;
        }
        .uni-detail-hero .hero-content {
            padding: 30px 20px;
            width: 95%;
        }
        .hero-title {
            font-size: 26px;
        }
        .info-video {
            position: relative;
            top: 0;
        }
    }

    

    .lang-switcher {
        display: flex;
        background: #f0f4f8;
        border-radius: 50px;
        padding: 4px;
        border: 1px solid rgba(0, 75, 147, 0.1);
    }

    .lang-switcher a {
        text-decoration: none;
        color: #555;
        font-weight: 700;
        font-size: 14px;
        padding: 8px 16px;
        border-radius: 50px;
        transition: all 0.3s ease;
    }

    .lang-switcher a:hover {
        color: #004b93;
    }

    /* Активный язык выделяется синим */
    .lang-switcher a.active {
        background: #004b93;
        color: #fff;
        box-shadow: 0 4px 10px rgba(0, 75, 147, 0.2);
    }


    .cta-apply-now {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 8px 28px 8px 8px;
    
    /* Заметный фирменный мандариново-красный градиент Uniway */
    background: linear-gradient(135deg, #ff5252 0%, #ff3535 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    
    /* Эффект свечения */
    box-shadow: 0 6px 20px rgba(255, 53, 53, 0.4);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    text-transform: uppercase;
}

.icon-circle-apply {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2); /* Легкий белый круг для контраста */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ffffff;
    transition: all 0.4s;
}

/* Ховер эффект для привлечения внимания */
.cta-apply-now:hover {
    transform: translateY(-3px); /* 3D приподнятие */
    background: linear-gradient(135deg, #ff3535 0%, #d62020 100%);
    box-shadow: 0 12px 30px rgba(255, 53, 53, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
}

.cta-apply-now:hover .icon-circle-apply {
    transform: scale(1.05) rotate(15deg); /* Иконка самолетика слегка подкручивается */
    background: #ffffff;
    color: #ff3535;
}

/* Адаптация под мобильные устройства (чтобы кнопки вставали в столбик, если мало места) */
@media (max-width: 768px) {
    .action-area {
        flex-direction: column !important;
        width: 100%;
        gap: 15px !important;
    }
    .cta-whatsapp, .cta-apply-now {
        width: 100%;
        max-width: 320px;
        justify-content: flex-start;
    }
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 380px;
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 9999;
    border: 1px solid #dadce0;
}
.cookie-content h3 { margin: 0 0 12px 0; font-size: 18px; color: #202124; font-family: 'Oswald', sans-serif; }
.cookie-content p { font-size: 14px; color: #5f6368; margin-bottom: 20px; line-height: 1.5; }
.cookie-buttons { display: flex; gap: 10px; }
.btn-cookie-secondary { padding: 8px 14px; border: 1px solid #dadce0; background: transparent; border-radius: 4px; cursor: pointer; color: #5f6368; }
.btn-cookie-primary { padding: 8px 14px; border: none; background: #1a73e8; color: white; border-radius: 4px; cursor: pointer; }
.btn-cookie-primary:hover { background: #1557b0; }

:root {
    --bg-grad-start: #fef9f0;
    --bg-grad-end: #f0f4fa;
    --accent-mandarin: #ff4d4d;
    --accent-glow: rgba(255, 77, 77, 0.3);
    --dark-slate: #1a2c3e;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: 1px solid rgba(255, 255, 255, 0.6);
}


/* Адаптивность */
@media (max-width: 768px) {
    .english-hero-content {
        padding: 32px 24px;
        margin: 20px;
        border-radius: 32px;
    }
    
    .eng-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-main, .btn-outline {
        justify-content: center;
    }
    
    .shape-1, .shape-2 {
        width: 250px;
        height: 250px;
    }
}

/* ================= QUIZ SECTION (PREMIUM DARK DESIGN) ================= */
.quiz-section {
    position: relative;
    padding: 140px 20px 100px;
    /* Глубокий темный фон */
    background: linear-gradient(135deg, #07080a 0%, #111827 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Анимированные фоновые шары (Неоновое свечение) */
.quiz-blob {
    position: absolute;
    filter: blur(90px);
    opacity: 0.5;
    border-radius: 50%;
    z-index: 0;
    animation: floatBlob 12s infinite alternate ease-in-out;
}
.blob-1 { top: -10%; left: -5%; width: 400px; height: 400px; background: rgba(255, 53, 53, 0.4); } /* Красное свечение */
.blob-2 { bottom: -10%; right: -5%; width: 500px; height: 500px; background: rgba(37, 99, 235, 0.3); animation-delay: -5s; } /* Синее свечение для контраста */

/* Основной контейнер теста (Темное стекло) */
.quiz-container {
    background: rgba(30, 41, 59, 0.6); /* Темное полупрозрачное стекло */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    max-width: 650px;
    width: 100%;
    border-radius: 32px;
    padding: 50px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
    position: relative;
    z-index: 1;
}

.quiz-screen { display: none; }
.quiz-screen.active { display: block; }

/* Иконка и заголовки */
.quiz-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 53, 53, 0.15);
    color: var(--accent-mandarin, #ff3535);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 24px;
    box-shadow: 0 0 30px rgba(255, 53, 53, 0.2);
}

.quiz-header { text-align: center; margin-bottom: 40px; }
.quiz-header h1 { font-family: 'Oswald', sans-serif; color: #ffffff; font-size: 36px; margin-bottom: 12px; }
.quiz-header p { color: #94a3b8; font-size: 16px; line-height: 1.6; }

/* Прогресс-бар */
.progress-container {
    width: 100%; height: 10px; background: rgba(255, 255, 255, 0.05);
    border-radius: 50px; margin-bottom: 40px; display: none; overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
.progress-bar {
    height: 100%; background: linear-gradient(90deg, #ff3535, #ff6b6b);
    border-radius: 50px; width: 0%; transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(255, 53, 53, 0.5);
}

/* Вопросы */
.question-counter {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}
.question-text { font-size: 22px; color: #f8fafc; font-weight: 700; margin-bottom: 30px; line-height: 1.4; }

/* Варианты ответов */
.options-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.option-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    padding: 18px 24px;
    border-radius: 16px;
    font-size: 16px;
    color: #cbd5e1;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-weight: 600;
}
.option-btn:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
.option-btn.selected {
    background: rgba(255, 53, 53, 0.15);
    border-color: var(--accent-mandarin, #ff3535);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 53, 53, 0.2);
}

/* Кнопки действий */
.quiz-action-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: #ffffff; color: #07080a; border: none; padding: 18px 32px;
    border-radius: 16px; font-size: 16px; font-weight: 700; cursor: pointer;
    width: 100%; transition: all 0.3s;
}
.btn-mandarin { background: var(--accent-mandarin, #ff3535); color: #ffffff; box-shadow: 0 8px 20px rgba(255,53,53,0.3); }
.btn-outline { background: transparent; border: 2px solid rgba(255, 255, 255, 0.2); color: #ffffff; box-shadow: none; }
.quiz-action-btn:disabled { background: rgba(255, 255, 255, 0.1); color: #64748b; cursor: not-allowed; box-shadow: none; transform: none !important; }

/* Анимация кнопок при наведении */
.hover-bounce:hover:not(:disabled) { transform: translateY(-4px); }
.btn-mandarin.hover-bounce:hover { background: #e02d2d; box-shadow: 0 12px 25px rgba(255,53,53,0.5); }
.btn-outline.hover-bounce:hover { border-color: #ffffff; background: rgba(255, 255, 255, 0.05); }

/* Экран результата */
.result-circle {
    width: 140px; height: 140px; border-radius: 50%;
    background: linear-gradient(135deg, #ff3535, #ff6b6b); color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 48px; font-weight: 700; font-family: 'Oswald', sans-serif;
    margin: 0 auto 30px; box-shadow: 0 15px 40px rgba(255,53,53,0.4);
}
.result-info { text-align: center; margin-bottom: 40px; }
.result-info h3 { font-size: 26px; color: #ffffff; margin-bottom: 8px; }
.result-info p { color: #94a3b8; }
.text-mandarin { color: var(--accent-mandarin, #ff3535); text-shadow: 0 0 10px rgba(255,53,53,0.3); }
.result-buttons { display: flex; flex-direction: column; gap: 16px; }

/* === АНИМАЦИИ === */
@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -50px) scale(1.1); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
    0% { opacity: 0; transform: scale(0.5); }
    70% { transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

.animate-fade-in { animation: fadeIn 0.5s ease-out forwards; }
.animate-slide-up { animation: slideUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
.animate-pop { animation: popIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards; }

@media(max-width: 600px) {
    .quiz-container { padding: 40px 24px; border-radius: 24px; }
    .quiz-header h1 { font-size: 28px; }
    .option-btn { padding: 16px 20px; font-size: 15px; }
}

/* ================= NEWS TICKER (БЕГУЩАЯ СТРОКА) ================= */
.ticker-section {
    background-color: var(--accent-mandarin, #ff3535); /* Фирменный цвет фона */
    color: #ffffff;
    padding: 12px 0;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(255, 53, 53, 0.2);
}

.ticker-wrapper {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
}

.ticker-track {
    display: flex;
    /* Время анимации (30s). Чем меньше цифра, тем быстрее бежит текст */
    animation: scrollTicker 30s linear infinite; 
}

/* Остановка анимации при наведении мышки */
.ticker-section:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-track span {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-right: 50px; /* Отступ между повторяющимися фразами */
}

/* Ключевые кадры: сдвигаем трек влево на половину его ширины */
@keyframes scrollTicker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Адаптивность для телефонов: чуть крупнее текст или быстрее прокрутка, если нужно */
@media (max-width: 600px) {
    .ticker-track span {
        font-size: 14px;
        padding-right: 30px;
    }
    .ticker-track {
        animation: scrollTicker 20s linear infinite; /* На мобильных можно чуть быстрее */
    }
}
/* ================= ENGLISH HERO SECTION (LIGHT PREMIUM STYLE) ================= */
.english-hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0 24px;
    /* Светлый, чистый фон */
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
}

/* Абстрактные фигуры (Нежные пастельные цвета) */
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    filter: blur(80px);
    opacity: 0.7;
    border-radius: 50%;
    animation: floatShape 20s infinite alternate ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 53, 53, 0.15); /* Нежный мандариновый */
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: rgba(59, 130, 246, 0.12); /* Нежный синий */
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(255, 180, 53, 0.15); /* Теплый желтоватый */
    top: 40%;
    right: 20%;
    animation-delay: -10s;
}

@keyframes floatShape {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -50px) scale(1.1); }
}

/* Частицы (Светло-серые точки для светлого фона) */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(26, 44, 62, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

/* Контентный блок – Светлое стекло (Light Glassmorphism) */
.english-hero-content {
    max-width: 820px;
    text-align: center;
    z-index: 2;
    background: rgba(255, 255, 255, 0.75); /* Светлое полупрозрачное стекло */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 48px;
    padding: 56px 48px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.english-hero-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 60px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 53, 53, 0.08);
    color: var(--accent-mandarin, #ff3535);
    padding: 8px 24px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 53, 53, 0.2);
    margin-bottom: 20px;
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% { box-shadow: 0 0 0 0 rgba(255, 53, 53, 0.15); }
    70% { box-shadow: 0 0 0 12px rgba(255, 53, 53, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 53, 53, 0); }
}

.english-hero-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(40px, 6vw, 64px);
    margin: 10px 0 20px;
    line-height: 1.2;
}

.gradient-text {
    /* Градиент от темно-синего к мандариновому */
    background: linear-gradient(130deg, #1a2c3e 20%, #ff3535 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
}

.main-desc {
    font-size: 20px;
    color: #334155;
    font-weight: 500;
    max-width: 650px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.sub-desc {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.06); /* Темный разделитель */
    padding-top: 24px;
    display: inline-block;
    max-width: 90%;
    line-height: 1.7;
}

/* Кнопки */
.eng-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-main, .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    cursor: pointer;
    border: none;
}

.btn-main {
    background: var(--accent-mandarin, #ff3535);
    color: white;
    box-shadow: 0 10px 25px -8px rgba(255, 53, 53, 0.4);
}

.btn-main:hover {
    background: #e02d2d;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -10px rgba(255, 53, 53, 0.6);
    gap: 16px;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.5);
    color: #1a2c3e;
    border: 1px solid rgba(26, 44, 62, 0.15);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: #ffffff;
    border-color: #1a2c3e;
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -12px rgba(0, 0, 0, 0.1);
}

.btn-icon {
    transition: transform 0.2s;
}

.btn-main:hover .btn-icon,
.btn-outline:hover .btn-icon {
    transform: translateX(4px);
}

/* Анимация появления */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.15, 0.85, 0.3, 1.05);
}

.english-hero-section.visible .animate-up {
    opacity: 1;
    transform: translateY(0);
}

/* Декоративная волна внизу */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: repeating-linear-gradient(90deg, 
        rgba(255, 53, 53, 0.1) 0px, 
        rgba(255, 53, 53, 0.1) 2px,
        transparent 2px,
        transparent 8px);
    mask: linear-gradient(180deg, transparent, black);
    -webkit-mask: linear-gradient(180deg, transparent, black);
    pointer-events: none;
    z-index: 1;
}

/* Адаптивность */
@media (max-width: 768px) {
    .english-hero-content {
        padding: 40px 24px;
        margin: 20px;
        border-radius: 32px;
    }
    
    .eng-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-main, .btn-outline {
        justify-content: center;
    }
    
    .shape-1, .shape-2 {
        width: 300px;
        height: 300px;
    }
}

/* --- ГЛАВНАЯ КНОПКА ЗАЯВКИ --- */
.nav-btn-special {
    background: linear-gradient(135deg, #ff3535 0%, #ff3535 100%);
    color: white !important;
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 92, 0, 0.4);
    font-family: inherit;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.nav-btn-special:hover {
    box-shadow: 0 8px 20px rgba(230, 92, 0, 0.6);
    background: linear-gradient(135deg, #ff3535 0%, #ff3535 100%);
}

/* --- КОНТЕЙНЕР DROPDOWN --- */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

/* --- ВЫПАДАЮЩИЙ СПИСОК (GLASSMORPHISM) --- */
.dropdown-content.glass-dropdown {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 120%; /* Смещение вниз */
    right: 0;
    background: rgba(15, 23, 42, 0.85); /* Темное стекло */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 220px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateY(-10px);
}

/* Показываем меню при наведении на контейнер */
.nav-dropdown:hover .dropdown-content.glass-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* --- КНОПКИ ВНУТРИ ВЫПАДАЮЩЕГО МЕНЮ --- */
.dropdown-content.glass-dropdown button {
    background: transparent;
    color: #f1f5f9;
    padding: 12px 20px;
    border: none;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-content.glass-dropdown button i {
    color: #ff3535; /* Оранжевые иконки */
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.dropdown-content.glass-dropdown button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ff3535;
    padding-left: 25px; /* Легкий сдвиг текста при наведении */
}

/* Добавьте/обновите это в вашем CSS */
.nav-container {
    position: relative;
    z-index: 9999; /* Выводим всю навигацию поверх остальных элементов */
}

.dropdown-content.glass-dropdown {
    /* ... ваш остальной код ... */
    z-index: 99999; /* Делаем меню самым верхним элементом */
}

.dropdown-content.glass-dropdown button {
    pointer-events: auto !important;
    position: relative;
    z-index: 999999;
}
/* --- ССЫЛКИ ВНУТРИ ВЫПАДАЮЩЕГО МЕНЮ --- */
.dropdown-content.glass-dropdown a {
    background: transparent;
    color: #f1f5f9;
    padding: 12px 20px;
    text-decoration: none; /* Убираем стандартное подчеркивание ссылок */
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto !important; /* Разрешаем клики */
}

.dropdown-content.glass-dropdown a i {
    color: #FF8C42;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.dropdown-content.glass-dropdown a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FF8C42;
    padding-left: 25px; /* Эффект сдвига при наведении */
}