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

:root {
    /* Цветовая палитра */
    --bg-primary: #1A221C;
    --text-primary: #E8D5C4;
    --text-secondary: rgba(232, 213, 196, 0.6);
    --accent-mint: #6EE7B7;
    --accent-lavender: #A8B4FF;
    --accent-peach: #FFB4A2;
    --accent-dusty-pink: #E8B4C8;
    --accent-sky-blue: #5B9BD5;
    --accent-muted-purple: #8B7CC6;
    --accent-gold: #C9A87C;
    --glass-bg: rgba(26, 34, 28, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.3);

    /* Адаптивные вертикальные отступы секций.
       vmin привязывает padding к меньшей стороне экрана: на коротком ноутбуке
       (768px по высоте) даёт ~69px, на десктопе упирается в 128px. */
    --section-py: clamp(64px, 9vmin, 128px);
    --header-mb:  clamp(36px, 6vmin, 64px);

    /* Типографика (адаптивная через clamp) */
    --fs-h1: clamp(40px, 6vw, 80px);
    --fs-h2: clamp(28px, 4vw, 48px);
    --fs-h3: clamp(20px, 3vw, 32px);
    --fs-body: clamp(14px, 1.5vw, 16px);
    --fs-caption: clamp(10px, 1vw, 12px);
    --fs-button: clamp(14px, 1.5vw, 16px);
    
    --lh-h1: 1.1;
    --lh-h2: 1.2;
    --lh-h3: 1.3;
    --lh-body: 1.6;
    --lh-caption: 1.4;
    --lh-button: 1;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    overflow-x: hidden;
}

/* СЕТКА И ОТСТУПЫ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section {
    padding: var(--section-py) 24px;
}

@media (max-width: 768px) {
    .section {
        padding: var(--section-py) 16px;
    }
}

/* ТИПОГРАФИКА (Глобальная) */
h1, .hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 200;
    font-size: var(--fs-h1);
    line-height: var(--lh-h1);
    color: var(--text-primary);
}

h2, .section-title, .faq-title, .corporate-title, .info-column h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: var(--fs-h2);
    line-height: var(--lh-h2);
}

h3, .card-title, .faq-question h3, .form-title, .corporate-card-title, .format-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: var(--fs-h3);
    line-height: var(--lh-h3);
}

.caption, .info-label, .time-suggestion label {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: var(--fs-caption);
    line-height: var(--lh-caption);
}

/* UI-КОМПОНЕНТЫ */
.cta-button, #startJourney, .submit-btn {
    background: linear-gradient(135deg, var(--accent-lavender), var(--accent-mint));
    color: var(--bg-primary);
    border-radius: 9999px;
    padding: 16px 48px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: var(--fs-button);
    line-height: var(--lh-button);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: none;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.cta-button:hover, #startJourney:hover, .submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(110, 231, 183, 0.3);
}

.hero-formats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-format-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    min-height: 36px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid rgba(232, 213, 196, 0.22);
    border-radius: 100px;
    text-decoration: none;
    transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    white-space: nowrap;
}

.hero-format-chip:hover,
.hero-format-chip:focus-visible {
    color: var(--text-primary);
    border-color: rgba(232, 213, 196, 0.55);
    background: rgba(232, 213, 196, 0.04);
}

/* Промежуточная зона: не помещаются в один ряд → ровные 2+2 */
@media (max-width: 640px) {
    .hero-formats {
        max-width: 340px;
    }
}

@media (max-width: 480px) {
    .hero-formats {
        gap: 6px;
        max-width: 320px;
    }
    .hero-format-chip {
        font-size: 11px;
        padding: 7px 12px;
        min-height: 32px;
        letter-spacing: 0.06em;
    }
}

.cta-button:disabled, #startJourney:disabled, .submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.glass-card, .philosophy-card, .info-column, .form-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
}

/* Hover-эффект для интерактивных карточек */
.philosophy-card:hover {
    transform: translateY(-8px);
    border-color: rgba(110, 231, 183, 0.3);
}

/* Поля ввода (Floating Label) */
.form-input, .form-select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(232, 213, 196, 0.3);
    padding: 12px 0;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-input:focus, .form-select:focus {
    border-bottom-color: var(--accent-mint);
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-label {
    position: absolute;
    top: 12px;
    left: 0;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label,
.form-select:focus ~ .form-label,
.form-select:valid ~ .form-label {
    top: -16px;
    font-size: 12px;
    color: var(--accent-mint);
}

/* Фикс: для select label всегда наверху, без зависимости от :valid */
.form-group--select .form-label {
    top: -16px;
    font-size: 12px;
    color: var(--text-secondary);
    pointer-events: none;
}

.form-group--select .form-select:focus ~ .form-label {
    color: var(--accent-mint);
}

/* ================== HERO SECTION ================== */
.hero-wrapper {
    position: relative;
    overflow: hidden; /* на мобильном клипает видео по высоте hero */
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
    background: var(--bg-primary);
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.06) translate(-0.5%, -1.5%);
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.video-background video.loaded {
    opacity: 0.6;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(26, 34, 28, 0.4) 100%);
    z-index: 2;
}

/* Маска водяного знака Gemini в правом нижнем углу видео */
.video-background::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35%;
    height: 30%;
    background: radial-gradient(
        ellipse at bottom right,
        var(--bg-primary) 0%,
        rgba(26, 34, 28, 0.85) 25%,
        rgba(26, 34, 28, 0.5) 50%,
        transparent 80%
    );
    pointer-events: none;
    z-index: 2;
}

@media (max-width: 768px) {
    .video-background::after { width: 45%; height: 35%; }

    /* На мобильном видео ограничено hero-обёрткой, не уходит ниже */
    .video-background {
        position: absolute;
        height: 100%;
    }
}

/* ================== АНТИ-РАСПОЗНАВАНИЕ МЕДИА ================== */
/* Скрываем плашку «умных объектов» Яндекс.Браузера (и аналоги) над
   фото/видео: курсор перестаёт «попадать» по самому <img>/<video>,
   поэтому браузер не предлагает поиск по картинке / распознавание. */
img, video {
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
}

/* Прозрачный перехватывающий слой над изображениями карточек —
   гарантирует, что сверху всегда не-медийный элемент. */
.card-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
}

.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(110, 231, 183, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(168, 180, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(110, 231, 183, 0.08) 0%, transparent 40%);
    background-size: 200% 200%;
    animation: fallbackDrift 20s ease-in-out infinite;
    z-index: 1;
    opacity: 0;
}
.video-background.error .video-fallback { opacity: 1; }

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 32px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    padding: 24px 48px;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 44px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo img { height: 36px; }
}

.nav-links {
    display: flex;
    gap: 48px;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    opacity: 0.8;
    transition: opacity 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}
.nav-link:hover { opacity: 1; }

.hero {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 32px;
}

.hero-title {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    filter: blur(8px);
    animation: reveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.4s;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.hero-subtitle {
    opacity: 0;
    text-align: center;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.8s;
    margin-bottom: 32px;
    max-width: 600px;
    color: var(--text-secondary);
}

.hero-meta {
    margin-top: 16px;
    margin-bottom: 48px;
    opacity: 0;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: clamp(10px, 0.9vw, 12px);
    color: var(--text-secondary);
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 1.0s;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-meta {
        font-size: 10px;
        letter-spacing: 0.12em;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-cta {
    opacity: 0;
    transform: scale(0.9);
    animation: scaleIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 1.2s;
}

.scroll-indicator {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeIn 1s ease forwards, breathe 2s ease-in-out infinite;
    animation-delay: 2s, 3s;
    z-index: 10;
    cursor: pointer;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-primary), transparent);
    margin: 0 auto 8px;
    animation: scrollLine 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--text-primary);
    opacity: 0.6;
}

.menu-button {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    z-index: 101;
}

.menu-line {
    width: 24px;
    height: 1px;
    background: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-button:hover .menu-line { width: 28px; }

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 200;
    letter-spacing: 0.1em;
    animation: pulse 2s ease-in-out infinite;
}

/* ================== MANIFESTO SECTION ================== */
.manifesto-section {
    position: relative;
    z-index: 5;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
}

.manifesto-content {
    max-width: 720px;
    width: 100%;
    text-align: center;
}

.manifesto-eyebrow {
    color: var(--text-secondary);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 48px;
    display: block;
}

.manifesto-text {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(24px, 3.5vw, 40px);
    line-height: 1.4;
    margin-bottom: 32px;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.manifesto-section.visible .manifesto-text { opacity: 1; transform: translateY(0); }
.manifesto-section.visible .manifesto-text:nth-child(2) { transition-delay: 0.2s; }
.manifesto-section.visible .manifesto-text:nth-child(3) { transition-delay: 0.4s; }
.manifesto-section.visible .manifesto-text:nth-child(4) { transition-delay: 0.6s; }

.manifesto-accent {
    color: var(--accent-peach);
    font-style: italic;
}

.manifesto-text--soft {
    font-style: italic;
    font-size: clamp(20px, 3vw, 32px);
    color: var(--text-secondary);
}

.manifesto-section.visible .manifesto-text--soft { opacity: 0.8; }

@media (max-width: 768px) {
    .manifesto-section { min-height: auto; }
}

/* ================== FORMATS SECTION ================== */
.formats-section {
    position: relative;
    z-index: 5;
    background: var(--bg-primary);
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: var(--header-mb) auto 0;
}

.format-card {
    padding: 36px 32px 38px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* Тёмно-зелёный фон карточки = фон PNG-изображений форматов,
       чтобы круглые картинки и иконки сливались с карточкой бесшовно */
    background: #151F19;
    border-color: rgba(201, 168, 124, 0.18);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.5s ease, box-shadow 0.5s ease;
}

.format-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 168, 124, 0.45);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* Верхнее круглое изображение формата */
.format-visual {
    width: 200px;
    height: 200px;
    margin-bottom: 24px;
}

.format-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* мягкий круглый край вместо квадрата — растворяет границу картинки в карточке */
    -webkit-mask-image: radial-gradient(circle, #000 58%, transparent 74%);
    mask-image: radial-gradient(circle, #000 58%, transparent 74%);
}

.format-title {
    margin-bottom: 14px;
    color: var(--text-primary);
}

.format-tagline,
.format-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
}

.format-tagline {
    margin-bottom: 6px;
    color: rgba(232, 213, 196, 0.85);
}

.format-description { margin-bottom: 0; }

.format-divider {
    width: 64px;
    height: 1px;
    margin: 26px 0;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0.55;
}

.format-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.format-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    font-size: 14px;
    color: var(--text-primary);
    opacity: 0.9;
    line-height: 1.4;
}

.feature-ico {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
}

.feature-ico img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    /* квадратный фон иконки растворяется в круг с мягким краем */
    -webkit-mask-image: radial-gradient(circle, #000 60%, transparent 75%);
    mask-image: radial-gradient(circle, #000 60%, transparent 75%);
}

.format-cta {
    margin-top: auto;
    align-self: center;
    background: transparent;
    border: 1px solid rgba(201, 168, 124, 0.45);
    color: var(--accent-gold);
    padding: 13px 38px;
    border-radius: 9999px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.format-cta:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
}

@media (max-width: 1024px) {
    .formats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .formats-grid { grid-template-columns: 1fr; gap: 20px; }
    .format-card:last-child { grid-column: auto; max-width: none; margin: 0; }
    .format-card { padding: 30px 24px 32px; }
    .format-visual { width: 172px; height: 172px; }
}

/* ================== PHILOSOPHY SECTION ================== */
.philosophy-section {
    position: relative;
    min-height: auto;
    overflow: hidden;
    background: var(--bg-primary);
    z-index: 5;
    padding-top: var(--section-py);
    padding-bottom: var(--section-py);
}

.section-header {
    text-align: center;
    margin-bottom: var(--header-mb);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.2s;
}

.section-title {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.philosophy-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    min-height: auto;          /* было calc(100vh-240px) — резало высокие карточки */
    display: flex;
    align-items: stretch;      /* карточки равной высоты, ничего не центрируется в обрез */
}

.horizontal-scroll-container {
    display: flex;
    gap: 32px; /* Gap from design spec */
    padding: 0 64px;
    width: 100%;
    overflow-x: hidden;
    /* scroll-behavior/native momentum убраны намеренно: позицию двигаем
       собственной rAF-анимацией scrollLeft, иначе на мобильных нативный
       smooth-scroll на overflow:hidden «перематывает» с начала. */
    scrollbar-width: none;
    -ms-overflow-style: none;
    align-items: stretch; /* все карточки равной высоты (по самой высокой) */
}
.horizontal-scroll-container::-webkit-scrollbar { display: none; }

.philosophy-card {
    /* десктоп: ровно 3 карточки (3 × basis + 2 × gap32 = 100%) */
    flex: 0 0 calc(33.333% - 21.33px);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    opacity: 0;
    transform: translateY(40px);
}

.philosophy-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--card-index) * 0.15s);
}

.philosophy-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(255,255,255,0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}
.philosophy-card:hover::before { opacity: 1; }

.blob-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}
.philosophy-card:hover .blob-canvas { opacity: 0.8; }

.card-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    flex: 1; /* контент заполняет высоту растянутой карточки */
    padding: 32px;
}

.card-image-container {
    width: 100%;
    aspect-ratio: 4 / 3;
    flex: none;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow-soft);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.philosophy-card:hover .card-image { transform: scale(1.05); }

.card-title {
    margin-bottom: 8px;
    text-align: center;
    letter-spacing: 0.05em;
}

.card-subtitle {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 16px;
}

.card-description {
    line-height: 1.7;
    text-align: center;
    padding: 0 16px;
    margin-bottom: 16px; /* минимальный отступ до цитаты, когда практика прижата к низу */
}

.card-presence { --blob-color: var(--accent-peach); }
.card-presence .card-title { color: var(--accent-peach); }

.card-balance { --blob-color: var(--accent-lavender); }
.card-balance .card-title { color: var(--accent-lavender); }

.card-awareness { --blob-color: var(--accent-mint); }
.card-awareness .card-title { color: var(--accent-mint); }

.card-space { --blob-color: var(--accent-dusty-pink); }
.card-space .card-title { color: var(--accent-dusty-pink); }

.card-concentration { --blob-color: var(--accent-sky-blue); }
.card-concentration .card-title { color: var(--accent-sky-blue); }

.card-perspective { --blob-color: var(--accent-muted-purple); }
.card-perspective .card-title { color: var(--accent-muted-purple); }

/* Кнопка «Погрузиться» — раскрытие карточки в модалке */
.card-more {
    margin-top: auto;            /* прижимаем к низу карточки */
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 26px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 9999px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.card-more:hover {
    border-color: var(--blob-color, var(--accent-mint));
    color: var(--blob-color, var(--accent-mint));
    background: rgba(255, 255, 255, 0.03);
}
.card-more__arrow { transition: transform 0.3s ease; }
.card-more:hover .card-more__arrow { transform: translateX(4px); }

/* ===== Модальное окно карточки философии ===== */
.philo-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: philoFade 0.3s ease;
}
.philo-modal[hidden] { display: none; }

@keyframes philoFade { from { opacity: 0; } to { opacity: 1; } }

.philo-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 7, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.philo-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    max-height: 94vh;
    overflow-y: auto;
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    border-top: 3px solid var(--modal-accent, var(--accent-mint));
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
    /* Тонкий скроллбар в цветах сайта (Firefox) */
    scrollbar-width: thin;
    scrollbar-color: rgba(110, 231, 183, 0.45) transparent;
}
/* Тонкий скроллбар в цветах сайта (WebKit) */
.philo-modal__dialog::-webkit-scrollbar { width: 6px; }
.philo-modal__dialog::-webkit-scrollbar-track { background: transparent; }
.philo-modal__dialog::-webkit-scrollbar-thumb {
    background: rgba(110, 231, 183, 0.45);
    border-radius: 9999px;
}
.philo-modal__dialog::-webkit-scrollbar-thumb:hover {
    background: rgba(110, 231, 183, 0.7);
}

.philo-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
}
.philo-modal__close:hover { color: var(--text-primary); }

.philo-modal__media {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow-soft);
}
.philo-modal__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.philo-modal__eng {
    color: var(--text-secondary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 4px;
}
.philo-modal__title {
    color: var(--modal-accent, var(--accent-mint));
    text-align: center;
    margin-bottom: 24px;
}
.philo-modal__body {
    color: var(--text-secondary);
    line-height: 1.75;
}
.philo-modal__body p { margin-bottom: 14px; }
.philo-modal__body p:last-child { margin-bottom: 0; }

body.philo-open { overflow: hidden; }

@media (max-width: 768px) {
    .philo-modal { padding: 16px; }
    .philo-modal__dialog { padding: 28px 20px; }
}

/* ===== Модальное окно заявки (корпоратив) ===== */
.corp-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: philoFade 0.3s ease;
}
.corp-modal[hidden] { display: none; }

.corp-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 7, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.corp-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    max-height: 94vh;
    overflow-y: auto;
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    border-top: 3px solid var(--accent-lavender);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
    scrollbar-width: thin;
    scrollbar-color: rgba(110, 231, 183, 0.45) transparent;
}
.corp-modal__dialog::-webkit-scrollbar { width: 6px; }
.corp-modal__dialog::-webkit-scrollbar-track { background: transparent; }
.corp-modal__dialog::-webkit-scrollbar-thumb {
    background: rgba(110, 231, 183, 0.45);
    border-radius: 9999px;
}
.corp-modal__dialog::-webkit-scrollbar-thumb:hover { background: rgba(110, 231, 183, 0.7); }

.corp-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
}
.corp-modal__close:hover { color: var(--text-primary); }

.corp-modal__eyebrow {
    color: var(--accent-lavender);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 8px;
}
.corp-modal__title {
    color: var(--accent-lavender);
    margin-bottom: 8px;
}
.corp-modal__subtitle {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
}

/* Textarea в стиле полей формы */
.form-textarea {
    resize: vertical;
    min-height: 48px;
    line-height: 1.5;
}

/* Подсказки под полями */
.form-hint {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--text-secondary);
    opacity: 0.65;
}

/* Поле времени: тёмная схема нативного пикера (иконка часов видна на тёмном фоне) */
.form-input--time {
    color-scheme: dark;
}
.form-input--time::-webkit-calendar-picker-indicator {
    filter: invert(85%) sepia(20%);
    cursor: pointer;
    opacity: 0.7;
}
.form-input--time::-webkit-calendar-picker-indicator:hover { opacity: 1; }

body.corp-open { overflow: hidden; }

@media (max-width: 768px) {
    .corp-modal { padding: 16px; }
    .corp-modal__dialog { padding: 28px 20px; }
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(232, 213, 196, 0.3);
    transform: translateY(-50%) scale(1.05);
}

.carousel-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.carousel-arrow--prev { left: 16px; }
.carousel-arrow--next { right: 16px; }

.carousel-progress {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.progress-line {
    width: 40px;
    height: 2px;
    background: var(--text-primary);
    opacity: 0.2;
    transition: opacity 0.4s ease;
    border-radius: 1px;
    cursor: pointer;
}

.progress-line.active { opacity: 0.8; }

@media (max-width: 768px) {
    .carousel-arrow { width: 44px; height: 44px; }
    .carousel-arrow--prev { left: 8px; }
    .carousel-arrow--next { right: 8px; }
    .progress-line { width: 24px; }
}

/* ================== CORPORATE SECTION ================== */
.corporate-section {
    position: relative;
    z-index: 5;
    background: var(--bg-primary);
}

.corporate-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    height: 60%;
    background: radial-gradient(ellipse at center top,
        rgba(168, 180, 255, 0.06) 0%,
        transparent 70%);
    pointer-events: none;
}

.corporate-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: start;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.corporate-section.visible .corporate-container {
    opacity: 1;
    transform: translateY(0);
}

.corporate-eyebrow {
    color: var(--accent-lavender);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 16px;
    display: block;
}

.corporate-title {
    margin-bottom: 24px;
    color: var(--text-primary);
}

.corporate-lead {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 48px;
    font-size: clamp(15px, 1.4vw, 18px);
}

.corporate-benefits {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.benefit {
    display: grid;
    grid-template-columns: 68px 1fr;
    column-gap: 24px;
    align-items: start;
}

.benefit-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    overflow: visible;
    position: relative;
    background: radial-gradient(circle, rgba(232, 213, 196, 0.08) 0%, rgba(26, 34, 28, 0) 68%);
    grid-row: 1 / 3;
}

.benefit-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    background:
        radial-gradient(circle at 50% 50%, rgba(232, 213, 196, 0.05) 0%, rgba(26, 34, 28, 0) 72%),
        radial-gradient(circle at 50% 50%, rgba(110, 231, 183, 0.06) 0%, rgba(26, 34, 28, 0) 64%);
    pointer-events: none;
}

.benefit-icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    mix-blend-mode: screen;
    opacity: 0.9;
    filter: saturate(0.9) brightness(1.35) contrast(1.15);
    -webkit-mask-image: radial-gradient(circle at center, #000 62%, transparent 88%);
    mask-image: radial-gradient(circle at center, #000 62%, transparent 88%);
}

.benefit h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 22px;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.benefit p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

.corporate-card {
    padding: 40px;
}

.corporate-card-title {
    margin-bottom: 32px;
    color: var(--text-primary);
    text-align: center;
}

.corporate-conditions {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.corporate-conditions li {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    align-items: start;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.corporate-conditions li:last-child {
    border-bottom: none;
}

.condition-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.condition-value {
    color: var(--text-primary);
    line-height: 1.5;
    font-size: 15px;
}

.condition-note {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.4;
}

.corporate-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, var(--accent-lavender), var(--accent-mint));
    color: var(--bg-primary);
    padding: 16px 32px;
    border: none;
    border-radius: 9999px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.corporate-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(168, 180, 255, 0.25);
}

/* Вторичная (ghost) корпоративная кнопка */
.corporate-cta--ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}
.corporate-cta--ghost:hover {
    border-color: rgba(232, 213, 196, 0.5);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
}

.corporate-or {
    text-align: center;
    margin: 16px 0;
    color: var(--text-secondary);
    font-size: 13px;
    text-transform: lowercase;
    letter-spacing: 0.2em;
}

.corporate-call {
    display: block;
    text-align: center;
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: color 0.3s ease;
}

.corporate-call:hover { color: var(--accent-mint); }

@media (max-width: 1024px) {
    .corporate-container {
        grid-template-columns: 1fr;
        gap: 48px;
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .corporate-card { padding: 24px; }
    .corporate-conditions li {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .corporate-benefits { gap: 24px; }
}

/* ================== FAQ SECTION ================== */
.faq-section {
    position: relative;
    z-index: 5;
    background: var(--bg-primary);
}

.faq-header {
    text-align: center;
    margin-bottom: var(--header-mb);
}

.faq-title {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.faq-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    cursor: pointer;
    transition: color 0.3s ease;
    user-select: none;
}
.faq-question:hover { color: var(--accent-mint); }
.faq-question h3 { flex: 1; padding-right: 24px; margin: 0; }

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background-color: currentColor;
    transition: background-color 0.3s ease;
}
.faq-icon::before { width: 100%; height: 1px; top: 50%; left: 0; transform: translateY(-50%); }
.faq-icon::after { width: 1px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); }

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-mint);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-answer.open { grid-template-rows: 1fr; }

.faq-answer-inner { overflow: hidden; }

.faq-answer-content {
    padding-bottom: 24px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease 0.1s;
}
.faq-answer.open .faq-answer-content {
    opacity: 1;
    transform: translateY(0);
}
.faq-answer-content p {
    color: var(--text-secondary);
    max-width: 650px;
}

.telegram-cta {
    text-align: center;
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.telegram-text {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.telegram-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: transparent;
    border: 1px solid #2AABEE;
    color: #2AABEE;
    border-radius: 100px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}
.telegram-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(42, 171, 238, 0.2), transparent);
    transition: left 0.5s ease;
}
.telegram-btn:hover {
    background: rgba(42, 171, 238, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(42, 171, 238, 0.2);
}
.telegram-btn:hover::before { left: 100%; }

.telegram-icon { width: 20px; height: 20px; fill: currentColor; }


/* ================== CONTACTS SECTION ================== */
.contacts-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;   /* было center — резало контент */
    padding-top: var(--section-py);
    padding-bottom: var(--section-py);
    overflow: hidden;
}

.map-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: url('./map.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.content-overlay {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.content-overlay.visible {
    opacity: 1;
    transform: translateY(0);
}

.info-column { padding: 40px; }
.info-column::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(168, 180, 255, 0.06), transparent 60%);
    pointer-events: none;
    border-radius: 24px;
}

.info-column h2 {
    margin-bottom: 24px;
    color: var(--text-primary);
}

.info-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(110, 231, 183, 0.1);
    border: 1px solid rgba(110, 231, 183, 0.3);
    border-radius: 100px;
    color: var(--accent-mint);
    margin-bottom: 24px;
}

/* Блок формата: рамка-разделитель + акцент-точка заголовка */
.info-block {
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--glass-border);
    --dot: var(--accent-lavender);
}

.info-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-block--contact { --dot: var(--accent-mint); }

/* Заголовок блока — главный якорь иерархии:
   крупный серив + полная непрозрачность + цветная точка-маркер */
.info-block-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(24px, 2.4vw, 28px);
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-primary);
    opacity: 1;
    letter-spacing: 0.01em;
}

.info-block-title::before {
    content: '';
    flex: none;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--dot);
    box-shadow: 0 0 12px var(--dot);
}

/* Пара «подпись → значение» теперь располагается в столбик */
.info-item { margin-bottom: 18px; }
.info-item:last-child { margin-bottom: 0; }

/* Подпись — тихий надстрочник НАД значением (как в корпоративной карточке) */
.info-label {
    display: block;
    margin-bottom: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 11px;
    line-height: 1.3;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* Значение — основной читаемый текст блока */
.info-value {
    display: block;
    font-size: 16px;
    line-height: 1.55;
    color: var(--text-primary);
}
.info-value a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid rgba(232, 213, 196, 0.3);
}
.info-value a:hover {
    color: var(--accent-mint);
    border-color: var(--accent-mint);
}

/* Список адресов: обе строки одним шрифтом (.info-value) + дефис-маркер */
.address-line {
    display: block;
    position: relative;
    padding-left: 18px;
}
.address-line + .address-line {
    margin-top: 6px;
}
.address-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 1px;
    background: var(--accent-mint);
}

.schedule-note {
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 10px;
    line-height: 1.5;
}

/* Блок «Связь»: телефон и Telegram — в столбик с равным ритмом */
.info-block--contact .info-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-link {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(232, 213, 196, 0.3);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-mint);
    border-color: var(--accent-mint);
}

.contact-link--telegram {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-lavender);
    border-bottom: none;
}

.form-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.form-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(168, 180, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.form-title { margin-bottom: 8px; text-align: center; }
.form-subtitle {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 32px;
}

.form-select {
    appearance: none;
    cursor: pointer;
    padding-right: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23E8D5C4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    /* тёмная схема, чтобы нативное выпадающее меню было в тёмной гамме */
    color-scheme: dark;
}

/* Выпадающее меню select: фон — тёмно-зелёный сайта, текст — пыльное золото */
.form-select option {
    background-color: var(--bg-primary);
    color: var(--accent-gold);
}
.form-select option:checked,
.form-select option:hover {
    background-color: #232e26;
    color: var(--text-primary);
}

.time-suggestion {
    margin-top: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px dashed rgba(168, 180, 255, 0.3);
}
.time-suggestion input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    outline: none;
    margin-top: 8px;
}
.time-suggestion input::placeholder { color: rgba(232, 213, 196, 0.4); }

.submit-btn { width: 100%; margin-top: 16px; }

.success-message {
    display: none;
    text-align: center;
    padding: 32px 0;
    animation: fadeIn 0.5s ease;
}
.success-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: rgba(110, 231, 183, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-mint);
    animation: breathe 2s ease-in-out infinite;
}
.success-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    margin-bottom: 8px;
}
.success-subtext { color: var(--text-secondary); line-height: 1.5; }

/* Градиентные заголовки: заливка применяется ТОЛЬКО при поддержке
   background-clip:text. Иначе остаётся cream-фолбэк (color выше) и текст
   никогда не пропадает. Стопы сдвинуты: большая часть глифа — cream,
   лаванда уходит в хвост (>100%) и не опускается по контрасту. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .faq-title,
    .corporate-title,
    .info-column h2 {
        background: linear-gradient(180deg, var(--text-primary) 0%, var(--text-primary) 45%, var(--accent-lavender) 118%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
    .section-title {
        background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-primary) 45%, var(--accent-lavender) 115%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
}

/* Анимации */
@keyframes reveal { to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { to { opacity: 1; transform: scale(1); } }
@keyframes breathe { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.8; } }
@keyframes pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.8; } }
@keyframes scrollLine { 0%, 100% { transform: scaleY(1); opacity: 0.4; } 50% { transform: scaleY(1.5); opacity: 0.8; } }
@keyframes fallbackDrift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Адаптив */
@media (max-width: 1024px) {
    .philosophy-card { flex: 0 0 calc(50% - 16px); }
    .nav { padding: 24px; }
}

@media (max-width: 900px) {
    .content-overlay { grid-template-columns: 1fr; }
    .map-wrapper { opacity: 0.2; }
    /* На мобиле форма записи — первой, инфо-блок — под ней */
    .form-card { order: -1; margin-bottom: 24px; }
}

/* ============================================================ */
/*  ФУТЕР                                                       */
/* ============================================================ */

.site-footer {
    position: relative;
    z-index: 10;
    background: var(--bg-primary);
    color: var(--text-secondary);
    padding: clamp(64px, 8vmin, 96px) 24px clamp(28px, 4vmin, 36px);
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand-logo {
    width: 56px;
    height: 56px;
    opacity: 0.9;
}

.footer-brand-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 22px;
    color: var(--text-primary);
    margin: 0;
}

.footer-brand-slogan {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    max-width: 280px;
}

.footer-col h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin: 0 0 16px 0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.4;
    border-bottom: 1px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent-mint);
    border-bottom-color: var(--accent-mint);
}

.footer-col p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-primary);
}

.footer-col p + p { margin-top: 8px; }

.footer-divider {
    max-width: 1200px;
    margin: clamp(36px, 5vmin, 56px) auto clamp(20px, 3vmin, 28px);
    border: none;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
}

/* Плашка «Разработано TEK lab» — деликатный вариант
   («TEK» cream, «lab» мятный) */
.tek-lab-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.tek-lab-badge:hover { opacity: 1; }

.tek-lab-badge span:nth-child(2) {
    color: var(--text-primary);
}

.tek-lab-badge span:nth-child(3) {
    color: var(--accent-mint);
}

/* Чекбокс согласия в форме записи */
.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0 24px;
    cursor: pointer;
    user-select: none;
}

.form-consent input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.form-consent-box {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border: 1px solid rgba(232, 213, 196, 0.35);
    border-radius: 3px;
    background: transparent;
    transition: border-color 0.3s ease, background 0.3s ease;
    position: relative;
}

.form-consent-box::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--accent-mint);
    border-radius: 1px;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.form-consent input:checked + .form-consent-box {
    border-color: var(--accent-mint);
}

.form-consent input:checked + .form-consent-box::after {
    opacity: 1;
    transform: scale(1);
}

.form-consent input:focus-visible + .form-consent-box {
    outline: 2px solid var(--accent-mint);
    outline-offset: 2px;
}

.form-consent-text {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.form-consent-text a {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(232, 213, 196, 0.3);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.form-consent-text a:hover {
    color: var(--accent-mint);
    border-bottom-color: var(--accent-mint);
}

.form-consent-error .form-consent-box {
    border-color: var(--accent-peach);
    animation: shake 0.4s ease;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

/* ============================================================ */
/*  ЮРИДИЧЕСКИЕ СТРАНИЦЫ                                        */
/* ============================================================ */

.legal-page {
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Упрощённая шапка юр.страницы: только лого слева, кнопка справа */
.legal-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background: rgba(26, 34, 28, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.legal-nav a.legal-nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.legal-nav a.legal-nav-logo img {
    width: 36px;
    height: 36px;
}

.legal-nav-cta {
    padding: 8px 20px;
    background: var(--accent-mint);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legal-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(110, 231, 183, 0.3);
}

/* Основной контент юр.страницы */
.legal-main {
    flex: 1;
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
    padding: clamp(48px, 6vmin, 80px) 24px clamp(56px, 8vmin, 96px);
}

.legal-header {
    margin-bottom: clamp(36px, 5vmin, 56px);
    padding-bottom: 28px;
    border-bottom: 1px solid var(--glass-border);
}

.legal-eyebrow {
    margin: 0 0 12px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.legal-main h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: clamp(32px, 5vmin, 48px);
    line-height: 1.15;
    color: var(--text-primary);
    margin: 0 0 16px;
}

.legal-updated {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-secondary);
    font-style: italic;
}

.legal-main section {
    margin-bottom: clamp(24px, 4vmin, 40px);
}

.legal-main h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(20px, 2.4vmin, 24px);
    line-height: 1.3;
    color: var(--text-primary);
    margin: 0 0 14px;
}

.legal-main p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-primary);
    margin: 0 0 12px;
}

.legal-main p:last-child { margin-bottom: 0; }

.legal-main ul, .legal-main ol {
    margin: 0 0 12px;
    padding-left: 22px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-primary);
}

.legal-main ul li, .legal-main ol li {
    margin-bottom: 6px;
}

.legal-main a {
    color: var(--accent-mint);
    text-decoration: none;
    border-bottom: 1px solid rgba(110, 231, 183, 0.35);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.legal-main a:hover {
    color: var(--text-primary);
    border-bottom-color: var(--text-primary);
}

.legal-main strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Список «термин-значение» (например, в реквизитах) */
.legal-dl {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 12px 24px;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

.legal-dl dt {
    color: var(--text-secondary);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    align-self: center;
}

.legal-dl dd {
    margin: 0;
    color: var(--text-primary);
}

@media (max-width: 600px) {
    .legal-nav { padding: 12px 16px; }
    .legal-dl {
        grid-template-columns: 1fr;
        gap: 4px 0;
    }
    .legal-dl dt { margin-top: 12px; }
    .legal-dl dt:first-child { margin-top: 0; }
}

/* ============================================================ */
/*  ФОРМА ЗАПИСИ — КВИЗ-СТИЛЬ                                   */
/* ============================================================ */

.form-card form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-group {
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-legend {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.3;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    padding: 0;
    margin: 0 0 4px;
}

.form-hint {
    margin: 4px 0 0;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: var(--text-secondary);
}

.form-hint--reassure {
    font-style: italic;
    margin-top: 8px;
}

/* Сетка опций для крупных карточек выбора (формат) */
.form-options--grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.form-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.form-option-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid rgba(232, 213, 196, 0.18);
    border-radius: 10px;
    background: rgba(232, 213, 196, 0.02);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.form-option:hover .form-option-box {
    border-color: rgba(232, 213, 196, 0.4);
    background: rgba(232, 213, 196, 0.05);
}

.form-option input:checked + .form-option-box {
    border-color: var(--accent-mint);
    background: rgba(110, 231, 183, 0.07);
}

.form-option input:focus-visible + .form-option-box {
    outline: 2px solid var(--accent-mint);
    outline-offset: 2px;
}

.form-option-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-primary);
}

.form-option-hint {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--text-secondary);
}

/* Чипы (время, опыт, канал связи) */
.form-options--chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.form-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.form-chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    min-height: 36px;
    border: 1px solid rgba(232, 213, 196, 0.22);
    border-radius: 100px;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-primary);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    user-select: none;
}

.form-chip:hover span {
    border-color: rgba(232, 213, 196, 0.45);
}

.form-chip input:checked + span {
    border-color: var(--accent-mint);
    background: rgba(110, 231, 183, 0.12);
    color: var(--text-primary);
}

.form-chip input:focus-visible + span {
    outline: 2px solid var(--accent-mint);
    outline-offset: 2px;
}

/* Поля ввода */
.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.form-field input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(232, 213, 196, 0.25);
    padding: 8px 0;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s ease;
}

.form-field input::placeholder {
    color: rgba(232, 213, 196, 0.35);
}

.form-field input:focus {
    border-bottom-color: var(--accent-mint);
}

.form-field[hidden] { display: none; }

/* Альтернативная кнопка под формой */
.form-alt {
    text-align: center;
    margin: 0;
    padding-top: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-secondary);
}

.form-alt a {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(232, 213, 196, 0.35);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.form-alt a:hover {
    color: var(--accent-mint);
    border-bottom-color: var(--accent-mint);
}

.success-channel-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 22px;
    background: transparent;
    border: 1px solid var(--accent-mint);
    border-radius: 100px;
    color: var(--accent-mint);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.success-channel-btn:hover {
    background: rgba(110, 231, 183, 0.1);
}

@media (max-width: 480px) {
    .form-options--grid-2 {
        grid-template-columns: 1fr;
    }
    .form-card form {
        gap: 22px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .footer-brand-slogan { max-width: none; }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .menu-button { display: flex; z-index: 1001; position: relative; }

    /* Возвращаем привычный порядок: лого слева, бургер справа */
    .nav { justify-content: space-between; }
    .logo { order: 0; }
    .menu-button { order: 1; }

    /* Увеличиваем зону нажатия у текстовых ссылок на мобиле */
    .contact-link,
    .info-value a,
    .corporate-call {
        display: inline-block;
        padding: 8px 0;
        min-height: 44px;
    }
    .schedule-note a { padding: 6px 0; display: inline-block; }

    /* Карта-подложка скрыта на мобиле — тяжёлый сторонний embed ради декорации */
    .map-wrapper { display: none; }
    .info-column, .form-card { background: var(--glass-bg); }

    .nav-links {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
        z-index: 1000;
    }

    .nav-links.open { opacity: 1; pointer-events: all; }
    .nav-link { font-size: 24px; font-family: 'Cormorant Garamond', serif; font-weight: 300; }
    body.nav-open { overflow: hidden; }

    .menu-button.open .menu-line:first-child { transform: translateY(4px) rotate(45deg); }
    .menu-button.open .menu-line:last-child { transform: translateY(-4px) rotate(-45deg); }

    .horizontal-scroll-container {
        padding: 0 24px;
    }
    .philosophy-card {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
        height: auto;
    }
    .faq-question h3 { font-size: 20px; }
}

@media (min-width: 769px) {
    .menu-button { display: none; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ================================================ */
/* TRAINER SECTION                                   */
/* ================================================ */

.trainer-section {
    position: relative;
    z-index: 5;
    background: var(--bg-primary);
}

.trainer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 80px;
    align-items: start;
}

.trainer-photo-wrap {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 5;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

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



.trainer-certs {
    margin-top: 24px;
}

.trainer-certs-label {
    color: var(--text-secondary);
    margin-bottom: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trainer-certs-grid {
    display: flex;
    gap: 12px;
}

.cert-thumb {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.3s ease, transform 0.3s ease;
    flex: 1;
    aspect-ratio: 10 / 7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 11px;
    font-family: 'Inter', sans-serif;
}

.cert-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cert-thumb:hover {
    border-color: rgba(110, 231, 183, 0.4);
    transform: translateY(-2px);
}

.trainer-bio {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--text-primary);
    line-height: 1.7;
    font-size: var(--fs-body);
    margin-bottom: 40px;
}

.trainer-bio p {
    opacity: 0.85;
}

.trainer-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 768px) {
    .trainer-cta-row {
        justify-content: center;
    }
}

.trainer-cta {
    display: inline-flex;
}

/* Модалка сертификата */
.cert-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-modal[hidden] {
    display: none;
}

.cert-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 11, 0.85);
    cursor: pointer;
}

.cert-modal__content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-modal__img {
    display: block;
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
}

.cert-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(26, 34, 28, 0.8);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 2;
}

.cert-modal__close:hover {
    background: rgba(110, 231, 183, 0.2);
}

@media (max-width: 900px) {
    .trainer-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .trainer-photo-wrap {
        max-width: 360px;
        margin: 0 auto;
    }

    .trainer-certs-grid {
        max-width: 360px;
    }
}

/* ================================================ */
/* REVIEWS SECTION                                   */
/* ================================================ */

.reviews-section {
    position: relative;
    z-index: 5;
    background: var(--bg-primary);
}

.reviews-aggregate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 56px;
}

.reviews-stars {
    font-size: 24px;
    color: var(--accent-mint);
    letter-spacing: 2px;
}

.reviews-score {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 300;
    color: var(--text-primary);
}

.reviews-count {
    font-family: 'Inter', sans-serif;
    font-size: var(--fs-caption);
    color: var(--text-secondary);
}

.reviews-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.review-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-lavender), var(--accent-mint));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--bg-primary);
}

.review-author {
    font-family: 'Inter', sans-serif;
    font-size: var(--fs-body);
    font-weight: 600;
    color: var(--text-primary);
}

.review-meta {
    color: var(--text-secondary);
    margin-top: 2px;
}

.review-rating {
    margin-left: auto;
    color: var(--accent-mint);
    font-size: 14px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.review-text {
    font-size: var(--fs-body);
    color: var(--text-primary);
    opacity: 0.8;
    line-height: 1.7;
}

.reviews-cta {
    text-align: center;
    margin-top: 48px;
}

.reviews-all-link {
    font-family: 'Inter', sans-serif;
    font-size: var(--fs-body);
    color: var(--accent-mint);
    text-decoration: none;
    border-bottom: 1px solid rgba(110, 231, 183, 0.3);
    padding-bottom: 2px;
    transition: border-color 0.3s ease;
}

.reviews-all-link:hover {
    border-color: var(--accent-mint);
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-card {
        padding: 24px;
    }
}

/* ============================================================ */
/*  ПОСАДОЧНЫЕ СТРАНИЦЫ (.lp-*)                                  */
/* ============================================================ */

.lp-main {
    flex: 1;
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    padding: clamp(72px, 10vmin, 120px) 24px clamp(64px, 8vmin, 96px);
}

/* Хлебные крошки */
.lp-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: clamp(32px, 5vmin, 56px);
    flex-wrap: wrap;
}

.lp-breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.25s ease;
}

.lp-breadcrumbs a:hover { color: var(--accent-mint); }
.lp-breadcrumbs [aria-current="page"] { color: var(--text-primary); }

/* Hero */
.lp-hero {
    text-align: center;
    padding: clamp(40px, 6vmin, 80px) 0 clamp(48px, 7vmin, 96px);
}

.lp-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-mint);
    margin: 0 0 20px;
}

.lp-h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: clamp(36px, 6vw, 72px);
    line-height: 1.1;
    color: var(--text-primary);
    margin: 0 0 24px;
}

.lp-lead {
    font-family: 'Inter', sans-serif;
    font-size: clamp(15px, 1.8vw, 18px);
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 36px;
}

.lp-cta-primary {
    display: inline-block;
    background: var(--accent-mint);
    color: var(--bg-primary, #1A221C);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    transition: opacity 0.25s ease, transform 0.2s ease;
    margin-bottom: 24px;
}

.lp-cta-primary:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

.lp-hero-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-secondary);
}

.lp-stars { color: #F5B941; letter-spacing: 2px; }
.lp-stars--sm { font-size: 12px; letter-spacing: 1px; }
.lp-rating-text { color: var(--text-secondary); }

/* Секции */
.lp-section {
    margin-bottom: clamp(56px, 8vmin, 96px);
}

.lp-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: clamp(26px, 3.5vw, 42px);
    line-height: 1.2;
    color: var(--text-primary);
    margin: 0 0 clamp(24px, 3vmin, 40px);
}

/* Карточки преимуществ (3 колонки) */
.lp-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

.lp-card {
    padding: 28px 24px;
}

.lp-card-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(110, 231, 183, 0.08);
}

.lp-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
    margin: 0 0 10px;
}

.lp-card-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
}

/* Расписание */
.lp-schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 16px;
}

.lp-schedule-block {
    padding: 28px 24px;
}

.lp-schedule-place {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.lp-schedule-district {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0 0 20px;
    letter-spacing: 0.04em;
}

.lp-schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lp-schedule-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.lp-day { color: var(--text-secondary); }

.lp-time {
    font-weight: 500;
    color: var(--accent-mint);
}

.lp-schedule-note {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    font-style: italic;
}

/* Галерея */
.lp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.lp-gallery-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

/* Тизер тренера */
.lp-trainer-inner {
    padding: 36px 40px;
}

.lp-trainer-text {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0 0 20px;
}

/* Отзывы */
.lp-review {
    padding: 28px 24px;
    margin: 0;
}

.lp-review-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(16px, 1.8vw, 19px);
    line-height: 1.5;
    color: var(--text-primary);
    margin: 0 0 16px;
    font-style: italic;
}

.lp-review-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-secondary);
}

.lp-review-author strong { color: var(--text-primary); }

.lp-reviews-link {
    margin-top: 20px;
    text-align: right;
}

/* FAQ (details/summary) */
.lp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-faq-item {
    padding: 0;
    overflow: hidden;
}

.lp-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 20px 24px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: var(--text-primary);
    list-style: none;
    user-select: none;
    transition: color 0.25s ease;
}

.lp-faq-q::-webkit-details-marker { display: none; }

.lp-faq-q::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    color: var(--accent-mint);
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.25s ease;
}

.lp-faq-item[open] .lp-faq-q::after {
    transform: rotate(45deg);
}

.lp-faq-a {
    padding: 0 24px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.lp-faq-a a {
    color: var(--accent-mint);
    text-decoration: none;
    border-bottom: 1px solid rgba(110, 231, 183, 0.35);
    transition: border-color 0.25s ease;
}

.lp-faq-a a:hover { border-color: var(--accent-mint); }

/* Цена тизер */
.lp-price-teaser {
    text-align: center;
}

.lp-price-inner {
    display: inline-block;
    padding: 40px 60px;
    text-align: center;
}

.lp-price-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.lp-price-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 300;
    color: var(--accent-mint);
    line-height: 1;
    margin-bottom: 4px;
}

.lp-price-orig {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: line-through;
    margin-bottom: 16px;
}

.lp-price-note {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.lp-price-note a {
    color: var(--accent-mint);
    text-decoration: none;
    border-bottom: 1px solid rgba(110, 231, 183, 0.35);
}

/* Форма записи */
.lp-booking {
    text-align: center;
}

.lp-booking-sub {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0 0 clamp(24px, 3vmin, 40px);
}

.lp-booking-card {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px;
    text-align: left;
}

.lp-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.lp-form--compact {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
}

.lp-submit {
    width: 100%;
    background: var(--accent-mint);
    color: var(--bg-primary, #1A221C);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 16px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: opacity 0.25s ease, transform 0.2s ease;
}

.lp-submit:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.lp-booking-alt {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.lp-booking-alt p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 12px;
}

.lp-tg-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(110, 231, 183, 0.1);
    border: 1px solid rgba(110, 231, 183, 0.3);
    color: var(--accent-mint);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.lp-tg-btn:hover {
    background: rgba(110, 231, 183, 0.18);
    border-color: var(--accent-mint);
}

.lp-tg-btn--large {
    font-size: 16px;
    padding: 16px 36px;
}

/* Корп CTA */
.lp-corp-cta {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
}

.lp-corp-note {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-secondary);
    margin: 20px 0 0;
}

/* Шаги "Как проходит" */
.lp-how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.lp-how-step {
    padding: 28px 24px;
    position: relative;
}

.lp-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(110, 231, 183, 0.4);
    color: var(--accent-mint);
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 16px;
}

.lp-step-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    margin: 0 0 10px;
}

.lp-step-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
}

/* Тренер тизер */
.lp-trainer-teaser .lp-section-title {
    margin-bottom: 16px;
}

/* Ссылка-стрелка */
.lp-link-arrow {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--accent-mint);
    text-decoration: none;
    border-bottom: 1px solid rgba(110, 231, 183, 0.35);
    padding-bottom: 2px;
    transition: border-color 0.25s ease;
    display: inline-block;
}

.lp-link-arrow:hover { border-color: var(--accent-mint); }

/* Блок перелинковки */
.lp-related-title {
    font-size: clamp(22px, 2.8vw, 32px);
}

.lp-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.lp-related-card {
    padding: 24px;
    text-decoration: none;
    display: block;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.lp-related-card:hover {
    transform: translateY(-4px);
    border-color: rgba(110, 231, 183, 0.3);
}

.lp-related-card h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.lp-related-card p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0 0 16px;
}

/* Dropdown в навигации */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.nav-dropdown-arrow {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown.open .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26, 34, 28, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 8px;
    list-style: none;
    margin: 0;
    min-width: 200px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 100;
}

.nav-submenu::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 10px;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown.open .nav-submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-submenu li a {
    display: block;
    padding: 10px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-submenu li a:hover {
    background: rgba(110, 231, 183, 0.1);
    color: var(--accent-mint);
}

/* Мобильный адаптив */
@media (max-width: 768px) {
    .lp-cards-grid,
    .lp-how-steps,
    .lp-related-grid {
        grid-template-columns: 1fr;
    }

    .lp-cards-grid--2 {
        grid-template-columns: 1fr;
    }

    .lp-schedule-grid {
        grid-template-columns: 1fr;
    }

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

    .lp-hero { padding: 24px 0 48px; }

    .lp-booking-card,
    .lp-corp-cta {
        padding: 24px 20px;
    }

    .lp-price-inner {
        padding: 32px 28px;
        display: block;
    }

    .lp-trainer-inner {
        padding: 24px 20px;
    }

    .nav-submenu {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        background: transparent;
        border: none;
        padding: 0;
        border-radius: 0;
        backdrop-filter: none;
    }
}

/* ============================================================ */
/*  СТРАНИЦА ЦЕН (.price-*)                                      */
/* ============================================================ */

.price-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.price-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.price-card {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.price-card--featured {
    border-color: rgba(110, 231, 183, 0.35);
}

.price-card--promo {
    border-color: rgba(255, 180, 162, 0.3);
}

.price-badge {
    position: absolute;
    top: -1px;
    right: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 0 0 8px 8px;
    background: rgba(255, 180, 162, 0.2);
    color: var(--accent-peach, #FFB4A2);
    border: 1px solid rgba(255, 180, 162, 0.3);
    border-top: none;
}

.price-badge--accent {
    background: rgba(110, 231, 183, 0.15);
    color: var(--accent-mint);
    border-color: rgba(110, 231, 183, 0.3);
}

.price-card-name {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    margin: 0 0 16px;
}

.price-card-amount {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.price-cur {
    font-size: 0.6em;
    vertical-align: top;
    margin-top: 8px;
    display: inline-block;
}

.price-card-orig {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: line-through;
    margin-bottom: 8px;
}

.price-card-per {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--accent-mint);
    margin-bottom: 16px;
}

.price-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.price-card-features li {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
}

.price-card-features li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: rgba(110, 231, 183, 0.5);
}

.price-note {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

/* Индивидуальные / корпоративные */
.price-individual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 36px 40px;
}

.price-ind-left {
    flex: 1;
}

.price-ind-right {
    text-align: center;
    flex-shrink: 0;
}

.price-ind-name {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--text-primary);
    margin: 0 0 12px;
}

.price-ind-note {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0 0 20px;
}

.price-ind-from {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

/* Условия */
.conditions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.condition-item {
    padding: 24px;
}

.condition-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    margin: 0 0 10px;
}

.condition-text {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
}

.condition-text a {
    color: var(--accent-mint);
    text-decoration: none;
    border-bottom: 1px solid rgba(110, 231, 183, 0.35);
}

/* ============================================================ */
/*  СТРАНИЦА ТРЕНЕРА (.trainer-page-*)                           */
/* ============================================================ */

.trainer-page-hero {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 56px;
    margin-bottom: clamp(56px, 8vmin, 96px);
    align-items: start;
}

.trainer-page-photo-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trainer-page-photo-wrap {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.trainer-page-photo {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.trainer-page-cert-single {
    display: block;
    width: 100%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    margin-top: 20px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.trainer-page-cert-single img {
    width: 100%;
    height: auto;
    display: block;
}

.trainer-page-cert-single:hover {
    border-color: rgba(110, 231, 183, 0.4);
    transform: translateY(-2px);
}

.trainer-page-cert-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-mint);
    text-align: center;
    padding: 10px 0;
}

.trainer-page-credential {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-secondary);
    margin: -16px 0 32px;
    letter-spacing: 0.03em;
}

.trainer-page-bio {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.trainer-page-bio p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0;
}

.trainer-page-quote {
    border-left: 2px solid var(--accent-mint);
    padding: 16px 0 16px 24px;
    margin: 0 0 32px;
}

.trainer-page-quote p {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(18px, 2.2vw, 24px);
    line-height: 1.45;
    color: var(--text-primary);
    font-style: italic;
    margin: 0 0 8px;
}

.trainer-page-quote cite {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-secondary);
    font-style: normal;
}

/* ============================================================ */
/*  СТРАНИЦА ОТЗЫВОВ (.reviews-page-*)                           */
/* ============================================================ */

.reviews-page-summary {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 16px 32px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.rev-summary-stars {
    color: #F5B941;
    font-size: 22px;
    letter-spacing: 3px;
}

.rev-summary-score {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1;
}

.rev-summary-count {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-secondary);
}

.rev-summary-sources {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.rev-source-badge {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    white-space: nowrap;
}

.reviews-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.reviews-page-card {
    padding: 24px;
}

.rev-card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.rev-card-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(110, 231, 183, 0.12);
    border: 1px solid rgba(110, 231, 183, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: var(--accent-mint);
    flex-shrink: 0;
}

.rev-card-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rev-card-name {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.rev-card-info {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--text-secondary);
}

.rev-card-stars {
    color: #F5B941;
    font-size: 13px;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.rev-card-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-primary);
    margin: 0 0 12px;
}

.rev-card-format {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: rgba(110, 231, 183, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3px 10px;
    display: inline-block;
}

.reviews-page-cta {
    text-align: center;
    padding: 40px 0 0;
    border-top: 1px solid var(--glass-border);
}

.reviews-page-cta-text {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0 0 16px;
}

.reviews-page-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Мобильный адаптив для новых блоков */
@media (max-width: 900px) {
    .price-grid { grid-template-columns: repeat(2, 1fr); }
    .trainer-page-hero { grid-template-columns: 1fr; gap: 32px; }
    .trainer-page-photo-col { max-width: 360px; }
}

@media (max-width: 768px) {
    .price-grid,
    .price-grid--3,
    .conditions-grid,
    .reviews-page-grid { grid-template-columns: 1fr; }

    .price-individual {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
        gap: 20px;
    }

    .price-ind-right { text-align: left; }
}

/* ============================================================ */
/*  БЛОГ                                                        */
/* ============================================================ */

.blog-hero {
    padding-top: clamp(28px, 4vmin, 48px);
}

.blog-hero-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-tag {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: rgba(110, 231, 183, 0.06);
}

.blog-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    overflow: hidden;
    padding: 0;
}

.blog-featured-media {
    min-height: 100%;
}

.blog-featured-media img,
.blog-card-media img,
.blog-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-featured-content {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    overflow: hidden;
    min-height: 100%;
}

.blog-card-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}

.blog-card-media img,
.blog-featured-media img {
    transition: transform 0.35s ease;
}

.blog-card:hover .blog-card-media img,
.blog-featured:hover .blog-featured-media img {
    transform: scale(1.03);
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.blog-card-meta {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-mint);
}

.blog-card-title {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.08;
    color: var(--text-primary);
}

.blog-grid .blog-card-title {
    font-size: clamp(24px, 2.4vw, 34px);
}

.blog-card-excerpt {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.blog-card .lp-link-arrow {
    margin-top: auto;
}

.blog-principles {
    padding: 32px;
}

.blog-article-shell {
    max-width: 840px;
    margin: 0 auto;
}

.blog-article-head {
    margin-bottom: 48px;
}

.blog-article-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: 0 0 22px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.blog-article-lead {
    max-width: 760px;
    margin: 0 auto 32px;
    font-family: 'Inter', sans-serif;
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.85;
    color: var(--text-secondary);
    text-align: center;
}

.blog-cover {
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.blog-cover img {
    aspect-ratio: 16 / 9;
}

.blog-cover figcaption {
    padding: 16px 20px;
    border-top: 1px solid var(--glass-border);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.blog-prose {
    color: var(--text-primary);
}

.blog-prose section {
    margin-bottom: 42px;
}

.blog-prose h2,
.blog-prose h3 {
    margin: 0 0 18px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    color: var(--text-primary);
}

.blog-prose h2 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
}

.blog-prose h3 {
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.2;
}

.blog-prose p,
.blog-prose li {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-secondary);
}

.blog-prose p {
    margin: 0 0 16px;
}

.blog-prose ul,
.blog-prose ol {
    margin: 0 0 22px 22px;
    padding: 0;
    display: grid;
    gap: 12px;
}

.blog-prose a {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(232, 213, 196, 0.28);
    transition: color 0.25s ease, border-color 0.25s ease;
}

.blog-prose a:hover,
.blog-secondary-link:hover {
    color: var(--accent-mint);
    border-color: var(--accent-mint);
}

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

.blog-cta {
    margin: 56px 0;
    padding: 36px 32px;
    text-align: center;
}

.blog-cta-text {
    max-width: 660px;
    margin: 0 auto 24px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.blog-cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 20px;
}

.blog-secondary-link {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(232, 213, 196, 0.28);
    transition: color 0.25s ease, border-color 0.25s ease;
}

@media (max-width: 980px) {
    .blog-featured {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-featured-content,
    .blog-principles,
    .blog-cta {
        padding: 28px 24px;
    }

    .blog-article-lead {
        text-align: left;
    }

    .blog-prose p,
    .blog-prose li {
        font-size: 15px;
        line-height: 1.8;
    }
}

@media (max-width: 560px) {
    .blog-hero-tags {
        justify-content: flex-start;
    }

    .blog-article-meta {
        justify-content: flex-start;
    }

    .blog-cover figcaption {
        padding: 14px 16px;
    }

    .blog-prose ul,
    .blog-prose ol {
        margin-left: 18px;
    }
}

/* ================== МИНИМАЛЬНАЯ ШАПКА (юр. страницы) ================== */
.nav-minimal {
    padding: 24px 32px;
    display: flex;
    align-items: center;
}

.nav-minimal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: color 0.2s ease;
}

.nav-minimal-back:hover {
    color: var(--accent-mint);
}

@media (max-width: 768px) {
    .nav-minimal {
        padding: 16px 20px;
    }
}

/* ================== STICKY MOBILE CTA ================== */
.sticky-mobile-cta {
    display: none;
}

@media (max-width: 768px) {
    .sticky-mobile-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 90;
        padding: 14px 32px;
        background: linear-gradient(135deg, var(--accent-lavender), var(--accent-mint));
        color: var(--bg-primary);
        text-decoration: none;
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        font-size: 15px;
        border-radius: 100px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.4);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease;
        white-space: nowrap;
    }
    .sticky-mobile-cta.visible {
        opacity: 1;
        pointer-events: auto;
    }
    body.contacts-visible .sticky-mobile-cta { opacity: 0; pointer-events: none; }
}

.form-send-error {
    margin-top: 12px;
    padding: 10px 14px;
    background: rgba(255, 80, 80, 0.12);
    border: 1px solid rgba(255, 80, 80, 0.3);
    border-radius: 8px;
    color: #ff8080;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

/* ================== COOKIE BANNER ================== */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 95;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.cookie-banner__body {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.cookie-banner__lotus {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 18px;
    line-height: 1;
    color: var(--accent-gold);
}
.cookie-banner__text {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
}
.cookie-banner__text a {
    color: var(--accent-mint);
    text-decoration: none;
    border-bottom: 1px solid rgba(110, 231, 183, 0.3);
    transition: border-color 0.3s ease;
}
.cookie-banner__text a:hover { border-color: var(--accent-mint); }
.cookie-banner__accept {
    align-self: flex-start;
    padding: 11px 30px;
    background: linear-gradient(135deg, var(--accent-lavender), var(--accent-mint));
    color: var(--bg-primary);
    border: none;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cookie-banner__accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(110, 231, 183, 0.25);
}

@media (max-width: 768px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
        padding: 18px 20px;
        border-radius: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner { transition: opacity 0.3s ease; transform: none; }
    .cookie-banner.is-visible { transform: none; }
}

/* ============================================================ */
/*  ИНЛАЙН-ИЗОБРАЖЕНИЯ В СТАТЬЯХ БЛОГА                          */
/* ============================================================ */

.blog-inline-figure {
    margin: 40px 0;
    border-radius: 16px;
    overflow: hidden;
}

.blog-inline-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.blog-inline-figure figcaption {
    margin-top: 12px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-secondary);
    text-align: center;
    padding: 0 12px;
}

@media (max-width: 600px) {
    .blog-inline-figure {
        margin: 28px 0;
        border-radius: 12px;
    }
}
