/* ===== ОСНОВНЫЕ ПЕРЕМЕННЫЕ (СОГЛАСНО СПЕЦИФИКАЦИИ) ===== */
:root {
    /* Цвета */
    --color-primary: #2C3E50;        /* Основной цвет заголовков */
    --color-accent: #FF914D;         /* Акцентные элементы, кнопки */
    --color-accent-hover: #A03F03;   /* Кнопки при наведении */
    --color-text: #333333;           /* Основной текст */
    --color-background: #FFF9F0;     /* Фон по умолчанию (ИЗМЕНЕНО!) */
    --color-white: #FFFFFF;          /* Альтернативный фон */
    --color-link: #42A5F5;           /* Ссылки */
    --color-link-hover: #2A5B8C;     /* Ссылки при наведении */

    /* Шрифты */
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'Rubik', sans-serif;

    /* Размеры шрифтов (Mobile First) */
    --font-size-base: 14px;          /* Базовый размер (мобильные) */
    --font-size-h1: 1.75rem;         /* 28px */
    --font-size-h2: 1.5rem;          /* 24px */
    --font-size-h3: 1.25rem;         /* 20px */
    --font-size-text: 1rem;          /* 16px */
    --font-size-btn: 1.125rem;       /* 18px */

    /* Межстрочные интервалы */
    --line-height-body: 1.4;         /* Основной текст */
    --line-height-heading: 1.2;      /* Заголовки */
    --line-height-btn: 1.0;          /* Кнопки */

    /* Отступы */
    --spacing-xs: 0.5rem;            /* 8px */
    --spacing-sm: 1rem;              /* 16px */
    --spacing-md: 1.5rem;            /* 24px */
    --spacing-lg: 2.5rem;            /* 40px */
    --spacing-xl: 3rem;              /* 48px */

    /* Радиусы */
    --border-radius: 12px;           /* Карточки, изображения */
    --border-radius-btn: 8px;        /* Кнопки */

    /* Тени */
    --box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    --box-shadow-hover: 0 6px 12px rgba(0,0,0,0.15);

    /* Анимации */
    --transition: all 0.3s ease;
}

/* ===== БАЗОВЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: var(--font-size-text);
    line-height: var(--line-height-body);
    color: var(--color-text);
    background-color: var(--color-background); /* ФОН ИЗМЕНЕН НА #FFF9F0 */
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
}


h1 {
    font-size: var(--font-size-h1);
    font-weight: 900; /* Nunito Black */
}

h2 {
    font-size: var(--font-size-h2);
    font-weight: 700; /* Nunito Bold */
}

h3 {
    font-size: var(--font-size-h3);
    font-weight: 600; /* Nunito SemiBold */
}

p {
    margin-bottom: var(--spacing-md);
    max-width: 65ch; /* Ограничение длины строки */
}

a {
    color: var(--color-link);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-link-hover);
}

/* ===== СЕТКА И КОНТЕЙНЕР ===== */
.t-container {
    width: 100%;
    max-width: 1320px; /* Десктоп */
    padding: 0 var(--spacing-md);
    margin: 0 auto;
    box-sizing: border-box;
}

.t-row {
    display: grid;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

/* Десктоп: 12 колонок */
.t-row-desktop {
    grid-template-columns: repeat(12, 1fr);
}

/* Планшет: 8 колонок */
@media (max-width: 1199px) {
    .t-row-tablet {
        grid-template-columns: repeat(8, 1fr);
    }
    
    .t-container {
        max-width: 960px; /* Планшет */
    }
}

/* Мобильные: 1 колонка */
@media (max-width: 767px) {
    .t-row-mobile {
        grid-template-columns: 1fr;
    }
    
    .t-container {
        padding: 0 var(--spacing-sm); /* Мобильные */
    }
}

/* Пример колонки (десктоп: 3 в ряд) */
.t-col-desktop-3 {
    grid-column: span 4; /* 12/4=3 элемента */
}

@media (max-width: 1199px) {
    .t-col-tablet-2 {
        grid-column: span 4; /* 8/4=2 элемента */
    }
}

/* ===== КОМПОНЕНТЫ ===== */
/* Кнопки */
.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--font-size-btn);
    line-height: var(--line-height-btn);
    padding: 0.75rem 1.5rem; /* 12px/24px */
    background-color: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: var(--border-radius-btn);
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

/* Карточки */
.card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--box-shadow-hover);
}

/* Изображения */
.img-responsive {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    aspect-ratio: 16/9; /* Соотношение сторон */
    object-fit: cover;
}

/* ===== ШАПКА САЙТА ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
}

.header.scrolled {
    padding: 5px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-link), var(--color-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(66, 165, 245, 0.3);
    transition: var(--transition);
}

.logo-icon i {
    color: white;
    font-size: 24px;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-link));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

/* Навигация */
.nav-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    display: flex;
    gap: 5px;
    margin-right: 30px;
}

.nav-item {
    position: relative;
    list-style: none;
}

.nav-link {
    position: relative;
    display: inline-block;
    padding: 15px 20px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
    border-radius: 50px;
}

.nav-link:hover {
    color: var(--color-link);
    background: rgba(66, 165, 245, 0.05);
}

/* Эффект подчеркивания */
.nav-link::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 10px;
    height: 2px;
    background: var(--color-accent);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: var(--x) 50%;
    transition: transform 0.4s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* Кнопки в шапке */
.header-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    color: var(--color-primary);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 50px;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--color-link);
    background: rgba(66, 165, 245, 0.05);
}

.phone-link i {
    color: var(--color-accent);
    font-size: 18px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, var(--color-link), var(--color-accent));
    color: white !important;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(66, 165, 245, 0.4);
    border: none;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(66, 165, 245, 0.6);
}

.cta-button i {
    font-size: 18px;
}

/* Мобильное меню (скрыто по умолчанию) */
.mobile-toggle,
.mobile-menu {
    display: none;
}

/* ===== ГЕРОЙ БЛОК ===== */
.hero-section {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: var(--color-background);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0.5px;
}

.hero-content {
    padding-right: 40px;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--color-accent);
    margin-bottom: 30px;
}

.hero-features {
    margin-bottom: 40px;
}

.hero-feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-family: var(--font-body);
    font-size: 1.1rem;
}

.hero-feature i {
    color: var(--color-accent);
    margin-right: 15px;
    font-size: 1.2rem;
}

.hero-image {
    position: relative;
    height: 550px;
    display: flex;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hero-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(66, 165, 245, 0.85) 0%, 
        rgba(66, 165, 245, 0.7) 15%, 
        rgba(255, 145, 77, 0.5) 50%, 
        rgba(240, 247, 255, 0.9) 100%);
    background-size: 300% 300%;
    animation: gradient-animation 12s ease infinite;
    z-index: 0;
}

.hero-photo-container {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 460px;
    height: 460px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 10%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25), 
                0 0 0 10px rgba(255, 255, 255, 0.6), 
                0 0 0 10px rgba(255, 255, 255, 0.3);
    z-index: 10;
    animation: float 6s ease-in-out infinite;
}

.hero-photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-certificate-container {
    position: absolute;
    top: 340px;
    left: 30px;
    bottom: 30px;
    z-index: 10;
    width: 90%;
    max-width: 600px;
    display: flex;
    align-items: center;
    gap: 20px;
    animation: floating 12s ease-in-out infinite;
}

.hero-certificate-container img {
    width: 250px;
    height: auto;
    display: block;
    border-radius: 12px;
}

.hero-certificate-text {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
    flex: 1;
}

/* Анимации для героя */
@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -10px); }
}

@keyframes floating {
    0%, 100% { transform: translate(0, 0) rotate(0); }
    25% { transform: translate(-5px, 8px) rotate(-1deg); }
    50% { transform: translate(5px, -6px) rotate(1deg); }
    75% { transform: translate(3px, 4px) rotate(-0.5deg); }
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1199px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-feature {
        justify-content: center;
    }
    
    .hero-image {
        height: 450px;
    }
    
    .hero-photo-container {
        width: 300px;
        height: 300px;
    }
    
    .hero-certificate-container {
        width: 80%;
        max-width: 100px;
    }
}

@media (max-width: 767px) {
    .header-container {
        padding: 15px 20px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .logo-icon {
        width: 42px;
        height: 42px;
    }
    
    .nav-menu,
    .header-buttons {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
        background: transparent;
        border: none;
        width: 40px;
        height: 40px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        z-index: 1001;
    }
    
    .mobile-toggle span {
        display: block;
        width: 28px;
        height: 3px;
        background: var(--color-link);
        border-radius: 2px;
        margin: 3px 0;
        transition: all 0.4s ease;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 8px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -8px);
    }
    
    .mobile-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 90%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 30px;
        transform: translateY(-150%);
        transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 999;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        overflow-y: auto;
    }
    
    .mobile-menu.active {
        transform: translateY(0);
    }
    
    .mobile-nav {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        gap: 10px;
    }
    
    .mobile-nav .nav-link {
        width: 90%;
        text-align: center;
        padding: 18px;
        font-size: 18px;
        border-radius: 15px;
        background: rgba(240, 247, 255, 0.5);
    }
    
    .mobile-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 500px;
        margin-top: 20px;
    }
    
    .mobile-buttons .phone-link,
    .mobile-buttons .cta-button {
        justify-content: center;
        width: 90%;
        padding: 18px;
        font-size: 18px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-image {
        height: 400px;
        border-radius: 20px;
    }
    
    .hero-photo-container {
        width: 200px;
        height: 200px;
        top: 30px;
    }
    
    .hero-certificate-container {
        left: 10px;
        bottom: 50px;
        width: 90%;
        max-width: 450px;
        gap: 15px;
    }
    
    .hero-certificate-text {
        font-size: 8px;
    }
    
    .hero-certificate-container img {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-image {
        height: 380px;
    }
    
    .hero-photo-container {
        width: 300px;
        height: 300px;
        top: 40px;
    }
    
    .hero-certificate-container {
        position: absolute;
        top: 220px;
        left: 10px;
        bottom: 30px;
        width: 90%;
        max-width: 300px;
        gap: 10px;
    }
    
    .hero-certificate-container img {
        width: 100%;
        max-width: 160px;
    }
    
    .hero-certificate-text {
        text-align: left;
        font-size: 9px;
        width: 100%;
    }
}

/* Адаптивные размеры шрифтов (десктоп ≥1024px) */
@media (min-width: 1024px) {
    :root {
        --font-size-h1: 2.375rem; /* 42px */
        --font-size-h2: 1.875rem; /* 32px */
        --font-size-h3: 1.625rem; /* 26px */
        --font-size-text: 1.125rem; /* 18px */
    }
}
  /* ключевые преимущества*/
    
       .advantages-section {
            padding: 60px 0;
            background: var(--color-background);
            position: relative;
            overflow: hidden;
        }
        
        .advantages-container {
            max-width: 1320px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .advantages-title {
            font-family: var(--font-heading);
            font-weight: 900;
            font-size: 2.2rem;
            text-align: center;
            color: var(--color-primary);
            margin-bottom: 20px;
        }
        
        .advantages-subtitle {
            font-family: var(--font-body);
            font-size: 1.1rem;
            text-align: center;
            color: var(--color-text);
            max-width: 800px;
            margin: 0 auto 40px;
            line-height: 1.6;
        }
        
        .advantages-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
        }
        
        .advantage-card {
            background: var(--color-white);
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            padding: 25px;
            transition: var(--transition);
            display: flex;
            flex-direction: column;
        }
        
        .advantage-card:hover {
            box-shadow: var(--box-shadow-hover);
            transform: translateY(-5px);
        }
        
        .advantage-icon {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            background: linear-gradient(135deg, var(--color-link), var(--color-accent));
            box-shadow: 0 4px 10px rgba(66, 165, 245, 0.3);
            margin-bottom: 20px;
        }
        
        .advantage-icon i {
            color: white;
            font-size: 1.5rem;
        }
        
        .video-wrapper {
            position: relative;
            width: 100%;
            padding-top: 56.25%; /* 16:9 Aspect Ratio */
            border-radius: var(--border-radius);
            overflow: hidden;
            margin-bottom: 20px;
        }
        
        .video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
            border-radius: var(--border-radius);
        }
        
        .advantage-content h3 {
            font-family: var(--font-heading);
            font-weight: 800;
            font-size: 1.3rem;
            color: var(--color-primary);
            margin-bottom: 15px;
        }
        
        .advantage-content p {
            font-family: var(--font-body);
            font-size: 0.95rem;
            line-height: 1.6;
            color: var(--color-text);
        }
        
        /* Адаптивность */
        @media (max-width: 1199px) {
            .advantages-grid {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            }
        }
        
        @media (max-width: 767px) {
            .advantages-section {
                padding: 40px 0;
            }
            
            .advantages-title {
                font-size: 1.8rem;
                margin-bottom: 15px;
            }
            
            .advantages-subtitle {
                font-size: 1rem;
                margin-bottom: 30px;
            }
            
            .advantages-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .advantage-card {
                padding: 20px;
            }
            
            .advantage-icon {
                width: 50px;
                height: 50px;
                margin-bottom: 15px;
            }
            
            .advantage-icon i {
                font-size: 1.3rem;
            }
        }
        
        @media (max-width: 480px) {
            .advantages-title {
                font-size: 1.5rem;
            }
            
            .advantage-content h3 {
                font-size: 1.2rem;
            }
        }
     /* ===== БЛОК ПРОГРАММ ОБУЧЕНИЯ ===== */
        .programs-section {
            padding: 60px 0;
            background: var(--color-background);
            position: relative;
            overflow: hidden;
        }
        
        .programs-container {
            max-width: 1320px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .section-title {
            font-family: var(--font-heading);
            font-weight: 900;
            font-size: 2.2rem;
            text-align: center;
            color: var(--color-primary);
            margin-bottom: 40px;
        }
        
        .programs-scroll-wrapper {
            position: relative;
            margin: 0 -10px;
        }
        
        .programs-scroll {
            display: flex;
            overflow-x: auto;
            scrollbar-width: thin;
            -ms-overflow-style: none;
            padding: 20px 10px;
            scroll-behavior: smooth;
            scroll-snap-type: x mandatory;
        }
        
        .programs-scroll::-webkit-scrollbar {
            height: 6px;
        }
        
        .programs-scroll::-webkit-scrollbar-thumb {
            background: #ccc;
            border-radius: 3px;
        }
        
        .program-card {
            flex: 0 0 auto;
            width: 300px;
            background: var(--color-white);
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            margin: 0 10px;
            padding: 20px;
            scroll-snap-align: start;
            transition: var(--transition);
        }
        
        .program-card:hover {
            box-shadow: var(--box-shadow-hover);
            transform: translateY(-5px);
        }
        
        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 15px;
        }
        
        .card-title {
            font-family: var(--font-heading);
            font-weight: 800;
            font-size: 1.4rem;
            color: var(--color-primary);
            margin: 0;
            line-height: 1.2;
        }
        
        .card-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            background: linear-gradient(135deg, var(--color-link), var(--color-accent));
            box-shadow: 0 4px 10px rgba(66, 165, 245, 0.3);
        }
        
        .card-icon i {
            color: white;
            font-size: 1.3rem;
        }
        
        .card-details {
            margin-bottom: 20px;
        }
        
        .duration {
            font-family: var(--font-body);
            font-weight: 500;
            font-size: 0.9rem;
            color: var(--color-accent);
            margin-bottom: 15px;
        }
        
        .features-list {
            list-style: none;
            padding: 0;
            margin: 0 0 20px 0;
        }
        
        .features-list li {
            position: relative;
            padding-left: 20px;
            margin-bottom: 8px;
            font-family: var(--font-body);
            font-size: 0.85rem;
            line-height: 1.4;
            color: var(--color-text);
        }
        
        .features-list li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--color-accent);
            font-weight: bold;
        }
        
        .card-pricing {
            background: rgba(66, 165, 245, 0.05);
            border-radius: 8px;
            padding: 12px;
            margin-bottom: 20px;
        }
        
        .price-tag {
            font-family: var(--font-heading);
            font-weight: 800;
            font-size: 1.2rem;
            color: var(--color-primary);
            margin-bottom: 5px;
        }
        
        .price-tag span {
            font-size: 0.8rem;
            font-weight: 500;
            color: #7f8c8d;
        }
        
        .discount {
            font-family: var(--font-body);
            font-weight: 400;
            font-size: 0.8rem;
            color: var(--color-text);
        }
        
        .discount strong {
            font-weight: 700;
            color: #27ae60;
        }
        
        .discount-badge {
            display: inline-block;
            background: #27ae60;
            color: white;
            padding: 2px 6px;
            border-radius: 3px;
            font-size: 0.7rem;
            margin-left: 5px;
        }
        
        .card-buttons {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }
        
        .btn {
            display: block;
            text-align: center;
            padding: 10px;
            border-radius: var(--border-radius-btn);
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: 0.9rem;
            text-decoration: none;
            transition: var(--transition);
            cursor: pointer;
            border: none;
        }
        
        .btn-details {
            background: white;
            color: var(--color-primary);
            border: 2px solid var(--color-link);
        }
        
        .btn-details:hover {
            background: var(--color-link);
            color: white;
        }
        
        .btn-signup {
            background: linear-gradient(90deg, var(--color-link), var(--color-accent));
            color: white;
            border: none;
            text-decoration: none;
        }
        
        .btn-signup:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }
        
        /* Специальные стили для разных типов программ */
        .program-card.premium {
            border-top: 4px solid #2C3E50;
        }
        
        .program-card.oge {
            border-top: 4px solid #FF914D;
        }
        
        .program-card.ege {
            border-top: 4px solid #27ae60;
        }
        
        /* ===== МОДАЛЬНЫЕ ОКНА ===== */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.7);
            z-index: 1000;
            overflow-y: auto;
            padding: 20px;
            box-sizing: border-box;
        }
        
        .modal-content {
            background-color: var(--color-white);
            margin: 40px auto;
            border-radius: var(--border-radius);
            max-width: 800px;
            position: relative;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            animation: modalFadeIn 0.3s;
        }
        
        @keyframes modalFadeIn {
            from {opacity: 0; transform: translateY(-50px);}
            to {opacity: 1; transform: translateY(0);}
        }
        
        .close-modal {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 28px;
            font-weight: bold;
            color: #aaa;
            cursor: pointer;
            z-index: 10;
        }
        
        .close-modal:hover {
            color: var(--color-primary);
        }
        
        .modal-header {
            padding: 20px 25px 0;
        }
        
        .modal-title {
            font-family: var(--font-heading);
            font-weight: 900;
            font-size: 1.8rem;
            color: var(--color-primary);
            margin: 0 0 15px 0;
        }
        
        .modal-body {
            padding: 0 25px 25px;
            max-height: 60vh;
            overflow-y: auto;
        }
        
        .modal-body h4 {
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: 1.2rem;
            color: var(--color-primary);
            margin: 20px 0 10px;
        }
        
        .modal-body p, .modal-body li {
            font-family: var(--font-body);
            font-size: 0.95rem;
            line-height: 1.6;
            color: var(--color-text);
        }
        
        .modal-body ul {
            padding-left: 20px;
            margin: 10px 0;
        }
        
        .modal-body li {
            margin-bottom: 8px;
        }
        
        /* ===== АДАПТИВНОСТЬ ===== */
        @media (max-width: 1199px) {
            .program-card {
                width: 280px;
            }
        }
        
        @media (max-width: 767px) {
            .programs-section {
                padding: 40px 0;
            }
            
            .section-title {
                font-size: 1.8rem;
                margin-bottom: 30px;
            }
            
            .programs-scroll-wrapper {
                margin: 0 -5px;
            }
            
            .programs-scroll {
                padding: 15px 5px;
            }
            
            .program-card {
                width: 85%;
                max-width: 320px;
                margin: 0 5px;
                padding: 15px;
            }
            
            .card-title {
                font-size: 1.2rem;
            }
            
            .card-icon {
                width: 40px;
                height: 40px;
            }
            
            .card-icon i {
                font-size: 1.1rem;
            }
            
            .modal-content {
                margin: 20px auto;
                width: 95%;
            }
            
            .modal-header {
                padding: 15px 20px 0;
            }
            
            .modal-title {
                font-size: 1.5rem;
            }
            
            .modal-body {
                padding: 0 20px 20px;
                max-height: 70vh;
            }
        }
        
        @media (max-width: 480px) {
            .section-title {
                font-size: 1.5rem;
            }
            
            .program-card {
                width: 90%;
            }
            
            .card-buttons {
                grid-template-columns: 1fr;
            }
            
            .modal-body {
                font-size: 0.9rem;
            }
        }
         /*блок доверия*/
         

        .trust-section {
            padding: 80px 20px;
            position: relative;
            overflow: hidden;
        }

        .trust-container {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
        }

        .trust-header {
            text-align: center;
            margin-bottom: 60px;
            position: relative;
        }

        .trust-title {
            font-family: var(--font-heading);
            font-weight: 900;
            font-size: 3.2rem;
            color: var(--color-primary);
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
        }

        .trust-title::after {
            content: "";
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 5px;
            background: linear-gradient(90deg, var(--color-link), var(--color-accent));
            border-radius: 3px;
        }

        .trust-subtitle {
            font-family: var(--font-body);
            font-size: 1.4rem;
            color: var(--color-text);
            max-width: 600px;
            margin: 0 auto;
            font-weight: 500;
        }

        .trust-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .trust-card {
            background: var(--color-white);
            border-radius: var(--border-radius);
            padding: 30px;
            box-shadow: var(--box-shadow);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        .trust-card:nth-child(1) {
            transform: rotate(-2deg);
            z-index: 3;
        }

        .trust-card:nth-child(2) {
            transform: rotate(1deg);
            z-index: 2;
        }

        .trust-card:nth-child(3) {
            transform: rotate(-1deg);
            z-index: 1;
        }

        .trust-card:hover {
            transform: translateY(-10px) rotate(0deg);
            box-shadow: var(--box-shadow-hover);
        }

        .card-1 {
            background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
            color: var(--color-primary);
        }

        .card-2 {
            background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
            color: var(--color-primary);
        }

        .card-3 {
            background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
            color: var(--color-primary);
        }

        .card-icon {
            font-size: 2.5rem;
            margin-bottom: 20px;
            text-align: center;
        }

        .card-content {
            flex-grow: 1;
        }

        .card-content p {
            margin-bottom: 20px;
            font-size: 1.1rem;
            line-height: 1.7;
        }

        .card-content .quote {
            font-style: italic;
            position: relative;
            padding: 0 20px;
        }

        .card-content .quote::before,
        .card-content .quote::after {
            content: """;
            font-size: 3rem;
            position: absolute;
            opacity: 0.2;
            font-family: Georgia, serif;
        }

        .card-content .quote::before {
            top: -20px;
            left: -10px;
        }

        .card-content .quote::after {
            content: """;
            bottom: -40px;
            right: -10px;
        }

        .card-signature {
            font-weight: 700;
            text-align: right;
            margin-top: 20px;
            font-style: italic;
        }

        .card-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 12px;
            margin-bottom: 20px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .decorative-element {
            position: absolute;
            z-index: 0;
            opacity: 0.1;
        }

        .dec-1 {
            top: -50px;
            left: -50px;
            width: 200px;
            height: 200px;
            background: url('data:image/svg+xml;utf8,');
            background-size: contain;
        }

        .dec-2 {
            bottom: -80px;
            right: -30px;
            width: 300px;
            height: 300px;
            background: url('data:image/svg+xml;utf8,');
            background-size: contain;
            transform: rotate(25deg);
        }

        @media (max-width: 992px) {
            .trust-cards {
                grid-template-columns: 1fr;
                max-width: 600px;
                margin: 50px auto 0;
            }
            
            .trust-card {
                transform: rotate(0deg) !important;
            }
            
            .trust-card:hover {
                transform: translateY(-10px) !important;
            }
        }

        @media (max-width: 768px) {
            .trust-title {
                font-size: 2.5rem;
            }
            
            .trust-subtitle {
                font-size: 1.2rem;
            }
            
            .trust-card {
                padding: 20px;
            }
        }

        @media (max-width: 480px) {
            .trust-title {
                font-size: 2rem;
            }
            
            .trust-subtitle {
                font-size: 1.1rem;
            }
            
            .card-content p {
                font-size: 1rem;
            }
        }
        
        /* Видео отзыв */
      

        .video-testimonials {
            padding: 80px 20px;
            position: relative;
            overflow: hidden;
        }

        .video-container {
            max-width: 1320px;
            margin: 0 auto;
            position: relative;
        }

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

        .section-title {
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: 1.8rem;
            color: var(--color-primary);
            margin-bottom: 20px;
        }

        .video-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .video-card {
            background: var(--color-white);
            border-radius: var(--border-radius);
            padding: 25px;
            box-shadow: var(--box-shadow);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        .video-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--box-shadow-hover);
        }

        .card-header {
            margin-bottom: 20px;
            text-align: center;
        }

        .card-title {
            font-family: var(--font-heading);
            font-weight: 800;
            font-size: 1.4rem;
            color: var(--color-primary);
            margin-bottom: 10px;
        }

        .video-wrapper {
            position: relative;
            width: 100%;
            padding-top: 56.25%; /* 16:9 Aspect Ratio */
            border-radius: 12px;
            overflow: hidden;
            margin-bottom: 20px;
        }

        .video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 12px;
        }

        .card-content {
            flex-grow: 1;
        }

        .card-content p {
            margin-bottom: 15px;
            font-size: 1rem;
            line-height: 1.6;
        }

        .quote {
            font-style: italic;
            padding: 15px;
            background: rgba(66, 165, 245, 0.1);
            border-radius: 8px;
            margin-top: 15px;
            position: relative;
        }

        .quote::before {
            content: """;
            font-size: 3rem;
            position: absolute;
            top: -15px;
            left: 10px;
            opacity: 0.2;
            font-family: Georgia, serif;
        }

        /* Специальные стили для 3D глобуса */
        .globe-card {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 350px;
            background: linear-gradient(135deg, #2C3E50 0%, #4CA1AF 100%);
            position: relative;
            overflow: hidden;
        }

        .globe-container {
            width: 200px;
            height: 200px;
            position: relative;
            perspective: 1000px;
            z-index: 2;
        }

        .globe {
            width: 100%;
            height: 100%;
            position: relative;
            transform-style: preserve-3d;
            animation: rotateGlobe 20s infinite linear;
        }

        .circle {
            position: absolute;
            width: 100%;
            height: 100%;
            border: 2px solid rgba(255,255,255,0.5);
            border-radius: 50%;
            box-shadow: 0 0 20px rgba(255,255,255,0.2);
        }

        .circle:nth-child(1) {
            transform: rotateY(0deg);
        }

        .circle:nth-child(2) {
            transform: rotateY(30deg);
        }

        .circle:nth-child(3) {
            transform: rotateY(60deg);
        }

        .circle:nth-child(4) {
            transform: rotateY(90deg);
        }

        .circle:nth-child(5) {
            transform: rotateY(120deg);
        }

        .circle:nth-child(6) {
            transform: rotateY(150deg);
        }

        .letters {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-family: var(--font-heading);
            font-weight: 900;
            font-size: 3rem;
            text-shadow: 0 0 10px rgba(255,255,255,0.5);
            z-index: 3;
        }

        .letter-b {
            color: #2C3E50;
        }

        .letter-l {
            color: #FF914D;
        }

        .floating-words {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
        }

        .word {
            position: absolute;
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: 1rem;
            color: white;
            opacity: 0;
            animation: floatWord 18s infinite linear;
            z-index: 1;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
            padding: 2px 5px;
            border-radius: 3px;
            background: rgba(0,0,0,0.2);
        }

        /* Настройка анимации для каждого слова */
        .word:nth-child(1) { animation-delay: 0s; color: #FF914D; }
        .word:nth-child(2) { animation-delay: 1.2s; color: #42A5F5; }
        .word:nth-child(3) { animation-delay: 2.4s; color: #FF914D; }
        .word:nth-child(4) { animation-delay: 3.6s; color: #42A5F5; }
        .word:nth-child(5) { animation-delay: 4.8s; color: #FF914D; }
        .word:nth-child(6) { animation-delay: 6s; color: #42A5F5; }
        .word:nth-child(7) { animation-delay: 7.2s; color: #FF914D; }
        .word:nth-child(8) { animation-delay: 8.4s; color: #42A5F5; }
        .word:nth-child(9) { animation-delay: 9.6s; color: #FF914D; }
        .word:nth-child(10) { animation-delay: 10.8s; color: #42A5F5; }
        .word:nth-child(11) { animation-delay: 12s; color: #FF914D; }
        .word:nth-child(12) { animation-delay: 13.2s; color: #42A5F5; }
        .word:nth-child(13) { animation-delay: 14.4s; color: #FF914D; }
        .word:nth-child(14) { animation-delay: 15.6s; color: #42A5F5; }
        .word:nth-child(15) { animation-delay: 16.8s; color: #FF914D; }
        .word:nth-child(16) { animation-delay: 18s; color: #42A5F5; }
        .word:nth-child(17) { animation-delay: 19.2s; color: #FF914D; }
        .word:nth-child(18) { animation-delay: 20.4s; color: #42A5F5; }
        .word:nth-child(19) { animation-delay: 21.6s; color: #FF914D; }
        .word:nth-child(20) { animation-delay: 22.8s; color: #42A5F5; }
        .word:nth-child(21) { animation-delay: 24s; color: #FF914D; }

        /* Случайные позиции для слов - расширенные по всей карточке */
        .word:nth-child(1) { top: 5%; left: 10%; }
        .word:nth-child(2) { top: 85%; left: 90%; }
        .word:nth-child(3) { top: 40%; left: 78%; }
        .word:nth-child(4) { top: 90%; left: 8%; }
        .word:nth-child(5) { top: 10%; left: 65%; }
        .word:nth-child(6) { top: 65%; left: 5%; }
        .word:nth-child(7) { top: 25%; left: 20%; }
        .word:nth-child(8) { top: 92%; left: 55%; }
        .word:nth-child(9) { top: 20%; left: 80%; }
        .word:nth-child(10) { top: 70%; left: 40%; }
        .word:nth-child(11) { top: 50%; left: 35%; }
        .word:nth-child(12) { top: 80%; left: 50%; }
        .word:nth-child(13) { top: 15%; left: 60%; }
        .word:nth-child(14) { top: 60%; left: 25%; }
        .word:nth-child(15) { top: 40%; left: 70%; }
        .word:nth-child(16) { top: 88%; left: 35%; }
        .word:nth-child(17) { top: 10%; left: 45%; }
        .word:nth-child(18) { top: 70%; left: 30%; }
        .word:nth-child(19) { top: 50%; left: 15%; }
        .word:nth-child(20) { top: 82%; left: 27%; }
        .word:nth-child(21) { top: 30%; left: 75%; }

        @keyframes rotateGlobe {
            0% {
                transform: rotateY(0deg);
            }
            100% {
                transform: rotateY(360deg);
            }
        }

        @keyframes floatWord {
            0% {
                transform: translate(0, 0) rotate(0deg) scale(0.8);
                opacity: 0;
            }
            5% {
                opacity: 0.8;
            }
            15% {
                transform: translate(40px, -40px) rotate(5deg) scale(1);
                opacity: 1;
            }
            30% {
                transform: translate(80px, -80px) rotate(0deg) scale(1.1);
            }
            45% {
                transform: translate(120px, -120px) rotate(-5deg) scale(1);
            }
            60% {
                transform: translate(80px, -80px) rotate(0deg) scale(0.9);
            }
            75% {
                transform: translate(40px, -40px) rotate(5deg) scale(0.8);
                opacity: 0.7;
            }
            90% {
                transform: translate(0, 0) rotate(0deg) scale(0.7);
                opacity: 0.4;
            }
            100% {
                transform: translate(-40px, 40px) rotate(0deg) scale(0.8);
                opacity: 0;
            }
        }

        /* Декоративные элементы */
        .decorative-element {
            position: absolute;
            z-index: 0;
            opacity: 0.1;
        }

        .dec-1 {
            top: -50px;
            left: -50px;
            width: 200px;
            height: 200px;
            background: url('data:image/svg+xml;utf8,');
            background-size: contain;
        }

        .dec-2 {
            bottom: -80px;
            right: -30px;
            width: 300px;
            height: 300px;
            background: url('data:image/svg+xml;utf8,');
            background-size: contain;
            transform: rotate(25deg);
        }

        @media (max-width: 992px) {
            .video-cards {
                grid-template-columns: 1fr;
                max-width: 600px;
                margin: 0 auto;
            }
        }

        @media (max-width: 768px) {
            .section-title {
                font-size: 2.2rem;
            }
            
            .video-card {
                padding: 20px;
            }
            
            .globe-card {
                min-height: 300px;
            }
        }

        @media (max-width: 480px) {
            .section-title {
                font-size: 1.8rem;
            }
            
            .globe-container {
                width: 150px;
                height: 150px;
            }
            
            .letters {
                font-size: 2.2rem;
            }
            
            .word {
                font-size: 0.8rem;
            }
        }
        /*отзывы*/
        .our-goal-section {
            padding: 80px 20px;
            position: relative;
            overflow: hidden;
        }

        .goal-container {
            max-width: 1320px;
            margin: 0 auto;
            position: relative;
        }

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

        .section-title {
            font-family: var(--font-heading);
            font-weight: 900;
            font-size: 2.8rem;
            color: var(--color-primary);
            margin-bottom: 20px;
        }

        .goal-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .goal-card {
            background: var(--color-white);
            border-radius: var(--border-radius);
            padding: 30px;
            box-shadow: var(--box-shadow);
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            position: relative;
            overflow: hidden;
        }

        .goal-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--box-shadow-hover);
        }

        .goal-card:nth-child(1) {
            background: linear-gradient(135deg, #f6f9fc 0%, #e6f0ff 100%);
        }

        .goal-card:nth-child(2) {
            background: linear-gradient(135deg, #fff5e6 0%, #ffeedd 100%);
        }

        .goal-card:nth-child(3) {
            background: linear-gradient(135deg, #e6f7ff 0%, #f0f9ff 100%);
        }

        .yandex-badge {
            text-align: center;
            margin-bottom: 25px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .card-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 12px;
            margin-bottom: 25px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .card-title {
            font-family: var(--font-heading);
            font-weight: 800;
            font-size: 1.4rem;
            color: var(--color-primary);
            margin-bottom: 20px;
            text-align: center;
        }

        .progress-stages {
            margin-top: 20px;
        }

        .progress-stage {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            padding: 12px;
            background: rgba(255,255,255,0.7);
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }

        .stage-icon {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--color-link), var(--color-accent));
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            flex-shrink: 0;
        }

        .stage-icon i {
            color: white;
            font-size: 1rem;
        }

        .stage-text {
            font-family: var(--font-body);
            font-size: 0.95rem;
            color: var(--color-text);
        }

        .stage-text strong {
            color: var(--color-primary);
        }

        .teacher-quote {
            position: relative;
            padding: 25px;
            background: rgba(255,255,255,0.8);
            border-radius: 12px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
            margin-top: 20px;
        }

        .teacher-quote::before {
            content: """;
            font-size: 5rem;
            position: absolute;
            top: -20px;
            left: 10px;
            opacity: 0.1;
            font-family: Georgia, serif;
            color: var(--color-primary);
        }

        .quote-text {
            font-family: var(--font-body);
            font-size: 1rem;
            line-height: 1.7;
            color: var(--color-text);
            position: relative;
            z-index: 2;
        }

        .quote-text strong {
            color: var(--color-primary);
        }

        /* Декоративные элементы */
        .decorative-element {
            position: absolute;
            z-index: 0;
            opacity: 0.1;
        }

        .dec-1 {
            top: -50px;
            left: -50px;
            width: 200px;
            height: 200px;
            background: url('data:image/svg+xml;utf8,');
            background-size: contain;
        }

        .dec-2 {
            bottom: -80px;
            right: -30px;
            width: 300px;
            height: 300px;
            background: url('data:image/svg+xml;utf8,');
            background-size: contain;
            transform: rotate(25deg);
        }

        @media (max-width: 992px) {
            .goal-cards {
                grid-template-columns: 1fr;
                max-width: 600px;
                margin: 0 auto;
            }
        }

        @media (max-width: 768px) {
            .section-title {
                font-size: 2.2rem;
            }
            
            .goal-card {
                padding: 25px;
            }
        }

        @media (max-width: 480px) {
            .section-title {
                font-size: 1.8rem;
            }
            
            .goal-card {
                padding: 20px;
            }
            
            .card-image {
                height: 180px;
            }
            
            .teacher-quote {
                padding: 20px 15px;
            }
            
            .quote-text {
                font-size: 0.9rem;
            }
        }
         
     /*подвал*/
        .content {
            flex: 1;
        }
          
        .footer {
            background: linear-gradient(135deg, var(--color-primary) 0%, #1a2530 100%);
            color: white;
            padding: 50px 0 20px;
            margin-top: 60px;
        }
        
        body .footer a {
            color: white;
        }
        body .footer a:hover {
            opacity: 8;
        }

        .footer-container {
            max-width: 1320px;
            margin: 0 auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }

        .footer-logo {
            margin-bottom: 20px;
        }

        .logo-text {
            font-family: var(--font-heading);
            font-weight: 900;
            font-size: 1.8rem;
            color: white;
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }

        .logo-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--color-link), var(--color-accent));
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
        }

        .logo-icon i {
            color: white;
            font-size: 1.3rem;
        }

        .footer-info {
            font-size: 0.85rem;
            line-height: 1.5;
            margin-bottom: 15px;
        }

        .footer-heading {
            font-family: var(--font-heading);
            font-weight: 800;
            font-size: 1.2rem;
            margin-bottom: 20px;
            color: white;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-heading::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: var(--color-accent);
            border-radius: 2px;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.9);
            text-decoration: none;
            font-size: 0.9rem;
            transition: var(--transition);
            display: flex;
            align-items: center;
            text-decoration: underline;
            text-underline-offset: 2px;
            text-decoration-color: rgba(255, 255, 255, 0.3);
        }

        .footer-links a:hover {
            color: white;
            text-decoration-color: var(--color-accent);
        }

        .footer-links a i {
            margin-right: 10px;
            font-size: 0.8rem;
            color: var(--color-accent);
        }

        .footer-contact {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            font-size: 0.9rem;
        }

        .footer-contact i {
            margin-right: 10px;
            color: var(--color-accent);
            width: 20px;
            text-align: center;
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-link {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: var(--transition);
        }

        .social-link.vk {
            background-color: #4C75A3;
        }
        
        .social-link.telegram {
            background-color: #2AABEE;
        }
        
        .social-link.email {
            background-color: #EA4335;
        }

        .social-link:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        .footer-buttons {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-top: 20px;
        }

        .footer-btn {
            display: inline-block;
            padding: 12px 20px;
            background: linear-gradient(90deg, var(--color-link), var(--color-accent));
            color: white;
            border-radius: var(--border-radius-btn);
            text-decoration: none;
            font-family: var(--font-heading);
            font-weight: 700;
            text-align: center;
            transition: var(--transition);
            border: none;
            cursor: pointer;
        }

        .footer-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }

        .footer-btn.outline {
            background: transparent;
            border: 2px solid var(--color-accent);
            color: var(--color-accent);
        }

        .footer-btn.outline:hover {
            background: var(--color-accent);
            color: white;
        }

        .footer-bottom {
            max-width: 1320px;
            margin: 40px auto 0;
            padding: 20px 20px 0;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.6);
        }

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

        @media (max-width: 768px) {
            .footer-container {
                grid-template-columns: 1fr;
            }
            
            .footer {
                padding: 40px 0 20px;
            }
            
            .logo-text {
                font-size: 1.5rem;
            }
            
            .footer-heading {
                font-size: 1.1rem;
            }
        }

        @media (max-width: 480px) {
            .footer-buttons {
                flex-direction: column;
            }
            
            .social-links {
                justify-content: center;
            }
        }
        
      /* === ОСНОВНЫЕ СТИЛИ БЛОКА FAQ === */
.faq-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #FFF9F0);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Анимированный градиентный фон */
.faq-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
    rgba(66, 165, 245, 0.03),
    rgba(255, 145, 77, 0.03),
    rgba(255, 249, 240, 0.1));
  background-size: 300% 300%;
  animation: gradient-flow 20s ease infinite;
  z-index: -1;
}

/* Контейнер для центрирования контента */
.container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Стили заголовка */
.section-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 2.8rem;
  text-align: center;
  color: #2C3E50;
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Контейнер вопросов */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

/* Стили элемента вопроса */
.faq-item {
  background: white;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Заголовок вопроса */
.faq-question {
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(66, 165, 245, 0.05);
}

.faq-question h3 {
  font-family: 'Rubik', sans-serif;
  font-weight: 500;
  font-size: 1.4rem;
  color: #2C3E50;
  margin: 0;
  flex: 1;
}

/* Иконка плюс/минус */
.faq-icon {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #42A5F5;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* Контейнер ответа */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  background: #F8FAFF;
}

/* Стили текста ответа */
.faq-answer p {
  font-family: 'Rubik', sans-serif;
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #2C3E50;
  padding: 0 30px 25px;
  margin: 0;
}

/* Активный элемент (открытый) */
.faq-item.active {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: #FF6B6B;
}

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

/* === АДАПТИВНОСТЬ === */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
  }
  
  .faq-question {
    padding: 20px;
  }
  
  .faq-question h3 {
    font-size: 1.3rem;
  }
  
  .faq-answer p {
    padding: 0 20px 20px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .faq-section {
    padding: 60px 15px;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  
  .faq-question {
    padding: 15px;
  }
  
  .faq-question h3 {
    font-size: 1.1rem;
    padding-right: 15px;
  }
  
  .faq-icon {
    width: 30px;
    height: 30px;
    font-size: 1.5rem;
  }
}
 /* Градиентный фон для всей секции */
        .two-column-section {
            display: flex;
            min-height: 80vh;
            width: 100%;
            background: linear-gradient(135deg, 
                rgba(66, 165, 245, 0.9) 0%, 
                rgba(66, 165, 245, 0.7) 20%, 
                rgba(42, 91, 140, 0.7) 40%, 
                rgba(255, 145, 77, 0.7) 60%, 
                rgba(255, 183, 77, 0.8) 80%);
            background-size: 300% 300%;
            animation: gradient-animation 15s ease infinite;
        }

        @keyframes gradient-animation {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* Левая колонка с 3D шаром (50%) */
        .sphere-column {
            width: 60%;
            position: relative;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* Правая колонка для формы (50%) */
        .form-column {
            width: 40%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 40px;
        }

        /* Контейнер для текста и кнопки */
        .text-content {
            text-align: center;
            margin-bottom: 30px;
            max-width: 500px;
        }

        .text-content h2 {
            font-size: 28px;
            font-weight: 900;
            color: var(--color-primary);
            margin-bottom: 20px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .text-content p {
            font-size: 18px;
            font-weight: 600;
            color: var(--color-light);
            line-height: 1.6;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        /* Стили для 3D сферы */
        .world-container {
            width: 90%;
            height: 90%;
            perspective: 1000px;
        }

        #learning-world {
            width: 100%;
            height: 110%;
        }

        .floating-words {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
            z-index: 3;
        }

        .floating-word {
            position: absolute;
            font-family: 'Nunito', sans-serif;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.9);
            opacity: 0;
            animation: floatWord 15s ease-in-out infinite;
            transform-origin: center;
            z-index: 4;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
            letter-spacing: 1px;
            font-size: 1.8rem;
        }

        @keyframes floatWord {
            0% { transform: translate(0, 0) rotate(0deg) scale(0.8); opacity: 0; }
            10% { opacity: 1; transform: scale(1.2); }
            90% { opacity: 1; transform: scale(1.2); }
            100% { transform: translate(var(--end-x), var(--end-y)) rotate(var(--rotation)) scale(0.8); opacity: 0; }
        }

        /* Стили для кнопки */
        .tilda-gradient-btn-container {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 10px;
            background: transparent !important;
        }
        
        .floating-gradient-btn {
            display: inline-block;
            padding: 15px 35px;
            font-family: 'Nunito', sans-serif;
            font-weight: 900;
            font-size: 18px;
            color: #2C3E50;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
            text-decoration: none;
            text-align: center;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            border: none;
            border-radius: 70px;
            position: relative;
            overflow: hidden;
            z-index: 1;
            cursor: pointer;
            box-shadow: 
                0 12px 30px rgba(0, 0, 0, 0.3),
                0 8px 20px rgba(0, 0, 0, 0.4),
                inset 0 8px 15px rgba(255, 255, 255, 0.3),
                inset 0 -8px 15px rgba(0, 0, 0, 0.2);
            transform: perspective(500px) rotateX(10deg) translateZ(0);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            animation: pulse 4.5s infinite alternate;
        }
        
        .floating-gradient-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 300%;
            height: 100%;
            background: linear-gradient(115deg, 
                #42A5F5, 
                #FF914D, 
                #FFF9F0, 
                #42A5F5, 
                #FF914D);
            background-size: 50% 100%;
            z-index: -1;
            animation: gradientFlow 3.5s linear infinite;
            transition: opacity 0.4s;
        }
        
        .floating-gradient-btn::after {
            content: '';
            position: absolute;
            top: 6px;
            left: 6px;
            right: 6px;
            bottom: 6px;
            border-radius: 65px;
            background: transparent;
            box-shadow: 
                inset 0 10px 20px rgba(255, 255, 255, 0.5),
                inset 0 -5px 15px rgba(0, 0, 0, 0.1);
            z-index: -1;
        }
        
        .floating-gradient-btn:hover {
            transform: perspective(500px) rotateX(10deg) translateZ(25px) scale(1.05);
            box-shadow: 
                0 20px 40px rgba(0, 0, 0, 0.4),
                0 15px 30px rgba(0, 0, 0, 0.5),
                inset 0 10px 20px rgba(255, 255, 255, 0.4),
                inset 0 -8px 15px rgba(0, 0, 0, 0.2);
            animation-play-state: paused;
        }
        
        .floating-gradient-btn:active {
            transform: perspective(500px) rotateX(10deg) translateZ(5px) scale(0.98);
            box-shadow: 
                0 5px 15px rgba(0, 0, 0, 0.3),
                0 3px 8px rgba(0, 0, 0, 0.2),
                inset 0 5px 10px rgba(255, 255, 255, 0.4),
                inset 0 -3px 8px rgba(0, 0, 0, 0.2);
        }
        
        @keyframes gradientFlow {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }
        
        @keyframes pulse {
            0% { 
                box-shadow: 
                    0 12px 30px rgba(0, 0, 0, 0.3),
                    0 8px 20px rgba(0, 0, 0, 0.4),
                    inset 0 8px 15px rgba(255, 255, 255, 0.3),
                    inset 0 -8px 15px rgba(0, 0, 0, 0.2);
            }
            100% { 
                box-shadow: 
                    0 12px 40px rgba(0, 0, 0, 0.4),
                    0 10px 30px rgba(255, 145, 77, 0.3),
                    0 15px 35px rgba(66, 165, 245, 0.3),
                    inset 0 8px 15px rgba(255, 255, 255, 0.4),
                    inset 0 -8px 15px rgba(0, 0, 0, 0.3);
            }
        }

        /* Адаптивность для мобильных устройств */
        @media (max-width: 968px) {
            .two-column-section {
                flex-direction: column;
                min-height: auto;
            }
            
            .sphere-column {
                width: 100%;
                height: 66.67vh;
            }
            
            .form-column {
                width: 100%;
                height: 30.33vh;
                padding: 20px;
            }
            
            .world-container {
                width: 100%;
                height: 100%;
            }
            
            /* Увеличиваем размер шара и делаем линии тоньше */
            #learning-world canvas {
                transform: scale(1.2);
            }
            
            /* Тонкие линии глобуса в мобильной версии */
            .wireframe-thin {
                line-width: 0.05px !important;
            }
            
            .text-content {
                margin-bottom: 15px;
            }
            
            .text-content h2 {
                font-size: 28px;
                margin-bottom: 15px;
            }
            
            .text-content p {
                font-size: 14px;
                line-height: 1.4;
            }
            
            .floating-gradient-btn {
                padding: 10px 25px;
                font-size: 14px;
            }
        }
        
        .invitation-section {
            width: 100%;
            max-width: 1200px;
            height: 550px;
            display: flex;
            gap: 30px;
            margin: 0 auto;
        }

        .invitation-card {
            flex: 1;
            background: var(--color-white);
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: var(--transition);
        }

        .invitation-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        }

        .teacher-card {
            background: linear-gradient(135deg, #2C3E50 0%, #4CA1AF 100%);
            color: white;
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .teacher-card::before {
            content: "";
            position: absolute;
            top: -50px;
            right: -50px;
            width: 150px;
            height: 150px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
        }

        .teacher-card::after {
            content: "";
            position: absolute;
            bottom: -30px;
            left: -30px;
            width: 100px;
            height: 100px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
        }

       

        .teacher-content {
            position: relative;
            z-index: 2;
        }

        .teacher-content h2 {
            font-family: var(--font-heading);
            font-weight: 800;
            font-size: 1.8rem;
            margin-bottom: 25px;
            color: white;
        }

        .teacher-content p {
            font-size: 1.1rem;
            line-height: 1.7;
            margin-bottom: 20px;
        }

        .features-list {
            list-style: none;
            margin-top: 25px;
        }

        .features-list li {
            position: relative;
            padding-left: 30px;
            margin-bottom: 15px;
            font-size: 1rem;
            
        }
        
        }
        .features-list li::before {
            content: "•";
            position: absolute;
            left: 0;
            color: (--color-white) ;
            opacity:.7;
            font-size: 1.5rem;
            line-height: 1;
        }

        .locations {
            margin-top: 30px;
            padding: 20px;
            background: rgba(255,255,255,0.1);
            border-radius: 10px;
        }

        .locations h3 {
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: 1.2rem;
            margin-bottom: 15px;
            color: white;
        }

        .location-item {
            display: flex;
            align-items: center;
            margin-bottom: 12px;
        }

        .location-item i {
            margin-right: 10px;
            color: var(--color-accent);
        }

        .video-card {
            display: flex;
            flex-direction: column;
        }

        .video-wrapper {
            flex: 1;
            position: relative;
            overflow: hidden;
            border-radius: var(--border-radius);
        }

        .video-wrapper iframe {
            width: 100%;
            height: 100%;
            border: none;
            border-radius: var(--border-radius);
        }

        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: var(--transition);
            border-radius: var(--border-radius);
        }

        .video-wrapper:hover .video-overlay {
            opacity: 1;
        }

        .play-button {
            width: 70px;
            height: 70px;
            background: var(--color-accent);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
            transition: var(--transition);
            transform: scale(0.9);
        }

        .video-wrapper:hover .play-button {
            transform: scale(1);
        }

        .video-caption {
            padding: 20px;
            text-align: center;
            background: var(--color-white);
        }

        .video-caption h3 {
            font-family: var(--font-heading);
            font-weight: 800;
            font-size: 1.3rem;
            color: var(--color-primary);
            margin-bottom: 10px;
        }

        .video-caption p {
            font-size: 0.95rem;
            color: var(--color-text);
        }

        /* Адаптивность */
        @media (max-width: 992px) {
            .invitation-section {
                flex-direction: column;
                height: auto;
                padding: 0 20px; 
            }
            
            .invitation-card {
                height: 500px;
            }
        }

        @media (max-width: 768px) {
            .teacher-card {
                padding: 30px 20px;
            }
            
            .teacher-content h2 {
                font-size: 1.5rem;
            }
            
            .teacher-content p {
                font-size: 1rem;
            }
            
            .locations {
                padding: 15px;
            }
        }

        @media (max-width: 480px) {
            .teacher-icon {
                width: 50px;
                height: 50px;
                font-size: 1.2rem;
                padding: 10px;
            }
            
            .teacher-content h2 {
                font-size: 1.3rem;
            }
            
            .features-list li {
                padding-left: 25px;
                font-size: 0.9rem;
            }
            
            .play-button {
                width: 60px;
                height: 60px;
                font-size: 1.5rem;
            }
        }
        
        