﻿/* ==========================================================================
   SAAROSA ACADEMY — design tokens
   -- headline: Bebas Neue (condensed, stencil/flash-poster energy)
   -- body: Manrope (clean, modern, legible)
   -- marker: Permanent Marker (hand-inked flash-sheet annotations — signature)
   ========================================================================== */
:root {
    --sa-bg: #0a0a0a;
    --sa-bg-soft: #111111;
    --sa-card: #141414;
    --sa-card-2: #1a1a1a;
    --sa-line: #262626;
    --sa-line-soft: #1e1e1e;
    --sa-ink: #f5f5f3;
    --sa-ink-dim: #9a9a9a;
    --sa-ink-faint: #6b6b6b;
    --sa-pink: #ff2d7e;
    --sa-pink-soft: #ff6ba3;
    --sa-pink-deep: #c2185f;
    --sa-glow: rgba(255,45,126,.35);
    --sa-glow-soft: rgba(255,45,126,.14);
    --f-display: 'Bebas Neue', Impact, sans-serif;
    --f-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --f-mark: 'Permanent Marker', cursive;
    --t-headline-font: var(--f-display);
    --t-text-font: var(--f-body);
    --sa-container: 1200px;
    --sa-radius: 2px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* belt-and-suspenders: without this on <html> itself, the 100vw
    full-bleed hover zone (see .sa-program__item::before) can read as wider than the
    real viewport once a scrollbar exists, which is what was making the page keep
    "fighting" to expand back out when narrowed in devtools/responsive mode */
}

body {
    margin: 0;
    background: var(--sa-bg);
    color: var(--sa-ink);
    font-family: var(--f-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

.sa-container {
    max-width: var(--sa-container);
    margin: 0 auto;
    padding: 0 24px;
}

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

/* film-grain overlay, whole page */
.sa-grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
    opacity: .05;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}

    .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

.reveal-stagger > * {
    transition-delay: calc(var(--i,0) * 90ms);
}

/* ==========================================================================
   NAV
   ========================================================================== */
.sa-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background .35s ease, border-color .35s ease, padding .35s ease;
}

    .sa-nav.is-scrolled {
        background: rgba(10,10,10,.86);
        backdrop-filter: blur(14px) saturate(140%);
        border-bottom-color: var(--sa-line);
        padding: 14px 24px;
    }

.sa-nav__inner {
    max-width: var(--sa-container);
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sa-nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--f-display);
    font-size: 22px;
    letter-spacing: .06em;
}

.sa-nav__brand-mark {
    /* LOGO PLACEHOLDER — replace this <span> with <img src="/img/logo.svg" class="sa-nav__logo-img" alt="Saarosa Academy">  */
    width: 30px;
    height: 30px;
    border: 1.5px solid var(--sa-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--sa-pink);
}

.sa-nav__brand span.sa-pink {
    color: var(--sa-pink);
}

.sa-nav__links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.sa-nav__link {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--sa-ink-dim);
    position: relative;
    padding: 4px 0;
    transition: color .25s ease;
}

    .sa-nav__link::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 1px;
        background: var(--sa-pink);
        transition: width .25s ease;
    }

    .sa-nav__link:hover {
        color: var(--sa-ink);
    }

        .sa-nav__link:hover::after {
            width: 100%;
        }

.sa-nav__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sa-btn-ghost-nav {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--sa-ink-dim);
    border: 1px solid var(--sa-line);
    padding: 9px 18px;
    border-radius: 2px;
    transition: all .25s ease;
}

    .sa-btn-ghost-nav:hover {
        color: var(--sa-ink);
        border-color: var(--sa-ink-dim);
    }

.sa-btn-solid-nav {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #0a0a0a;
    background: var(--sa-pink);
    padding: 10px 20px;
    border-radius: 2px;
    box-shadow: 0 0 22px var(--sa-glow);
    transition: all .25s ease;
}

    .sa-btn-solid-nav:hover {
        background: #fff;
        box-shadow: 0 0 30px rgba(255,255,255,.25);
    }

.sa-nav__burger {
    display: none;
    width: 26px;
    height: 20px;
    position: relative;
    background: none;
    border: none;
}

    .sa-nav__burger span {
        position: absolute;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--sa-ink);
        transition: all .3s ease;
    }

        .sa-nav__burger span:nth-child(1) {
            top: 0;
        }

        .sa-nav__burger span:nth-child(2) {
            top: 9px;
        }

        .sa-nav__burger span:nth-child(3) {
            top: 18px;
        }

    .sa-nav__burger.is-open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .sa-nav__burger.is-open span:nth-child(2) {
        opacity: 0;
    }

    .sa-nav__burger.is-open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

.sa-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 490;
    background: var(--sa-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transform: translateY(-100%);
    transition: transform .4s cubic-bezier(.16,1,.3,1);
    opacity: 0;
}

    .sa-mobile-menu.is-open {
        transform: translateY(0);
        opacity: 1;
    }

    .sa-mobile-menu a {
        font-family: var(--f-display);
        font-size: 32px;
        letter-spacing: .04em;
        color: var(--sa-ink);
    }

        .sa-mobile-menu a:hover {
            color: var(--sa-pink);
        }

/* ==========================================================================
   HERO
   ========================================================================== */
.sa-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 24px 100px;
    overflow: hidden;
}

.sa-hero__bg-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 1100px;
    height: 1100px;
    background: radial-gradient(circle, var(--sa-glow-soft) 0%, transparent 62%);
    pointer-events: none;
}

.sa-glyph {
    position: absolute;
    opacity: .18;
    stroke: var(--sa-pink-deep);
    fill: none;
    pointer-events: none;
    z-index: 1;
    transition: opacity .25s ease, filter .25s ease;
    animation: sa-float 10s ease-in-out infinite;
    transform: rotate(var(--sa-rot, 0deg));
}

@keyframes sa-float {
    0%,100% {
        transform: translateY(0) rotate(var(--sa-rot, 0deg));
    }

    50% {
        transform: translateY(-16px) rotate(calc(var(--sa-rot, 0deg) + 4deg));
    }
}

/* small ambient dots — same proximity-glow behaviour as the glyph icons, but numerous
   enough to read as part of the background texture rather than rare artefacts */
.sa-dot {
    border-radius: 50%;
    background: var(--sa-pink-deep);
    width: var(--sa-dot-size, 4px);
    height: var(--sa-dot-size, 4px);
}

.sa-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.sa-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--sa-pink);
    margin-bottom: 28px;
}

    .sa-eyebrow::before, .sa-eyebrow::after {
        content: '';
        width: 26px;
        height: 1px;
        background: var(--sa-pink);
    }

.sa-hero__title {
    font-family: var(--f-display);
    font-size: clamp(48px, 8.4vw, 108px);
    line-height: 1.18;
    letter-spacing: .01em;
    text-transform: uppercase;
    margin: 0 0 28px;
}

    .sa-hero__title .sa-ink-line {
        display: block;
    }

    .sa-hero__title .sa-pink-italic {
        color: var(--sa-pink);
        font-style: italic;
        text-shadow: 0 0 40px var(--sa-glow);
    }

/* A glowing duplicate of "профессию" sits exactly behind the real word,
   ~2-3px bigger all around (via a thick text-stroke outline rather than a
   bumped font-size, so it grows evenly outward instead of just scaling),
   and pulses once .5s after load — reads as the word itself catching a
   flash of light around its edges. */
.sa-hero__shine-word {
    position: relative;
    z-index: 0;
    display: inline-block;
}

    .sa-hero__shine-word::before {
        content: attr(data-text);
        position: absolute;
        inset: 0;
        z-index: -1;
        color: transparent;
        -webkit-text-stroke: 1px var(--sa-pink-soft);
        text-stroke: 1px var(--sa-pink-soft);
        font: inherit;
        font-style: inherit;
        letter-spacing: inherit;
        white-space: nowrap;
        opacity: 0;
        filter: drop-shadow(0 0 10px var(--sa-glow));
        pointer-events: none;
        animation: sa-word-glow .9s ease 2.2s 1 both;
    }

@keyframes sa-word-glow {
    0%, 100% {
        opacity: 0;
    }

    35% {
        opacity: 1;
    }

    70% {
        opacity: .5;
    }
}



.sa-hero__roadmap {
    position: relative;
    max-width: 900px;
    margin: 0 auto 32px;
    padding: 6px 20px;
    overflow: hidden;
}

.sa-hero__roadmap-caption {
    position: absolute;
    left: 0;
    right: 0;
    top: 62.5%;
    transform: translateY(calc(-100% - 10px));
    z-index: 1;
    text-align: center;
    font-family: var(--f-mark);
    font-weight: 400;
    color: var(--sa-ink-dim);
    font-size: 17px;
}

    .sa-hero__roadmap-caption .sa-pink {
        color: var(--sa-pink);
    }

.sa-hero__roadmap-crown {
    /* оставляем только для позиционирования/transform, стили — ниже на path */
}

    .sa-hero__roadmap-crown path {
        stroke: var(--sa-pink);
        fill: none;
        stroke-width: 1.6;
        filter: drop-shadow(0 0 6px var(--sa-glow));
        animation: sa-roadmap-crown-flash 2.6s linear 2.2s infinite;
    }

@keyframes sa-roadmap-crown-flash {
    0%, 60% {
        stroke-width: 1.6;
        filter: drop-shadow(0 0 6px var(--sa-glow));
    }

    67% {
        stroke-width: 3.2;
        filter: drop-shadow(0 0 16px var(--sa-glow));
    }

    85%, 100% {
        stroke-width: 1.6;
        filter: drop-shadow(0 0 6px var(--sa-glow));
    }
}

.sa-hero__roadmap-svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

/* Circular A / B badges — same weight and resting color as the line
   itself (var(--sa-line)), matching the site's section-divider style. */
.sa-hero__roadmap-badge {
    fill: var(--sa-bg);
    stroke: var(--sa-pink);
    stroke-width: 1.5;
}

.sa-hero__roadmap-badge--a {
    animation: sa-roadmap-badge-a 2.6s linear 2.2s infinite;
}

.sa-hero__roadmap-badge--b {
    animation: sa-roadmap-badge-b 2.6s linear 2.2s infinite;
}

.sa-hero__roadmap-badge-label {
    font-family: var(--f-display);
    font-size: 17px;
    letter-spacing: 0;
    fill: #fff;
    text-anchor: middle;
    dominant-baseline: central;
}

/* Badge A charges through the tail of every cycle and fires at 0% — laser
   build-up/release, plain pink flash (stroke-width + glow only). */
@keyframes sa-roadmap-badge-a {
    0% {
        stroke-width: 4.2;
        filter: drop-shadow(0 0 14px var(--sa-glow));
    }

    8% {
        stroke-width: 1.5;
        filter: none;
    }

    70% {
        stroke-width: 1.5;
        filter: none;
    }

    88% {
        stroke-width: 1.8;
        filter: drop-shadow(0 0 3px var(--sa-glow));
    }

    96% {
        stroke-width: 2.8;
        filter: drop-shadow(0 0 8px var(--sa-glow));
    }

    100% {
        stroke-width: 3.8;
        filter: drop-shadow(0 0 12px var(--sa-glow));
    }
}

/* Badge B — impact flash on arrival, then decays back to resting. Fires
   at 97%, not 84% — the meteor (linear, 0-100% of this exact same cycle)
   doesn't actually reach point B until 100%, so anything earlier than
   ~95% was lighting up before the meteor had actually landed. */
/* Fires at 67% — that's the exact percentage of the cycle where the
   meteor's bright edge mathematically reaches point B (see the math note
   above .sa-hero__roadmap-line--ink: background-position travels from
   -100% to 200%, and the bright edge — which sits at the image's own
   right edge — lands on the box boundary at position 100%, i.e. T=200/300
   ≈ 0.667 of the animation). It was previously set to 97%, almost a third
   of the cycle after the meteor had actually already arrived. */
@keyframes sa-roadmap-badge-b {
    0%, 60% {
        stroke-width: 1.5;
        filter: none;
    }

    67% {
        stroke-width: 4.6;
        filter: drop-shadow(0 0 16px var(--sa-glow));
    }

    85%, 100% {
        stroke-width: 1.5;
        filter: none;
    }
}

/* The line and the SVG (badges + crown) now share one wrapper box, so a
   plain top:50% on the line always lands exactly on the badges' y=45 —
   no more separate "track" spanning a different, padding-affected height,
   which was the actual cause of the meteor drifting above the line on
   small screens (it was centered on the wrong box). */
.sa-hero__roadmap-linewrap {
    position: relative;
}

.sa-hero__roadmap-line-wrap {
    position: absolute;
    top: 62.5%;
    left: 7%;
    right: 7%;
    height: 2px;
    transform: translateY(-50%);
    z-index: 1;
}

.sa-hero__roadmap-line {
    position: absolute;
    inset: 0;
    border-radius: 2px;
}

/* Stage 1 — "наметка": thin gray line draws in fast. Revealed via
   clip-path instead of stroke-dashoffset — same visual effect, works on
   a plain HTML bar. */
.sa-hero__roadmap-line--sketch {
    background: var(--sa-line);
    clip-path: inset(0 100% 0 0);
    animation: sa-roadmap-line-reveal .5s ease-out .3s forwards;
}

/* Stage 2 — "забивка": pink accent traces over the same bar, slower.
   Once fully drawn, the same bar's own background carries a second
   "shine" layer that slides left→right on a loop — the exact technique
   used on the Telegram-style consultation button (solid fill +
   background-position-animated highlight), just stretched along the
   line instead of a pill button. Because the shine lives on the line's
   own element rather than a separate overlay, it always starts and ends
   exactly at the bar's own edges — it can't "fall short" of point B or
   drift off the line the way a separately-positioned meteor could. */
.sa-hero__roadmap-line--ink {
    background-color: var(--sa-pink);
    background-image: linear-gradient(90deg, transparent 0%, transparent 35%, rgba(255,45,126,.5) 70%, var(--sa-pink-soft) 88%, #fff 100%);
    background-repeat: no-repeat;
    background-size: 50% 100%;
    background-position: -100% 0;
    filter: drop-shadow(0 0 6px var(--sa-glow));
    clip-path: inset(0 100% 0 0);
    animation: sa-roadmap-line-reveal 1.4s cubic-bezier(.65,0,.35,1) .8s forwards, sa-roadmap-line-meteor 2.6s linear 2.2s infinite;
}

@keyframes sa-roadmap-line-reveal {
    to {
        clip-path: inset(0 0% 0 0);
    }
}

/* Meteor: the gradient's bright #fff stop sits at the RIGHT edge of the
   moving chunk, so as background-position increases (chunk slides left
   to right), that bright point is always the leading edge — the fading
   pink tail trails behind it on the left, like the divider meteors
   elsewhere on the page.

   NOTE on the -100% / 200% numbers: CSS background-position percentages
   are NOT "where the image's left edge sits" — the browser computes them
   as (box_width - image_width) * percent. With background-size:50%, the
   image is half the box width, so position -100% puts its RIGHT edge
   exactly at the box's left edge (fully hidden), and 200% puts its LEFT
   edge exactly at the box's right edge (fully hidden the other side).
   The earlier -50%/150% pair looked plausible but left ~19% of the chunk
   already visible at frame 0 — that's what was throwing the "spawn" and
   the timing off. */
@keyframes sa-roadmap-line-meteor {
    0% {
        background-position: -100% 0;
    }

    100% {
        background-position: 200% 0;
    }
}





.sa-hero__subtitle {
    font-size: 18px;
    line-height: 1.95;
    color: var(--sa-ink-dim);
    max-width: 600px;
    margin: 0 auto 44px;
}

.sa-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 76px;
}

.sa-btn {
    font-family: var(--f-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 18px 36px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all .28s ease;
}

.sa-btn--solid {
    background: var(--sa-pink);
    color: #0a0a0a;
    box-shadow: 0 0 30px var(--sa-glow);
}

    .sa-btn--solid:hover {
        background: #fff;
        box-shadow: 0 0 40px rgba(255,255,255,.3);
        transform: translateY(-2px);
    }

.sa-btn--ghost {
    border: 1px solid var(--sa-line);
    color: var(--sa-ink);
}

    .sa-btn--ghost:hover {
        border-color: var(--sa-pink);
        color: var(--sa-pink);
        transform: translateY(-2px);
    }

.sa-hero__stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 0;
    border-top: 1px solid var(--sa-line);
    padding-top: 40px;
    max-width: 840px;
    margin: 0 auto;
}

.sa-hero__stat {
    text-align: center;
    border-right: 1px solid var(--sa-line);
}

    .sa-hero__stat:last-child {
        border-right: none;
    }

    .sa-hero__stat b {
        display: block;
        font-family: var(--f-display);
        font-size: clamp(28px,4vw,42px);
        color: var(--sa-ink);
        letter-spacing: .01em;
    }

    .sa-hero__stat b {
        white-space: nowrap;
    }

        .sa-hero__stat b .sa-pink {
            color: var(--sa-pink);
            font-size: 1em;
        }

    .sa-hero__stat > span {
        display: block;
        font-size: 12px;
        color: var(--sa-ink-faint);
        margin-top: 6px;
        letter-spacing: .03em;
    }

/* generic section chrome */
.sa-section {
    position: relative;
    padding: 140px 24px;
    border-top: 1px solid var(--sa-line-soft);
    /* Perf: skip layout/paint/animation work for sections that are off-
       screen (most of the page, most of the time) — this alone removes a
       lot of the continuous GPU cost from the glyph/meteor/conic-gradient
       animations running in sections you haven't scrolled to yet. Purely
       a rendering optimization — visually identical once a section is in
       view; `auto` remembers the real height after first layout so
       nothing jumps around as you scroll. */
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
}

.sa-section__head {
    max-width: 760px;
    margin: 0 auto 72px;
    text-align: center;
}

    .sa-section__head.is-left {
        margin: 0 0 64px;
        text-align: left;
    }

.sa-section__title {
    font-family: var(--f-display);
    font-size: clamp(34px,5.6vw,64px);
    line-height: 1.02;
    text-transform: uppercase;
    letter-spacing: .01em;
    margin: 0 0 20px;
}

    .sa-section__title .sa-pink {
        color: var(--sa-pink);
        font-style: italic;
    }

.sa-section__desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--sa-ink-dim);
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.sa-about {
    background: var(--sa-bg-soft);
}

.sa-about__grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
    align-items: center;
}

.sa-about__portrait {
    position: relative;
    aspect-ratio: 4/5;
    border: 1px solid var(--sa-line);
    background: linear-gradient(160deg, #1c1c1c 0%, #0d0d0d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .sa-about__portrait::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 30% 20%, var(--sa-glow-soft), transparent 55%);
    }

.sa-about__portrait-note {
    position: relative;
    z-index: 2;
    font-family: var(--f-mark);
    color: var(--sa-pink-soft);
    font-size: 15px;
    text-align: center;
    padding: 24px;
    opacity: .85;
    transform: rotate(-3deg);
}

.sa-about__portrait img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sa-works--reverse .sa-works__track {
    animation-direction: reverse;
}

.sa-about__portrait-frame {
    position: absolute;
    inset: 14px;
    border: 1px dashed var(--sa-line);
    pointer-events: none;
}

.sa-about__badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--sa-pink);
    color: #0a0a0a;
    padding: 10px 16px;
    font-family: var(--f-display);
    font-size: 14px;
    letter-spacing: .06em;
    box-shadow: 0 0 24px var(--sa-glow);
}

.sa-about__text p {
    font-size: 17px;
    line-height: 1.85;
    color: #d0d0d0;
    margin: 0 0 22px;
}

    .sa-about__text p strong {
        color: var(--sa-ink);
        font-weight: 700;
    }

.sa-about__facts {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 14px;
    margin: 34px 0 38px;
}

.sa-about__fact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid var(--sa-line);
    background: var(--sa-card);
}

    .sa-about__fact svg {
        flex-shrink: 0;
        width: 20px;
        height: 20px;
        stroke: var(--sa-pink);
        fill: none;
        stroke-width: 1.6;
    }

    .sa-about__fact span {
        font-size: 14px;
        color: #c9c9c9;
    }

.sa-about__cta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sa-about__link {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--sa-ink-dim);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color .2s ease;
}

    .sa-about__link:hover {
        color: var(--sa-pink);
    }

    .sa-about__link svg {
        width: 16px;
        height: 16px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
        transition: transform .2s ease;
    }

    .sa-about__link:hover svg {
        transform: translateX(4px);
        color: var(--sa-pink);
    }

/* ==========================================================================
   PROGRAM / ROADMAP
   ========================================================================== */
.sa-program__list {
    display: flex;
    flex-direction: column;
}

.sa-program__item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 40px;
    padding: 44px 0;
    border-top: 1px solid var(--sa-line);
    align-items: start;
    position: relative;
}

    .sa-program__item:last-child {
        border-bottom: 1px solid var(--sa-line);
    }
    /* invisible hover-catcher stretched to the viewport edges — widens the hover TRIGGER
   only; the visible block itself keeps its normal contained width/size */
    .sa-program__item::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 100vw;
        transform: translateX(-50%);
        z-index: 0;
        pointer-events: auto;
    }

.sa-program__num {
    position: relative;
    z-index: 1;
    font-family: var(--f-display);
    font-size: 64px;
    color: var(--sa-line);
    line-height: 1;
    transition: color .3s ease;
}

.sa-program__body {
    position: relative;
    z-index: 1;
}

.sa-program__item:hover .sa-program__num {
    color: var(--sa-pink);
}

.sa-program__body h3 {
    font-family: var(--f-display);
    font-size: 30px;
    text-transform: uppercase;
    letter-spacing: .01em;
    margin: 0 0 12px;
    color: var(--sa-ink);
}

.sa-program__body p {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--sa-ink-dim);
    max-width: 640px;
    margin: 0 0 14px;
}

.sa-program__tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sa-program__tag {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--sa-pink-soft);
    border: 1px solid rgba(255,45,126,.3);
    padding: 6px 12px;
    border-radius: 2px;
}

/* ==========================================================================
   WORKS — student gallery marquee
   ========================================================================== */
.sa-works {
    background: var(--sa-bg-soft);
    overflow: hidden;
}

.sa-works__marquee {
    overflow: hidden;
    margin: 0 -24px;
}

.sa-works__track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: sa-marquee 42s linear infinite;
}

    .sa-works__track:hover {
        animation-play-state: paused;
    }

@keyframes sa-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.sa-works__card {
    width: 280px;
    aspect-ratio: 3/4;
    border: 1px solid var(--sa-line);
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    background: #0c0c0c;
}

    .sa-works__card img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.sa-works__note {
    text-align: center;
    margin-top: 36px;
    font-size: 13px;
    color: var(--sa-ink-faint);
}

    .sa-works__note b {
        color: var(--sa-pink-soft);
        font-family: var(--f-mark);
        font-size: 15px;
        font-weight: 400;
    }

/* ==========================================================================
   PRICING (adapted component)
   ========================================================================== */
.sa-pricing {
}

.sa-pricing__grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 32px;
    align-items: stretch;
}

.sa-price {
    position: relative;
    background: var(--sa-card);
    border: 1px solid var(--sa-line);
    padding: 44px 32px 36px;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease;
}

    .sa-price:hover {
        transform: translateY(-4px);
    }

.sa-price--pro {
    border: 2px solid var(--sa-pink);
    background: linear-gradient(180deg, rgba(255,45,126,.06) 0%, var(--sa-card) 100%);
    box-shadow: 0 0 0 1px var(--sa-pink), 0 0 44px rgba(255,45,126,.15);
    transform: scale(1.035);
    z-index: 2;
}

    .sa-price--pro:hover {
        transform: scale(1.035) translateY(-4px);
    }

.sa-price__badge {
    position: absolute;
    top: 0;
    right: 24px;
    background: var(--sa-pink);
    color: #0a0a0a;
    font-family: var(--f-display);
    font-size: 12px;
    letter-spacing: .15em;
    text-transform: uppercase;
    padding: 7px 16px;
    transform: translateY(-50%);
    box-shadow: 0 0 20px var(--sa-glow);
}

.sa-price__tier {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
}

.sa-price--pro .sa-price__tier {
    color: var(--sa-pink);
}

.sa-price--vip .sa-price__tier {
    color: #e0e0e0;
}

.sa-price__name {
    font-family: var(--f-display);
    font-size: 34px;
    letter-spacing: .02em;
    margin: 0 0 22px;
    color: #fff;
}

.sa-price__amount {
    font-family: var(--f-display);
    font-size: 46px;
    color: #fff;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.sa-price--pro .sa-price__amount {
    color: var(--sa-pink);
    text-shadow: 0 0 20px var(--sa-glow);
}

.sa-price__amount small {
    font-size: 20px;
    font-weight: 600;
    color: #999;
    font-family: var(--f-body);
}

.sa-price__note {
    font-size: 13px;
    color: #6b6b6b;
    margin: 4px 0 26px;
}

.sa-price__divider {
    height: 1px;
    background: var(--sa-line);
    margin-bottom: 26px;
}

.sa-price--pro .sa-price__divider {
    background: linear-gradient(90deg,transparent,var(--sa-pink),transparent);
}

.sa-price__features {
    flex-grow: 1;
    margin-bottom: 30px;
}

.sa-price__feature {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.55;
    color: #bbb;
    margin-bottom: 13px;
}

    .sa-price__feature svg {
        flex-shrink: 0;
        width: 16px;
        height: 16px;
        margin-top: 2px;
        stroke: #555;
        fill: none;
        stroke-width: 2;
    }

.sa-price--pro .sa-price__feature svg {
    stroke: var(--sa-pink);
}

.sa-price--vip .sa-price__feature svg {
    stroke: #e0e0e0;
}

.sa-price__feature--off {
    color: #4f4f4f;
    text-decoration: line-through;
}

    .sa-price__feature--off svg {
        stroke: #333 !important;
    }

.sa-price__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 24px;
    background: transparent;
    border: 1px solid #444;
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    transition: all .25s ease;
    margin-top: auto;
}

    .sa-price__btn:hover {
        background: #fff;
        color: #0a0a0a;
        border-color: #fff;
    }

.sa-price--pro .sa-price__btn {
    background: var(--sa-pink);
    border-color: var(--sa-pink);
    color: #0a0a0a;
    box-shadow: 0 0 20px var(--sa-glow);
}

    .sa-price--pro .sa-price__btn:hover {
        background: #fff;
        border-color: #fff;
        box-shadow: 0 0 30px rgba(255,255,255,.3);
    }

.sa-price--vip .sa-price__btn:hover {
    background: var(--sa-pink);
    border-color: var(--sa-pink);
    color: #0a0a0a;
    box-shadow: 0 0 20px var(--sa-glow);
}

.sa-pricing__footnote {
    text-align: center;
    margin-top: 48px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    padding: 22px 28px;
    border: 1px solid rgba(255,45,126,.25);
    border-radius: 12px;
    background: rgba(255,45,126,.04);
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--sa-ink-dim);
}

    .sa-pricing__footnote b {
        color: var(--sa-pink-soft);
        font-weight: 700;
    }

.sa-pricing__footnote-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 10px 4px 0;
    padding: 10px 20px;
    background-color: var(--sa-pink);
    background-image: linear-gradient(120deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.6) 50%, rgba(255,255,255,0) 70%);
    background-repeat: no-repeat;
    background-size: 220% 100%;
    background-position: -120% 0;
    color: #0a0a0a;
    font-weight: 700;
    font-size: 15px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 0 20px var(--sa-glow);
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
    animation: sa-btn-shine 3s linear infinite;
}

@keyframes sa-btn-shine {
    to {
        background-position: 220% 0;
    }
}

.sa-pricing__footnote-link:hover {
    background: #fff;
    box-shadow: 0 0 28px rgba(255,255,255,.35);
    transform: translateY(-1px);
}

/* ==========================================================================
   OBJECTIONS — flash-sheet quote cards
   ========================================================================== */
.sa-objections {
    background: var(--sa-bg-soft);
}

.sa-objections__grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 28px;
}

.sa-objection {
    border: 1px solid var(--sa-line);
    background: var(--sa-card);
    padding: 32px 28px;
    position: relative;
    transition: border-color .3s ease, box-shadow .3s ease;
}

@property --sa-meteor-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

.sa-objection::before {
    content: "";
    position: absolute;
    inset: -1px; /* совпадает по толщине с border: 1px у карточки */
    border-radius: inherit;
    padding: 1px; /* толщина бегущей линии = толщине рамки */
    background: conic-gradient( from var(--sa-meteor-angle), transparent 0deg, transparent 300deg, rgba(255, 45, 126, .35) 330deg, var(--sa-pink) 350deg, #fff 358deg, var(--sa-pink) 360deg );
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    filter: drop-shadow(0 0 6px var(--sa-glow));
    animation: sa-objection-meteor 5s linear infinite;
    pointer-events: none;
}

@keyframes sa-objection-meteor {
    to {
        --sa-meteor-angle: 360deg;
    }
}

.sa-objection__q {
    font-family: var(--f-mark);
    font-size: 19px;
    color: var(--sa-pink-soft);
    line-height: 1.4;
    margin: 0 0 16px;
    transform: rotate(-1deg);
}

.sa-objection__a {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--sa-ink-dim);
    margin: 0;
}

.sa-objection__mark {
    position: absolute;
    top: 20px;
    right: 22px;
    font-family: var(--f-display);
    font-size: 34px;
    color: var(--sa-line);
}

/* ==========================================================================
   WHY ME
   ========================================================================== */
.sa-why__grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1px;
    background: var(--sa-line);
    border: 1px solid var(--sa-line);
}

.sa-why__item {
    background: var(--sa-bg);
    padding: 38px 36px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

    .sa-why__item svg {
        flex-shrink: 0;
        width: 26px;
        height: 26px;
        stroke: var(--sa-pink);
        fill: none;
        stroke-width: 1.5;
        margin-top: 2px;
    }

    .sa-why__item h4 {
        font-size: 20px;
        letter-spacing: .09em;
        margin: 0 0 8px;
        color: var(--sa-ink);
        text-transform: uppercase;
    }

    .sa-why__item p {
        font-size: 14.5px;
        line-height: 1.7;
        color: var(--sa-ink-dim);
        margin: 0;
    }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.sa-faq {
    max-width: 820px;
    margin: 0 auto;
}

.sa-faq__item {
    border-bottom: 1px solid var(--sa-line);
}

.sa-faq__q {
    width: 100%;
    background: none;
    border: none;
    color: var(--sa-ink);
    text-align: left;
    padding: 26px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 17px;
    font-weight: 600;
}

    .sa-faq__q:hover {
        color: var(--sa-pink-soft);
    }

.sa-faq__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
}

    .sa-faq__icon::before, .sa-faq__icon::after {
        content: '';
        position: absolute;
        background: var(--sa-pink);
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        transition: transform .3s ease;
    }

    .sa-faq__icon::before {
        width: 16px;
        height: 2px;
    }

    .sa-faq__icon::after {
        width: 2px;
        height: 16px;
    }

.sa-faq__item.is-open .sa-faq__icon::after {
    transform: translate(-50%,-50%) rotate(90deg) scaleY(0);
}

.sa-faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

    .sa-faq__a p {
        padding: 0 4px 26px;
        margin: 0;
        font-size: 15px;
        line-height: 1.75;
        color: var(--sa-ink-dim);
        max-width: 680px;
    }

.sa-faq__item.is-open .sa-faq__a {
    max-height: 300px;
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.sa-final {
    text-align: center;
    padding: 160px 24px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 30%, rgba(255,45,126,.1), transparent 65%);
    content-visibility: auto;
    contain-intrinsic-size: auto 700px;
}

.sa-final__title {
    font-family: var(--f-display);
    font-size: clamp(38px,7vw,84px);
    line-height: 1;
    text-transform: uppercase;
    margin: 0 0 24px;
}

    .sa-final__title .sa-pink {
        color: var(--sa-pink);
        font-style: italic;
        text-shadow: 0 0 50px var(--sa-glow);
    }

.sa-final__desc {
    font-size: 17px;
    color: var(--sa-ink-dim);
    max-width: 520px;
    margin: 0 auto 44px;
    line-height: 1.7;
}

.sa-final__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.sa-footer {
    position: relative;
    border-top: 1px solid var(--sa-line);
    padding: 64px 24px 32px;
}

.sa-footer__top {
    display: grid;
    grid-template-columns: 1.3fr repeat(3,1fr);
    gap: 48px;
    margin-bottom: 56px;
}

.sa-footer__brand {
    font-family: var(--f-display);
    font-size: 26px;
    letter-spacing: .04em;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .sa-footer__brand .sa-pink {
        color: var(--sa-pink);
    }

.sa-footer__tagline {
    font-size: 14px;
    color: var(--sa-ink-faint);
    line-height: 1.6;
    max-width: 280px;
}

.sa-footer__col h5 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--sa-ink-faint);
    margin: 0 0 18px;
}

.sa-footer__col ul li {
    margin-bottom: 12px;
}

.sa-footer__col a {
    font-size: 14.5px;
    color: #bdbdbd;
    transition: color .2s ease;
}

    .sa-footer__col a:hover {
        color: var(--sa-pink);
    }

.sa-footer__bottom {
    border-top: 1px solid var(--sa-line);
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12.5px;
    color: var(--sa-ink-faint);
}

.sa-footer__socials {
    display: flex;
    gap: 18px;
}

    .sa-footer__socials a {
        color: var(--sa-ink-faint);
    }

        .sa-footer__socials a:hover {
            color: var(--sa-pink);
        }

/* ==========================================================================
   SIGNATURE FEATURE — "Линия судьбы": scroll-progress ink line
   Runs down the LEFT edge of the viewport. Starts as a wavy hand-drawn
   curve (echoing the hero's needle line) and settles into a clean, straight
   line — a visual metaphor for the learning path itself: rough at first,
   confident by the end. Near the bottom it resolves into a small flourish.
   ========================================================================== */
.sa-scrollline {
    position: fixed;
    top: 120px;
    bottom: 120px;
    left: 26px;
    width: 40px;
    z-index: 60;
    pointer-events: none;
}

.sa-scrollline__svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.sa-scrollline__track {
    fill: none;
    stroke: var(--sa-line);
    stroke-width: 2;
}

.sa-scrollline__fill {
    fill: none;
    stroke: var(--sa-pink);
    stroke-width: 2;
    stroke-linecap: round;
    filter: drop-shadow(0 0 5px var(--sa-glow));
}

.sa-scrollline__needle {
    position: absolute;
    top: 0;
    left: 0;
    width: 9px;
    height: 9px;
    margin: -4.5px 0 0 -4.5px;
    background: var(--sa-pink);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--sa-glow);
    transition: opacity .3s ease;
}

.sa-scrollline__flourish {
    position: fixed;
    left: 16px;
    bottom: 34px;
    width: 60px;
    z-index: 60;
    pointer-events: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .5s ease, transform .5s ease;
}

    .sa-scrollline__flourish.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .sa-scrollline__flourish path {
        fill: none;
        stroke: var(--sa-pink-soft);
        stroke-width: 2;
        stroke-linecap: round;
        stroke-dasharray: 140;
        stroke-dashoffset: 140;
        transition: stroke-dashoffset 1s cubic-bezier(.65,0,.35,1);
    }

    .sa-scrollline__flourish.is-visible path {
        stroke-dashoffset: 0;
    }

/* ==========================================================================
   SIGNATURE FEATURE — Ambient glyphs with proximity glow
   Small dark-pink flash-sketch icons scattered across every section. They
   sit quiet and muted by default; as the cursor comes near, they glow
   brighter — but the glow is capped well below the full accent pink, so it
   never turns eye-searing or distracting.
   ========================================================================== */
/* (.sa-glyph base rules declared near the hero section above) */

/* ==========================================================================
   SECTION DIVIDERS — <hr> between blocks, with a pink "meteor" of light that
   travels along the line leaving a fading trail behind it (adds movement /
   life between otherwise static sections).
   ========================================================================== */
.sa-divider {
    position: relative;
    border: none;
    height: 1px;
    margin: 0;
    background: var(--sa-line);
    overflow: visible;
    z-index: 2;
    content-visibility: auto;
    contain-intrinsic-size: auto 1px;
}

    .sa-divider::after {
        content: '';
        position: absolute;
        top: 50%;
        left: -160px;
        width: 160px;
        height: 2px;
        transform: translateY(-50%);
        background: linear-gradient(90deg, transparent 0%, rgba(255,45,126,0) 15%, rgba(255,45,126,.55) 55%, var(--sa-pink-soft) 85%, #fff 100%);
        border-radius: 2px;
        filter: drop-shadow(0 0 6px var(--sa-glow)) drop-shadow(0 0 14px var(--sa-glow-soft));
        will-change: transform, opacity;
        animation: sa-meteor 7s linear infinite;
        animation-delay: var(--sa-meteor-delay, 0s);
    }

@keyframes sa-meteor {
    0% {
        left: -160px;
        opacity: 0;
    }

    4% {
        opacity: 1;
    }

    92% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

.sa-divider:nth-of-type(1) {
    --sa-meteor-delay: -0.5s;
}

.sa-divider:nth-of-type(2) {
    --sa-meteor-delay: -2.1s;
}

.sa-divider:nth-of-type(3) {
    --sa-meteor-delay: -3.6s;
}

.sa-divider:nth-of-type(4) {
    --sa-meteor-delay: -1.2s;
}

.sa-divider:nth-of-type(5) {
    --sa-meteor-delay: -4.8s;
}

.sa-divider:nth-of-type(6) {
    --sa-meteor-delay: -0.2s;
}

.sa-divider:nth-of-type(7) {
    --sa-meteor-delay: -5.9s;
}

.sa-divider:nth-of-type(8) {
    --sa-meteor-delay: -2.9s;
}

.sa-divider:nth-of-type(9) {
    --sa-meteor-delay: -4.1s;
}



/* ==========================================================================
   BACK-TO-TOP button — appears bottom-right after scrolling down
   ========================================================================== */
.sa-to-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--sa-card);
    border: 1px solid var(--sa-pink);
    color: var(--sa-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 400;
    box-shadow: 0 0 20px var(--sa-glow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s, background .25s ease, color .25s ease, box-shadow .25s ease;
}

    .sa-to-top.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .sa-to-top:hover {
        background: var(--sa-pink);
        color: #0a0a0a;
        box-shadow: 0 0 30px rgba(255,255,255,.28);
        transform: translateY(-3px);
    }

    .sa-to-top svg {
        width: 20px;
        height: 20px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
    }



/* ==========================================================================
   RESPONSIVE
   ========================================================================== */




.sa-user-menu {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sa-user-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg,#ff2d8d,#ff6cab);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 0 25px rgba(255,45,141,.35);
}

.sa-user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.sa-user-name {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.sa-user-role {
    color: #9b9b9b;
    font-size: 12px;
}

.sa-profile {
    position: relative;
}

.sa-profile__button {
    display: flex;
    align-items: center;
    gap: 12px;
    border: none;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    padding: 8px 14px;
    border-radius: 16px;
    cursor: pointer;
    color: #fff;
    transition: .25s;
}

    .sa-profile__button:hover {
        border-color: var(--sa-pink);
        background: rgba(255,255,255,.07);
    }

.sa-profile__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient( 135deg, var(--sa-pink), #ff4aa8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
}

.sa-profile__info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.sa-profile__name {
    font-weight: 700;
    font-size: 14px;
}

.sa-profile__role {
    font-size: 12px;
    color: #aaa;
}

.sa-profile__dropdown {
    position: absolute;
    top: 115%;
    right: 0;
    width: 240px;
    background: #111;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 10px;
    display: none;
    z-index: 999;
    box-shadow: 0 25px 60px rgba(0,0,0,.5);
}

.sa-profile.open .sa-profile__dropdown {
    display: block;
}

.sa-profile__dropdown a,
.sa-profile__dropdown button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 14px;
    border: none;
    background: none;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    cursor: pointer;
    transition: .2s;
    font-size: 14px;
}

    .sa-profile__dropdown a:hover,
    .sa-profile__dropdown button:hover {
        background: rgba(255,255,255,.06);
    }

.sa-profile__dropdown form {
    margin: 0;
}

/* ==========================================================================
   REVIEWS — glass marquee
   ========================================================================== */
.sa-reviews {
    overflow: hidden;
}

.sa-reviews__marquee {
    overflow: hidden;
    margin: 0 -24px;
    padding: 18px 0 22px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.sa-reviews__track {
    display: flex;
    gap: 22px;
    width: max-content;
    animation: sa-marquee-rev 68s linear infinite;
}

    .sa-reviews__track:hover {
        animation-play-state: paused;
    }

@keyframes sa-marquee-rev {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

.sa-review-card {
    display: flex;
    flex-direction: column;
    width: 360px; /* было 340px — расширили */
    min-height: 300px; /* новое — увеличили высоту карточки */
    flex-shrink: 0;
    position: relative;
    padding: 24px 28px 26px; /* верхний паддинг уменьшили с 30 до 24 — текст поднимается выше */
    border-radius: 4px;
    background: rgba(255,255,255,.035);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 20px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.04);
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
    text-decoration: none;
    cursor: pointer;
}

    .sa-review-card:hover {
        border-color: rgba(255,45,126,.35);
        transform: translateY(-5px);
        box-shadow: 0 26px 48px rgba(0,0,0,.42), 0 0 0 1px rgba(255,45,126,.15), inset 0 1px 0 rgba(255,255,255,.05);
    }

.sa-review-card__quote {
    font-family: var(--f-display);
    font-size: 52px;
    line-height: .7; /* было 1 — плотнее подтягивает текст под кавычку, сама кавычка не уменьшается */
    color: var(--sa-pink);
    opacity: .5;
    margin-bottom: 4px;
}

.sa-review-card__text {
    font-size: 14.5px;
    line-height: 1.7;
    color: #d4d4d4;
    margin: 0 0 22px;
}

.sa-review-card__author {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-top: auto; /* ключевое — прижимает автора к низу карточки, сколько бы места ни оставалось */
}

.sa-review-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
    background: linear-gradient(150deg, #2a2a2a, #141414);
    border: 1px solid var(--sa-line);
}

.sa-review-card__author-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
}

.sa-review-card__name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--sa-ink);
}

.sa-review-card__stream {
    font-size: 11.5px;
    color: var(--sa-ink-faint);
}

.sa-review-card__insta {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: var(--sa-ink-faint);
    color: var(--sa-ink-faint);
    transition: stroke .2s ease, color .2s ease;
}

.sa-review-card:hover .sa-review-card__insta {
    stroke: var(--sa-pink);
    color: var(--sa-pink);
}





/* ==========================================================================
   Future content images (review avatars, gallery, portraits) are not
   draggable/selectable — a soft deterrent against casual drag-to-save.
   Firefox ignores CSS drag prevention, so real <img> tags should also carry
   draggable="false" (already done on the review avatars in Index.cshtml).
   ========================================================================== */
img {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

/* ==========================================================================
   RESPONSIVE
   Consolidated into one place — this used to be split across ~10 separate
   @media blocks, one of which (max-width:960px) was missing its closing
   brace and had accidentally swallowed the ENTIRE rest of the stylesheet
   as its own content. That meant everything from the hero section onward
   only existed "inside" a ≤960px condition and simply disappeared above
   that width — which is why the layout worked on narrow screens and broke
   on desktop. Fixed by unwrapping all of that back to top-level CSS above,
   and rebuilding the responsive rules cleanly here, in three tiers:
   tablet (≤960px), phone (≤640px), and small phone / iPhone SE class
   devices (≤400px).
   ========================================================================== */

/* ---------- Tablet & small laptops ---------- */
@media (max-width:960px) {

    .sa-nav__links, .sa-nav__actions .sa-btn-ghost-nav {
        display: none;
    }

    .sa-nav__burger {
        display: block;
    }

    .sa-nav__brand img {
        width: 40px;
        height: 40px;
    }

    .sa-nav__brand {
        font-size: 17px;
        gap: 6px;
    }

    .sa-nav__actions {
        gap: 8px;
    }

    .sa-profile__info {
        display: none;
    }

    .sa-profile__button svg {
        display: none;
    }

    .sa-profile__button {
        padding: 6px;
        gap: 0;
    }

    .sa-profile__avatar {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }


    .sa-about__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .sa-about__facts {
        grid-template-columns: 1fr;
    }

    .sa-works__card {
        width: 230px;
    }

    .sa-review-card {
        width: 300px;
        padding: 22px 22px 20px;
    }

    .sa-pricing__grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .sa-price--pro {
        transform: none;
        order: -1;
    }

        .sa-price--pro:hover {
            transform: translateY(-4px);
        }

    .sa-objections__grid {
        grid-template-columns: 1fr;
    }

    .sa-why__grid {
        grid-template-columns: 1fr;
    }

    .sa-footer__top {
        grid-template-columns: 1fr 1fr;
    }

    .sa-program__item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .sa-hero__stats {
        grid-template-columns: repeat(2,1fr);
        row-gap: 24px;
    }

    .sa-hero__stat:nth-child(2) {
        border-right: none;
    }

    .sa-glyph {
        display: none;
    }

    .sa-hero__roadmap {
        padding: 6px 14px 2px;
    }
}

/* The scroll-progress "линия судьбы" only really makes sense on a roomy
   desktop viewport (it floats over a lot of side margin). At tablet-ish
   widths that margin shrinks and the fixed-position needle/line starts
   overlapping real content and can appear stuck/pre-filled — so it's
   switched off well before the general tablet tier kicks in, rather than
   at the same 960px breakpoint as everything else. */
@media (max-width:1180px) {
    .sa-scrollline, .sa-scrollline__flourish {
        display: none;
    }
}

/* ---------- Phones (portrait) ---------- */
@media (max-width:640px) {
    .sa-container {
        padding: 0 18px;
    }

    .sa-section {
        padding: 90px 20px;
    }

    .sa-section__head {
        margin-bottom: 48px;
    }

    .sa-hero {
        padding: 120px 20px 70px;
        min-height: unset;
    }

    .sa-hero__title {
        font-size: clamp(36px, 10.5vw, 64px);
        line-height: 1.14;
    }

    .sa-hero__stats {
        gap: 0;
    }

    .sa-price {
        padding: 34px 22px 28px;
    }

    .sa-price__name {
        font-size: 28px;
    }

    .sa-price__amount {
        font-size: 38px;
    }

    .sa-objections__grid, .sa-why__grid {
        gap: 18px;
    }

    .sa-objection {
        padding: 26px 22px;
    }

    .sa-why__item {
        padding: 28px 22px;
    }

    .sa-program__body h3 {
        font-size: 24px;
    }

    .sa-footer__top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sa-reviews__marquee {
        margin: 0 -18px;
    }

    .sa-review-card {
        width: 260px;
    }

    .sa-final {
        padding: 110px 20px;
    }

    .sa-to-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }
}

/* ---------- Small phones — iPhone SE (375px) and narrower ---------- */
@media (max-width:400px) {
    .sa-container {
        padding: 0 14px;
    }

    .sa-nav {
        padding: 16px 16px;
    }

        .sa-nav.is-scrolled {
            padding: 12px 16px;
        }

    .sa-hero {
        padding: 104px 16px 56px;
    }

    .sa-hero__title {
        font-size: clamp(30px, 10vw, 46px);
    }

    .sa-hero__subtitle {
        font-size: 15.5px;
    }

    .sa-hero__roadmap {
        padding: 4px 8px 0;
    }

    .sa-hero__stats {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .sa-btn {
        padding: 15px 24px;
        font-size: 12px;
    }

    .sa-section {
        padding: 70px 16px;
    }

    .sa-section__title {
        font-size: clamp(28px, 9vw, 40px);
    }

    .sa-about__portrait-note {
        font-size: 13px;
    }

    .sa-works__card {
        width: 190px;
    }

    .sa-review-card {
        width: 230px;
        padding: 20px 18px 22px;
    }

    .sa-price {
        padding: 28px 18px 24px;
    }

    .sa-pricing__footnote {
        padding: 18px 18px;
        font-size: 15px;
    }

    .sa-faq__q {
        font-size: 15px;
        padding: 20px 2px;
    }

    .sa-final__title {
        font-size: clamp(30px, 9vw, 48px);
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .sa-hero__shine-word::before {
        display: none;
    }

    .sa-hero__roadmap-line--sketch, .sa-hero__roadmap-line--ink {
        animation: none;
        clip-path: inset(0 0% 0 0);
    }

    .sa-hero__roadmap-line--ink {
        background-image: none;
    }

    .sa-hero__roadmap-badge--a, .sa-hero__roadmap-badge--b {
        animation: none;
    }

    .sa-divider::after {
        display: none;
    }
}
