/* === LANDING.CSS === */
/* assets/css/landing.css */
/* НАЗНАЧЕНИЕ: Лендинг курса ACI 1 (Кишинев) — копия структуры classicwisdomclub.by */
/* СВЯЗИ: landing.php, assets/js/landing.js */
/* РАЗМЕР: ~520 строк */

:root {
    /* Палитра (духовный минимализм, сиреневые акценты) */
    --bg: oklch(99% 0.006 300);
    --bg-soft: oklch(97% 0.012 300);
    --surface: oklch(100% 0 0);
    --text: oklch(28% 0.02 300);
    --text-soft: oklch(46% 0.02 300);
    --accent: oklch(58% 0.16 300);
    --accent-soft: oklch(70% 0.12 300);
    --accent-bg: oklch(95% 0.03 300);
    --border: oklch(90% 0.015 300);
    --gold: oklch(76% 0.11 85);

    --radius: 18px;
    --radius-sm: 12px;
    --maxw: 1120px;
    --gap: clamp(20px, 4vw, 40px);
    --section-pad: clamp(56px, 9vw, 110px);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-size: 17px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation: none !important; transition: none !important; }
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 6vw, 62px); }
h2 { font-size: clamp(28px, 4.5vw, 46px); }
h3 { font-size: clamp(20px, 2.5vw, 27px); }

p { color: var(--text-soft); }
a { color: inherit; text-decoration: none; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 13px; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title { text-align: center; margin-bottom: 14px; }
.section-lead { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); font-size: 18px; }

/* === Кнопки === */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 32px;
    font-family: var(--font-body); font-size: 16px; font-weight: 600;
    border: none; border-radius: 100px; cursor: pointer;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
    text-align: center;
}
.btn-primary {
    background: var(--accent); color: #fff;
    box-shadow: 0 8px 24px -8px var(--accent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px var(--accent); }
.btn-ghost { background: var(--surface); color: var(--accent); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent-soft); background: var(--accent-bg); }
.btn-lg { padding: 18px 44px; font-size: 17px; }

/* === Шапка === */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: oklch(99% 0.006 300 / 0.85);
    backdrop-filter: saturate(150%) blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--text); }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 15px; color: var(--text-soft); transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { padding: 10px 22px; font-size: 14px; }
.burger { display: none; background: none; border: none; cursor: pointer; font-size: 24px; color: var(--text); }

/* === Hero === */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex; align-items: center;
    text-align: center;
    padding: clamp(60px, 10vw, 120px) 0;
    background:
        linear-gradient(180deg, oklch(99% 0.006 300 / 0.7), oklch(97% 0.02 300 / 0.85)),
        var(--bg-soft);
    overflow: hidden;
}
.hero::before {
    /* место для фото Кишинева — заменить background-image */
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, var(--accent-bg), transparent 70%);
    opacity: 0.7; z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-date {
    display: inline-flex; gap: 10px; align-items: center;
    background: var(--surface); border: 1px solid var(--border);
    padding: 9px 20px; border-radius: 100px;
    font-size: 14px; font-weight: 600; color: var(--accent);
    margin-bottom: 24px;
}
.hero h1 { max-width: 14ch; margin: 0 auto 22px; }
.hero-sub { font-size: clamp(17px, 2vw, 21px); max-width: 60ch; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* === Секции === */
section { padding: var(--section-pad) 0; }
.section-alt { background: var(--bg-soft); }

/* Проблема / интро */
.intro-text { max-width: 720px; margin: 0 auto; font-size: 19px; line-height: 1.75; text-align: center; }
.intro-text strong { color: var(--text); font-weight: 600; }

/* О курсах / об авторе — две колонки */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center; }
.split-media {
    aspect-ratio: 1; border-radius: var(--radius);
    background: linear-gradient(135deg, var(--accent-bg), var(--accent-soft));
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); font-size: 15px; text-align: center; padding: 20px;
}

/* Списки с иконками */
.icon-list { display: grid; gap: 16px; margin-top: 18px; }
.icon-list li { list-style: none; display: flex; gap: 14px; align-items: flex-start; }
.icon-list .mark {
    flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px;
    background: var(--accent-bg); color: var(--accent);
    display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700;
    margin-top: 2px;
}

/* Карточки (темы, как проходит) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--gap); }
.card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px var(--accent); }
.card-num {
    font-family: var(--font-display); font-size: 30px; color: var(--accent-soft); font-weight: 700;
    margin-bottom: 12px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; }

/* Тренеры */
.trainers { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--gap); }
.trainer {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 26px; text-align: center;
}
.trainer-photo {
    width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--accent-bg), var(--accent-soft));
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 34px; color: var(--accent); font-weight: 700;
}
.trainer h3 { margin-bottom: 4px; }
.trainer .city { font-size: 14px; color: var(--accent); margin-bottom: 14px; }
.trainer ul { list-style: none; text-align: left; display: grid; gap: 8px; }
.trainer ul li { font-size: 14px; color: var(--text-soft); padding-left: 20px; position: relative; }
.trainer ul li::before { content: '◆'; position: absolute; left: 0; color: var(--accent-soft); font-size: 10px; top: 4px; }

/* Место проведения */
.venue { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--gap); align-items: center; }
.venue-card { background: var(--accent-bg); border-radius: var(--radius); padding: 36px; }
.venue-card .promo {
    display: inline-block; margin-top: 16px; padding: 8px 18px;
    background: var(--surface); border: 1px dashed var(--accent-soft); border-radius: 10px;
    font-weight: 600; color: var(--accent);
}

/* Расписание */
.schedule { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.day {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
}
.day-head { background: var(--accent); color: #fff; padding: 16px 24px; font-family: var(--font-display); font-size: 22px; }
.day-body { padding: 8px 24px 20px; }
.slot { display: flex; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.slot:last-child { border-bottom: none; }
.slot time { flex-shrink: 0; font-weight: 600; color: var(--accent); width: 96px; }

/* Тарифы */
.tariffs { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--gap); }
.tariff {
    background: var(--surface); border: 1.5px solid var(--border);
    border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column;
    transition: border-color 0.3s, transform 0.3s var(--ease);
}
.tariff:hover { transform: translateY(-4px); border-color: var(--accent-soft); }
.tariff.featured { border-color: var(--accent); box-shadow: 0 20px 50px -24px var(--accent); }
.tariff .badge {
    align-self: flex-start; background: var(--accent); color: #fff;
    font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 100px; margin-bottom: 14px;
}
.tariff h3 { margin-bottom: 6px; }
.tariff .price { font-family: var(--font-display); font-size: 42px; font-weight: 700; color: var(--text); margin: 12px 0; }
.tariff .price span { font-size: 18px; color: var(--text-soft); }
.tariff ul { list-style: none; display: grid; gap: 10px; margin: 16px 0 24px; flex-grow: 1; }
.tariff ul li { font-size: 14px; padding-left: 24px; position: relative; }
.tariff ul li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* Отзывы */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--gap); }
.review { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.review-text { font-size: 15px; line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--accent-bg); color: var(--accent);
    display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.review-author b { font-size: 15px; color: var(--text); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer;
    padding: 20px 24px; font-size: 17px; font-weight: 600; color: var(--text);
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    font-family: var(--font-body);
}
.faq-q .chev { transition: transform 0.3s var(--ease); color: var(--accent); flex-shrink: 0; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a-inner { padding: 0 24px 20px; font-size: 15px; color: var(--text-soft); }

/* Форма */
.form-wrap { max-width: 560px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(28px, 5vw, 48px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea, .field select {
    width: 100%; padding: 13px 16px; font-size: 16px; font-family: var(--font-body);
    border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--bg);
    color: var(--text); transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-soft); margin-bottom: 20px; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.form-note { text-align: center; font-size: 14px; margin-top: 18px; }

/* Финансирование (атмосферный блок) */
.finance { text-align: center; }
.finance .intro-text { font-size: 18px; }

/* Footer */
.footer { background: var(--text); color: oklch(85% 0.01 300); padding: 56px 0 32px; }
.footer .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: 15px; margin-bottom: 14px; }
.footer a, .footer p { color: oklch(78% 0.01 300); font-size: 14px; line-height: 2; }
.footer a:hover { color: #fff; }
.footer-bottom { text-align: center; padding-top: 28px; margin-top: 32px; border-top: 1px solid oklch(40% 0.01 300); font-size: 13px; color: oklch(65% 0.01 300); }

/* Заглушки контента (ждём Аллу) */
.todo-tag {
    display: inline-block; background: var(--gold); color: #3a2a00;
    font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 6px;
    letter-spacing: 0.04em; vertical-align: middle; margin-left: 8px;
}

/* Анимация появления — скрываем ТОЛЬКО при активном JS (прогрессивное улучшение) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* === Адаптив === */
@media (max-width: 860px) {
    .split, .venue { grid-template-columns: 1fr; }
    .split-media { aspect-ratio: 16/10; }
    .nav-links { display: none; }
    .burger { display: block; }
    .nav-links.open {
        display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0;
        background: var(--surface); padding: 20px 24px; gap: 16px; border-bottom: 1px solid var(--border);
    }
}
@media (max-width: 560px) {
    body { font-size: 16px; }
    .hero { min-height: 80vh; }
    .slot { flex-direction: column; gap: 2px; }
    .slot time { width: auto; }
}
