/* ============================================================
   Mentoring landing — warm editorial theme ("Binjan-warm")
   Cream canvas · teal brushstroke · amber/coral accents
   ============================================================ */

:root {
    --cream:        #faf6ef;
    --cream-2:      #f3ece0;
    --surface:      #ffffff;
    --surface-soft: #fffdf9;
    --header-glass: rgba(250, 246, 239, 0.86);
    --ink:          #191713;
    --body:         #4a453d;
    --muted:        #6e675e;
    --line:         rgba(25, 23, 19, 0.10);
    --line-strong:  rgba(25, 23, 19, 0.16);
    --teal:         #0e8c84;
    --teal-d:       #0b6b64;
    --teal-soft:    rgba(14, 140, 132, 0.12);
    --amber:        #e0962b;
    --amber-soft:   rgba(224, 150, 43, 0.16);
    --coral:        #e2563c;
    --coral-soft:   rgba(226, 86, 60, 0.14);
    --shadow-sm:    0 2px 8px rgba(25, 23, 19, 0.05);
    --shadow-md:    0 14px 34px rgba(25, 23, 19, 0.10);
    --shadow-lg:    0 26px 60px rgba(25, 23, 19, 0.14);
    --radius:       18px;
    --radius-lg:    26px;
    --maxw:         1140px;
    --ease:         cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Dark theme (auto-synced with OS) ---------- */
@media (prefers-color-scheme: dark) {
    :root {
        --cream:        #15130f;
        --cream-2:      #1c1914;
        --surface:      #211d17;
        --surface-soft: #1a1711;
        --header-glass: rgba(21, 19, 15, 0.86);
        --ink:          #f3eee4;
        --body:         #cfc8bb;
        --muted:        #9b9384;
        --line:         rgba(255, 255, 255, 0.10);
        --line-strong:  rgba(255, 255, 255, 0.18);
        --teal:         #1aa79d;
        --teal-d:       #54ccc1;
        --teal-soft:    rgba(26, 167, 157, 0.16);
        --amber:        #e6a23c;
        --amber-soft:   rgba(230, 162, 60, 0.18);
        --coral:        #ec6a51;
        --coral-soft:   rgba(236, 106, 81, 0.18);
        --shadow-sm:    0 2px 8px rgba(0, 0, 0, 0.40);
        --shadow-md:    0 14px 34px rgba(0, 0, 0, 0.48);
        --shadow-lg:    0 26px 60px rgba(0, 0, 0, 0.55);
    }
    /* Keep dark text on the (light) primary button hover in dark mode */
    .btn--primary:hover { color: #08201d; }
    /* SVG data-URI glyphs can't read CSS vars — use a lighter teal stroke */
    .checklist li::before {
        background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2354ccc1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
    }
    .faq-item summary::after {
        background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2354ccc1' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
    }
    .case-tag--amber { color: var(--amber); }
    .case-journey__point--b .case-journey__label { color: var(--amber); }
    .case-journey__point--b .case-journey__detail { color: var(--amber); }
    .case-link { border-bottom-color: rgba(84, 204, 193, 0.4); }
    .case-journey__line { border-top-color: rgba(26, 167, 157, 0.5); }
    .quote__ava--initial { color: #15130f; }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--cream);
    color: var(--body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

a { color: var(--teal-d); text-decoration: none; }
a:hover { color: var(--teal); }

h1, h2, h3, h4 {
    font-family: 'Manrope', 'Inter', sans-serif;
    line-height: 1.12;
    margin: 0 0 0.6em;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
}

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

.accent { color: var(--teal-d); }

/* ---------- Reveal animation ----------
   Hidden state is gated behind `.js` so the page is fully visible
   if JavaScript is disabled or fails to load. */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: calc(var(--d, 0) * 70ms);
    will-change: opacity, transform;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
    .hero__brush, .hero__photo, .swash path, .float-badge { animation: none !important; transition: none !important; }
    .swash path { stroke-dashoffset: 0 !important; }
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.container--narrow { max-width: 760px; }

.section { padding: 5.5rem 0; position: relative; }
.section[id] { scroll-margin-top: 90px; }
.section--alt { background: var(--cream-2); }
.section--tint {
    background:
        radial-gradient(120% 90% at 100% 0%, var(--teal-soft), transparent 55%),
        var(--cream);
}
.section__head { max-width: 660px; margin: 0 0 3rem; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
    display: inline-block;
    font-family: 'Manrope', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--teal-d);
    margin: 0 0 0.9rem;
}
.section__title {
    font-size: clamp(1.7rem, 3.6vw, 2.5rem);
    margin-bottom: 0.6rem;
}
.section__lead { color: var(--muted); margin: 0; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    background: var(--header-glass);
    backdrop-filter: saturate(150%) blur(12px);
    -webkit-backdrop-filter: saturate(150%) blur(12px);
    border-bottom-color: var(--line);
    box-shadow: 0 4px 20px rgba(25, 23, 19, 0.04);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 1rem;
}
.site-header__logo {
    color: var(--ink);
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.12rem;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    transition: color 0.2s ease;
}
.site-header__logo:hover { color: var(--teal-d); }
.site-nav { display: flex; gap: 1.6rem; align-items: center; }
.site-nav a { white-space: nowrap; }
.site-nav a:not(.btn) { color: var(--body); font-size: 0.92rem; font-weight: 600; }
.site-nav a:not(.btn):hover { color: var(--teal-d); }
.site-nav__cta { margin-left: 0.4rem; }
.site-nav__cta.btn--primary { background: var(--teal-d); color: #fff; box-shadow: 0 8px 20px rgba(11, 107, 100, 0.24); }
.site-nav__cta.btn--primary:hover { background: var(--ink); color: var(--cream); box-shadow: var(--shadow-md); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.78rem 1.5rem;
    border-radius: 999px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1.5px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: transform 0.18s var(--ease), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn:hover { transform: translateY(-2px); }
.btn--primary {
    background: var(--ink);
    color: var(--cream);
    box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--teal-d); color: #fff; box-shadow: 0 12px 26px rgba(11, 107, 100, 0.30); }
.btn--ghost {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--ink);
}
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-d); background: var(--surface-soft); }
.btn--amber {
    background: var(--amber);
    color: #2a1c06;
    box-shadow: 0 10px 24px rgba(224, 150, 43, 0.28);
}
.btn--amber:hover { background: #cf8520; color: #2a1c06; }
.btn--lg { padding: 0.95rem 1.9rem; font-size: 1.02rem; }
.btn--sm { padding: 0.5rem 1.05rem; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 4.5rem 0 5rem;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(46% 60% at 88% 18%, var(--amber-soft), transparent 60%),
        radial-gradient(50% 55% at 6% 90%, var(--teal-soft), transparent 60%);
    pointer-events: none;
}
.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 3rem;
    align-items: center;
}
.hero__title {
    font-size: clamp(2.1rem, 5.2vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.3rem;
    letter-spacing: -0.03em;
}
.hero__title .swash-wrap { position: relative; display: inline-block; white-space: nowrap; }
.swash {
    position: absolute;
    left: -2%;
    right: -2%;
    bottom: -0.32em;
    width: 104%;
    height: 0.4em;
    overflow: visible;
    pointer-events: none;
}
.swash path {
    fill: none;
    stroke: var(--amber);
    stroke-width: 7;
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
}
.js .swash path {
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.1s var(--ease) 0.55s;
}
.hero-ready .swash path { stroke-dashoffset: 0; }
.hero__sub { font-size: 1.14rem; color: var(--body); max-width: 540px; margin: 0 0 2rem; }
.hero__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero__cred {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.3rem;
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 500;
}
.hero__cred span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__cred span::before { content: ""; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--teal); }

/* Hero photo + brush */
.hero__media { position: relative; justify-self: center; width: 100%; max-width: 420px; }
.hero__brush {
    position: absolute;
    inset: -2% -18% -4% -18%;
    z-index: 0;
    color: var(--teal);
    opacity: 0.92;
}
.js .hero__brush {
    opacity: 0;
    transform: scale(0.82) rotate(-4deg);
    transition: opacity 0.9s var(--ease) 0.15s, transform 1s var(--ease) 0.15s;
}
.js.hero-ready .hero__brush { opacity: 0.92; transform: scale(1) rotate(0deg); }
.hero__photo {
    position: relative;
    z-index: 1;
    border-radius: 54% 46% 47% 53% / 50% 48% 52% 50%;
    overflow: hidden;
    aspect-ratio: 1 / 1.04;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--surface);
}
.js .hero__photo {
    opacity: 0;
    transform: translateY(22px) scale(0.97);
    transition: opacity 0.9s var(--ease) 0.25s, transform 0.9s var(--ease) 0.25s;
}
.js.hero-ready .hero__photo { opacity: 1; transform: none; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.float-badge {
    position: absolute;
    z-index: 2;
    background: var(--surface);
    border-radius: 16px;
    padding: 0.7rem 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.js .float-badge {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.7s var(--ease) 0.6s, transform 0.7s var(--ease) 0.6s;
}
.js.hero-ready .float-badge { opacity: 1; transform: none; }
.float-badge--years { left: -7%; bottom: 12%; }
.float-badge__num {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--teal-d);
    line-height: 1;
}
.float-badge__label { font-size: 0.72rem; color: var(--muted); line-height: 1.25; font-weight: 600; }

/* ---------- Logos strip ---------- */
.logos { padding: 2.4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-soft); }
.logos__label {
    text-align: center;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    font-weight: 700;
    margin: 0 0 1.3rem;
}
.logos__viewport {
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logos__track {
    display: flex;
    width: max-content;
    animation: marquee 32s linear infinite;
}
.logos__track:hover { animation-play-state: paused; }
.logos__group {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding-right: 3rem;
}
@keyframes marquee { to { transform: translateX(calc(-100% / var(--logos-copies, 2))); } }
@media (prefers-reduced-motion: reduce) {
    .logos__track { animation: none; width: 100%; flex-wrap: wrap; justify-content: center; }
    .logos__group { flex-wrap: wrap; justify-content: center; padding-right: 0; }
    .logos__group[aria-hidden="true"] { display: none; }
    .logos__viewport { -webkit-mask: none; mask: none; }
    .quotes__arrow, .quotes__dot { transition: none; }
}
.logos__item {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ink);
    opacity: 0.55;
    letter-spacing: -0.01em;
    transition: opacity 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}
.logos__item:hover { opacity: 1; color: var(--teal-d); }

/* ---------- Checklist (help) ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.checklist li {
    position: relative;
    padding: 1.05rem 1.15rem 1.05rem 3.4rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    color: var(--body);
    transition: transform 0.18s var(--ease), box-shadow 0.18s ease, border-color 0.18s ease;
}
.checklist li:hover { transform: translateX(4px); border-color: var(--teal); box-shadow: var(--shadow-md); }
.checklist li::before {
    content: "";
    position: absolute;
    left: 1.1rem;
    top: 1.05rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230b6b64' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}

/* ---------- Formats ---------- */
.format-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.format-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 1.7rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s var(--ease), box-shadow 0.2s ease, border-color 0.2s ease;
}
.format-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.format-card--featured {
    border-color: var(--teal);
    box-shadow: 0 18px 44px rgba(14, 140, 132, 0.16);
}
.format-card__tag {
    position: absolute;
    top: -0.7rem;
    right: 1.4rem;
    background: var(--teal-d);
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
}
.format-card__icon {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    color: #fff;
    transition: transform 0.25s var(--ease);
}
.format-card:hover .format-card__icon { transform: scale(1.08) rotate(-5deg); }
.format-card__icon svg { width: 1.5rem; height: 1.5rem; }
.format-card__icon--teal  { background: var(--teal); box-shadow: 0 8px 18px rgba(14, 140, 132, 0.30); }
.format-card__icon--amber { background: var(--amber); box-shadow: 0 8px 18px rgba(224, 150, 43, 0.32); }
.format-card__icon--coral { background: var(--coral); box-shadow: 0 8px 18px rgba(226, 86, 60, 0.30); }
.format-card__title { font-size: 1.3rem; margin: 0 0 0.3rem; }
.format-card__duration { font-size: 0.85rem; color: var(--muted); margin: 0; }
.format-card__price {
    font-family: 'Manrope', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--ink);
    margin: 1.1rem 0;
    letter-spacing: -0.02em;
}
.format-card__price small { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.format-card__desc { flex: 1 1 auto; color: var(--body); font-size: 0.96rem; margin: 0 0 1.6rem; }

/* ---------- Process steps (timeline, moodboard dots) ---------- */
.process-steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 2.1rem;
    position: relative;
}
.process-steps::before {
    content: "";
    position: absolute;
    left: calc(1.2rem - 1px);
    top: 1.2rem;
    bottom: 1.2rem;
    border-left: 2px dashed var(--line-strong);
}
.process-steps li {
    position: relative;
    padding: 0.15rem 0 0.15rem 4.1rem;
    color: var(--body);
}
.process-steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    box-shadow: 0 0 0 5px var(--cream);
}
.process-steps li:nth-child(1)::before { background: var(--teal); }
.process-steps li:nth-child(2)::before { background: var(--amber); }
.process-steps li:nth-child(3)::before { background: var(--coral); }
.process-steps strong { color: var(--ink); font-weight: 700; }

/* ---------- Media showcase ---------- */
.media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.3rem;
}
.media-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    color: var(--body);
    transition: transform 0.2s var(--ease), box-shadow 0.2s ease, border-color 0.2s ease;
}
.media-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.media-card:hover .media-card__img img { transform: scale(1.06); }
.media-card--featured { grid-column: span 2; flex-direction: row; }
.media-card__img { overflow: hidden; background: var(--cream-2); aspect-ratio: 16 / 9; }
.media-card--featured .media-card__img { flex: 0 0 50%; aspect-ratio: auto; }
.media-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.media-card__body { padding: 1.2rem 1.3rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.media-card--featured .media-card__body { justify-content: center; padding: 1.8rem; }
.media-card__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.7rem; }
.media-card__tag {
    font-family: 'Manrope', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    color: #fff;
}
.media-card__title { font-size: 1.05rem; margin: 0 0 0.4rem; color: var(--ink); line-height: 1.3; }
.media-card--featured .media-card__title { font-size: 1.5rem; }
.media-card__desc { font-size: 0.92rem; color: var(--muted); margin: 0; }
.media-card__action {
    margin-top: 1rem;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--teal-d);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.2s ease;
}
.media-card:hover .media-card__action { gap: 0.6rem; }

/* Articles list */
.articles-head { margin: 3rem 0 1.3rem; }
.articles-head h3 { font-size: 1.3rem; margin: 0; }
.article-list { display: grid; gap: 0.7rem; }
.article-row {
    display: grid;
    grid-template-columns: 130px 1fr auto;
    gap: 1.2rem;
    align-items: center;
    padding: 1rem 1.2rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 13px;
    color: var(--body);
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s var(--ease), box-shadow 0.18s ease, border-color 0.18s ease;
}
.article-row:hover { transform: translateY(-2px); border-color: var(--teal); box-shadow: var(--shadow-md); }
.article-row__topic { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 0.8rem; color: var(--coral); text-transform: uppercase; letter-spacing: 0.03em; }
.article-row__title { font-weight: 600; color: var(--ink); line-height: 1.35; }
.article-row__source { font-size: 0.85rem; color: var(--muted); white-space: nowrap; }
.media-more { margin-top: 1.8rem; text-align: center; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; align-items: start; }
.about__photo { position: relative; }
.about__photo img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 4px solid var(--surface); }
.about__body p { color: var(--body); font-size: 1.04rem; }
.about-proof { list-style: none; padding: 0; margin: 1.5rem 0; }
.about-proof li { padding: 0.7rem 0; border-bottom: 1px solid var(--line); color: var(--body); }
.about-proof li:last-child { border-bottom: 0; }
.about-proof strong { color: var(--ink); }
.about__links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0.75rem; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0 1.4rem;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.18s ease;
}
.faq-item[open] { border-color: var(--teal); }
.faq-item summary {
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    color: var(--ink);
    list-style: none;
    padding: 1.2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "";
    flex: 0 0 auto;
    width: 1.4rem; height: 1.4rem;
    background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230b6b64' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
    border-radius: 50%;
    transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-item__answer { padding: 0 0 1.2rem; color: var(--body); }

/* ---------- Final CTA ---------- */
.final-cta {
    padding: 5.5rem 0;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(60% 120% at 50% 0%, var(--teal-soft), transparent 60%),
        var(--cream-2);
    border-top: 1px solid var(--line);
}
.final-cta__inner { text-align: center; position: relative; }
.final-cta__title { font-size: clamp(1.8rem, 4.2vw, 2.7rem); margin-bottom: 0.8rem; }
.final-cta__sub { color: var(--muted); margin-bottom: 2rem; font-size: 1.1rem; }
.final-cta__contacts { margin-top: 1.6rem; font-size: 0.95rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
    padding: 2.5rem 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.88rem;
    border-top: 1px solid var(--line);
    background: var(--cream);
}

/* ---------- Stories: case panels ---------- */
.case-stack { display: grid; gap: 1.6rem; margin-bottom: 3.2rem; }
.case-stack:last-child { margin-bottom: 0; }

.case-tag {
    font-family: 'Manrope', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--teal-d);
    margin: 0;
}
.case-tag--amber { color: #8d5b11; }

.case-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--teal-d);
    border-bottom: 2px solid rgba(14, 140, 132, 0.35);
    padding-bottom: 1px;
}
.case-link:hover { color: var(--teal); border-bottom-color: var(--teal); }

/* Шаблон «журнальный разворот» (template: feature) */
.case-feature {
    background: var(--cream-2);
    border-radius: var(--radius-lg);
    padding: 2.4rem 2.6rem;
    display: flex;
    gap: 2.4rem;
    align-items: center;
    flex-wrap: wrap;
}
.case-feature__text { flex: 1 1 22em; min-width: 16em; }
.case-feature__title { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin: 0.35rem 0 0.7rem; line-height: 1.18; }
.case-feature__story { color: var(--body); margin: 0; max-width: 36em; }
.case-feature__metric { flex: 0 0 auto; text-align: center; position: relative; padding: 1.2rem 0.6rem 0; margin: 0 auto; }
.case-feature__value {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: clamp(3rem, 6vw, 4rem);
    line-height: 1;
    color: var(--teal);
}
.case-feature__value small { font-size: 0.6em; font-weight: 800; }
.case-feature__caption { display: block; font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; }
.case-feature__note {
    position: absolute;
    top: -0.5rem;
    right: -0.6rem;
    font-family: 'Caveat', cursive;
    font-size: 1.15rem;
    color: var(--coral);
    transform: rotate(-6deg);
    white-space: nowrap;
}

/* Шаблон «путь А → Б» (template: journey) */
.case-journey {
    background: var(--surface-soft);
    border-radius: var(--radius-lg);
    padding: 2.2rem 2.6rem;
    box-shadow: var(--shadow-sm);
}
.case-journey__title { font-size: clamp(1.3rem, 2.3vw, 1.6rem); margin: 0.35rem 0 1.5rem; }
.case-journey__route { display: flex; align-items: flex-start; gap: 1.2rem; }
.case-journey__point { flex: 0 0 auto; display: grid; gap: 0.2rem; }
.case-journey__point--b { text-align: right; }
.case-journey__label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}
.case-journey__point--b .case-journey__label { color: #8d5b11; }
.case-journey__role { font-weight: 700; color: var(--ink); }
.case-journey__point--b .case-journey__role { color: var(--teal-d); font-weight: 800; }
.case-journey__detail { font-size: 0.85rem; color: var(--muted); }
.case-journey__point--b .case-journey__detail { color: #8d5b11; font-weight: 700; }
.case-journey__path { flex: 1 1 auto; padding-top: 0.85rem; min-width: 0; }
.case-journey__line { border-top: 2px dashed rgba(14, 140, 132, 0.45); }
.case-journey__milestones { display: flex; justify-content: space-between; padding: 0 6%; }
.case-journey__milestone { text-align: center; }
.case-journey__pin {
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--teal);
    border: 2px solid var(--surface-soft);
    margin: -7px auto 0.55rem;
}
.case-journey__chip {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--teal-d);
    background: var(--teal-soft);
    border-radius: 999px;
    padding: 0.22rem 0.7rem;
    white-space: nowrap;
}

/* ---------- Stories: quotes strip ---------- */
.quotes__track {
    display: flex;
    gap: 3rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    --fade-l: 0px;
    --fade-r: 0px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent);
    padding: 0 0.25rem;
}
.quotes--more-left .quotes__track { --fade-l: 44px; }
.quotes--more-right .quotes__track { --fade-r: 44px; }
.quotes__track::-webkit-scrollbar { display: none; }
.quote { flex: 0 0 calc(50% - 1.5rem); scroll-snap-align: start; margin: 0; }
.quote__text {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 1.07rem;
    line-height: 1.65;
    color: var(--ink);
}
.quote__text::before { content: "«"; color: var(--amber); font-weight: 800; }
.quote__text::after { content: "»"; color: var(--amber); font-weight: 800; }
.quote__who { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.9rem; }
.quote__ava { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; }
.quote__ava--initial {
    background: linear-gradient(135deg, var(--teal), var(--amber));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}
.quote__name { font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.quote__role { color: var(--muted); font-weight: 400; font-size: 0.85rem; }
.quote__source { margin-left: auto; font-size: 0.8rem; }
.quotes__nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.6rem; }
.quotes__arrow {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    border: 1.5px solid var(--line-strong);
    background: transparent;
    color: var(--ink);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease;
}
.quotes__arrow:hover { border-color: var(--teal); color: var(--teal-d); }
.quotes__arrow:focus-visible,
.quotes__dot:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}
.quotes__dots { display: flex; gap: 0.5rem; }
.quotes__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line-strong);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}
.quotes__dot.is-active { background: var(--teal); transform: scale(1.25); }

/* ---------- Case page ---------- */
.case-page__hero {
    padding: 3.2rem 0 2.6rem;
    background: var(--cream-2);
    border-bottom: 1px solid var(--line);
}
.case-page__title { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin: 0.4rem 0 0.8rem; line-height: 1.12; max-width: 20em; }
.case-page__lead { color: var(--body); font-size: 1.12rem; max-width: 38em; margin: 0; }
.case-page__metrics { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 1.5rem; }
.case-page__metric { font-size: 0.95rem; color: var(--muted); }
.case-page__metric b {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.45rem;
    color: var(--teal-d);
    margin-right: 0.5rem;
}
.case-page__body { max-width: 720px; margin: 0 auto; padding: 2.6rem 0 0.5rem; }
.case-page__body h2 { font-size: 1.45rem; margin: 2.2rem 0 0.8rem; }
.case-page__body h2:first-child { margin-top: 0; }
.case-page__body p, .case-page__body li { color: var(--body); font-size: 1.04rem; line-height: 1.7; }
.case-page__body ul, .case-page__body ol { padding-left: 1.25rem; }

.quote--single { max-width: 720px; margin: 2.4rem auto 0; }

.case-cta { text-align: center; padding: 3.5rem 0 4.5rem; }
.case-cta__title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.5rem; }
.case-cta__back { display: block; margin-top: 1.2rem; font-size: 0.92rem; color: var(--muted); }
.case-cta__back:hover { color: var(--teal-d); }

/* ---------- Responsive ---------- */
/* Tablets: compact the header nav so the full menu fits (portrait iPad ≥768px) */
@media (max-width: 980px) {
    .site-nav { gap: 0.5rem; }
    .site-nav a:not(.btn) { font-size: 0.82rem; }
    .site-nav__cta { margin-left: 0.2rem; }
    .site-nav__cta.btn--sm { padding: 0.5rem 0.85rem; }
}
@media (max-width: 960px) {
    .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .hero__media { order: -1; max-width: 340px; }
    .hero__actions, .hero__cred { justify-content: center; }
    .hero__sub { margin-left: auto; margin-right: auto; }
    .format-grid { grid-template-columns: 1fr; }
    .about { grid-template-columns: 1fr; gap: 2rem; }
    .about__photo { max-width: 240px; }
}
@media (max-width: 720px) {
    .media-grid { grid-template-columns: 1fr; }
    .media-card--featured { grid-column: auto; flex-direction: column; }
    .media-card--featured .media-card__img { flex: auto; aspect-ratio: 16 / 9; }
    .article-row { grid-template-columns: 1fr; gap: 0.35rem; }
    .article-row__source { text-align: left; }
    .case-feature { padding: 1.8rem 1.5rem; gap: 1.4rem; }
    .case-feature__note { right: 0; }
    .case-journey { padding: 1.8rem 1.5rem; }
    .case-journey__route { flex-direction: column; gap: 1.1rem; }
    .case-journey__point--b { text-align: left; }
    .case-journey__line { display: none; }
    .case-journey__pin { display: none; }
    .case-journey__path { padding-top: 0; }
    .case-journey__milestones { justify-content: flex-start; flex-wrap: wrap; gap: 0.5rem; padding: 0; }
    .quotes__track { gap: 1.4rem; }
    .quote { flex-basis: 88%; }
    .quote__text { font-size: 1.03rem; }
}
/* Narrow tablets / large phones: drop section anchors, keep Оплата + back + CTA */
@media (max-width: 820px) {
    .site-nav { gap: 0.7rem; }
    .site-nav a[href^="#"] { display: none; }
}
@media (max-width: 640px) {
    .section { padding: 3.8rem 0; }
    .section[id] { scroll-margin-top: 74px; }
    .site-header__inner { height: 60px; }
    .site-header__logo { font-size: 1rem; }
    .site-nav { gap: 0.6rem; }
    .site-nav a:not(.btn) { display: none; }
    .site-nav__cta { margin-left: 0; }
    .hero { padding: 2.5rem 0 3.5rem; }
    .float-badge--years { left: 0; }
}

/* ---------- Реквизиты в подвале ---------- */
.requisites { margin-top: 0.8rem; font-size: 0.82rem; color: var(--muted); line-height: 1.6; }
.requisites a { color: var(--muted); text-decoration: none; }
.requisites a:hover { color: var(--teal-d); }
.requisites__line { margin: 0; }
.requisites__links { margin: 0.2rem 0 0; }

/* ---------- Юридические / текстовые страницы ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.legal h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.2rem; margin: 2rem 0 0.6rem; }
.legal h3 { font-size: 1.05rem; margin: 1.4rem 0 0.4rem; }
.legal p, .legal li { color: var(--body); font-size: 0.98rem; line-height: 1.7; }
.legal ol, .legal ul { padding-left: 1.2rem; }
.legal li { margin: 0.3rem 0; }
.legal a { color: var(--teal-d); text-decoration: underline; }
.legal a:hover { color: var(--teal); }

/* ---------- Страница оплаты ---------- */
.pay { max-width: 820px; margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.pay > h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 0.8rem; }
.pay__intro { color: var(--muted); margin: 0 0 2rem; max-width: 640px; }
.pay-list { display: grid; gap: 1rem; }
.pay-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.4rem; flex-wrap: wrap;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: var(--shadow-sm); }
.pay-card__info { flex: 1 1 260px; }
.pay-card__title { font-family: 'Manrope', sans-serif; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.pay-card__desc { font-size: 0.9rem; color: var(--muted); margin-top: 0.2rem; }
.pay-card__price { font-family: 'Manrope', sans-serif; font-weight: 800; color: var(--ink); white-space: nowrap; }
.pay-card__action { flex: 0 0 auto; }
.pay-card__soon { font-size: 0.85rem; color: var(--muted); font-style: italic; }
.pay__note { margin-top: 2rem; font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.pay__note a { color: var(--teal-d); }

/* ---------- Результат оплаты ---------- */
.payment-result { max-width: 620px; margin: 0 auto; padding: 5rem 1.5rem; text-align: center; }
.payment-result__icon { font-size: 2.6rem; line-height: 1; }
.payment-result h1 { margin: 1rem 0 0.6rem; }
.payment-result p { color: var(--muted); }
.payment-result .btn { margin-top: 1.5rem; }

/* ---------- Политика ценообразования (на странице оплаты) ---------- */
.pay__policy { margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.pay__policy h2 { font-size: 1.15rem; margin: 0 0 0.6rem; }
.pay__policy p { color: var(--muted); font-size: 0.92rem; line-height: 1.65; margin: 0; }
.pay__policy a { color: var(--teal-d); }
