/* ─── Pro Wellness — Sections ────────────────────────────────────────────────
   Section-specific structural and visual styles.
   Each section has its own clearly labelled block.
   This file does NOT contain global utilities — those live in components.css.
   ────────────────────────────────────────────────────────────────────────── */


/* ════════════════════════════════════════════════════════════════════════════
   SITE HEADER
   ════════════════════════════════════════════════════════════════════════════ */

.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background-color: rgba(250, 250, 241, 0.92);
    /* --color-bg-warm with alpha */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    padding-block: var(--space-4);
    transition: box-shadow var(--transition-normal);
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-sm);
}

.site-header__logo {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--weight-semibold);
    color: var(--color-green);
    text-decoration: none;
    letter-spacing: var(--tracking-tight);
}

.site-header__logo:hover {
    color: var(--color-green-mid);
}


/* ════════════════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════════════════ */

.hero {
    padding-block: var(--space-section);
    background-color: var(--color-bg-warm);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle warm texture/gradient — zero-code look */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%,
            var(--color-green-wash) 0%,
            transparent 70%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: var(--z-raised);
    max-width: var(--container-narrow);
    margin-inline: auto;
}

.hero__headline {
    font-size: var(--text-4xl);
    font-weight: var(--weight-bold);
    line-height: var(--leading-tight);
    color: var(--color-text-heading);
    margin-bottom: var(--space-5);
}

/* Italic-green accent word inside headline — wrap with <em> */
.hero__headline em {
    font-style: italic;
    color: var(--color-green);
}

.hero__sub {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
    max-width: 560px;
    margin-inline: auto;
    margin-bottom: var(--space-8);
    font-weight: var(--weight-light);
}

.hero__cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-bottom: var(--space-6);
}

.hero__microcopy {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin: 0;
}


/* ════════════════════════════════════════════════════════════════════════════
   HEADER — UPGRADE VERSION (qualification-upgrade.html only)
   Fixed, transparent at top, semi-transparent on scroll.
   Three-zone layout: brand | nav | logo + actions.
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Base: fixed, transparent, full-width ────────────────────────────────── */
/*    Double-class selector (.site-header.site-header--upgrade) has higher    */
/*    specificity than the base .site-header rule — no !important needed,     */
/*    so CSS transitions work correctly.                                       */
.site-header.site-header--upgrade {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    padding-block: 0;
    z-index: var(--z-overlay, 900);
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    overflow: hidden;
    /* Smooth transition for background, blur, and border on scroll */
    transition:
        background-color 0.30s ease,
        border-color     0.30s ease,
        backdrop-filter  0.30s ease;
}

/* Scrolled state — semi-transparent dark tint + glass blur */
.site-header.site-header--upgrade.is-scrolled {
    background-color: rgba(12, 22, 17, 0.40);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

/* ── Inner row — three-zone flex layout ─────────────────────────────────── */
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    /* Inline padding mirrors the hero body horizontal rhythm */
    padding-inline: max(var(--space-8), 7vw);
    gap: var(--space-8);
}

/* ── Left zone: brand name ───────────────────────────────────────────────── */
.site-header__brand {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    gap: 1px;
}

.site-header__brand-sub {
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: var(--weight-regular, 400);
    letter-spacing: 0.08em;
    text-transform: lowercase;
    color: rgba(255,255,255,0.55);
    white-space: nowrap;
    line-height: 1;
}

.site-header__brand-text {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    letter-spacing: 0.01em;
    color: #ffffff;
    white-space: nowrap;
}

.site-header__brand-text strong {
    color: #D4AA70; /* warm sand — matches hero headline accent */
    font-weight: var(--weight-bold);
}

/* ── Center zone: navigation links ──────────────────────────────────────── */
.site-header__nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.site-header__nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.site-header__nav-list a {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    letter-spacing: 0.025em;
    white-space: nowrap;
    transition: color 0.20s ease;
}

.site-header__nav-list a:hover,
.site-header__nav-list a:focus-visible {
    color: #ffffff;
    outline: none;
}

/* ── Right zone: logo image + CTA buttons ────────────────────────────────── */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}

/* Logo image — sized to fit the header height, never distorted */
.site-header__logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
    margin-right: var(--space-2);
    /* Subtle brightness boost so the logo reads cleanly on dark bg */
    filter: brightness(1.08) drop-shadow(0 0 1px rgba(0, 0, 0, 0.15));
}

/* Ghost button — white on dark video background */
.site-header--upgrade .btn--ghost {
    border-color: rgba(255, 255, 255, 0.52);
    color: #ffffff;
    background: transparent;
}

.site-header--upgrade .btn--ghost:hover,
.site-header--upgrade .btn--ghost:focus-visible {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.80);
    box-shadow: none;
}

/* Ensure scroll-linked sections clear the 72px fixed header */
body[data-version="qualification-upgrade"] section[id] {
    scroll-margin-top: 72px;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

/* Tablet: collapse navigation — brand + actions only */
@media (max-width: 960px) {
    .site-header__inner {
        padding-inline: var(--space-6);
        gap: var(--space-4);
    }

    .site-header__nav {
        display: none;
    }
}

/* ── Hamburger button ──────────────────────────────────────────────────── */
.site-header__hamburger {
    display: none; /* shown only on mobile via media query below */
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.site-header__hamburger:hover,
.site-header__hamburger:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.65);
    outline: none;
}

.site-header__hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 18px;
}

.site-header__hamburger-icon span {
    display: block;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    transform-origin: center;
}

/* Animate bars → X when menu is open */
.site-header.is-menu-open .site-header__hamburger-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.site-header.is-menu-open .site-header__hamburger-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.site-header.is-menu-open .site-header__hamburger-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile menu panel ─────────────────────────────────────────────────── */
.site-header__mobile-menu {
    position: fixed;
    inset: 72px 0 0 0;
    background: rgba(12, 22, 17, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: calc(var(--z-sticky) - 1);
    display: flex;
    flex-direction: column;
    padding: var(--space-8) var(--space-6) var(--space-10);
    gap: var(--space-6);
    overflow-y: auto;

    /* Hidden by default */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.site-header__mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Nav links inside mobile menu */
.site-header__mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.site-header__mobile-nav a {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--weight-medium);
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    padding: var(--space-4) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    transition: color 0.15s ease;
}

.site-header__mobile-nav a:hover,
.site-header__mobile-nav a:focus-visible {
    color: #ffffff;
    outline: none;
}

/* CTA buttons inside mobile menu */
.site-header__mobile-ctas {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-2);
}

.site-header__mobile-ctas .btn {
    width: 100%;
    justify-content: center;
}

/* Mobile: hide desktop actions, reveal hamburger */
@media (max-width: 600px) {
    .site-header__logo-img {
        display: none;
    }

    .site-header__actions {
        display: none;
    }

    .site-header__hamburger {
        display: flex;
    }
}


/* ════════════════════════════════════════════════════════════════════════════
   HERO — UPGRADE VERSION (Full-Screen Video Background)
   qualification-upgrade.html only. Scoped to .hero--upgrade.
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Section: full-screen, no padding, dark canvas ──────────────────────── */
.hero--upgrade {
    position: relative;
    padding: 0;
    min-height: 100vh;
    overflow: hidden;
    background-color: #12201A; /* fallback while video loads */
}

/* Disable base hero decorative gradient — video provides atmosphere */
.hero--upgrade::before {
    display: none;
}

/* ── Video background layer ──────────────────────────────────────────────── */
.hero-upgrade__video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-upgrade__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Overlay: left half darker (headline reads there), right half lighter */
.hero-upgrade__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(12, 22, 17, 0.78) 0%,
            transparent 32%
        ),
        linear-gradient(
            105deg,
            rgba(12, 22, 17, 0.82) 0%,
            rgba(12, 22, 17, 0.58) 50%,
            rgba(12, 22, 17, 0.36) 100%
        );
    pointer-events: none;
}

/* ── Foreground body — sits above video, fills full height ──────────────── */
.hero-upgrade__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Top padding = fixed header height (72px) + breathing room */
    padding: calc(72px + var(--space-12)) max(var(--space-10), 7vw) var(--space-10);
    box-sizing: border-box;
}

/* ── Two-column grid — headline+CTA left, context right ─────────────────── */
.hero-upgrade__columns {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-12);
    align-items: center;
    flex: 1; /* pushes facts strip to bottom */
}

/* ── Left column: headline + CTA only ───────────────────────────────────── */
.hero-upgrade__col-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ── Product identity block: title + location ────────────────────────────── */
.hero-upgrade__product {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
}

/* Primary h1: "Курс wellness-массажа" — largest, boldest, product name */
.hero-upgrade__product-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4.8vw, 4rem);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.025em;
    color: rgba(245, 240, 232, 0.97);
    margin: 0;
    text-transform: none;
}

/* Secondary line: "в Германии" — elegant, italic, clearly subordinate */
.hero-upgrade__product-location {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: rgba(245, 240, 232, 0.62);
    margin: 0;
}

/* Headline — Manrope 800, ALL CAPS, tight uppercase spacing */
.hero-upgrade__headline {
    font-family: var(--font-heading);
    font-size: clamp(1.625rem, 2.6vw, 2.25rem); /* secondary headline — below product title */
    font-weight: 800;
    line-height: 1.1;           /* uppercase needs tighter leading than mixed-case */
    color: #ffffff;
    letter-spacing: 0.03em;     /* uppercase always benefits from slight openness */
    text-transform: uppercase;
    margin: 0 0 var(--space-10) 0;
    max-width: 600px;
}

/* Sand accent — colour only, no italic (all-caps + italic = awkward) */
.hero-upgrade__headline em {
    font-style: normal;
    font-weight: 800;
    color: #D4AA70;
}

/* CTA pair */
.hero-upgrade__cta-group {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* ── Certificate proof element — between headline and CTA buttons ───────── */
.hero-upgrade__cert {
    margin-bottom: var(--space-8);
}

.hero-upgrade__cert-img {
    height: 240px;               /* compact proof size — supporting, not dominant */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    display: block;
    border-radius: var(--radius-sm);
    opacity: 0.70;              /* slightly recessed — behind headline, above CTAs */
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

/* Ghost button — white on dark video */
.hero--upgrade .btn--ghost {
    border-color: rgba(255, 255, 255, 0.58);
    color: #ffffff;
}

.hero--upgrade .btn--ghost:hover,
.hero--upgrade .btn--ghost:focus-visible {
    background-color: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow: none;
}

/* ── Right column: label + subheading + bullets ──────────────────────────── */
.hero-upgrade__col-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;           /* explicit left — no inherited centering */
    padding-left: var(--space-8);
    border-left: 1px solid rgba(255, 255, 255, 0.13);
}

/* Eyebrow pill — top of right column */
.hero-upgrade__eyebrow {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.6875rem;       /* 11px — refined micro-label size */
    font-weight: 500;
    letter-spacing: 0.07em;     /* down from 0.1em — less shouty, more refined */
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-full);
    padding: 0.3rem 1rem;
    margin-bottom: var(--space-5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Subheading — Inter, comfortable reading weight */
.hero-upgrade__sub {
    font-family: var(--font-body);
    font-size: 0.9375rem;       /* 15px */
    font-weight: 300;
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.70);
    margin: 0 0 var(--space-6) 0;
    max-width: 400px;
    text-align: left;
}

/* Sand highlight — used for both the headline <em> and subheading <span> */
.hero-upgrade__highlight {
    color: #D4AA70;
    font-weight: 400;           /* slightly stronger than surrounding 300 weight */
}

/* Supporting bullets */
.hero-upgrade__bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    text-align: left;
}

.hero-upgrade__bullets li {
    font-family: var(--font-body);
    font-size: 0.8125rem;       /* 13px — compact but legible with Inter */
    font-weight: 400;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.55;
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    letter-spacing: 0.005em;
}

.hero-upgrade__bullets li::before {
    content: '';
    flex-shrink: 0;
    width: 4px;
    height: 4px;
    border-radius: var(--radius-full);
    background-color: #D4AA70;
    margin-top: 0.58em;
    opacity: 0.85;
}

/* ── Facts: 4-column horizontal band at the bottom ──────────────────────── */
.hero-upgrade__facts {
    display: grid;
    /* minmax(0,1fr) forces truly equal columns regardless of text min-content */
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: var(--space-10);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    width: 100%;
}

/* Each fact: value stacked above label, centered in its column */
.hero-upgrade__fact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-5) var(--space-6);
    border-right: 1px solid rgba(255, 255, 255, 0.10);
    transition: background-color var(--transition-normal);
}

.hero-upgrade__fact:last-child {
    border-right: none;
}

.hero-upgrade__fact:hover {
    background-color: rgba(255, 255, 255, 0.04);
}

/* Fact value — Cormorant Garamond: numbers look particularly refined */
.hero-upgrade__fact-value {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 1.8vw, 1.625rem); /* slightly smaller so long text fits */
    font-weight: 600;
    color: #ffffff;
    line-height: 1.1;
    white-space: nowrap;
    letter-spacing: -0.01em;
    margin-bottom: 0.25em;
    min-height: 2em;        /* all value rows same height → labels line up */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Price: warm gold accent */
.hero-upgrade__fact--accent .hero-upgrade__fact-value {
    color: #D4AA70;
}

/* Fact label — Inter: clean micro-text */
.hero-upgrade__fact-label {
    font-family: var(--font-body);
    font-size: 0.6875rem;   /* 11px */
    font-weight: 400;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.48);
    line-height: 1.45;
    text-transform: lowercase;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 900px) {
    .hero-upgrade__body {
        /* Keep clearing the 72px fixed header even at tablet width */
        padding-top: calc(72px + var(--space-8));
        padding-bottom: var(--space-8);
        padding-inline: max(var(--space-8), 5vw);
    }

    .hero-upgrade__columns {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .hero-upgrade__col-right {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        padding-top: var(--space-6);
    }

    .hero-upgrade__headline {
        max-width: 100%;
    }

    .hero-upgrade__sub {
        max-width: 100%;
    }

    .hero-upgrade__facts {
        margin-top: var(--space-8);
        padding-top: var(--space-5);
    }
}

/* Mobile: 2×2 fact grid */
@media (max-width: 600px) {
    .hero-upgrade__body {
        padding-top: calc(72px + var(--space-10));
        padding-inline: var(--space-6);
    }

    .hero-upgrade__cert-img {
        height: 140px;
    }

    .hero-upgrade__headline {
        font-size: clamp(1.75rem, 7.5vw, 2.25rem); /* fluid 28–36px all-caps on mobile */
        margin-bottom: var(--space-6);
    }

    .hero-upgrade__cta-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hero-upgrade__cta-group .btn {
        width: 100%;
        justify-content: center;
    }

    /* Facts drop to 2-column grid on small screens */
    .hero-upgrade__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Restore right borders in 2-col layout */
    .hero-upgrade__fact:nth-child(2) {
        border-right: none;
    }

    .hero-upgrade__fact:nth-child(3) {
        border-right: 1px solid rgba(255, 255, 255, 0.10);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hero-upgrade__fact:nth-child(4) {
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}


/* ════════════════════════════════════════════════════════════════════════════
   HERO — BASE VERSION (Full-Screen Video Background)
   index.html (base audience). Scoped to .hero--base.
   Centred single-column layout — no two-column split, no facts strip.
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Section: full-screen, dark canvas ──────────────────────────────────── */
.hero--base {
    position: relative;
    padding: 0;
    min-height: 100vh;
    overflow: hidden;
    background-color: #12201A; /* fallback while video loads */
}

/* Disable base hero decorative gradient — video provides atmosphere */
.hero--base::before {
    display: none;
}

/* ── Video background layer ──────────────────────────────────────────────── */
.hero-base__video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-base__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Overlay: centred gradient — lighter centre, dark edges + bottom */
.hero-base__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(12, 22, 17, 0.85) 0%,
            transparent 35%
        ),
        linear-gradient(
            180deg,
            rgba(12, 22, 17, 0.55) 0%,
            rgba(12, 22, 17, 0.35) 50%,
            rgba(12, 22, 17, 0.65) 100%
        );
    pointer-events: none;
}

/* ── Foreground body — centred, full height ──────────────────────────────── */
.hero-base__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    /* Top padding clears the 72px fixed header */
    padding: calc(72px + var(--space-16)) max(var(--space-8), 8vw) var(--space-16);
    box-sizing: border-box;
    text-align: center;
}

/* Eyebrow pill — same style as upgrade version */
.hero-base__eyebrow {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.6875rem;       /* 11px */
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-full);
    padding: 0.3rem 1rem;
    margin-bottom: var(--space-6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Headline — Manrope 800, ALL CAPS */
.hero-base__headline {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;
    color: #ffffff;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin: 0 0 var(--space-6) 0;
    max-width: 780px;
}

/* Sand accent on <em> — no italic (all-caps + italic looks odd) */
.hero-base__headline em {
    font-style: normal;
    font-weight: 800;
    color: #D4AA70;
}

/* Subheading */
.hero-base__sub {
    font-family: var(--font-body);
    font-size: 1.0625rem;       /* 17px */
    font-weight: 300;
    line-height: 1.70;
    color: rgba(255, 255, 255, 0.70);
    margin: 0 0 var(--space-10) 0;
    max-width: 600px;
}

/* CTA pair */
.hero-base__cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-bottom: var(--space-6);
}

/* Ghost button — white on dark video */
.hero--base .btn--ghost {
    border-color: rgba(255, 255, 255, 0.58);
    color: #ffffff;
}

.hero--base .btn--ghost:hover,
.hero--base .btn--ghost:focus-visible {
    background-color: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow: none;
}

/* Trust microcopy */
.hero-base__microcopy {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.46);
    margin: 0;
    letter-spacing: 0.01em;
}

/* Ensure scroll-linked sections clear the 72px fixed header (base version) */
body[data-version="base"] section[id] {
    scroll-margin-top: 72px;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
    .hero-base__body {
        padding-top: calc(72px + var(--space-10));
        padding-bottom: var(--space-12);
        padding-inline: var(--space-8);
    }
}

@media (max-width: 600px) {
    .hero-base__body {
        padding-top: calc(72px + var(--space-8));
        padding-inline: var(--space-6);
    }

    .hero-base__headline {
        font-size: clamp(1.875rem, 8vw, 2.5rem);
        margin-bottom: var(--space-5);
    }

    .hero-base__cta-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hero-base__cta-group .btn {
        width: 100%;
        justify-content: center;
    }
}


/* ════════════════════════════════════════════════════════════════════════════
   COMPARISON
   ════════════════════════════════════════════════════════════════════════════ */

.comparison {
    background-color: var(--color-bg-soft);
}

.comparison__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

/* Column shared base */
.comparison__col {
    border-radius: var(--radius-lg);
    padding: var(--space-inner);
}

/* "Without" column — muted, slightly red border */
.comparison__col--without {
    background-color: #FBF2F2;
    border: 1px solid #E8CCCC;
}

.comparison__col--without .comparison__col-title {
    color: #9B5555;
}

/* "With" column — green tint, brand border */
.comparison__col--with {
    background-color: var(--color-green-tint);
    border: 1px solid var(--color-green-pale);
}

.comparison__col--with .comparison__col-title {
    color: var(--color-green);
}

.comparison__col-title {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

/* Checklist row inside comparison */
.comparison__list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.comparison__list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    margin: 0;
}

/* Icon prefix — add ✗ or ✓ via data-icon attr in JS, or inline in HTML */
.comparison__list li::before {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.comparison__col--without .comparison__list li::before {
    content: '✕';
    background-color: #E8CCCC;
    color: #9B5555;
}

.comparison__col--with .comparison__list li::before {
    content: '✓';
    background-color: var(--color-green-pale);
    color: var(--color-green);
}


/* ════════════════════════════════════════════════════════════════════════════
   BENEFITS
   ════════════════════════════════════════════════════════════════════════════ */

.benefits {
    background-color: var(--color-bg-warm);
}

.benefit-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.benefit-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background-color: var(--color-green-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-card__title {
    font-family: var(--font-body);
    font-size: var(--text-xl);
    font-weight: var(--weight-semibold);
    color: var(--color-text-heading);
    margin-bottom: var(--space-2);
}

.benefit-card__desc {
    color: var(--color-text-muted);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    margin: 0;
}


/* ════════════════════════════════════════════════════════════════════════════
   PROGRAM (Curriculum)
   ════════════════════════════════════════════════════════════════════════════ */

.program {
    background-color: var(--color-bg-soft);
}

.module-card {
    display: flex;
    gap: var(--space-6);
    align-items: flex-start;
    padding: var(--space-6) var(--space-8);
    background-color: var(--color-bg-card);
    border: var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--transition-normal);
}

.module-card:hover {
    box-shadow: var(--shadow-sm);
}

.module-card__body {
    flex: 1;
}

.module-card__title {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    color: var(--color-text-heading);
    margin-bottom: var(--space-2);
}

.module-card__desc {
    color: var(--color-text-muted);
    font-size: var(--text-base);
    margin: 0;
}

/* Stacked list of modules */
.module-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    list-style: none;
    padding: 0;
}


/* ════════════════════════════════════════════════════════════════════════════
   RESULTS (Social proof)
   ════════════════════════════════════════════════════════════════════════════ */

.results {
    background-color: var(--color-bg-warm);
}

.result-card {
    text-align: center;
}

.result-card__photo {
    width: 88px;
    height: 88px;
    border-radius: var(--radius-full);
    object-fit: cover;
    margin-inline: auto;
    margin-bottom: var(--space-4);
    background-color: var(--color-bg-muted);
    /* placeholder bg */
    border: 3px solid var(--color-green-tint);
}

.result-card__metric {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    color: var(--color-green);
    font-family: var(--font-heading);
    margin-bottom: var(--space-1);
}

.result-card__name {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    color: var(--color-text-heading);
    margin-bottom: var(--space-1);
}

.result-card__role {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

.result-card__quote {
    font-size: var(--text-base);
    color: var(--color-text-body);
    line-height: var(--leading-relaxed);
    font-style: italic;
    margin: 0;
}


/* ════════════════════════════════════════════════════════════════════════════
   INCOME CALCULATOR
   ════════════════════════════════════════════════════════════════════════════ */

.calculator {
    background-color: var(--color-green-wash);
}

.calculator__widget {
    max-width: 560px;
    margin-inline: auto;
    background-color: var(--color-bg-card);
    border: var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-10) var(--space-8);
    box-shadow: var(--shadow-md);
}

.calculator__result {
    text-align: center;
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border);
}

.calculator__result-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    margin-bottom: var(--space-2);
}

.calculator__result-value {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: var(--weight-bold);
    color: var(--color-green);
    line-height: 1;
}

/* Range slider — minimal brand styling */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 5px;
    border-radius: var(--radius-full);
    background: var(--color-green-pale);
    outline: none;
    cursor: pointer;
    margin-block: var(--space-2);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    background: var(--color-green);
    border: 2px solid var(--color-bg-card);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

input[type="range"]::-webkit-slider-thumb:hover {
    background: var(--color-green-mid);
    transform: scale(1.15);
}


/* ════════════════════════════════════════════════════════════════════════════
   BONUS
   ════════════════════════════════════════════════════════════════════════════ */

.bonus {
    background-color: var(--color-sand-wash);
}

.bonus-card {
    display: flex;
    gap: var(--space-5);
    align-items: flex-start;
}

.bonus-card__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background-color: var(--color-sand-tint);
    border: 1px solid var(--color-sand-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.bonus-card__title {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    color: var(--color-text-heading);
    margin-bottom: var(--space-1);
}

.bonus-card__value {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--color-sand-dark);
    margin-bottom: var(--space-2);
}

.bonus-card__desc {
    font-size: var(--text-base);
    color: var(--color-text-muted);
    margin: 0;
}

.bonus__total {
    text-align: center;
    margin-top: var(--space-10);
    font-size: var(--text-lg);
    color: var(--color-text-body);
}

.bonus__total strong {
    color: var(--color-sand);
    font-size: var(--text-2xl);
    font-family: var(--font-heading);
}


/* ════════════════════════════════════════════════════════════════════════════
   TEACHERS / INSTRUCTORS
   ════════════════════════════════════════════════════════════════════════════ */

.teachers {
    background-color: var(--color-bg-soft);
}

.teacher-card {
    display: flex;
    gap: var(--space-8);
    align-items: flex-start;
    flex-wrap: wrap;
}

.teacher-card__photo {
    width: 140px;
    height: 140px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 4px solid var(--color-green-tint);
    background-color: var(--color-bg-muted);
    flex-shrink: 0;
}

.teacher-card__name {
    font-size: var(--text-2xl);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-2);
}

.teacher-card__bio {
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
    max-width: 520px;
}


/* ════════════════════════════════════════════════════════════════════════════
   REVIEWS / TESTIMONIALS
   ════════════════════════════════════════════════════════════════════════════ */

.reviews {
    background-color: var(--color-bg-warm);
}

.review-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.review-card__quote {
    font-size: var(--text-base);
    color: var(--color-text-body);
    line-height: var(--leading-relaxed);
    font-style: italic;
    flex: 1;
    margin: 0;
    position: relative;
    padding-left: var(--space-4);
}

/* Decorative left border on quote */
.review-card__quote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: var(--radius-full);
    background: linear-gradient(to bottom, var(--color-sand), var(--color-sand-pale));
}

.review-card__author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.review-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background-color: var(--color-bg-muted);
    object-fit: cover;
    flex-shrink: 0;
}

.review-card__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.review-card__name {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    color: var(--color-text-heading);
}

.review-card__role {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}


/* ════════════════════════════════════════════════════════════════════════════
   FAQ ACCORDION
   ════════════════════════════════════════════════════════════════════════════ */

/* ── FAQ: dark green background, centered accordion, decorative Q-marks ──── */

.faq {
    background: linear-gradient(160deg, #243B31 0%, #2D4A3E 50%, #243B31 100%);
    position: relative;
    overflow: hidden;
}

/* ── Decorative oversized question marks ─────────────────────────────────── */
.faq__deco {
    position: absolute;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.045);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.faq__deco--1 {
    font-size: 28rem;
    top: -8rem;
    left: -6rem;
    transform: rotate(-14deg);
}

.faq__deco--2 {
    font-size: 20rem;
    top: 5%;
    right: -4rem;
    transform: rotate(10deg);
}

.faq__deco--3 {
    font-size: 15rem;
    bottom: 10%;
    left: 2%;
    transform: rotate(-6deg);
}

.faq__deco--4 {
    font-size: 32rem;
    bottom: -10rem;
    right: 8%;
    transform: rotate(8deg);
}

.faq__deco--5 {
    font-size: 12rem;
    top: 40%;
    left: 42%;
    transform: rotate(-20deg);
}

/* ── Inner container — above the deco layer ─────────────────────────────── */
.faq .container {
    position: relative;
    z-index: 1;
}

/* ── Centered header ─────────────────────────────────────────────────────── */
.faq__header {
    text-align: center;
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: var(--space-12);
}

.faq__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.875rem, 3.2vw, 2.625rem);
    font-weight: 700;
    line-height: var(--leading-tight);
    color: rgba(245, 240, 232, 0.97);
    margin: 0 0 var(--space-5);
    letter-spacing: -0.02em;
}

.faq__sub {
    font-family: var(--font-body);
    font-size: var(--text-md);
    line-height: var(--leading-relaxed);
    color: rgba(245, 240, 232, 0.62);
    margin: 0;
}

/* ── Accordion list ──────────────────────────────────────────────────────── */
.faq__list {
    max-width: 720px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

/* ── Accordion item — white card on dark bg ──────────────────────────────── */
.faq__item {
    background: rgba(255, 255, 255, 0.97);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.faq__item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.faq__item.is-open {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
}

/* ── Question button ─────────────────────────────────────────────────────── */
.faq__question {
    width: 100%;
    text-align: left;
    padding: var(--space-5) var(--space-6);
    font-family: var(--font-heading);
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--color-text-primary, #1A1A1A);
    cursor: pointer;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-5);
    line-height: var(--leading-snug);
    transition: color 0.18s ease;
}

.faq__question:hover {
    color: var(--color-green, #344F44);
}

.faq__item.is-open .faq__question {
    color: var(--color-green, #344F44);
}

/* ── Toggle icon — plus rotates to × ────────────────────────────────────── */
.faq__icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: var(--color-green-tint, #EAF0EC);
    border: 1.5px solid var(--color-green-pale, #C4D4CC);
    position: relative;
    transition: background-color 0.2s ease, transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

/* Horizontal bar */
.faq__icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 1.5px;
    background: var(--color-green, #344F44);
    border-radius: 1px;
    transition: background-color 0.2s ease;
}

/* Vertical bar */
.faq__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1.5px;
    height: 10px;
    background: var(--color-green, #344F44);
    border-radius: 1px;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

/* Open state: filled green, vertical bar fades (leaving just —) + rotate → × */
.faq__item.is-open .faq__icon {
    background-color: var(--color-green, #344F44);
    border-color: var(--color-green, #344F44);
    transform: rotate(45deg);
}

.faq__item.is-open .faq__icon::before,
.faq__item.is-open .faq__icon::after {
    background: rgba(255, 255, 255, 0.95);
}

/* ── Answer panel — max-height transition ────────────────────────────────── */
.faq__answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding-inline: var(--space-6);
    transition:
        max-height 0.34s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.28s ease,
        padding 0.28s ease;
}

.faq__answer.is-open {
    max-height: 500px;
    opacity: 1;
    padding-bottom: var(--space-6);
}

.faq__answer p {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary, #555);
    margin: 0;
    padding-top: var(--space-1);
    border-top: 1px solid var(--color-border, #E8E5DF);
}

/* ── Mobile ───────────────────────────────────────────────────────────────── */
@media (max-width: 540px) {
    .faq__question {
        padding: var(--space-5);
        font-size: var(--text-sm);
    }

    .faq__answer {
        padding-inline: var(--space-5);
    }

    .faq__deco--5 {
        display: none;
    }
}


/* ════════════════════════════════════════════════════════════════════════════
   FINAL CTA SECTION
   ════════════════════════════════════════════════════════════════════════════ */

.final-cta {
    background: linear-gradient(145deg, #1A2B23 0%, #2D4A3E 55%, #1E2D27 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle radial glow behind the content */
.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(74, 107, 92, 0.22) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.final-cta .container {
    position: relative;
    z-index: 1;
}

.final-cta__inner {
    max-width: 720px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
}

/* Eyebrow */
.final-cta__eyebrow {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--color-green-pale, #C4D4CC);
    margin: 0;
}

/* Heading */
.final-cta__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.875rem, 3.4vw, 2.875rem);
    font-weight: 700;
    line-height: var(--leading-tight);
    letter-spacing: -0.02em;
    color: rgba(245, 240, 232, 0.97);
    margin: 0;
}

.final-cta__br { display: inline; }

/* Sub */
.final-cta__sub {
    font-family: var(--font-body);
    font-size: var(--text-md);
    line-height: var(--leading-relaxed);
    color: rgba(245, 240, 232, 0.62);
    margin: 0;
}

/* CTA buttons row */
.final-cta__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    align-items: center;
    justify-content: center;
    margin-top: var(--space-2);
}

/* Ghost button on dark green bg */
.btn--ghost-cta {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.30);
    color: rgba(255, 255, 255, 0.85);
}

.btn--ghost-cta:hover,
.btn--ghost-cta:focus-visible {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.58);
    color: #fff;
    box-shadow: none;
}

/* Text-only link CTA */
.btn--text-cta {
    background: transparent;
    border: none;
    color: rgba(245, 240, 232, 0.55);
    font-size: var(--text-sm);
    padding-inline: var(--space-2);
    text-decoration: underline;
    text-decoration-color: rgba(245, 240, 232, 0.25);
    text-underline-offset: 3px;
    transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.btn--text-cta:hover,
.btn--text-cta:focus-visible {
    color: rgba(245, 240, 232, 0.9);
    text-decoration-color: rgba(245, 240, 232, 0.55);
    background: transparent;
    box-shadow: none;
}

/* Closing note */
.final-cta__note {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    line-height: var(--leading-relaxed);
    color: rgba(245, 240, 232, 0.38);
    margin: 0;
    max-width: 520px;
}

/* Mobile */
@media (max-width: 540px) {
    .final-cta__cta-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .final-cta__cta-group .btn {
        width: 100%;
        justify-content: center;
    }

    .final-cta__br { display: none; }
}


/* ════════════════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════════════════ */

.site-footer {
    background-color: #141F1A;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-block: var(--space-12) var(--space-8);
}

/* ── Top row ─────────────────────────────────────────────────────────────── */
.site-footer__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: var(--space-10);
    padding-bottom: var(--space-10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: var(--space-6);
}

/* Brand */
.site-footer__logo {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: rgba(245, 240, 232, 0.92);
    text-decoration: none;
    display: inline-block;
    margin-bottom: var(--space-3);
    letter-spacing: -0.01em;
}

.site-footer__logo strong {
    color: var(--color-sand, #C9A96E);
}

.site-footer__logo:hover {
    color: #fff;
}

.site-footer__school {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: rgba(245, 240, 232, 0.38);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 var(--space-2);
}

.site-footer__tagline {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: rgba(245, 240, 232, 0.45);
    margin: 0;
    font-style: italic;
}

/* Nav */
.site-footer__nav-label {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.38);
    margin: 0 0 var(--space-4);
}

.site-footer__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.site-footer__nav-list a {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: rgba(245, 240, 232, 0.62);
    text-decoration: none;
    transition: color 0.15s ease;
}

.site-footer__nav-list a:hover {
    color: rgba(245, 240, 232, 0.92);
}

/* Contact */
.site-footer__contact-list {
    list-style: none;
    margin: 0 0 var(--space-4);
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.site-footer__contact-list li {
    display: flex;
    align-items: baseline;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: rgba(245, 240, 232, 0.62);
}

.site-footer__contact-icon {
    font-size: 0.75rem;
    color: rgba(245, 240, 232, 0.30);
    flex-shrink: 0;
}

.site-footer__contact-list a {
    color: rgba(245, 240, 232, 0.62);
    text-decoration: none;
    transition: color 0.15s ease;
}

.site-footer__contact-list a:hover {
    color: rgba(245, 240, 232, 0.92);
}

.site-footer__contact-note {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: rgba(245, 240, 232, 0.25);
    font-style: italic;
    margin: 0;
}

/* ── Bottom row ──────────────────────────────────────────────────────────── */
.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.site-footer__copy {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: rgba(245, 240, 232, 0.28);
    margin: 0;
}

.site-footer__legal {
    display: flex;
    gap: var(--space-5);
}

.site-footer__legal a {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: rgba(245, 240, 232, 0.28);
    text-decoration: none;
    transition: color 0.15s ease;
}

.site-footer__legal a:hover {
    color: rgba(245, 240, 232, 0.65);
}

/* ── Tablet ───────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .site-footer__top {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

/* ── Mobile ───────────────────────────────────────────────────────────────── */
@media (max-width: 540px) {
    .site-footer__top {
        grid-template-columns: 1fr;
        gap: var(--space-7);
    }

    .site-footer__brand {
        grid-column: unset;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ════════════════════════════════════════════════════════════════════════════
   PROBLEM SECTION
   "Why the standard path is inconvenient"
   Two-column layout: text left, 2×2 problem cards right.
   Scoped to .problem.
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Section container ───────────────────────────────────────────────────── */
.problem {
    background-color: var(--color-bg-warm);
    padding-block: var(--space-section);
    border-top: 1px solid var(--color-border);
}

/* ── Two-column grid ─────────────────────────────────────────────────────── */
.problem__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

/* ── Left column: text block ─────────────────────────────────────────────── */
.problem__text {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.problem__eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-green-soft);
}

.problem__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.4vw, 2.125rem);
    font-weight: 700;
    line-height: var(--leading-snug);
    color: var(--color-text-heading);
    letter-spacing: var(--tracking-tight);
    margin: 0;
}

.problem__sub {
    font-family: var(--font-body);
    font-size: var(--text-md);
    line-height: var(--leading-normal);
    color: var(--color-text-body);
    margin: 0;
}

.problem__conclusion {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--color-text-muted);
    padding-left: var(--space-4);
    border-left: 2px solid var(--color-green-pale);
    margin: 0;
}

/* ── CTA group ───────────────────────────────────────────────────────────── */
.problem__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    align-items: center;
    margin-top: var(--space-2);
}

/* ── Right column: 2×2 card grid ────────────────────────────────────────── */
.problem__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
}

/* ── Individual card ─────────────────────────────────────────────────────── */
.problem__card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.problem__card:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--color-green-pale);
}

.problem__card-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    object-position: left center;
    flex-shrink: 0;
}

.problem__card-title {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 700;
    line-height: var(--leading-snug);
    color: var(--color-text-heading);
    margin: 0;
}

.problem__card-text {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    color: var(--color-text-muted);
    margin: 0;
    flex: 1;                    /* equal-height cards: text fills remaining space */
}

/* ── Tablet: collapse to single column below 900px ──────────────────────── */
@media (max-width: 900px) {
    .problem__layout {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .problem__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ── Mobile: single column cards below 540px ────────────────────────────── */
@media (max-width: 540px) {
    .problem__cards {
        grid-template-columns: 1fr;
    }

    .problem__cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .problem__cta-group .btn {
        width: 100%;
        justify-content: center;
    }
}


/* ════════════════════════════════════════════════════════════════════════════
   COMPARE SECTION
   "В чем отличие курса" — 3-column comparison table.
   Scoped to .compare.
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Section container ───────────────────────────────────────────────────── */
.compare {
    background-color: var(--color-green-wash);   /* #F2F5F3 — subtle green tint */
    padding-block: var(--space-section);
    border-top: 1px solid var(--color-border);
}

/* ── Section header: label + heading + sub ───────────────────────────────── */
.compare__header {
    max-width: 720px;
    margin-bottom: var(--space-12);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.compare__eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-green-soft);
}

.compare__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.4vw, 2.125rem);
    font-weight: 700;
    line-height: var(--leading-snug);
    color: var(--color-text-heading);
    letter-spacing: var(--tracking-tight);
    margin: 0;
}

.compare__sub {
    font-family: var(--font-body);
    font-size: var(--text-md);
    line-height: var(--leading-normal);
    color: var(--color-text-body);
    margin: 0;
}

/* ── Comparison table ────────────────────────────────────────────────────── */
.compare__table {
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
    background-color: var(--color-bg-card);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-12);
}

/* ── Each row: 3 equal columns ───────────────────────────────────────────── */
.compare__row {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1.4fr;
    border-bottom: 1px solid var(--color-border);
}

.compare__row--last {
    border-bottom: none;
}

/* ── Column header row ───────────────────────────────────────────────────── */
.compare__row--head {
    background-color: var(--color-green-tint);
}

/* ── Cells ───────────────────────────────────────────────────────────────── */
.compare__cell {
    padding: var(--space-5) var(--space-6);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    vertical-align: middle;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

/* Criterion column — label/category */
.compare__cell--criterion {
    font-weight: var(--weight-semibold);
    color: var(--color-text-heading);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-right: 1px solid var(--color-border);
    background-color: var(--color-bg-warm);
}

/* Standard path column — muted, neutral */
.compare__cell--standard {
    color: var(--color-text-muted);
    border-right: 1px solid var(--color-border);
}

/* Header label for standard column */
.compare__row--head .compare__cell--standard {
    font-weight: var(--weight-semibold);
    color: var(--color-text-body);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Pro Wellness column — accented, favorable */
.compare__cell--pw {
    color: var(--color-text-heading);
    font-weight: var(--weight-medium);
    background-color: rgba(52, 79, 68, 0.04); /* very subtle green tint on every row */
}

/* Header row Pro Wellness cell */
.compare__row--head .compare__cell--pw {
    background-color: var(--color-green);
}

/* ── Pro Wellness badge in column header ─────────────────────────────────── */
.compare__pw-badge {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-on-green);
}

/* ── Checkmark accent ────────────────────────────────────────────────────── */
.compare__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: var(--color-green);
    color: #ffffff;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

/* ── Footer: conclusion + CTAs ───────────────────────────────────────────── */
.compare__footer {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    align-items: flex-start;
}

.compare__conclusion {
    font-family: var(--font-body);
    font-size: var(--text-md);
    line-height: var(--leading-normal);
    color: var(--color-text-body);
    padding-left: var(--space-4);
    border-left: 2px solid var(--color-green-pale);
    max-width: 680px;
    margin: 0;
}

.compare__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    align-items: center;
}

/* ── Tablet: reduce padding, keep 3-col ─────────────────────────────────── */
@media (max-width: 900px) {
    .compare__cell {
        padding: var(--space-4) var(--space-4);
        font-size: var(--text-sm);
    }

    .compare__cell--criterion {
        font-size: var(--text-xs);
    }
}

/* ── Mobile: stack each row as a labeled block ───────────────────────────── */
@media (max-width: 640px) {
    /* Hide the column header row on mobile — context labels come from data-label */
    .compare__row--head {
        display: none;
    }

    /* Each row becomes a card */
    .compare__row {
        display: flex;
        flex-direction: column;
        border-bottom: none;
        border-radius: var(--radius-md);
        border: 1px solid var(--color-border);
        overflow: hidden;
        margin-bottom: var(--space-3);
    }

    .compare__row--last {
        margin-bottom: 0;
    }

    /* Remove individual cell borders — the card border handles it */
    .compare__cell {
        border-right: none !important;
        padding: var(--space-3) var(--space-4);
    }

    /* Show data-label as a micro-label above cell text */
    .compare__cell--criterion {
        background-color: var(--color-green-tint);
        font-size: var(--text-xs);
        letter-spacing: 0.06em;
        padding-block: var(--space-3);
    }

    .compare__cell--standard::before {
        content: attr(data-label) ": ";
        font-size: var(--text-xs);
        font-weight: var(--weight-semibold);
        color: var(--color-text-muted);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-right: var(--space-1);
        white-space: nowrap;
    }

    .compare__cell--pw::before {
        content: attr(data-label) ": ";
        font-size: var(--text-xs);
        font-weight: var(--weight-semibold);
        color: var(--color-green-soft);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-right: var(--space-1);
        white-space: nowrap;
    }

    .compare__table {
        background: transparent;
        border: none;
        box-shadow: none;
        overflow: visible;
    }

    .compare__cta-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .compare__cta-group .btn {
        width: 100%;
        justify-content: center;
    }
}


/* ════════════════════════════════════════════════════════════════════════════
   VALUE SECTION — INVERTED / DARK
   "Что получает специалист" — 3 labeled groups × 3 cards.
   Scoped to .value.
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Section container ───────────────────────────────────────────────────── */
.value {
    background: linear-gradient(145deg, #1A2B23 0%, #2D4A3E 55%, #1E2D27 100%);
    padding-block: var(--space-section);
    overflow: hidden;       /* clips photo at section edges */
}

/* Container is the position context for the foreground photo */
.value > .container {
    position: relative;
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.value__header {
    max-width: 780px;
    margin-bottom: var(--space-12);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.value__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.4vw, 2.125rem);
    font-weight: 700;
    line-height: var(--leading-snug);
    color: #F2EDE4;
    letter-spacing: var(--tracking-tight);
    margin: 0;
}

.value__sub {
    font-family: var(--font-body);
    font-size: var(--text-md);
    line-height: var(--leading-normal);
    color: rgba(242, 237, 228, 0.72);
    margin: 0;
}

/* ── Canvas: wraps card groups only — no longer the photo context ─────────── */
.value__canvas {
    margin-bottom: var(--space-12);
}

/* ── Groups: three labeled rows ──────────────────────────────────────────── */
.value__groups {
    display: flex;
    flex-direction: column;
    gap: var(--space-10);   /* clear visual gap between the three groups */
}

.value__group {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

/* Group label: small sand-toned pill above each row */
.value__group-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--color-sand-mid);
    margin: 0;
}

/* Accent line before the label */
.value__group-label::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 2px;
    background-color: var(--color-sand-pale);
    flex-shrink: 0;
}

/* ── Row: 3 equal-width cards ────────────────────────────────────────────── */
.value__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
}

/* ── Individual card ─────────────────────────────────────────────────────── */
.value__card {
    background-color: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-top: 3px solid var(--color-green-pale);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
    transition:
        box-shadow var(--transition-fast),
        border-top-color var(--transition-fast),
        transform var(--transition-fast);
}

.value__card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.30);
    border-top-color: var(--color-sand);
    transform: translateY(-2px);
}

/* Technique cards (group 1): sand top accent */
.value__card--technique {
    border-top-color: var(--color-sand);
}

.value__card-title {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 700;
    line-height: var(--leading-snug);
    color: var(--color-text-heading);
    margin: 0;
}

.value__card-text {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    color: var(--color-text-muted);
    margin: 0;
    flex: 1;
}

/* ── Foreground photo accent ─────────────────────────────────────────────── */
/* Positioned inside .value > .container — bottom-right, at footer level.    */
/* Top edge reaches up into the card grid for a natural layered overlap.      */
.value__photo {
  position: absolute;
  bottom: 0;
  right: 0;
  width: clamp(320px, 30vw, 360px);
  height: auto;
  z-index: 4;
  opacity: 0.95;
}

/* ── Footer: conclusion + CTAs ───────────────────────────────────────────── */
.value__footer {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    align-items: flex-start;
}

.value__conclusion {
    font-family: var(--font-body);
    font-size: var(--text-md);
    line-height: var(--leading-normal);
    color: rgba(242, 237, 228, 0.72);
    padding-left: var(--space-4);
    border-left: 2px solid var(--color-sand-pale);
    max-width: 680px;
    margin: 0;
}

.value__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    align-items: center;
}

/* Ghost button: white/light treatment for the dark section */
.value .btn--ghost-light {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.45);
    color: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-full);
    padding: 0.75rem 2rem;
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-wide);
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition:
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast);
}

.value .btn--ghost-light:hover,
.value .btn--ghost-light:focus-visible {
    background-color: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.75);
    color: #ffffff;
}

/* ── Tablet: 2-col rows; photo scales down ───────────────────────────────── */
@media (max-width: 900px) {
    .value__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .value__photo {
        width: clamp(180px, 22vw, 240px);
        opacity: 0.75;
    }
}

/* ── Mobile: single column; photo hidden ─────────────────────────────────── */
@media (max-width: 540px) {
    .value__row {
        grid-template-columns: 1fr;
    }

    .value__photo {
        display: none;
    }

    .value__cta-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .value__cta-group .btn,
    .value .btn--ghost-light {
        width: 100%;
        justify-content: center;
    }
}


/* ════════════════════════════════════════════════════════════════════════════
   AUDIENCE SECTION
   "Кому подойдет курс" — video bg + typographic deco cards.
   Scoped to .audience.
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Section ─────────────────────────────────────────────────────────────── */
.audience {
    position: relative;
    overflow: hidden;
    padding: 0;
    background-color: #0C1611;
}

/* ── Video ───────────────────────────────────────────────────────────────── */
.audience__video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.audience__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 38% 28%;           /* shift crop left — face reads lighter */
}

/* Overlay: two layers.
   Layer 1 (element): uniform dark base + heavy right-side suppression.
   Layer 2 (::after): soft diagonal atmosphere tint.                         */
.audience__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(8, 16, 12, 0.72) 0%,
        rgba(8, 16, 12, 0.78) 35%,
        rgba(6, 11, 8, 0.93) 65%,
        rgba(4, 8, 6, 0.97) 100%
    );
}

.audience__overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        170deg,
        rgba(8, 16, 12, 0.28) 0%,
        transparent 50%,
        rgba(4, 8, 6, 0.18) 100%
    );
}

/* ── Body ────────────────────────────────────────────────────────────────── */
.audience__body {
    position: relative;
    z-index: 1;
    padding-block: var(--space-section);
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.audience__header {
    max-width: 660px;
    margin: 0 auto var(--space-12);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.audience__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.625rem, 2.6vw, 2.25rem);
    font-weight: 700;
    line-height: var(--leading-snug);
    color: #F5F0E8;
    letter-spacing: var(--tracking-tight);
    margin: 0;
}

.audience__sub {
    font-family: var(--font-body);
    font-size: var(--text-md);
    line-height: var(--leading-relaxed);
    color: rgba(245, 240, 232, 0.62);
    margin: 0;
}

/* ── 3×2 card grid ───────────────────────────────────────────────────────── */
.audience__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
    margin-bottom: var(--space-16);     /* clear gap before conclusion */
}

/* ── Card ────────────────────────────────────────────────────────────────── */
.audience__card {
    position: relative;
    overflow: hidden;                   /* clips deco text that bleeds outside */
    background-color: rgba(10, 20, 15, 0.40);
    backdrop-filter: blur(12px) saturate(130%);
    -webkit-backdrop-filter: blur(12px) saturate(130%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-md);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.16);
    transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.audience__card:hover {
    background-color: rgba(10, 20, 15, 0.58);
    border-color: rgba(255, 255, 255, 0.18);
}

/* ── Large decorative "ТЕМ, КТО" — absolute, top-anchored ───────────────── */
/* Same ghosted typographic treatment as original, moved from bottom → top.  */
.audience__card-deco {
    position: absolute;
    top: -0.15em;                       /* slight bleed above — clips at card top */
    left: -0.04em;                      /* slight left bleed */
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 5.5vw, 5.25rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
    z-index: 0;
}

/* Title and text sit above the deco layer */
.audience__card-title,
.audience__card-text {
    position: relative;
    z-index: 1;
}

.audience__card-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);          /* 19px */
    font-weight: 700;
    line-height: var(--leading-snug);
    color: #F5F0E8;
    margin: 0;
}

.audience__card-text {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    line-height: 1.65;
    color: rgba(245, 240, 232, 0.60);
    margin: 0;
    flex: 1;
}

/* ── Footer: conclusion + CTAs ───────────────────────────────────────────── */
.audience__footer {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    align-items: center;
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.audience__conclusion {
    font-family: var(--font-body);
    font-size: var(--text-md);
    line-height: var(--leading-relaxed);
    color: rgba(245, 240, 232, 0.72);
    margin: 0;
}

.audience__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    align-items: center;
    justify-content: center;
}

/* Ghost button for dark/video background */
.audience .btn--ghost-light {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.42);
    color: rgba(255, 255, 255, 0.88);
}

.audience .btn--ghost-light:hover,
.audience .btn--ghost-light:focus-visible {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.72);
    box-shadow: none;
}

/* ── Tablet ───────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .audience__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .audience__header {
        max-width: 100%;
    }

    .audience__card-deco {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
        -webkit-text-stroke-width: 0.8px;
    }
}

/* ── Mobile ───────────────────────────────────────────────────────────────── */
@media (max-width: 540px) {
    .audience__grid {
        grid-template-columns: 1fr;
    }

    /* Hide deco on mobile — too heavy, kills readability */
    .audience__card-deco {
        display: none;
    }

    .audience__header,
    .audience__footer {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
        align-items: flex-start;
        border-top: none;
        padding-top: 0;
    }

    .audience__cta-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .audience__cta-group .btn {
        width: 100%;
        justify-content: center;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   SECTION: Course Program + Learning Format
   ═══════════════════════════════════════════════════════════════════════════ */

.course {
    background-color: var(--color-surface, #FAFAF8);
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.course__header {
    max-width: 680px;
    margin-bottom: var(--space-12);
}

.course__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 700;
    line-height: var(--leading-tight);
    color: var(--color-text-primary, #1A1A1A);
    margin: 0 0 var(--space-4);
}

.course__sub {
    font-family: var(--font-body);
    font-size: var(--text-md);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary, #555);
    margin: 0;
}

/* ── 3-column program cards ──────────────────────────────────────────────── */
.course__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
    margin-bottom: var(--space-10);
}

.course__card {
    background-color: #fff;
    border: 1px solid var(--color-border, #E8E5DF);
    border-radius: var(--radius-lg);
    padding: var(--space-7) var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.course__card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.course__card-num {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-green, #2D6A4F);
    opacity: 0.18;
    letter-spacing: -0.02em;
    display: block;
}

.course__card-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    line-height: var(--leading-snug);
    color: var(--color-text-primary, #1A1A1A);
    margin: 0;
    padding-inline: var(--space-3);
}

.course__card-text {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary, #555);
    margin: 0;
    padding-inline: var(--space-3);
}

/* ── Bottom row: steps + support ─────────────────────────────────────────── */
.course__bottom {
    display: grid;
    grid-template-columns: 1fr 0.55fr;
    gap: var(--space-10);
    align-items: start;
    margin-bottom: var(--space-12);
}

/* ── Steps (left) ────────────────────────────────────────────────────────── */
.course__block-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    line-height: var(--leading-snug);
    color: var(--color-text-primary, #1A1A1A);
    margin: 0 0 var(--space-10);
}

.course__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.course__step {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: var(--space-5);
    align-items: start;
}

.course__step-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-top: 2px;
}

.course__step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--color-green, #2D6A4F);
    color: #fff;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.course__step-line {
    width: 2px;
    flex: 1;
    min-height: 40px;
    background: linear-gradient(to bottom, var(--color-green, #2D6A4F) 0%, rgba(45, 106, 79, 0.15) 100%);
    display: block;
    margin-top: 4px;
}

.course__step--last .course__step-marker {
    padding-bottom: var(--space-8);
}

.course__step-body {
    padding-bottom: var(--space-8);
}

.course__step--last .course__step-body {
    padding-bottom: 0;
}

.course__step-title {
    font-family: var(--font-heading);
    font-size: var(--text-md);
    font-weight: 700;
    line-height: var(--leading-snug);
    color: var(--color-text-primary, #1A1A1A);
    margin: 0 0 var(--space-2);
    padding-top: 6px; /* optical align with circle */
}

.course__step-text {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary, #555);
    margin: 0;
}

/* ── Support block (right) ───────────────────────────────────────────────── */
.course__support {
    position: sticky;
    top: calc(var(--space-10) + 70px); /* below fixed header */
}

.course__support-inner {
    background: linear-gradient(145deg, #1A2B23 0%, #2D4A3E 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.course__support-inner .course__block-title {
    color: rgba(245, 240, 232, 0.95);
    margin-bottom: 0;
}

.course__support-text {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: rgba(245, 240, 232, 0.70);
    margin: 0;
}

.course__support-badge {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: var(--space-5) var(--space-6);
    margin-top: var(--space-2);
}

.course__support-badge-value {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: 800;
    line-height: 1;
    color: rgba(245, 240, 232, 0.95);
    letter-spacing: -0.02em;
}

.course__support-badge-label {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    line-height: var(--leading-snug);
    color: rgba(245, 240, 232, 0.55);
}

/* ── Footer: conclusion + CTAs ───────────────────────────────────────────── */
.course__footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-6);
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-border, #E8E5DF);
}

.course__conclusion {
    font-family: var(--font-body);
    font-size: var(--text-md);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary, #555);
    max-width: 680px;
    margin: 0;
}

.course__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    align-items: center;
}

/* ── Tablet ───────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .course__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .course__bottom {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .course__support {
        position: static;
    }
}

/* ── Mobile ───────────────────────────────────────────────────────────────── */
@media (max-width: 540px) {
    .course__cards {
        grid-template-columns: 1fr;
    }

    .course__footer {
        align-items: stretch;
    }

    .course__cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .course__cta-group .btn {
        width: 100%;
        justify-content: center;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   SECTION: Outcomes — Results after the course
   ═══════════════════════════════════════════════════════════════════════════ */

.outcomes {
    background-color: var(--color-bg-warm, #FAFAF5);
}

/* ── TOP: 2-column layout ─────────────────────────────────────────────────── */
.outcomes__top {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: var(--space-12);
    align-items: center;
    margin-bottom: var(--space-16);
}

/* ── Left: text block ─────────────────────────────────────────────────────── */
.outcomes__text {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    align-items: flex-start;
}

.outcomes__label {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-green, #2D6A4F);
    margin: 0;
}

.outcomes__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: var(--leading-tight);
    color: var(--color-text-primary, #1A1A1A);
    margin: 0;
}

.outcomes__sub {
    font-family: var(--font-body);
    font-size: var(--text-md);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary, #555);
    margin: 0;
}

.outcomes__conclusion {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-text-muted, #777);
    margin: 0;
    padding-top: var(--space-2);
    border-top: 1px solid var(--color-border, #E8E5DF);
    width: 100%;
}

.outcomes__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    align-items: center;
    padding-top: var(--space-10);
}

/* ── Right: image ─────────────────────────────────────────────────────────── */
.outcomes__visual {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 0;
}

.outcomes__img {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
    object-position: bottom center;
    /* Soft fade at the base so the cutout sits naturally on any background */
    mask-image: linear-gradient(
        to bottom,
        black 60%,
        rgba(0, 0, 0, 0.6) 85%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        black 60%,
        rgba(0, 0, 0, 0.6) 85%,
        transparent 100%
    );
    user-select: none;
    pointer-events: none;
}

/* ── BOTTOM: 6-tile panel ─────────────────────────────────────────────────── */
/*
   Tiles sit flush against each other, forming one composed 3×2 panel.
   The outer border + overflow:hidden clip the panel corners cleanly.
   Internal dividers replace gaps. Checkerboard tones add structure without noise.
*/
.outcomes__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--color-border, #E8E5DF);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.outcomes__card {
    background-color: #ffffff;
    border-right: 1px solid var(--color-border, #E8E5DF);
    border-bottom: 1px solid var(--color-border, #E8E5DF);
    border-radius: 0;
    padding: var(--space-10) var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    box-shadow: none;
    transition: background-color 0.15s ease;
}

/* Checkerboard: tile 1/3/5 = white, tile 2/4/6 = soft warm tint */
.outcomes__card:nth-child(even) {
    background-color: #F3F2ED;
}

/* Subtle hover — tone shift only, no movement */
.outcomes__card:hover {
    background-color: #ECEAE3;
}

/* Remove right divider from 3rd column (last in each row) */
.outcomes__card:nth-child(3n) {
    border-right: none;
}

/* Remove bottom divider from 2nd row (tiles 4–6) */
.outcomes__card:nth-child(n+4) {
    border-bottom: none;
}

.outcomes__card-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    line-height: var(--leading-snug);
    color: var(--color-text-primary, #1A1A1A);
    margin: 0;
}

.outcomes__card-text {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary, #555);
    margin: 0;
}

/* ── Tablet ───────────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .outcomes__top {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .outcomes__visual {
        justify-content: center;
        order: -1; /* image above text on tablet stacked layout */
    }

    .outcomes__img {
        max-width: 320px;
    }
}

@media (min-width: 641px) and (max-width: 960px) {
    .outcomes__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Reset 3-col divider rules */
    .outcomes__card:nth-child(3n) {
        border-right: 1px solid var(--color-border, #E8E5DF);
    }
    .outcomes__card:nth-child(n+4) {
        border-bottom: 1px solid var(--color-border, #E8E5DF);
    }

    /* Apply 2-col divider rules */
    .outcomes__card:nth-child(2n) {
        border-right: none;
    }
    .outcomes__card:nth-child(n+5) {
        border-bottom: none;
    }
}

/* ── Mobile ───────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .outcomes__grid {
        grid-template-columns: 1fr;
    }

    /* Reset 3-col divider rules back to full-width baseline */
    .outcomes__card:nth-child(3n) {
        border-right: 1px solid var(--color-border, #E8E5DF);
    }
    .outcomes__card:nth-child(n+4) {
        border-bottom: 1px solid var(--color-border, #E8E5DF);
    }

    /* 1-col: no right divider anywhere, no bottom on last tile */
    .outcomes__card {
        border-right: none;
    }
    .outcomes__card:last-child {
        border-bottom: none;
    }

    .outcomes__img {
        max-width: 260px;
    }

    .outcomes__cta-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .outcomes__cta-group .btn {
        width: 100%;
        justify-content: center;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   SECTION: Income Calculator
   ═══════════════════════════════════════════════════════════════════════════ */

.calc {
    background-color: var(--color-bg-warm, #FAFAF1);
}

/* ── 2-column layout ──────────────────────────────────────────────────────── */
.calc__layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--space-12);
    align-items: start;
}

/* ── Left: heading + sliders ──────────────────────────────────────────────── */
.calc__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.625rem, 2.8vw, 2.25rem);
    font-weight: 700;
    line-height: var(--leading-tight);
    color: var(--color-text-primary, #1A1A1A);
    margin: 0 0 var(--space-5);
}

.calc__sub {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary, #555);
    margin: 0 0 var(--space-10);
    max-width: 580px;
}

/* ── Slider groups ────────────────────────────────────────────────────────── */
.calc__group {
    margin-bottom: var(--space-8);
}

.calc__group:last-child {
    margin-bottom: 0;
}

.calc__group-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.calc__label {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-primary, #1A1A1A);
    line-height: var(--leading-snug);
}

.calc__value {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-green, #344F44);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Range input ──────────────────────────────────────────────────────────── */
.calc__range {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    background: linear-gradient(
        to right,
        var(--color-green, #344F44) 0%,
        var(--color-green, #344F44) var(--pct, 33%),
        #DDD9D0 var(--pct, 33%),
        #DDD9D0 100%
    );
    /* Reset browser defaults */
    border: none;
    padding: 0;
    margin: 0;
}

/* Thumb — WebKit */
.calc__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid var(--color-green, #344F44);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.14);
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.calc__range::-webkit-slider-thumb:hover,
.calc__range:focus::-webkit-slider-thumb {
    transform: scale(1.18);
    box-shadow: 0 2px 10px rgba(52, 79, 68, 0.25);
}

/* Thumb — Firefox */
.calc__range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid var(--color-green, #344F44);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.14);
    cursor: pointer;
    transition: transform 0.12s ease;
}

.calc__range::-moz-range-thumb:hover {
    transform: scale(1.18);
}

/* Track — Firefox */
.calc__range::-moz-range-track {
    height: 4px;
    border-radius: 2px;
    background: #DDD9D0;
}

.calc__range::-moz-range-progress {
    height: 4px;
    border-radius: 2px 0 0 2px;
    background: var(--color-green, #344F44);
}

/* Focus ring */
.calc__range:focus-visible {
    outline: 2px solid var(--color-green, #344F44);
    outline-offset: 6px;
    border-radius: 3px;
}

.calc__extremes {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-2);
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: var(--color-text-muted, #888);
}

.calc__helper {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    line-height: var(--leading-relaxed);
    color: var(--color-text-muted, #888);
    margin: var(--space-3) 0 0;
}

/* ── Right: result panel ──────────────────────────────────────────────────── */
.calc__result {
    position: sticky;
    top: calc(70px + var(--space-8)); /* below fixed header */
}

.calc__result-inner {
    background: linear-gradient(145deg, #1A2B23 0%, #2D4A3E 60%, #1E2D27 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.calc__result-label {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.55);
    margin: 0;
}

.calc__result-amount {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: rgba(245, 240, 232, 0.97);
    margin: 0;
}

.calc__cta {
    display: block;
    text-align: center;
    width: 100%;
}

.calc__disclaimer {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    line-height: var(--leading-relaxed);
    color: rgba(245, 240, 232, 0.45);
    margin: 0;
}

.calc__note {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    line-height: var(--leading-relaxed);
    color: rgba(245, 240, 232, 0.65);
    margin: 0;
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Soft scenario highlight (profession version) ────────────────────────── */
.calc__soft-scenario {
    margin-top: var(--space-6);
    padding: var(--space-5) var(--space-6);
    background: rgba(245, 240, 232, 0.06);
    border-left: 3px solid var(--color-accent, #C8A96E);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.calc__soft-scenario__text {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-text, #1a1a1a);
    margin: 0;
}

.calc__soft-scenario__text strong {
    color: inherit;
    font-weight: 600;
}

/* ── Tablet ───────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .calc__layout {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .calc__result {
        position: static;
    }

    .calc__result-inner {
        padding: var(--space-8) var(--space-6);
    }

    .calc__sub {
        max-width: 100%;
    }
}

/* ── Mobile ───────────────────────────────────────────────────────────────── */
@media (max-width: 540px) {
    .calc__result-amount {
        font-size: clamp(2.25rem, 10vw, 3rem);
    }

    .calc__group-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-1);
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   SECTION: Bonus + CTA
   Background: warm golden gradient — premium, celebratory, gift-like
   ═══════════════════════════════════════════════════════════════════════════ */

.bonus {
    background: linear-gradient(150deg, #F5E6A0 0%, #ECCF72 45%, #F4E49C 100%);
    border-top: none;
    position: relative;
    overflow: hidden;
}

/* ── Decorative silhouette: sparkle / star cluster — top-left ────────────── */
.bonus::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 460px;
    height: 460px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 320'%3E%3Cpath d='M160,24 L174,130 L280,144 L174,158 L160,264 L146,158 L50,144 L146,130 Z' fill='white'/%3E%3Cpath d='M268,20 L276,72 L328,80 L276,88 L268,140 L260,88 L208,80 L260,72 Z' fill='white'/%3E%3Cpath d='M52,200 L58,226 L84,232 L58,238 L52,264 L46,238 L20,232 L46,226 Z' fill='white'/%3E%3Ccircle cx='44' cy='76' r='9' fill='white'/%3E%3Ccircle cx='292' cy='192' r='6' fill='white'/%3E%3Ccircle cx='136' cy='296' r='7' fill='white'/%3E%3Ccircle cx='300' cy='36' r='5' fill='white'/%3E%3C/svg%3E") no-repeat center / contain;
    opacity: 0.30;
    pointer-events: none;
    z-index: 0;
}

/* ── Decorative silhouette: gift box with bow + sparkles — bottom-right ───── */
.bonus::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -60px;
    width: 500px;
    height: 500px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'%3E%3Crect x='36' y='132' width='228' height='148' rx='10' fill='white'/%3E%3Crect x='22' y='100' width='256' height='42' rx='7' fill='white'/%3E%3Cellipse cx='96' cy='84' rx='48' ry='26' transform='rotate(-24 96 84)' fill='white'/%3E%3Cellipse cx='204' cy='84' rx='48' ry='26' transform='rotate(24 204 84)' fill='white'/%3E%3Cellipse cx='150' cy='98' rx='20' ry='16' fill='white'/%3E%3Crect x='128' y='100' width='44' height='180' rx='6' fill='white' opacity='0.3'/%3E%3Crect x='22' y='112' width='256' height='18' rx='4' fill='white' opacity='0.3'/%3E%3Cpath d='M232,36 L238,58 L260,64 L238,70 L232,92 L226,70 L204,64 L226,58 Z' fill='white'/%3E%3Ccircle cx='56' cy='54' r='12' fill='white'/%3E%3Ccircle cx='258' cy='170' r='7' fill='white'/%3E%3Ccircle cx='38' cy='228' r='5' fill='white'/%3E%3C/svg%3E") no-repeat center / contain;
    opacity: 0.26;
    pointer-events: none;
    z-index: 0;
}

/* Container sits above decorative silhouettes */
.bonus .container {
    position: relative;
    z-index: 1;
}

/* ── Full-width top: heading + price row ──────────────────────────────────── */
.bonus__top {
    margin-bottom: var(--space-12);
}

.bonus__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.875rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: var(--leading-tight);
    color: #241808;
    margin: 0 0 var(--space-6);
    max-width: 760px;
}

.bonus__price-row {
    display: flex;
    align-items: baseline;
    gap: var(--space-5);
}

.bonus__price-old {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2vw, 1.625rem);
    font-weight: 500;
    color: rgba(36, 24, 8, 0.38);
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}

.bonus__price-cur {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #2D4A3E;
}

/* ── 2-column body layout ─────────────────────────────────────────────────── */
.bonus__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
    margin-bottom: var(--space-8);
}

/* ── LEFT: eyebrow, sub, conclusion, CTAs ─────────────────────────────────── */
.bonus__eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7A520E;
    margin: 0 0 var(--space-4);
}

.bonus__sub {
    font-family: var(--font-body);
    font-size: var(--text-md);
    line-height: var(--leading-relaxed);
    color: #4A3010;
    margin: 0 0 var(--space-6);
}

.bonus__conclusion {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: #4A3010;
    padding-top: var(--space-6);
    border-top: 1px solid rgba(120, 80, 20, 0.22);
    margin: 0 0 var(--space-8);
}

.bonus__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    align-items: center;
}

/* ── RIGHT: bonus card + image ────────────────────────────────────────────── */
.bonus__offers {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

/* Cream card — distinct from golden section bg, preserves hierarchy */
.bonus__main-card {
    background: rgba(255, 249, 232, 0.90);
    border: 1px solid rgba(165, 116, 37, 0.28);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    box-shadow: 0 2px 20px rgba(110, 68, 8, 0.13);
}

.bonus__main-label {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #7A520E;
    margin: 0;
}

.bonus__main-title {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 1.8vw, 1.625rem);
    font-weight: 700;
    line-height: var(--leading-snug);
    color: #2D4A3E;
    margin: 0;
}

.bonus__main-text {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: #4A3010;
    margin: 0;
}

/* ── Hot Stone image ──────────────────────────────────────────────────────── */
.bonus__image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    line-height: 0;
}

.bonus__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

/* ── Alternative note (full-width, below columns) ────────────────────────── */
.bonus__alt-note {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    line-height: var(--leading-relaxed);
    color: rgba(36, 24, 8, 0.55);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(120, 80, 20, 0.22);
    margin: 0;
}

.bonus__alt-note strong {
    color: #4A3010;
    font-weight: 600;
}

/* ── Tablet ───────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .bonus__layout {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
}

/* ── Mobile ───────────────────────────────────────────────────────────────── */
@media (max-width: 540px) {
    .bonus__price-row {
        gap: var(--space-4);
    }

    .bonus__cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .bonus__cta-group .btn {
        width: 100%;
        justify-content: center;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   SECTION: Instructors
   Card = portrait block (framed photo + caption below) + separate info block
   No table, no row borders, no merged single box.
   ═══════════════════════════════════════════════════════════════════════════ */

.instr {
    background-color: var(--color-green-wash, #F2F5F3);
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.instr__header {
    max-width: 760px;
    margin-bottom: var(--space-16);
}

.instr__eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-green-soft, #6A8C7E);
    margin: 0 0 var(--space-4);
}

.instr__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.625rem, 2.8vw, 2.25rem);
    font-weight: 700;
    line-height: var(--leading-tight);
    color: var(--color-text-primary, #1A1A1A);
    margin: 0 0 var(--space-5);
}

.instr__sub {
    font-family: var(--font-body);
    font-size: var(--text-md);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary, #555);
    margin: 0;
}

/* ── 2-card grid ─────────────────────────────────────────────────────────── */
.instr__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-10);
    align-items: start;
    margin-bottom: var(--space-12);
}

/* ── Card: transparent container, no border of its own ──────────────────── */
.instr__card {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

/* ═══════════════════════════════════════════════════════════════
   PORTRAIT BLOCK
   — .instr__portrait wrapper (creates overflow room above frame)
   — .instr__photo-frame  ← THE ONLY FRAMED ELEMENT
   — .instr__photo        sits inside frame, taller → overflows above
   — .instr__caption      lives OUTSIDE the frame, below it
   ═══════════════════════════════════════════════════════════════ */

.instr__portrait {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Top padding = overflow amount so photo doesn't clip above card */
    /* photo 316px − frame 130px = 186px overflow; use 200px for breathing room */
    padding-top: 200px;
    gap: var(--space-5);
}

/* The one and only frame — wraps only the photo area */
.instr__photo-frame {
    position: relative;
    width: 50%;
    /* Frame height is SHORTER than the photo — photo overflows above */
    height: 130px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-lg);
    /* Same dark green as the calculator result panel */
    background: linear-gradient(145deg, #1A2B23 0%, #2D4A3E 60%, #1E2D27 100%);
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.18);
    /* overflow: visible so photo can spill above top edge */
    overflow: visible;
}

/* Photo: taller than frame (56px more), anchored to frame bottom → overflows above */
.instr__photo {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    /* 260 frame + 56 overflow = 316px total height */
    height: 316px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    object-position: bottom center;
    z-index: 2;
    pointer-events: none;
    user-select: none;
}

/* Caption: outside the frame, centred text — reads as photo signature */
.instr__caption {
    text-align: center;
    padding: 0 var(--space-4);
}

.instr__name {
    font-family: var(--font-heading);
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    font-weight: 700;
    line-height: var(--leading-snug);
    color: var(--color-text-primary, #1A1A1A);
    margin: 0 0 var(--space-2);
}

.instr__role {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    line-height: var(--leading-snug);
    font-weight: 500;
    color: var(--color-green-mid, #4A6B5C);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   INFO BLOCK
   — separate soft card, completely independent from the frame
   — no row borders, no dividers between facts and bio
   — just clean padding, bullet dots, flowing text
   ═══════════════════════════════════════════════════════════════ */

.instr__info {
    /* Matches .bonus__main-card exactly — same gradient, border, radius, padding */
    background: linear-gradient(135deg, #EDF4F0 0%, #DFF0E8 100%);
    border: 1px solid var(--color-green-pale, #C4D4CC);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

/* Facts: bullet list — no row borders anywhere */
.instr__facts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.instr__facts li {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary, #555);
    padding-left: var(--space-6);
    position: relative;
}

.instr__facts li::before {
    content: '';
    position: absolute;
    left: var(--space-2);
    top: 0.6em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--color-green-soft, #6A8C7E);
    flex-shrink: 0;
}

/* Bio: flows directly after facts — NO top border, just spacing via gap */
.instr__bio {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary, #555);
    margin: 0;
    font-style: italic;
}

/* ── Footer: conclusion + CTAs ───────────────────────────────────────────── */
.instr__footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-6);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(52, 79, 68, 0.12);
}

.instr__conclusion {
    font-family: var(--font-body);
    font-size: var(--text-md);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary, #555);
    max-width: 680px;
    margin: 0;
}

.instr__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    align-items: center;
}

/* ── Tablet ───────────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
    .instr__grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ── Mobile ───────────────────────────────────────────────────────────────── */
@media (max-width: 540px) {
    .instr__portrait {
        padding-top: 48px;
    }

    .instr__photo-frame {
        height: 280px;
    }

    .instr__photo {
        height: 328px; /* 280 + 48 */
    }

    .instr__footer {
        align-items: stretch;
    }

    .instr__cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .instr__cta-group .btn {
        width: 100%;
        justify-content: center;
    }
}/* ═══════════════════════════════════════════════════════════════════════════
   SECTION: Testimonials — Telegram-style video circles
   ═══════════════════════════════════════════════════════════════════════════ */

.reviews {
    background-color: var(--color-green-wash, #F2F5F3);
    border-top: 1px solid var(--color-border, #E8E5DF);
}

/* Header */
.reviews__header {
    max-width: 640px;
    margin-bottom: var(--space-12);
}

.reviews__eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-green-soft, #6A8C7E);
    margin: 0 0 var(--space-4);
}

.reviews__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.625rem, 2.8vw, 2.25rem);
    font-weight: 700;
    line-height: var(--leading-tight);
    color: var(--color-text-primary, #1A1A1A);
    margin: 0 0 var(--space-4);
}

.reviews__sub {
    font-family: var(--font-body);
    font-size: var(--text-md);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary, #555);
    margin: 0;
}

/* Carousel track */
.reviews__track-wrap {
    margin-bottom: var(--space-10);
    margin-left: calc(-1 * var(--space-4));
    margin-right: calc(-1 * var(--space-4));
}

.reviews__track {
    display: flex;
    gap: var(--space-7);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: var(--space-5) var(--space-6) var(--space-3);
    list-style: none;
    margin: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reviews__track::-webkit-scrollbar {
    display: none;
}

/* Carousel item */
.reviews__item {
    scroll-snap-align: center;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    cursor: pointer;
    text-align: center;
    /* Fixed width prevents text overflow into neighbors */
    width: 112px;
    opacity: 0.60;
    transition: opacity 0.22s ease, transform 0.22s ease;
    user-select: none;
}

.reviews__item:hover {
    opacity: 0.85;
}

.reviews__item--active {
    opacity: 1;
}

.reviews__item-name {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text-primary, #1A1A1A);
    margin: 0;
    /* Allow up to 2 lines, clip with ellipsis */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    width: 100%;
}

.reviews__item-line {
    font-family: var(--font-body);
    font-size: 0.62rem;
    line-height: 1.3;
    color: var(--color-text-secondary, #555);
    margin: 0;
    /* Single line, clipped */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* Circle base */
.reviews__circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 0 0 1.5px rgba(196, 212, 204, 0.5);
    transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.reviews__item--active .reviews__circle {
    box-shadow:
        0 0 0 2px var(--color-green-wash, #F2F5F3),
        0 0 0 4.5px var(--color-green-pale, #C4D4CC);
    transform: scale(1.07);
}

/* Fade transition when featured card content is switching */
.reviews__featured-right {
    transition: opacity 0.18s ease;
}
.reviews__featured-right.is-transitioning {
    opacity: 0;
}

.reviews__circle--lg {
    width: 110px;
    height: 110px;
}

/* Circle background */
.reviews__circle-bg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews__circle-bg::before {
    content: '';
    position: absolute;
    top: 12%;
    left: 50%;
    transform: translateX(-50%);
    width: 36%;
    height: 34%;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    z-index: 1;
}

.reviews__circle-bg::after {
    content: '';
    position: absolute;
    bottom: -8%;
    left: 50%;
    transform: translateX(-50%);
    width: 72%;
    height: 58%;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50% 50% 0 0;
    z-index: 1;
}

.reviews__circle-bg--1 { background: linear-gradient(155deg, #1C2E24 0%, #2E5244 65%, #1A2B23 100%); }
.reviews__circle-bg--2 { background: linear-gradient(155deg, #2C1F15 0%, #5A3C22 65%, #2C1F15 100%); }
.reviews__circle-bg--3 { background: linear-gradient(155deg, #162228 0%, #2A4A58 65%, #162228 100%); }
.reviews__circle-bg--4 { background: linear-gradient(155deg, #222818 0%, #424C26 65%, #222818 100%); }
.reviews__circle-bg--5 { background: linear-gradient(155deg, #26181E 0%, #503040 65%, #26181E 100%); }

/* Play icon */
.reviews__play {
    position: relative;
    z-index: 2;
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 9px;
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.82);
    margin-left: 2px;
    flex-shrink: 0;
}

.reviews__play--lg {
    border-width: 7px 0 7px 13px;
    margin-left: 3px;
}

/* ── Circular video bubble — carousel ───────────────────────────────────── */
.reviews__circle-video-wrap {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1A2B23;
}

/* Dark scrim over video so play triangle stays readable */
.reviews__circle-video-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.28);
    z-index: 1;
    pointer-events: none;
}

.reviews__circle-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* Play icon sits above the dark scrim */
.reviews__circle-video-wrap .reviews__play {
    position: relative;
    z-index: 2;
}

/* Active ring on video bubble matches text-bubble active style */
.reviews__item--active .reviews__circle-video-wrap {
    box-shadow: none; /* ring is on .reviews__circle, already handled */
}

/* ── Circular video player — featured card ───────────────────────────────── */
.reviews__featured-video-wrap {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    /* Hidden by default — shown when .reviews__featured.is-video-active */
    display: none;
    box-shadow:
        0 0 0 2px var(--color-green-wash, #F2F5F3),
        0 0 0 4.5px var(--color-green-pale, #C4D4CC);
    background: #1A2B23;
}

.reviews__featured.is-video-active .reviews__featured-video-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews__featured.is-video-active [data-feat="circle-wrap"] {
    display: none;
}

.reviews__featured-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Play/pause button overlay */
.reviews__featured-play-btn {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.32);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease;
    z-index: 2;
}

.reviews__featured-play-btn:hover {
    background: rgba(0, 0, 0, 0.18);
}

.reviews__featured-play-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 2px;
}

/* When playing: lighter overlay, hide play triangle, show pause bars */
.reviews__featured-play-btn.is-playing {
    background: rgba(0, 0, 0, 0.10);
}

.reviews__featured-play-btn.is-playing .reviews__play--lg {
    display: none;
}

.reviews__featured-play-btn.is-playing::after {
    content: '';
    display: block;
    width: 12px;
    height: 14px;
    background:
        linear-gradient(to right,
            rgba(255,255,255,0.88) 0, rgba(255,255,255,0.88) 4px,
            transparent 4px, transparent 8px,
            rgba(255,255,255,0.88) 8px, rgba(255,255,255,0.88) 12px
        );
    flex-shrink: 0;
}

/* Featured card */
.reviews__featured {
    background: linear-gradient(135deg, #EDF4F0 0%, #DFF0E8 100%);
    border: 1px solid var(--color-green-pale, #C4D4CC);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-8);
    align-items: center;
    margin-bottom: var(--space-12);
}

.reviews__featured-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    text-align: center;
    width: 130px;
    flex-shrink: 0;
}

.reviews__featured-left .reviews__circle--lg {
    box-shadow:
        0 0 0 2px var(--color-green-wash, #F2F5F3),
        0 0 0 4.5px var(--color-green-pale, #C4D4CC);
}

.reviews__featured-name {
    font-family: var(--font-heading);
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--color-text-primary, #1A1A1A);
    margin: 0;
}

.reviews__featured-role {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: var(--color-green-mid, #4A6B5C);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
}

.reviews__featured-right {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.reviews__blockquote {
    margin: 0;
    padding: 0;
}

.reviews__blockquote p {
    font-family: var(--font-body);
    font-size: var(--text-md);
    line-height: var(--leading-relaxed);
    color: var(--color-text-primary, #1A1A1A);
    font-style: italic;
    margin: 0;
}

.reviews__tap-hint {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: var(--color-text-muted, #888);
    margin: 0;
}

/* Footer */
.reviews__footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-6);
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-border, #E8E5DF);
}

.reviews__conclusion {
    font-family: var(--font-body);
    font-size: var(--text-md);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary, #555);
    max-width: 680px;
    margin: 0;
}

.reviews__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    align-items: center;
}

/* Tablet */
@media (max-width: 900px) {
    .reviews__featured {
        gap: var(--space-6);
        padding: var(--space-6);
    }

    .reviews__featured-left {
        width: 110px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .reviews__featured {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .reviews__featured-left {
        width: auto;
    }

    .reviews__footer {
        align-items: stretch;
    }

    .reviews__cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .reviews__cta-group .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ════════════════════════════════════════════════════════════════════════════
   MODAL — CTA popup
   ════════════════════════════════════════════════════════════════════════════ */

/* Scroll lock */
body.modal-open {
    overflow: hidden;
}

/* ── Overlay ─────────────────────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    /* Deep green-tinted dark, not flat black */
    background: radial-gradient(
        ellipse at 50% 40%,
        rgba(18, 28, 22, 0.76) 0%,
        rgba(10, 16, 13, 0.82) 100%
    );
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-5);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.modal-overlay[hidden] {
    display: none !important;
}

.modal-overlay.is-open {
    opacity: 1;
}

/* ── Card ────────────────────────────────────────────────────────────────── */
.modal {
    /* Warm off-white — premium, not clinical white */
    background: #F7F3EE;
    border-radius: 18px;
    box-shadow:
        0 2px  4px  rgba(10, 16, 13, 0.06),
        0 8px  24px rgba(10, 16, 13, 0.10),
        0 28px 64px rgba(10, 16, 13, 0.18);
    width: 100%;
    max-width: 460px;
    position: relative;
    /* Generous, asymmetric padding: more top breathing room */
    padding: var(--space-12) var(--space-10) var(--space-10);
    transform: translateY(16px) scale(0.975);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    /* Subtle inner top accent line */
    overflow: hidden;
}

/* Thin green accent stripe along the top edge */
.modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--color-green, #344F44) 20%,
        #5B8A72 50%,
        var(--color-green, #344F44) 80%,
        transparent 100%
    );
    border-radius: 18px 18px 0 0;
}

.modal-overlay.is-open .modal {
    transform: translateY(0) scale(1);
}

/* ── Close button ────────────────────────────────────────────────────────── */
.modal__close {
    position: absolute;
    /* Aligned with modal's right padding */
    top: var(--space-5);
    right: var(--space-5);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    /* Light, elegant border — not a filled blob */
    border: 1px solid rgba(52, 79, 68, 0.22);
    background: transparent;
    color: rgba(52, 79, 68, 0.50);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
    flex-shrink: 0;
}

.modal__close:hover {
    border-color: rgba(52, 79, 68, 0.45);
    background: rgba(52, 79, 68, 0.07);
    color: rgba(52, 79, 68, 0.80);
}

.modal__close:focus-visible {
    outline: 2px solid var(--color-green, #344F44);
    outline-offset: 3px;
}

/* ── Eyebrow ─────────────────────────────────────────────────────────────── */
.modal__eyebrow {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: rgba(52, 79, 68, 0.70);
    margin: 0 0 var(--space-3);
}

/* ── Title ───────────────────────────────────────────────────────────────── */
.modal__title {
    font-family: var(--font-heading, 'Manrope');
    font-size: clamp(1.45rem, 3.2vw, 1.8rem);
    font-weight: 800;
    color: #161D19;
    line-height: 1.18;
    margin: 0 0 var(--space-3);
    /* Stop title from running under close button */
    padding-right: var(--space-10);
}

/* ── Sub ─────────────────────────────────────────────────────────────────── */
.modal__sub {
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.65;
    color: #697469;
    margin: 0 0 var(--space-8);
    padding-right: var(--space-5);
}

/* ── Form ────────────────────────────────────────────────────────────────── */
.modal__form {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.modal__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ── Field label ─────────────────────────────────────────────────────────── */
.modal__label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: #5A6459;
    letter-spacing: 0.01em;
}

/* ── Input ───────────────────────────────────────────────────────────────── */
.modal__input {
    height: 56px;
    padding: 0 18px;
    /* White surface against the warm card bg — visually pops cleanly */
    background: #FFFFFF;
    border: 1.5px solid #DDD8CF;
    border-radius: 11px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #161D19;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease;
    appearance: none;
    -webkit-appearance: none;
}

.modal__input:hover {
    border-color: #C6BFB4;
}

.modal__input:focus {
    border-color: var(--color-green, #344F44);
    box-shadow: 0 0 0 3.5px rgba(52, 79, 68, 0.11);
}

.modal__input::placeholder {
    color: #C2BDB5;
    font-weight: 400;
}

/* ── Submit button ───────────────────────────────────────────────────────── */
.modal__submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 56px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    /* Extra room above the button — separates it from fields */
    margin-top: var(--space-4);
    border-radius: 12px;
}

/* ── Field error text ────────────────────────────────────────────────────── */
.modal__field-error {
    font-family: var(--font-body);
    font-size: 0.76rem;
    color: #B0392B;
    min-height: 1em;
    line-height: 1.4;
}

.modal__input--error {
    border-color: #C0392B !important;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.09) !important;
}

/* General submit-level error (network / server) */
.modal__submit-error {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: #B0392B;
    text-align: center;
    line-height: 1.5;
}

.modal__submit-error:empty {
    display: none;
}

/* ── Success state ───────────────────────────────────────────────────────── */
.modal__success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-5);
    padding: var(--space-6) 0 var(--space-4);
}

.modal__success-icon {
    flex-shrink: 0;
}

.modal__success-title {
    font-family: var(--font-heading, 'Manrope');
    font-size: 1.3rem;
    font-weight: 800;
    color: #161D19;
    margin: 0;
}

.modal__success-sub {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.65;
    color: #697469;
    margin: 0;
    max-width: 300px;
}

/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 520px) {
    .modal {
        padding: var(--space-10) var(--space-8) var(--space-8);
        border-radius: 16px;
        max-width: 100%;
    }

    .modal__title {
        font-size: 1.4rem;
        padding-right: var(--space-8);
    }

    .modal__sub {
        padding-right: 0;
    }

    .modal__input {
        height: 54px;
    }

    .modal__submit {
        height: 54px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Legal modals — Impressum & Datenschutzerklärung
   ═══════════════════════════════════════════════════════════════════════════ */

/* Wider card for content modals */
.legal-modal {
    max-width: 700px;
    padding: 0;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - var(--space-10) * 2);
    overflow: hidden;
}

/* Sticky header — title + close button */
.legal-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-5);
    padding: var(--space-8) var(--space-10) var(--space-6);
    border-bottom: 1px solid rgba(52, 79, 68, 0.12);
    flex-shrink: 0;
}

.legal-modal__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text, #1a1a1a);
    margin: 0;
    line-height: 1.2;
}

/* Reposition close button inside header (override absolute positioning) */
.legal-modal__close {
    position: static !important;
    flex-shrink: 0;
}

/* Scrollable content body */
.legal-modal__body {
    overflow-y: auto;
    padding: var(--space-8) var(--space-10) var(--space-10);
    flex: 1;
    -webkit-overflow-scrolling: touch;
}

/* Section blocks */
.legal-modal__section {
    padding-bottom: var(--space-7);
    border-bottom: 1px solid rgba(52, 79, 68, 0.09);
    margin-bottom: var(--space-7);
}

.legal-modal__section--last {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-modal__h3 {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-green, #344F44);
    margin: 0 0 var(--space-3);
}

.legal-modal__p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text, #1a1a1a);
    margin: 0 0 var(--space-3);
}

.legal-modal__p:last-child {
    margin-bottom: 0;
}

.legal-modal__p--muted {
    color: #697469;
    font-size: 0.875rem;
}

.legal-modal__list {
    margin: var(--space-3) 0;
    padding-left: var(--space-6);
    list-style: disc;
}

.legal-modal__list li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text, #1a1a1a);
    margin-bottom: var(--space-1);
}

/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 520px) {
    .legal-modal {
        max-height: calc(100vh - var(--space-8) * 2);
        border-radius: 16px;
    }

    .legal-modal__header {
        padding: var(--space-6) var(--space-6) var(--space-5);
    }

    .legal-modal__title {
        font-size: 1.3rem;
    }

    .legal-modal__body {
        padding: var(--space-6) var(--space-6) var(--space-8);
    }
}

/* ── Phone popup (desktop "Позвонить" button) ─────────────────────────────── */
.phone-popup {
    position: absolute;
    z-index: 9999;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.10);
    padding: 24px 28px 20px;
    min-width: 240px;
    text-align: center;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    pointer-events: none;
}
.phone-popup.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.phone-popup__close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #999;
    line-height: 1;
    padding: 4px;
}
.phone-popup__close:hover { color: #333; }
.phone-popup__label {
    font-size: 13px;
    color: #888;
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.phone-popup__number {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.phone-popup__number:hover { color: var(--color-accent, #C94040); }
