/* === MAIN.CSS ===
   путь: assets/css/main.css
   НАЗНАЧЕНИЕ: стили лендинга — светлая тема, эстетика «Роскошь»
   РАЗМЕР: ~600 строк */

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Lora:wght@400;500&family=Inter:wght@400;500;600&display=swap');

/* ─── CSS Переменные ─── */
:root {
    --color-bg:          #FAF8F5;
    --color-surface:     #FFFFFF;
    --color-accent:      #C8A96E;
    --color-accent-dark: #A8894E;
    --color-accent-light:#F0E6D3;
    --color-text:        #1A1A1A;
    --color-text-muted:  #6B6B6B;
    --color-border:      #E8E2DA;
    --color-hero-bg:     #F5F0EA;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Lora', Georgia, serif;
    --font-ui:      'Inter', system-ui, sans-serif;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    --shadow-card: 0 2px 20px rgba(0,0,0,0.06);
    --shadow-hover: 0 8px 32px rgba(0,0,0,0.10);

    --transition: 0.25s ease;
    --max-width: 1200px;
    --section-py: 80px;
}

/* ─── Сброс ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── Утилиты ─── */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-subtitle {
    font-family: var(--font-ui);
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 48px;
}
.accent-line {
    width: 48px;
    height: 2px;
    background: var(--color-accent);
    margin-bottom: 24px;
}

/* ─── Кнопки ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: var(--color-accent);
    border: none;
    border-radius: var(--radius-sm);
    padding: 14px 32px;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
    background: var(--color-accent-dark);
    box-shadow: 0 4px 16px rgba(200,169,110,0.35);
    transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-outline {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-accent);
    background: transparent;
    border: 1.5px solid var(--color-accent);
    border-radius: var(--radius-sm);
    padding: 10px 24px;
    cursor: pointer;
    transition: all var(--transition);
}
.btn-outline:hover { background: var(--color-accent); color: #fff; }

/* ─── Теги/Badges ─── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-accent-dark);
    background: var(--color-accent-light);
    border: 1px solid var(--color-accent);
    border-radius: 20px;
    padding: 5px 14px;
}

/* ─── ХЕДЕР ─── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.header-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.header-logo-img {
    height: 36px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}
.header-logo-text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
}
.header-logo span { color: var(--color-accent); }
.header-right { display: flex; align-items: center; gap: 16px; }

/* Переключатель языков */
.lang-switcher {
    display: flex;
    gap: 4px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 3px;
}
.lang-btn {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    background: transparent;
    border: none;
    border-radius: 16px;
    padding: 4px 12px;
    cursor: pointer;
    transition: all var(--transition);
}
.lang-btn.active {
    background: var(--color-accent);
    color: #fff;
}
.header-cta { display: none; }

/* ─── HERO ─── */
#hero {
    background: var(--color-hero-bg);
    padding: 120px 0 80px;
    overflow: hidden;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero-title em { font-style: normal; color: var(--color-accent); }
.hero-subtitle {
    font-size: 17px;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    line-height: 1.6;
}
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-price {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--color-text);
}
.hero-price span { font-size: 16px; color: var(--color-text-muted); font-family: var(--font-ui); }

/* Таймер */
.countdown {
    display: flex;
    gap: 12px;
    margin-bottom: 36px;
}
.countdown-item {
    text-align: center;
    min-width: 64px;
}
.countdown-num {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1;
    display: block;
}
.countdown-label {
    font-family: var(--font-ui);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-top: 4px;
    display: block;
}
.countdown-sep {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--color-accent);
    align-self: flex-start;
    padding-top: 4px;
}

/* Фото Тани — placeholder */
.hero-photo {
    position: relative;
}
.hero-photo-wrap {
    position: relative;
    width: 100%;
    background: var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    container-type: inline-size;
}
.hero-photo-wrap img,
.hero-lang-img {
    width: 100%;
    height: auto;
    display: block;
}
.hero-photo-overlay {
    position: absolute;
    left: 47%;
    right: 0;
    top: 0;
    height: 62%;
    display: none;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 12.6% 5% 0 0;
    box-sizing: border-box;
    pointer-events: none;
    overflow: hidden;
}
.hero-photo-overlay.is-visible {
    display: flex;
}
.hero-photo-overlay__line {
    margin: 0;
    text-align: right;
    white-space: nowrap;
    max-width: 100%;
}
.hero-photo-overlay__line--gold-lg {
    font-family: var(--font-display);
    font-size: 4.35cqw;
    font-weight: 600;
    line-height: 1.05;
    color: #fdb650;
    text-shadow:
        0 0 0 #fdb650,
        2px 0 0 #fdb650, -2px 0 0 #fdb650,
        0 2px 0 #fdb650, 0 -2px 0 #fdb650,
        2px 2px 0 #fdb650, -2px -2px 0 #fdb650,
        2px -2px 0 #fdb650, -2px 2px 0 #fdb650;
}
.hero-photo-overlay__line--gold-xl {
    font-family: var(--font-display);
    font-size: 5.75cqw;
    font-weight: 600;
    line-height: 1.05;
    color: #fdb650;
    text-shadow:
        0 0 0 #fdb650,
        3px 0 0 #fdb650, -3px 0 0 #fdb650,
        0 3px 0 #fdb650, 0 -3px 0 #fdb650,
        3px 3px 0 #fdb650, -3px -3px 0 #fdb650;
}
.hero-photo-overlay__line--gold-lg + .hero-photo-overlay__line--gold-xl {
    margin-top: 8.5cqw;
}
.hero-photo-overlay__line--gold-xl + .hero-photo-overlay__line--gold-xl {
    margin-top: 1.8cqw;
}
.hero-photo-overlay__line:empty {
    display: none;
}
.hero-photo-overlay__line--white {
    font-family: var(--font-ui);
    font-size: 2.5cqw;
    font-weight: 400;
    line-height: 1.25;
    color: #ffffff;
    text-shadow:
        0 0 0 #fff,
        1px 0 0 #fff, -1px 0 0 #fff,
        0 1px 0 #fff, 0 -1px 0 #fff;
}
.hero-photo-overlay__line--white:first-of-type {
    margin-top: 8cqw;
}
.hero-photo-overlay__line--white + .hero-photo-overlay__line--white {
    margin-top: 0.8cqw;
}
.photo-placeholder {
    text-align: center;
    color: var(--color-text-muted);
    font-family: var(--font-ui);
    font-size: 14px;
}
.photo-placeholder svg { margin: 0 auto 12px; opacity: 0.4; }

/* ─── КОМУ ПОДОЙДЕТ ─── */
#for-whom {
    padding: var(--section-py) 0;
}
.for-whom-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.for-whom-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: box-shadow var(--transition), transform var(--transition);
}
.for-whom-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.for-whom-card.primary { border-color: var(--color-accent); }
.for-whom-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.for-whom-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
}
.for-whom-age {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent-dark);
    margin-bottom: 10px;
}
.for-whom-card p:not(.for-whom-age) { font-size: 15px; color: var(--color-text-muted); line-height: 1.6; }
.primary-tag {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent-dark);
    background: var(--color-accent-light);
    padding: 3px 10px;
    border-radius: 10px;
    margin-bottom: 12px;
}

/* ─── ПРОГРАММА ─── */
#program {
    padding: var(--section-py) 0;
    background: var(--color-surface);
}
.program-tabs {
    position: relative;
    display: flex;
    gap: 4px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 4px;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 40px;
}
.program-tabs__thumb {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    background: var(--color-surface);
    border: 1.5px solid var(--color-accent);
    border-radius: 6px;
    box-shadow: var(--shadow-card);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1), width 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 0;
}
.tab-btn {
    position: relative;
    z-index: 1;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    background: transparent;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    cursor: pointer;
    transition: color var(--transition);
    white-space: nowrap;
}
.tab-btn.active {
    color: var(--color-accent-dark);
    font-weight: 600;
}
.program-panels {
    overflow: hidden;
}
.program-panels__track {
    display: flex;
    transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.tab-panel {
    flex: 0 0 100%;
    min-width: 100%;
}
.program-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}
.program-day-label {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
}
.program-date {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
}
.program-time {
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--color-text-muted);
    margin-left: auto;
}
.program-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.program-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-accent);
}
.program-num {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-accent);
    min-width: 28px;
    line-height: 1.4;
}
.program-text { font-size: 15px; line-height: 1.5; }

/* ─── ЧТО ПОЛУЧИШЬ ─── */
#what-you-get {
    padding: var(--section-py) 0;
    background: var(--color-accent);
}
#what-you-get .section-title { color: #fff; }
.what-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.what-item {
    text-align: center;
    padding: 32px 20px;
    background: rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    color: #fff;
}
.what-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.what-item h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; }

/* ─── ОБ ЭКСПЕРТЕ ─── */
#expert {
    padding: var(--section-py) 0;
}
.expert-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}
.expert-info {
    min-width: 0;
}
.expert-photo-wrap {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.expert-subtitle { margin-bottom: 8px; }
.expert-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.expert-name {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 600;
    margin-bottom: 8px;
}
.expert-title {
    font-family: var(--font-ui);
    font-size: 15px;
    color: var(--color-accent);
    margin-bottom: 24px;
}
.expert-bio { font-size: 16px; color: var(--color-text-muted); line-height: 1.8; margin-bottom: 32px; }
.expert-stats { display: flex; gap: 32px; margin-bottom: 40px; }
.expert-stat-num {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    color: var(--color-accent);
    display: block;
}
.expert-stat-label { font-family: var(--font-ui); font-size: 13px; color: var(--color-text-muted); }

/* Карусель сертификатов */
.certs-title {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}
.certs-track-wrap { position: relative; }
.certs-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.certs-track::-webkit-scrollbar { display: none; }
.cert-slide {
    flex: 0 0 200px;
    width: 200px;
    height: 280px;
    scroll-snap-align: start;
    background: #f5f5f0;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
}
.cert-slide:hover { transform: scale(1.02); }
.cert-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #f5f5f0;
    display: block;
}
.certs-nav { display: flex; gap: 8px; margin-top: 16px; }
.certs-prev, .certs-next {
    width: 36px; height: 36px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--color-text);
    transition: all var(--transition);
}
.certs-prev:hover, .certs-next:hover { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }

/* Лайтбокс */
dialog.lightbox {
    border: none;
    background: transparent;
    padding: 0;
    margin: auto;
    width: min(960px, 96vw);
    max-width: 96vw;
    overflow: visible;
}
dialog.lightbox::backdrop { background: rgba(0,0,0,0.88); }
.lightbox-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
}
.lightbox-viewport {
    flex: 1;
    width: min(720px, 78vw);
    height: min(85vh, 640px);
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.lightbox-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: var(--radius-md);
}
.lightbox-prev,
.lightbox-next {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(200, 169, 110, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
    background: var(--color-accent);
    transform: scale(1.08);
    outline: none;
}
.lightbox-prev:disabled,
.lightbox-next:disabled {
    opacity: 0.35;
    cursor: default;
    transform: none;
}
.lightbox-counter {
    margin: 12px 0 0;
    text-align: center;
    font-family: var(--font-ui);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.06em;
}
.lightbox-close {
    position: fixed;
    top: 20px; right: 20px;
    width: 44px; height: 44px;
    background: rgba(200, 169, 110, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
}
.lightbox-close:hover {
    background: var(--color-accent);
    transform: scale(1.08);
}

@media (max-width: 640px) {
    dialog.lightbox {
        width: 100vw;
        max-width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        margin: 0;
        padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
    }
    .lightbox-inner {
        gap: 0;
        padding: 56px 8px 12px;
        min-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
        box-sizing: border-box;
    }
    .lightbox-viewport {
        width: 100%;
        min-height: calc(100dvh - 140px);
        height: calc(100dvh - 140px);
        border: none;
        background: transparent;
    }
    .lightbox-close {
        top: max(12px, env(safe-area-inset-top));
        right: 12px;
    }
    .lightbox-counter {
        margin-top: 8px;
        font-size: 13px;
    }
    .lightbox-prev,
    .lightbox-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.45);
    }
    .lightbox-prev { left: 4px; }
    .lightbox-next { right: 4px; }
    .lightbox-prev:hover,
    .lightbox-next:hover {
        transform: translateY(-50%) scale(1.08);
    }
}

/* ─── РЕЗУЛЬТАТЫ ─── */
#results {
    padding: var(--section-py) 0;
    background: var(--color-surface);
}
.results-carousel-wrap { margin-top: 40px; }
.results-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}
.results-track::-webkit-scrollbar { display: none; }
.result-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    min-width: 0;
}
.result-card {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    transition: transform var(--transition), box-shadow var(--transition);
}
.result-slide:hover .result-card {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.results-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}
.results-prev, .results-next {
    width: 40px;
    height: 40px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text);
    transition: all var(--transition);
    flex-shrink: 0;
}
.results-prev:hover, .results-next:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}
.results-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    max-width: 280px;
}
.results-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: var(--color-border);
    cursor: pointer;
    transition: all var(--transition);
}
.results-dot.active {
    background: var(--color-accent);
    transform: scale(1.2);
}
@media (min-width: 640px) {
    .result-slide { flex: 0 0 calc(50% - 12px); }
}
@media (min-width: 1024px) {
    .result-slide { flex: 0 0 calc(33.333% - 16px); }
}
.result-photos { display: grid; grid-template-columns: 1fr 1fr; }
.result-photos--combo { grid-template-columns: 1fr; }
.result-photos--combo .result-photo { aspect-ratio: 4/5; }
.result-photos--combo .result-photo img { object-fit: cover; }
.result-photo {
    aspect-ratio: 2/3;
    background: var(--color-border);
    overflow: hidden;
    position: relative;
    display: flex; align-items: center; justify-content: center;
}
.result-photo img { width: 100%; height: 100%; object-fit: cover; }
.result-photo-label {
    position: absolute;
    bottom: 8px; left: 8px;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background: rgba(0,0,0,0.5);
    padding: 3px 8px;
    border-radius: 4px;
}
.result-info { padding: 16px 20px; }
.result-name { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.result-goal { font-family: var(--font-ui); font-size: 13px; color: var(--color-text-muted); margin-top: 4px; }

/* ─── ФОРМАТЫ ─── */
#formats {
    padding: var(--section-py) 0;
}
.formats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; }
.format-card {
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 40px;
    text-align: center;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.format-card:hover { border-color: var(--color-accent); box-shadow: var(--shadow-hover); }
.format-card.featured { border-color: var(--color-accent); }
.format-icon { display: flex; justify-content: center; }
.format-name { font-family: var(--font-display); font-size: 28px; font-weight: 600; margin-bottom: 8px; }
.format-seats {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 13px;
    color: var(--color-accent-dark);
    background: var(--color-accent-light);
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 24px;
}
.format-features { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; }
.format-features li {
    display: flex; align-items: center; gap: 10px;
    font-size: 15px; color: var(--color-text-muted);
    justify-content: center;
}
.format-price { font-family: var(--font-display); font-size: 36px; font-weight: 600; margin-bottom: 24px; }
.format-price span { font-family: var(--font-ui); font-size: 16px; color: var(--color-text-muted); }
.seats-counter { font-family: var(--font-ui); font-size: 13px; color: var(--color-text-muted); margin-top: 12px; }
.seats-counter strong { color: var(--color-accent-dark); }

/* ─── ФОРМА ─── */
#register {
    padding: var(--section-py) 0;
    background: var(--color-hero-bg);
}
.register-inner {
    max-width: 560px;
    margin: 0 auto;
}
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}
.form-input {
    width: 100%;
    font-family: var(--font-ui);
    font-size: 15px;
    color: var(--color-text);
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-input:focus { border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(200,169,110,0.15); }
.form-radio-group { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-option {
    flex: 1;
    min-width: 120px;
}
.radio-option input[type="radio"] { display: none; }
.radio-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--color-text-muted);
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}
.radio-option input:checked + .radio-label {
    border-color: var(--color-accent);
    background: var(--color-accent-light);
    color: var(--color-accent-dark);
    font-weight: 600;
}
.form-submit { width: 100%; margin-top: 8px; justify-content: center; font-size: 16px; padding: 16px; }
.form-message {
    display: none;
    text-align: center;
    padding: 20px;
    border-radius: var(--radius-md);
    font-family: var(--font-ui);
    font-size: 15px;
    margin-top: 16px;
}
.form-message.success { background: #F0FBF5; color: #1A6B3A; border: 1px solid #A3D9B8; }
.form-message.error { background: #FFF5F5; color: #8B1A1A; border: 1px solid #F5A0A0; }

/* ─── ЛОКАЦИЯ ─── */
#location {
    padding: var(--section-py) 0;
    background: var(--color-surface);
}
.location-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.location-info { display: flex; flex-direction: column; gap: 24px; }
.location-item { display: flex; gap: 16px; align-items: flex-start; }
.location-item-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.location-item-label { font-family: var(--font-ui); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); margin-bottom: 4px; }
.location-item-value { font-size: 15px; font-weight: 500; }
.map-wrap {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--color-border);
}
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* ─── FAQ ─── */
#faq { padding: var(--section-py) 0; }
.faq-list { max-width: 720px; display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
details.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition);
}
details.faq-item[open] { border-color: var(--color-accent); }
summary.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    user-select: none;
}
summary.faq-question::-webkit-details-marker { display: none; }
.faq-answer {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ─── FOOTER ─── */
.site-footer {
    background: var(--color-text);
    color: rgba(255,255,255,0.7);
    padding: 48px 0 32px;
}
.footer-inner { display: flex; justify-content: space-between; align-items: start; gap: 32px; flex-wrap: wrap; }
.footer-brand .footer-logo { font-family: var(--font-display); font-size: 22px; color: #fff; margin-bottom: 8px; }
.footer-logo-img { height: 44px; width: auto; max-width: 160px; object-fit: contain; margin-bottom: 8px; }
.footer-brand p { font-size: 14px; }
.footer-contacts { display: flex; flex-direction: column; gap: 8px; }
.footer-contact a { font-size: 14px; color: rgba(255,255,255,0.7); transition: color var(--transition); }
.footer-contact a:hover { color: var(--color-accent); }
.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 13px; }
.footer-policy a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-policy a:hover { color: #fff; }

/* ─── Адаптивность 768px ─── */
@media (max-width: 768px) {
    :root { --section-py: 56px; }
    .header-cta { display: none !important; }
    .container { min-width: 0; box-sizing: border-box; }

    .hero-inner { grid-template-columns: 1fr; gap: 24px; }
    .hero-photo { order: -1; }
    .hero-photo-wrap { aspect-ratio: auto; max-height: none; }
    .hero-photo-wrap img { width: 100%; height: auto; object-fit: unset; }
    .hero-badges { justify-content: flex-start; }
    .btn-primary { width: auto; align-self: flex-start; }

    .for-whom-grid { grid-template-columns: 1fr; }
    .for-whom-card.primary:nth-child(2) .primary-tag { display: none; }

    #expert { overflow-x: clip; }

    .expert-inner {
        display: flex;
        flex-direction: column;
        gap: 28px;
        width: 100%;
        min-width: 0;
    }
    .expert-info {
        display: contents;
    }
    .expert-head {
        order: 1;
        width: 100%;
        min-width: 0;
    }
    .expert-photo-wrap {
        order: 2;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        aspect-ratio: 3/4;
        max-height: none;
    }
    .expert-tail {
        order: 3;
        width: 100%;
        min-width: 0;
    }
    .expert-name {
        font-size: clamp(24px, 7vw, 32px);
        overflow-wrap: break-word;
    }
    .expert-title {
        overflow-wrap: break-word;
    }
    .expert-bio {
        font-size: 15px;
        line-height: 1.75;
        overflow-wrap: break-word;
        margin-bottom: 0;
    }
    .expert-stats {
        margin-top: 8px;
        margin-bottom: 32px;
        flex-wrap: wrap;
        gap: 20px;
    }
    .expert-stat-num { font-size: 32px; }
    .certs-track-wrap {
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }
    .cert-slide {
        flex: 0 0 min(calc(100vw - 64px), 200px);
        width: min(calc(100vw - 64px), 200px);
        height: min(calc((100vw - 64px) * 1.4), 280px);
    }

    .result-slide { flex: 0 0 85%; }
    .header-logo-img { height: 28px; max-width: 90px; }

    .formats-grid { grid-template-columns: 1fr; }

    .location-inner { grid-template-columns: 1fr; }

    .what-grid { grid-template-columns: repeat(2, 1fr); }

    .footer-inner { flex-direction: column; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ─── Адаптивность 375px ─── */
@media (max-width: 480px) {
    .countdown { gap: 8px; }
    .countdown-num { font-size: 28px; }
    .what-grid { grid-template-columns: 1fr; }
    .program-tabs { width: 100%; }
    .tab-btn { flex: 1; padding: 10px 12px; font-size: 13px; }
    .expert-stats { gap: 16px 24px; }
    .expert-stat-num { font-size: 28px; }
    .format-card { padding: 28px 20px; }
}
