/* ===== CSS Variables ===== */
/* Все основные переменные определены в shared-variables.css */
/* Здесь только специфичные для main.css переменные, если они нужны */
:root {
    /* Дополнительные цвета для совместимости с существующим кодом */
    --color-accent-light: #ffd26a;
    --accent-soft-rgb: 255, 196, 77;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1 {
    margin-bottom: var(--space-h1-mobile);
}


img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===== Header & Navigation ===== */
/* Основные стили header в components/navigation.css */
/* Здесь только расширения и состояния */

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}


.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

/* Унифицированные стили для логотипа с ссылкой */
.logo a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
}

.logo-text {
    font-family: var(--font-secondary);
    font-size: 26px;
    font-weight: 500;
    color: var(--color-black);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.logo-subtext {
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 300;
    margin-top: 4px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.7;
    color: var(--color-text-light);
    transition: opacity 0.3s ease;
}

.logo a:hover .logo-text {
    color: var(--color-accent);
}

.logo a:hover .logo-subtext {
    opacity: 1;
}






/* Mobile Menu Button */





/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: var(--z-overlay, 2000);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


.mobile-menu-overlay.active .mobile-menu {
    transform: translateX(0);
}



/* Mobile navigation styles moved to components/navigation.css */
.mobile-nav {
    margin-top: 16px; /* Уменьшен отступ, т.к. увеличен padding в .mobile-menu */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

/* === HERO SECTION === */
.hero {
    position: relative;
    /* Увеличена высота для более импактного первого впечатления */
    min-height: 85vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
}

/* Mobile luxury background */
@media (max-width: 767px) {
    .hero {
        background: linear-gradient(135deg, var(--color-bg-sand) 0%, var(--color-surface) 100%);
    }
}

/* Desktop gradient overlay для улучшения читаемости текста на фото */
@media (min-width: 768px) {
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        /* Градиент слева направо для защиты текста */
        background: linear-gradient(
            90deg,
            rgba(250, 246, 241, 0.92) 0%,
            rgba(250, 246, 241, 0.75) 35%,
            rgba(250, 246, 241, 0.35) 60%,
            transparent 85%
        );
        z-index: 1;
        pointer-events: none;
    }
}

/* === RESPONSIVE HERO TYPOGRAPHY === */

/* Mobile only background photo */

/* Desktop clean background */

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    /* Увеличена ширина для лучшего баланса */
    max-width: clamp(640px, 60vw, 800px);
    padding-top: 24px; /* Компактный отступ на mobile */
    /* Больше горизонтального padding для breathing space */
    padding-left: clamp(24px, 4vw, 48px);
    padding-right: clamp(24px, 4vw, 48px);
}

@media (min-width: 768px) {
    .hero-content {
        /* Оптимизировано для лучшего вертикального центрирования */
        padding-top: 12vh;
    }
}

.hero h1 {
    font-family: var(--font-heading);
    /* Адаптивный размер: 36px mobile → 64px desktop */
    font-size: clamp(2.25rem, 4vw + 1rem, 4rem);
    font-weight: 300; /* Легкий вес для элегантности */
    line-height: 1.15;
    /* Адаптивный отступ: 20px mobile → 40px desktop */
    margin-bottom: clamp(20px, 3vw, 40px);
    color: var(--color-primary);
    letter-spacing: -0.02em;
    text-transform: none;
    /* Улучшенная читаемость на фоне фото */
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.4);
}

.hero h1 em {
    font-style: italic;
    /* Более контрастный цвет для hero секции */
    color: #C89446; /* Темнее золотого для лучшей читаемости */
    font-weight: 400; /* Чуть жирнее для акцента */
    /* Дополнительная тень для акцента */
    text-shadow: 0 2px 8px rgba(200, 148, 70, 0.25);
}

    /* font-size управляется в unified-responsive.css */
.hero-description {
    font-family: var(--font-primary);
    /* Адаптивный размер: 16px mobile → 19px desktop */
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
    line-height: 1.7; /* Унифицированная высота строки */
    /* Увеличен отступ до кнопки: 32px mobile → 56px desktop */
    margin-bottom: clamp(32px, 4vw, 56px);
    color: var(--color-text); /* Унифицированный цвет текста */
    font-weight: 300; /* Легкий вес как в других страницах */
    letter-spacing: 0.01em;
    text-align: center;
    padding: 0 10px;
    /* Улучшенная тень для читаемости */
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.35);
}

/* === CLEAN MINIMALIST BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 14px 28px;
    min-height: 48px;
    border-radius: 0; /* Прямоугольные как в yoga-club */
    font: 400 0.875rem/1.25 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
    border: 1px solid transparent;
    gap: 8px;
}

/* Черная основная кнопка */
.btn-primary {
    background: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

.btn-primary:hover {
    background: var(--color-gray);
    transform: translateY(-1px);
}

/* Accent button - luxury mobile styling */
.btn-accent {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

@media (max-width: 767px) {
    .btn-accent {
        padding: 16px 32px;
        border-radius: 999px;
        box-shadow: 0 4px 16px rgba(253, 167, 0, 0.25);
        font-size: 0.9375rem;
        font-weight: 500;
        letter-spacing: 0.02em;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .btn-accent:active {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(253, 167, 0, 0.35);
    }
}

@media (min-width: 768px) {
    .btn-accent:hover {
        background: var(--color-accent-hover);
        transform: translateY(-1px);
    }
}

/* Оранжевая обводка кнопка */
.btn-outline {
    background: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.btn-outline:hover {
    background: rgba(253, 167, 0, 0.05);
    color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}

.btn-outline:hover, .btn-outline:active {
    background: rgba(var(--accent-rgb), 0.1);
    border-color: var(--color-accent-hover);
    color: var(--color-accent-hover);
}



/* === END LUXURY WELLNESS CTA SYSTEM === */

.cta-button {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 16px 48px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 500;
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(253, 167, 0, 0.3);
}

.cta-button:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(253, 167, 0, 0.4);
}


/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: scroll-bounce 2s infinite;
}

.scroll-arrow {
    display: block;
    width: 24px;
    height: 24px;
    border-right: 1.5px solid var(--color-black);
    border-bottom: 1.5px solid var(--color-black);
    transform: rotate(45deg);
    animation: scroll-bounce 2s infinite;
    opacity: 0.5;
}

@keyframes scroll-bounce {
    0%, 100% {
        transform: rotate(45deg) translateY(0);
        opacity: 0.5;
    }
    50% {
        transform: rotate(45deg) translateY(-8px);
        opacity: 0.8;
    }
}

/* ===== Sections ===== */
/* Унифицированные отступы секций: 56px mobile / 80px tablet / 100px desktop */
section {
    padding: var(--spacing-section-mobile, 56px) 0;
}

@media (min-width: 768px) {
    section {
        padding: var(--spacing-section-tablet, 80px) 0;
    }
}

@media (min-width: 1024px) {
    section {
        padding: var(--spacing-section-desktop, 100px) 0;
    }
}

.section-title {
    font-family: var(--font-heading); /* Унифицированный шрифт для всех страниц */
    /* Адаптивный размер: 32px mobile → 44px desktop → 56px large */
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 300; /* Легкий вес для элегантности - унифицировано */
    color: var(--color-primary);
    line-height: 1.2;
    text-align: center;
    margin: 0;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-xl);
}

.section-subtitle {
    font-family: var(--font-primary);
    font-size: clamp(17px, 2.5vw, 21px);
    font-weight: 300;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.6);
    text-align: center;
    margin-bottom: clamp(48px, 10vw, 80px);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.01em;
}

/* ===== Problems Section ===== */
/* Унифицированные отступы: 56px mobile / 80px tablet / 100px desktop */
.problems {
    background: var(--color-bg-sand); /* Luxury wellness background */
    position: relative;
    padding: var(--spacing-section-mobile, 56px) 0;
}

@media (min-width: 768px) {
    .problems {
        padding: var(--spacing-section-tablet, 80px) 0;
    }
}

@media (min-width: 1024px) {
    .problems {
        padding: var(--spacing-section-desktop, 100px) 0;
    }
}

/* Mobile luxury styling */
@media (max-width: 767px) {
    .problems-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .problem-card {
        background: var(--color-surface);
        padding: 28px;
        border-radius: 20px;
        box-shadow: var(--shadow-luxury-card);
        border: 1px solid rgba(0, 0, 0, 0.03);
        display: flex;
        align-items: flex-start;
        gap: 20px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .problem-card:active {
        transform: translateY(-2px);
        box-shadow: var(--shadow-luxury-elevated);
    }
    
    .problem-icon {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: var(--color-bg-sand);
        border: 1px solid rgba(0, 0, 0, 0.04);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .icon-svg {
        width: 28px;
        height: 28px;
        stroke: var(--color-text-dark);
        fill: none;
    }
    
    .problem-title {
        font-family: var(--font-secondary);
        font-size: 1.25rem;
        font-weight: 400;
        margin-bottom: 10px;
        color: var(--color-text-dark);
        letter-spacing: -0.02em;
        line-height: 1.3;
    }
    
    .problem-description {
        font-family: var(--font-primary);
        font-size: 0.9375rem;
        line-height: 1.65;
        color: var(--color-text-light);
        font-weight: 300;
        letter-spacing: 0.01em;
    }
}

/* Tablet and desktop */
@media (min-width: 768px) {
    .problems {
        background: var(--color-bg-light);
        /* padding управляется унифицированными переменными выше */
    }
    
    .problems-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: clamp(24px, 6vw, 48px);
        margin-bottom: clamp(40px, 8vw, 80px);
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .problem-card {
        background: var(--color-white);
        padding: clamp(32px, 6vw, 48px);
        border-radius: 20px;
        text-align: left;
        transition: all var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
        border: 1px solid rgba(0, 0, 0, 0.03);
        position: relative;
        display: flex;
        align-items: flex-start;
        gap: var(--spacing-md);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .problem-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
        border-color: rgba(0, 0, 0, 0.05);
    }
    
    .problem-icon {
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        background: var(--color-bg-light);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all var(--transition-base);
    }
    
    .icon-svg {
        width: 24px;
        height: 24px;
        transition: transform var(--transition-base);
    }
    
    .problem-card:hover .icon-svg {
        transform: scale(1.1);
    }
    
    .problem-title {
        font-family: var(--font-secondary);
        font-size: clamp(20px, 3vw, 24px);
        font-weight: 400;
        margin-bottom: clamp(12px, 2vw, 16px);
        color: var(--color-black);
        letter-spacing: -0.02em;
        line-height: 1.3;
    }
    
    .problem-description {
        font-family: var(--font-primary);
        font-size: clamp(15px, 2.2vw, 17px);
        line-height: 1.7;
        color: rgba(0, 0, 0, 0.6);
        font-weight: 300;
        letter-spacing: 0.02em;
        max-width: 400px;
    }
}

.problem-content {
    flex: 1;
}

/* .problem-stats стили перенесены в home-wellness.css */

/* ===== Yoga Balance Section ===== */
/* Унифицированные отступы: 56px mobile / 80px tablet / 100px desktop */
.yoga-balance {
    background: var(--color-white);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-section-mobile, 56px) 0;
}

@media (min-width: 768px) {
    .yoga-balance {
        padding: var(--spacing-section-tablet, 80px) 0;
    }
}

@media (min-width: 1024px) {
    .yoga-balance {
        padding: var(--spacing-section-desktop, 100px) 0;
    }
}

/* Mobile luxury styling */
@media (max-width: 767px) {
    .yoga-balance {
        background: var(--color-surface);
    }
}

.yoga-balance-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(40px, 8vw, 80px);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.yoga-content {
    order: 2;
    text-align: center;
    padding: 0 var(--spacing-md);
}

.yoga-title {
    font-family: var(--font-secondary);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-black);
    margin-bottom: clamp(20px, 4vw, 32px);
    letter-spacing: -0.03em;
}

.yoga-subtitle {
    font-family: var(--font-primary);
    font-size: clamp(17px, 2.8vw, 22px);
    font-weight: 300;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: clamp(48px, 10vw, 80px);
    letter-spacing: 0.02em;
}

.yoga-benefits {
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 5vw, 32px);
    margin-bottom: clamp(40px, 8vw, 64px);
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: clamp(16px, 3vw, 24px);
    padding: clamp(24px, 5vw, 40px);
    background: rgba(249, 250, 240, 0.3);
    border-radius: 20px;
    transition: all var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.benefit-item:hover {
    transform: translateX(12px);
    background: rgba(249, 250, 240, 0.6);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(253, 167, 0, 0.1);
}

.benefit-icon {
    font-size: clamp(24px, 4vw, 32px);
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.9;
}

.benefit-content {
    flex: 1;
}

.benefit-title {
    font-family: var(--font-secondary);
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 400;
    color: var(--color-black);
    margin-bottom: clamp(8px, 1.5vw, 12px);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.benefit-text {
    font-family: var(--font-primary);
    font-size: clamp(14px, 2.2vw, 16px);
    font-weight: 300;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.6);
    letter-spacing: 0.01em;
}

/* .unique-approach стили перенесены в home-wellness.css */

.yoga-image {
    order: 1;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    max-width: 600px;
    margin: 0 auto;
    aspect-ratio: 4/3;
    background: var(--color-bg-light);
}

/* Hide overlay titles on desktop/tablet */
.yoga-image > .yoga-subtitle {
    display: none;
}

.yoga-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.yoga-image:hover img {
    transform: scale(1.05);
}

/* Desktop styles for Yoga Balance */
    
    
    
    
    
    
    
    
    
    
    
    
    
    

/* Tablet styles */
    
    

/* ===== About Section ===== */
/* Унифицированные отступы: 56px mobile / 80px tablet / 100px desktop */
.about {
    position: relative;
    overflow: hidden;
    padding: var(--spacing-section-mobile, 56px) 0;
    background: var(--color-bg-sand);
}

@media (min-width: 768px) {
    .about {
        padding: var(--spacing-section-tablet, 80px) 0;
        background: var(--color-bg-light);
    }
}

@media (min-width: 1024px) {
    .about {
        padding: var(--spacing-section-desktop, 100px) 0;
    }
}

.about-grid {
    display: flex;
    flex-direction: column;
    gap: clamp(48px, 10vw, 80px);
    max-width: 1200px;
    margin: 0 auto;
}

/* About Hero - Photo + Introduction */
.about-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(32px, 6vw, 48px);
}

.about-image {
    position: relative;
    width: clamp(280px, 60vw, 400px);
    aspect-ratio: 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    transition: all var(--transition-slow);
}

.about-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.18);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-intro {
    max-width: 500px;
    margin: 0 auto;
}

.about-greeting {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 300;
    color: var(--color-black);
    margin-bottom: clamp(16px, 3vw, 24px);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.about-introduction {
    font-family: var(--font-primary);
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 300;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
    letter-spacing: 0.01em;
}

.about-introduction strong {
    font-weight: 500;
    color: var(--color-black);
}

.highlight {
    background: linear-gradient(135deg, var(--color-accent), #FFB833);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0.3;
}

/* About Story */
.about-story {
    background: var(--color-white);
    padding: clamp(40px, 8vw, 64px);
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.about-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    border-radius: 2px;
}

.story-content {
    max-width: 700px;
    margin: 0 auto;
}

.story-paragraph {
    font-family: var(--font-primary);
    font-size: clamp(16px, 2.5vw, 18px);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: clamp(20px, 4vw, 28px);
    letter-spacing: 0.01em;
    text-align: left;
}

.story-paragraph:last-child {
    margin-bottom: 0;
}

.story-paragraph strong {
    font-weight: 500;
    color: var(--color-accent);
}

.story-paragraph em {
    font-style: italic;
    color: var(--color-black);
    font-weight: 400;
    position: relative;
}

/* About Mission */
.about-mission {
    background: linear-gradient(135deg, 
        rgba(249, 250, 240, 0.9) 0%, 
        rgba(249, 250, 240, 0.5) 100%);
    padding: clamp(48px, 9vw, 72px);
    border-radius: 28px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.about-mission::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(253, 167, 0, 0.03) 0%, transparent 70%);
    animation: gentle-pulse 8s ease-in-out infinite;
}

@keyframes gentle-pulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
    50% { transform: scale(1.1) rotate(180deg); opacity: 0.8; }
}

.mission-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.mission-title {
    font-family: var(--font-secondary);
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 400;
    color: var(--color-black);
    margin-bottom: clamp(20px, 4vw, 28px);
    letter-spacing: -0.01em;
    position: relative;
}

.mission-title::after {
    content: '—';
    display: block;
    font-size: clamp(20px, 3vw, 24px);
    color: var(--color-accent);
    margin: clamp(12px, 2vw, 16px) auto 0;
    font-weight: 300;
}

.mission-text {
    font-family: var(--font-primary);
    font-size: clamp(17px, 3vw, 20px);
    font-weight: 300;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.8);
    letter-spacing: 0.01em;
    font-style: italic;
}

/* About Stats */
.about-stats {
    padding: clamp(32px, 6vw, 48px) 0;
}

@media (min-width: 1024px) {
    .about-stats {
        padding: 80px 0;
        background: linear-gradient(135deg,
            rgba(250, 246, 241, 0.3) 0%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(250, 246, 241, 0.3) 100%);
        margin: 60px 0;
        border-radius: 32px;
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(24px, 5vw, 32px);
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        max-width: 1000px;
    }
}

@media (min-width: 1024px) {
    .stats-grid {
        gap: 32px;
        max-width: 1100px;
    }
}

.stat-item {
    background: var(--color-white);
    padding: clamp(32px, 6vw, 48px);
    border-radius: 20px;
    text-align: center;
    transition: all var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .stat-item {
        padding: 48px 32px;
        border-radius: 24px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.06);
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 1) 0%,
            rgba(250, 246, 241, 0.4) 100%);
    }
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), #FFB833);
    transform: scaleX(0);
    transition: transform var(--transition-base);
    transform-origin: left;
}

@media (min-width: 1024px) {
    .stat-item::before {
        height: 4px;
    }
}

.stat-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(253, 167, 0, 0.1);
}

@media (min-width: 1024px) {
    .stat-item:hover {
        transform: translateY(-10px) scale(1.03);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
        border-color: rgba(253, 167, 0, 0.25);
    }
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-family: var(--font-secondary);
    font-size: clamp(42px, 8vw, 64px);
    font-weight: 600;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: clamp(12px, 2vw, 16px);
    letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
    .stat-number {
        font-size: 4rem;
        margin-bottom: 16px;
        background: linear-gradient(135deg, var(--color-accent) 0%, #C89446 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

.stat-label {
    font-family: var(--font-primary);
    font-size: clamp(14px, 2.2vw, 16px);
    font-weight: 400;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.5;
    letter-spacing: 0.01em;
}

@media (min-width: 1024px) {
    .stat-label {
        font-size: 0.9375rem;
        font-weight: 300;
        color: rgba(0, 0, 0, 0.75);
        line-height: 1.6;
        letter-spacing: 0.02em;
        max-width: 200px;
        margin: 0 auto;
    }
}

/* About Certificates */
.about-certificates {
    text-align: center;
    padding: clamp(48px, 8vw, 80px) 0;
    background: linear-gradient(135deg, 
        rgba(249, 250, 240, 0.3) 0%, 
        rgba(255, 255, 255, 0.8) 100%);
    border-radius: 28px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.about-certificates::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    border-radius: 2px;
}

.certificates-title {
    font-family: var(--font-secondary);
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 500;
    color: var(--color-black);
    margin-bottom: clamp(12px, 2vw, 16px);
    letter-spacing: -0.01em;
    position: relative;
}

.certificates-subtitle {
    font-family: var(--font-primary);
    font-size: clamp(15px, 2.5vw, 18px);
    font-weight: 300;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: clamp(40px, 8vw, 60px);
    letter-spacing: 0.01em;
    font-style: italic;
}

/* Certificates Grid */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: clamp(16px, 3vw, 24px);
    max-width: 800px;
    margin: 0 auto;
}

.certificate-item {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    opacity: 0;
    transform: scale(0.9);
}

.certificate-item.animate {
    opacity: 1;
    transform: scale(1);
}

.certificate-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.certificate-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.certificate-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    opacity: 0;
}

.certificate-image.loaded {
    opacity: 1;
}

.certificate-image.error {
    opacity: 0;
}

.certificate-item .certificate-image.error + .certificate-overlay + .certificate-loader {
    background: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.certificate-item:hover .certificate-image {
    transform: scale(1.05);
}

.certificate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.certificate-item:hover .certificate-overlay {
    opacity: 1;
}

.certificate-zoom-icon {
    font-size: 24px;
    color: var(--color-white);
    background: rgba(253, 167, 0, 0.9);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: transform var(--transition-base);
}

.certificate-item:hover .certificate-zoom-icon {
    transform: scale(1);
}

/* Certificate Loader */
.certificate-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    transition: opacity var(--transition-base);
    z-index: 2;
}

.certificate-image.error + .certificate-overlay + .certificate-loader {
    opacity: 0;
    pointer-events: none;
}

.certificate-loader[style*="opacity: 0"] {
    opacity: 0 !important;
    pointer-events: none !important;
}

.loader-spinner {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top: 2px solid var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Desktop Grid Adjustments */
    

/* Tablet Grid */

/* Mobile Grid */
    

/* Desktop Styles for About Section */
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

/* Tablet Styles */
    
    
    
    

/* Удалены неиспользуемые стили для .course и .classes */

/* ===== Reviews Section ===== */
/* Унифицированные отступы: 56px mobile / 80px tablet / 100px desktop */
.reviews {
    position: relative;
    overflow: hidden;
    padding: var(--spacing-section-mobile, 56px) 0;
    background: var(--color-bg-sand);
}

@media (min-width: 768px) {
    .reviews {
        padding: var(--spacing-section-tablet, 80px) 0;
        background: var(--color-bg-light);
    }
}

@media (min-width: 1024px) {
    .reviews {
        padding: var(--spacing-section-desktop, 100px) 0;
    }
}

.reviews-header {
    text-align: center;
    margin-bottom: clamp(60px, 12vw, 100px);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.reviews-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

    /* Hide scrollbar but keep functionality */
.reviews-slider {
    display: flex;
    gap: clamp(16px, 3vw, 32px);
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: clamp(20px, 4vw, 40px) 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reviews-slider::-webkit-scrollbar {
    display: none;
}

.review-item {
    flex: 0 0 auto;
    width: clamp(280px, 45vw, 350px);
    aspect-ratio: 4/5;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--color-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    scroll-snap-align: center;
    opacity: 0;
    transform: scale(0.9);
}

.review-item.animate {
    opacity: 1;
    transform: scale(1);
}

.review-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15);
}

.review-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.review-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    opacity: 0;
}

.review-image.loaded {
    opacity: 1;
}

.review-image.error {
    opacity: 0;
}

.review-item:hover .review-image {
    transform: scale(1.05);
}

.review-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
    border-radius: 20px;
}

.review-item:hover .review-overlay {
    opacity: 1;
}

.review-zoom-icon {
    font-size: 32px;
    color: var(--color-white);
    background: rgba(253, 167, 0, 0.9);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: transform var(--transition-base);
    box-shadow: 0 8px 30px rgba(253, 167, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.review-item:hover .review-zoom-icon {
    transform: scale(1);
}

/* Review Loader */
.review-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    transition: opacity var(--transition-base);
    z-index: 2;
}

.review-image.error + .review-overlay + .review-loader {
    opacity: 0;
    pointer-events: none;
}

/* Reviews Controls */
.reviews-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: clamp(32px, 6vw, 48px);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--spacing-md);
}

.review-control {
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(253, 167, 0, 0.3);
}

.review-control:hover {
    background: var(--color-accent-hover);
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(253, 167, 0, 0.4);
}

.review-control:disabled {
    background: var(--color-light-gray);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.5;
}

.review-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.review-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    padding: 0;
}

.review-dot.active {
    background: var(--color-accent);
    transform: scale(1.2);
}

.review-dot:not(.active):hover {
    background: rgba(0, 0, 0, 0.4);
    transform: scale(1.1);
}

.review-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: transparent;
    transition: background var(--transition-fast);
}

.review-dot:hover::after {
    background: rgba(253, 167, 0, 0.1);
}

/* Desktop Styles for Reviews */
    
    
    
    
    
    
    
    
    

/* Tablet Styles for Reviews */
    
    
    

/* ── Premium mobile reviews ────────── */
@media (max-width: 768px) {

    /* Vertical stack instead of horizontal carousel */
    .reviews-slider {
        flex-direction: column;
        overflow-x: visible;
        scroll-snap-type: none;
        gap: 16px;
        padding: 16px 0;
    }

    /* Full-width cards, natural aspect ratio */
    .review-item {
        width: 100%;
        aspect-ratio: auto;
        border-radius: 12px;
        scroll-snap-align: none;
        opacity: 1;
        transform: none;
    }

    .review-item.animate {
        opacity: 1;
        transform: none;
    }

    /* Let image determine card height */
    .review-image-wrapper {
        height: auto;
        border-radius: 12px;
    }

    /* No cropping — full content visible */
    .review-image {
        width: 100%;
        height: auto;
        max-height: 70vh;
        object-fit: contain;
        border-radius: 12px;
    }

    /* Remove hover effects on touch */
    .review-item:hover {
        transform: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    .review-item:hover .review-image {
        transform: none;
    }

    /* Overlay always subtle on mobile (no hover) */
    .review-overlay {
        opacity: 0;
        pointer-events: none;
    }

    /* Hide carousel controls */
    .reviews-controls {
        display: none;
    }
}

/* ===== Trial Classes Section ===== */
/* Унифицированные отступы: 56px mobile / 80px tablet / 100px desktop */
.trial-classes {
    position: relative;
    overflow: hidden;
    padding: var(--spacing-section-mobile, 56px) 0;
    background: var(--color-surface);
}

@media (min-width: 768px) {
    .trial-classes {
        padding: var(--spacing-section-tablet, 80px) 0;
        background: var(--color-white);
    }
}

@media (min-width: 1024px) {
    .trial-classes {
        padding: var(--spacing-section-desktop, 100px) 0;
    }
}

.trial-header {
    text-align: center;
    margin-bottom: clamp(60px, 12vw, 100px);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .trial-header {
        margin-bottom: 80px;
    }
}

.trial-note {
    font-family: var(--font-primary);
    font-size: clamp(14px, 2.2vw, 16px);
    font-weight: 300;
    color: rgba(0, 0, 0, 0.6);
    margin-top: clamp(16px, 3vw, 24px);
    font-style: italic;
    position: relative;
}

@media (min-width: 1024px) {
    .trial-note {
        font-size: 1.125rem;
        color: var(--color-accent);
        font-weight: 400;
        letter-spacing: 0.02em;
    }
    
    .trial-note::before {
        content: '';
        display: inline-block;
        width: 40px;
        height: 1px;
        background: var(--color-accent);
        vertical-align: middle;
        margin-right: 16px;
    }
    
    .trial-note::after {
        content: '';
        display: inline-block;
        width: 40px;
        height: 1px;
        background: var(--color-accent);
        vertical-align: middle;
        margin-left: 16px;
    }
}

.trial-videos {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(32px, 6vw, 48px);
    margin-bottom: clamp(48px, 10vw, 80px);
}

@media (min-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
}

.video-item {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.95);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

@media (min-width: 1024px) {
    .video-item {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
        border: 1px solid rgba(0, 0, 0, 0.06);
    }
}

.video-item.animate {
    opacity: 1;
    transform: scale(1);
}

.video-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(253, 167, 0, 0.3);
}

.video-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
    background: var(--color-bg-light);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.3) 0%, 
        rgba(0, 0, 0, 0.1) 50%, 
        rgba(0, 0, 0, 0.3) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: opacity var(--transition-base);
}

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

.play-button {
    cursor: pointer;
    transform: scale(0.9);
    transition: transform var(--transition-base);
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

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

.play-button:active {
    transform: scale(0.95);
}

.video-info {
    padding: clamp(20px, 4vw, 32px);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.5vw, 12px);
}

.video-title {
    font-family: var(--font-secondary);
    font-size: clamp(18px, 3.2vw, 24px);
    font-weight: 500;
    color: var(--color-black);
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0;
}

.video-description {
    font-family: var(--font-primary);
    font-size: clamp(14px, 2.2vw, 16px);
    font-weight: 300;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.6);
    letter-spacing: 0.01em;
    margin: 0;
    flex: 1;
}

.video-duration {
    margin-top: auto;
    padding-top: clamp(12px, 2vw, 16px);
}

.duration-badge {
    background: linear-gradient(135deg, var(--color-accent), #FFB833);
    color: var(--color-white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    box-shadow: 0 2px 10px rgba(253, 167, 0, 0.3);
    transition: all 0.3s ease;
}

@media (min-width: 1024px) {
    .duration-badge {
        background: transparent;
        color: var(--color-accent);
        border: 1px solid var(--color-accent);
        box-shadow: none;
        padding: 5px 14px;
    }
    
    .video-item:hover .duration-badge {
        background: var(--color-accent);
        color: var(--color-white);
        box-shadow: 0 4px 12px rgba(253, 167, 0, 0.25);
    }
}

.trial-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: clamp(24px, 5vw, 40px);
}

@media (min-width: 1024px) {
    .trial-cta {
        padding-top: 60px;
    }
    
    .trial-cta .luxury-button {
        min-width: 320px;
        font-size: 1rem;
        padding: 18px 40px;
        box-shadow: 0 10px 30px rgba(253, 167, 0, 0.25);
    }
    
    .trial-cta .luxury-button:hover {
        box-shadow: 0 15px 40px rgba(253, 167, 0, 0.35);
        transform: translateY(-4px);
    }
}

.cta-secondary {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    box-shadow: none;
}

.cta-secondary:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(253, 167, 0, 0.4);
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-modal, 3000);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
}

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

.video-modal .modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.video-modal .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90vw;
    max-width: 1000px;
    height: 80vh;
    max-height: 600px;
    background: var(--color-black);
    border-radius: 12px;
    overflow: hidden;
    transition: transform var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.video-modal.active .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.video-modal .modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    color: var(--color-black);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: var(--z-modal-control, 3001);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.video-modal .modal-close:hover {
    background: var(--color-white);
    transform: scale(1.1);
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-container iframe {
    border: none;
}

/* Desktop Styles for Trial Classes */
    
    
    
    
    
    
    
    
    

/* Tablet Styles for Trial Classes */
    
    
    

/* Mobile Styles for Trial Classes */
    
    
    
    
    
    
    
    
    
    /* Mobile Video Modal */
    
    
    /* Mobile touch enhancements */
    
    

/* Improved loading state */
.video-thumbnail img {
    background: var(--color-bg-light);
    min-height: 200px;
}

/* Focus styles for accessibility */
.video-item:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.video-modal .modal-close:focus {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

/* ===== Certificate Modal ===== */
.certificate-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-modal, 3000);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    max-width: 90vw;
    max-height: 90vh;
    background: var(--color-white);
    border-radius: 20px;
    padding: clamp(20px, 4vw, 40px);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 3vw, 24px);
}

.certificate-modal.active .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: clamp(12px, 3vw, 20px);
    right: clamp(12px, 3vw, 20px);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    color: var(--color-black);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.modal-image-container {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px;
    background: var(--color-bg-light);
    min-height: 300px;
}

.modal-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    transition: opacity var(--transition-base);
    opacity: 0;
}

.modal-image.loaded {
    opacity: 1;
}

.modal-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    transition: opacity var(--transition-base);
}

.modal-image.loaded ~ .modal-loader {
    opacity: 0;
}

.modal-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(8px, 2vw, 16px);
    margin-top: 8px;
}

.modal-nav-btn {
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 20px rgba(253, 167, 0, 0.3);
}

.modal-nav-btn:hover {
    background: var(--color-accent-hover);
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(253, 167, 0, 0.4);
}

.modal-nav-btn:disabled {
    background: var(--color-light-gray);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.modal-counter {
    font-family: var(--font-primary);
    font-size: clamp(14px, 2.5vw, 16px);
    font-weight: 500;
    color: var(--color-black);
    background: rgba(249, 250, 240, 0.8);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Desktop Modal Styles */
    
    
    

/* ── Premium mobile certificate viewer ────────── */
@media (max-width: 768px) {

    /* Dark full-bleed layout — no white card */
    .certificate-modal .modal-content {
        background: transparent;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        max-width: 100vw;
        max-height: 100vh;
        width: 100vw;
        height: 100vh;
        top: 0;
        left: 0;
        transform: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
    }

    .certificate-modal.active .modal-content {
        transform: none;
    }

    .certificate-modal .modal-backdrop {
        background: rgba(0, 0, 0, 0.95);
    }

    /* Image fills viewport */
    .certificate-modal .modal-image-container {
        min-height: auto;
        background: transparent;
        border-radius: 0;
        overflow: visible;
        flex: 0 1 auto;
        padding: 16px 8px;
    }

    .certificate-modal .modal-image {
        max-width: 96vw;
        max-height: 80vh;
        border-radius: 8px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    }

    /* Slim close button */
    .certificate-modal .modal-close {
        width: 40px;
        height: 40px;
        top: 16px;
        right: 16px;
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
        font-size: 20px;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 100;
        opacity: 1;
    }

    .certificate-modal .modal-close:hover,
    .certificate-modal .modal-close:active {
        background: rgba(255, 255, 255, 0.4);
    }

    /* Hide chunky circle nav buttons */
    .certificate-modal .modal-nav-btn {
        display: none;
    }

    /* Reposition navigation as bottom bar */
    .certificate-modal .modal-navigation {
        position: fixed;
        bottom: env(safe-area-inset-bottom, 20px);
        left: 50%;
        transform: translateX(-50%);
        padding: 0;
        margin: 0;
        justify-content: center;
    }

    /* Minimal counter pill */
    .certificate-modal .modal-counter {
        font-size: 12px;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.7);
        background: rgba(255, 255, 255, 0.1);
        padding: 6px 16px;
        border-radius: 20px;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        letter-spacing: 0.5px;
    }

    /* Edge tap zones */
    .cert-tap-zone {
        position: fixed;
        top: 60px;
        bottom: 80px;
        width: 20%;
        z-index: 10;
        display: flex;
        align-items: center;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .cert-tap-zone--left {
        left: 0;
        justify-content: flex-start;
        padding-left: 8px;
    }

    .cert-tap-zone--right {
        right: 0;
        justify-content: flex-end;
        padding-right: 8px;
    }

    .cert-tap-zone__arrow {
        font-size: 28px;
        color: rgba(255, 255, 255, 0);
        font-weight: 300;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
        transition: color 0.3s ease;
        pointer-events: none;
        font-family: var(--font-primary);
    }

    .cert-tap-zone.active .cert-tap-zone__arrow {
        color: rgba(255, 255, 255, 0.6);
    }

    .cert-tap-zone:active .cert-tap-zone__arrow {
        color: rgba(255, 255, 255, 0.9);
    }

    .cert-tap-zone.disabled {
        pointer-events: none;
    }

    .cert-tap-zone.disabled .cert-tap-zone__arrow {
        color: rgba(255, 255, 255, 0) !important;
    }
}

/* ===== Footer ===== */
/* Унифицированные отступы (верхний как у секций, нижний меньше) */
.footer {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: var(--spacing-section-mobile, 56px) 0 40px 0;
    background: var(--color-surface);
}

@media (min-width: 768px) {
    .footer {
        padding: var(--spacing-section-tablet, 80px) 0 48px 0;
        background: var(--color-bg-light);
    }
}

@media (min-width: 1024px) {
    .footer {
        padding: var(--spacing-section-desktop, 100px) 0 60px 0;
    }
    
    /* Desktop footer layout - 3 columns */
    .footer-content {
        grid-template-columns: 1fr 2fr;
        gap: 60px;
        text-align: left;
    }
    
    .footer-brand {
        text-align: left;
    }
    
    .footer-logo {
        align-items: flex-start;
    }
    
    .footer-sections {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
        gap: 48px;
    }
    
    .footer-section {
        align-items: flex-start;
    }
    
    .footer-section-title::after {
        left: 0;
        transform: none;
    }
    
    .footer-contact {
        align-items: flex-start;
    }
}

@media (min-width: 1440px) {
    .footer-content {
        grid-template-columns: 1fr 3fr;
        gap: 80px;
    }
    
    .footer-sections {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px;
    }
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    border-radius: 1px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(40px, 8vw, 60px);
    margin-bottom: clamp(40px, 8vw, 60px);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer Brand */
.footer-brand {
    text-align: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    margin-bottom: clamp(12px, 2vw, 16px);
    justify-content: center;
    align-items: center;
}

.footer-logo .logo-text {
    font-family: var(--font-secondary);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 500;
    color: var(--color-black);
    letter-spacing: 0.02em;
}

.footer-logo .logo-subtext {
    font-family: var(--font-primary);
    font-size: clamp(11px, 1.8vw, 13px);
    font-weight: 300;
    margin-top: 4px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.7;
    color: var(--color-gray);
}

.footer-tagline {
    font-family: var(--font-primary);
    font-size: clamp(14px, 2.2vw, 16px);
    font-weight: 300;
    color: rgba(0, 0, 0, 0.6);
    font-style: italic;
    letter-spacing: 0.01em;
    margin: 0;
}

/* Footer Sections */
.footer-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(32px, 6vw, 40px);
    text-align: center;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-section-title {
    font-family: var(--font-secondary);
    font-size: clamp(18px, 3vw, 20px);
    font-weight: 500;
    color: var(--color-black);
    margin-bottom: clamp(16px, 3vw, 20px);
    letter-spacing: -0.01em;
    position: relative;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background: var(--color-accent);
    opacity: 0.6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.5vw, 12px);
}

.footer-link {
    font-family: var(--font-primary);
    font-size: clamp(14px, 2.2vw, 15px);
    font-weight: 300;
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    transition: all var(--transition-base);
    letter-spacing: 0.01em;
    position: relative;
    padding: 4px 8px;
    border-radius: 8px;
}

.footer-link:hover {
    color: var(--color-accent);
    background: rgba(253, 167, 0, 0.05);
    transform: translateY(-1px);
}

.coming-soon-link {
    border: 1px dashed rgba(0, 0, 0, 0.14);
    background: rgba(0, 0, 0, 0.02);
}

.coming-soon-link:hover {
    transform: none;
    box-shadow: none;
}

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(16px, 3vw, 20px);
}

.footer-email {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: clamp(13px, 2vw, 14px);
    font-weight: 400;
    color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
    transition: all var(--transition-base);
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.footer-email:hover {
    color: var(--color-accent);
    border-color: rgba(253, 167, 0, 0.3);
    background: rgba(253, 167, 0, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(253, 167, 0, 0.1);
}

.footer-email svg {
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

.footer-email:hover svg {
    transform: scale(1.1);
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: clamp(12px, 2.5vw, 16px);
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all var(--transition-base);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.social-link:hover {
    background: var(--color-white);
    border-color: rgba(253, 167, 0, 0.2);
    color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(253, 167, 0, 0.15);
}

.social-link svg {
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

.social-link:hover svg {
    transform: scale(1.1);
}

.social-link span {
    font-weight: 600;
    text-transform: uppercase;
}

.social-link.coming-soon-link {
    opacity: 0.85;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: clamp(24px, 5vw, 32px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-family: var(--font-primary);
    font-size: clamp(12px, 2vw, 13px);
    font-weight: 300;
    color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    letter-spacing: 0.01em;
}

.footer-back-to-top {
    flex-shrink: 0;
}

.back-to-top-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.back-to-top-btn:hover {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(253, 167, 0, 0.3);
}

.back-to-top-btn svg {
    transition: transform var(--transition-base);
}

.back-to-top-btn:hover svg {
    transform: translateY(-1px);
}

/* Desktop Styles for Footer */
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

/* Tablet Styles for Footer */
    
    
    
    
    

/* Mobile Styles for Footer */
    
    
    
    
    
    
    
    
    

/* Focus styles for accessibility */
.back-to-top-btn:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* === Sticky CTA behaviour === */
.mobile-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    transition: transform .3s ease, opacity .3s ease;
    z-index: 50;
}

.mobile-sticky-cta.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

/* ===== Utilities ===== */
.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

/* ===== Media Queries ===== */
/* Desktop styles */
    /* Problems section desktop - Premium Alo style */
    
    
    
    
    
    
    
    
    

/* Tablet and mobile */
    

/* === Global CTA baseline (shared across pages) === */
.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--cta-gap-mobile, 10px);
    justify-content: center;
    align-items: stretch;
    margin: var(--cta-margin-top-mobile, 24px) auto 0;
    width: 100%;
    max-width: var(--cta-max-width-mobile, 320px);
}

.hero-cta .btn {
    width: 100%;
    padding: 14px 28px;
    min-height: 48px;
    font-size: 0.875rem;
}




/* ============================================ */
/* RESPONSIVE STYLES - NOW IN unified-responsive.css */
/* ============================================ */

/* Desktop responsive styles managed in unified-responsive.css and section-specific media queries above */