/* Базовые настройки. Цвета и шрифты меняются только здесь, в :root */
:root {
  --bg: #0a0a0b;
  --band: #101012;
  --surface: #151518;
  --line: #2a2a2f;
  --text: #f5f5f6;
  --muted: #a3a3ab;
  --accent: #f2c230;
  --grad: linear-gradient(135deg, #ffe066 0%, #f2c230 45%, #e89b00 100%);
  --radius: 18px;
  --max: 1120px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font: "Montserrat", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 0; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 17px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; position: relative; }
section { padding: 90px 0; position: relative; overflow: hidden; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; margin-bottom: 18px; }
h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
p { margin: 0 0 14px; }
.lead { font-size: 18px; color: var(--muted); max-width: 720px; margin-bottom: 40px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; margin-top: 40px; }
.tag { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.note { max-width: 720px; color: var(--muted); }

/* Фоны секций: светящиеся пятна, которые медленно плывут */
.glow::before, .glow::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(110px); opacity: .16; pointer-events: none; background: radial-gradient(circle, #f2c230, transparent 70%); animation: drift 18s ease-in-out infinite alternate; }
.glow::before { top: -160px; left: -140px; }
.glow::after { bottom: -200px; right: -160px; animation-delay: -9s; opacity: .12; }
.band { background: linear-gradient(180deg, var(--band), #0d0d0f); border-top: 1px solid #1b1b1f; border-bottom: 1px solid #1b1b1f; }
@keyframes drift { to { transform: translate(120px, 80px) scale(1.2); } }

/* Метки «ещё не заполнено». Убрать, когда тексты будут готовы */
mark.todo { background: #ffe9a8; color: #5a4300; padding: 1px 6px; border-radius: 6px; font-weight: 600; }

/* Кнопки */
.btn { position: relative; overflow: hidden; display: inline-block; padding: 17px 34px; border: 0; border-radius: 999px; background: #222; color: #fff; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; text-align: center; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.btn--accent, .btn--sm { background: var(--grad); color: #111; box-shadow: 0 6px 24px rgba(242, 194, 48, .28); }
.btn--accent::after, .btn--sm::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); animation: shine 3.6s ease-in-out infinite; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 34px rgba(242, 194, 48, .45); }
.btn--accent { animation: pulse 2.8s ease-in-out infinite; }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn:disabled { opacity: .6; }
@keyframes shine { 0%, 55% { left: -80%; } 100% { left: 160%; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 6px 24px rgba(242,194,48,.28); } 50% { box-shadow: 0 6px 38px rgba(242,194,48,.55); } }

/* 1. Перший екран */
.hero { position: relative; overflow: hidden; padding: 0; background: #000; height: min(100vh, 56.25vw, 1000px); min-height: 520px; }
.hero__bg { display: none; }
.hero__media { position: absolute; inset: 0; transform: translate3d(0, var(--py, 0px), 0); }
.hero__media video { width: 100%; height: 100%; object-fit: cover; background: #000; }
/* на компьютере заголовок есть в самом видео, для поисковиков он остаётся в тексте */
.hero__top { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero__when { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero__cta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; text-align: center; padding: 120px 20px 40px; background: linear-gradient(180deg, transparent, rgba(10,10,11,.55) 45%, rgba(10,10,11,.9)); opacity: var(--cta-fade, 1); }
.pill, .chip { display: flex; width: fit-content; align-items: center; gap: 10px; padding: 8px 18px; border: 1px solid rgba(242,194,48,.5); border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(10,10,11,.45); margin: 0 auto 18px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: blink 1.6s infinite; flex: none; }
@keyframes blink { 50% { opacity: .25; transform: scale(.7); } }

/* Заголовок первого экрана на компьютере: слова-акценты */
.hero__line { position: absolute; z-index: 2; left: max(6vw, 40px); top: 56%; max-width: min(74vw, 1100px); margin: 0; transform: translate3d(0, calc(-50% + var(--ty, 0px)), 0); opacity: var(--fade, 1); text-shadow: 0 4px 40px rgba(0,0,0,.55); }
.hl-brand { display: block; font-size: clamp(46px, 6.4vw, 108px); font-weight: 800; line-height: .98; letter-spacing: -.025em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 6px 30px rgba(0,0,0,.5)); }
.hl-sub { display: block; max-width: none; text-wrap: balance; margin-top: clamp(12px, 1.4vw, 24px); font-size: clamp(20px, 2.35vw, 40px); font-weight: 600; line-height: 1.22; letter-spacing: -.01em; color: #fff; }
.hl-sub s { color: rgba(255,255,255,.55); text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 56% / 100% 2px no-repeat; }
.hl-sub mark { background: none; color: transparent; font-weight: 800; background-image: var(--grad); -webkit-background-clip: text; background-clip: text; }
.hl-brand, .hl-sub { animation: heroIn 1.2s var(--ease-out) both; }
.hl-sub { animation-delay: .25s; }
.hero__cta .chip, .hero__cta .btn { animation: heroIn 1.2s var(--ease-out) .55s both; }
@keyframes heroIn { from { opacity: 0; transform: translate3d(0, 38px, 0); filter: blur(8px); } }

/* Бегущая строка */
.ticker { overflow: hidden; background: var(--grad); color: #111; padding: 14px 0; white-space: nowrap; }
.ticker__track { display: inline-flex; gap: 28px; animation: marquee 30s linear infinite; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 15px; }
.ticker__track span, .ticker__track i { flex: none; font-style: normal; }
@keyframes marquee { to { transform: translateX(-25%); } }

/* Сетки и карточки */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; background: linear-gradient(160deg, #1a1a1e, #121214); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-6px); border-color: rgba(242,194,48,.6); box-shadow: 0 18px 50px rgba(242,194,48,.12); }
.card p { margin: 0; color: #c4c4cb; font-size: 16px; }
.num { display: block; font-size: 14px; font-weight: 800; letter-spacing: .1em; margin-bottom: 14px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Слайдер «Для кого»: бесконечная карусель, активная карточка по центру */
.cover { position: relative; outline: none; }
/* мягкое свечение за карточкой: лежит вне рамки прокрутки, поэтому нигде не обрезается */
.cover::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(980px, 130vw); height: 520px; translate: -50% -56%; background: radial-gradient(closest-side, rgba(242,194,48,.20), rgba(242,194,48,.07) 55%, transparent 100%); pointer-events: none; animation: coverGlow 6s ease-in-out infinite alternate; }
@keyframes coverGlow { to { opacity: .6; scale: 1.08; } }
.cover__viewport { position: relative; z-index: 1; overflow: hidden; padding: 56px 0; touch-action: pan-y; cursor: grab; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cover.is-dragging .cover__viewport { cursor: grabbing; }
.cover__track { display: flex; gap: 22px; width: max-content; transition: transform .75s cubic-bezier(.22, .8, .2, 1); will-change: transform; }
.cover.is-dragging .cover__track, .cover__track.no-anim { transition: none; }
.cover__item { flex: none; width: 440px; transform: scale(.88); opacity: .4; filter: blur(1.2px); transition: transform .75s cubic-bezier(.22, .8, .2, 1), opacity .6s ease, filter .6s ease; cursor: pointer; }
.cover__track.no-anim, .cover__track.no-anim * { transition: none !important; animation: none !important; }
.cover__item.is-active { transform: scale(1); opacity: 1; filter: none; cursor: default; }
/* карточка-«билет» с вырезами по бокам */
.cover .card { position: relative; height: 100%; min-height: 270px; display: flex; flex-direction: column; justify-content: flex-end; padding: 34px 36px; border: 0; border-radius: 22px; background: linear-gradient(160deg, #222226, #141416); transform: none; box-shadow: none;
  -webkit-mask: radial-gradient(circle 13px at 0 52%, transparent 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% 52%, transparent 97%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 13px at 0 52%, transparent 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% 52%, transparent 97%, #000) right / 51% 100% no-repeat; transition: background .5s; }
.cover .card::before { display: none; }
.cover__item.is-active .card { background: linear-gradient(160deg, rgba(242,194,48,.30), #1b1b1e 58%); }
.cover .card:hover { transform: none; box-shadow: none; }
.cover .card h3 { position: relative; font-size: 24px; line-height: 1.2; margin-bottom: 10px; padding-top: 18px; }
.cover .card h3::before { content: ""; position: absolute; left: 0; top: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--grad); }
.cover .card p { font-size: 16px; max-width: 360px; }
.cover .card h3, .cover .card p { transform: translate3d(0, 10px, 0); transition: transform .8s var(--ease-out); }
.cover__item.is-active .card h3, .cover__item.is-active .card p { transform: none; }
@keyframes coverUp { from { opacity: 0; transform: translateY(16px); } }

.cover__arrow { position: absolute; top: calc(50% - 20px); z-index: 3; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(24,24,27,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; cursor: pointer; transition: transform .25s, background .25s, border-color .25s; }
.cover__arrow::before { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor; }
.cover__arrow--next { right: max(16px, calc(50% - 600px)); }
.cover__arrow--next::before { transform: translate(-70%, -50%) rotate(45deg); }
.cover__arrow--prev { left: max(16px, calc(50% - 600px)); }
.cover__arrow--prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.cover__arrow:hover { background: var(--grad); color: #111; border-color: transparent; transform: scale(1.1); }
.cover__arrow:active { transform: scale(.94); }

.cover__dots { position: relative; z-index: 1; display: flex; align-items: center; gap: 20px; width: max-content; margin: -22px auto 0; height: 12px; }
.cover__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #3a3a40; }
/* «капля» едет по точкам: меняется только transform, поэтому анимация идёт без рывков и не двигает соседей */
.cover__pill { position: absolute; left: 0; top: 50%; width: 28px; height: 8px; margin-top: -4px; border-radius: 8px; background: var(--grad); box-shadow: 0 0 14px rgba(242,194,48,.45); transform: translate3d(-10px, 0, 0); transition: transform .65s cubic-bezier(.65, 0, .25, 1), opacity .2s ease; will-change: transform; }
.cover__pill.is-jump { transition: opacity .2s ease; opacity: 0; }

@media (max-width: 640px) {
  .cover::before { height: 380px; }
  .cover__viewport { padding: 30px 0; }
  .cover__track { gap: 12px; }
  .cover__item { width: 78vw; transform: scale(.92); }
  .cover .card { min-height: 200px; padding: 26px 22px; }
  .cover .card h3 { font-size: 20px; }
  .cover .card p { font-size: 14.5px; }
  .cover__arrow { top: auto; bottom: -14px; width: 42px; height: 42px; }
  .cover__arrow--prev { left: calc(50% - 120px); }
  .cover__arrow--next { right: calc(50% - 120px); }
  .cover__dots { margin: 2px auto 0; height: 42px; }
}

/* Слайдер с фото («Що входить у кемп»): карточки по дуге, соседние уходят ниже и гаснут */
.cover--photo .cover__item { width: 400px; transform: scale(.86) translateY(26px); opacity: .5; filter: blur(.6px); }
.cover--photo .cover__item[data-d="2"] { transform: scale(.74) translateY(70px); opacity: .26; }
.cover--photo .cover__item[data-d="3"] { transform: scale(.62) translateY(110px); opacity: .1; }
.cover--photo .cover__item.is-active { transform: scale(1) translateY(0); opacity: 1; filter: none; }
.cover--photo .card { min-height: 0; padding: 14px 14px 26px; justify-content: flex-start; align-items: center; text-align: center; background: linear-gradient(160deg, #26262a, #17171a); }
.cover--photo .cover__item.is-active .card { background: linear-gradient(160deg, rgba(242,194,48,.34), #1c1c1f 62%); }
.cover--photo .card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; margin-bottom: 20px; -webkit-user-drag: none; user-select: none; pointer-events: none; }
.cover--photo .card h3 { padding-top: 0; margin: 0; font-size: 19px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: 1.2; }
.cover--photo .card h3::before { display: none; }
.cover--photo .card p { max-width: 340px; margin: 10px auto 0; font-size: 14px; line-height: 1.5; opacity: 0; transform: translate3d(0, 8px, 0); transition: opacity .5s var(--ease-out) .15s, transform .6s var(--ease-out) .15s; }
.cover--photo .cover__item.is-active .card p { opacity: 1; transform: none; animation: none; }
@media (max-width: 640px) {
  .cover--photo .cover__item { width: 70vw; }
  .cover--photo .card { padding: 10px 10px 22px; }
  .cover--photo .card img { margin-bottom: 16px; border-radius: 14px; }
  .cover--photo .card h3 { font-size: 16px; }
}

/* 3. Іван Врабій */
.trainer { display: grid; grid-template-columns: 5fr 6fr; gap: 60px; align-items: center; }
.trainer__photo { position: relative; }
.trainer__photo::before { content: ""; position: absolute; inset: -14px -14px 14px 14px; border-radius: var(--radius); background: var(--grad); opacity: .85; z-index: 0; }
.trainer__photo img { position: relative; z-index: 1; width: 100%; border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.facts { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.facts li { display: flex; align-items: baseline; gap: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.facts b { font-size: 28px; font-weight: 800; color: var(--accent); min-width: 130px; }
.facts span { color: #d5d5d9; }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.points li { position: relative; padding-left: 36px; color: #e6e6ea; line-height: 1.5; }
.points li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); }
.points li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px; border-right: 2.5px solid #111; border-bottom: 2.5px solid #111; transform: rotate(45deg); }

/* 5. Програма: вертикальная линия с кружками */
.steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; position: relative; }
.steps li { position: relative; display: flex; gap: 22px; background: linear-gradient(160deg, #1a1a1e, #121214); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 51px; top: calc(100% + 1px); width: 2px; height: 18px; background: var(--grad); }
.steps li p { margin-bottom: 6px; color: #c4c4cb; }
.steps li h3 { color: #fff; }
.steps__n { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #111; display: grid; place-items: center; font-weight: 800; }
.is-next { border-color: rgba(242,194,48,.7) !important; box-shadow: 0 0 0 1px rgba(242,194,48,.25), 0 14px 50px rgba(242,194,48,.14); }
.when { color: var(--accent) !important; }
.when b { font-weight: 700; }

/* 6. Река выпускников: карточки «плывут» по воде */
.river { position: relative; margin: 0; padding: 14px 0 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.river__waves { position: absolute; left: 0; right: 0; bottom: 20px; height: 140px; background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%271200%27 height=%27140%27%3E%3Cpath d=%27M0 70 Q150 10 300 70 T600 70 T900 70 T1200 70 V140 H0Z%27 fill=%27%23f2c230%27 fill-opacity=%27.16%27/%3E%3C/svg%3E") repeat-x; background-size: 1200px 140px; animation: wave 16s linear infinite; }
.river__waves--2 { bottom: 6px; background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%271200%27 height=%27140%27%3E%3Cpath d=%27M0 80 Q200 20 400 80 T800 80 T1200 80 V140 H0Z%27 fill=%27%23e89b00%27 fill-opacity=%27.12%27/%3E%3C/svg%3E"); animation-duration: 24s; animation-direction: reverse; }
@keyframes wave { to { background-position-x: 1200px; } }
.river__row { position: relative; overflow: hidden; padding: 14px 0 10px; margin: -6px 0; }
.river__row:hover .river__track { animation-play-state: paused; }
.river__track { display: flex; gap: 18px; width: max-content; animation: river var(--dur, 60s) linear infinite; }
.rcard { flex: none; position: relative; display: flex; padding-left: 118px; width: 440px; background: linear-gradient(160deg, #1c1c20, #121214); border: 1px solid rgba(242,194,48,.35); border-radius: 16px; overflow: hidden; box-shadow: 0 12px 34px rgba(0,0,0,.6); animation: bob 5.5s ease-in-out infinite; }
.rcard { rotate: var(--rot, 0deg); }
.rcard:nth-child(2n) { animation-delay: -1.8s; }
.rcard:nth-child(3n) { animation-delay: -3.4s; }
.rcard > img { position: absolute; left: 0; top: 0; width: 118px; height: 100%; object-fit: cover; }
.rcard__body { padding: 12px 16px 12px; min-width: 0; display: flex; flex-direction: column; }
.rcard__body h3 { font-size: 16px; margin-bottom: 2px; }
.rcard__body .tag { font-size: 12px; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcard__body p { font-size: 12.5px; line-height: 1.45; color: #c4c4cb; margin: 0 0 6px; }
.rcard__body p:not(.tag) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rcard__body .ig { margin-top: auto; font-size: 12.5px; }
.rcard--flip { padding-left: 0; padding-right: 118px; }
.rcard--flip > img { left: auto; right: 0; }

.ig { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--accent); }
.ig:hover { text-decoration: underline; }
@keyframes river { to { transform: translateX(calc(-1 * var(--w, 50%))); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

/* 7. Квиток и запись */
.enroll { display: grid; grid-template-columns: 6fr 5fr; gap: 60px; align-items: start; }
.how { list-style: none; counter-reset: s; padding: 0; margin: 0 0 30px; display: grid; gap: 20px; }
.how li { counter-increment: s; position: relative; padding-left: 56px; }
.how li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #111; display: grid; place-items: center; font-weight: 800; }
.how b { display: block; font-size: 18px; }
.how span { color: var(--muted); }
.ticket { border: 1px solid rgba(242,194,48,.5); background: linear-gradient(135deg, rgba(242,194,48,.14), rgba(242,194,48,.03)); border-radius: var(--radius); padding: 22px 26px; display: grid; gap: 4px; }
.ticket b { font-size: 26px; }
.ticket__label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.formbox { position: relative; background: #fff; color: #17171a; border-radius: var(--radius); padding: 34px; box-shadow: 0 0 0 1px rgba(242,194,48,.4), 0 30px 80px rgba(242,194,48,.18); }
.formbox .muted { color: #6b6b72; }
.form { display: grid; gap: 12px; margin: 18px 0 14px; }
.form input { padding: 16px 18px; border: 1px solid #d5d3cd; border-radius: 12px; font: inherit; width: 100%; color: #17171a; background: #fff; }
.form input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.form .btn { width: 100%; }
.form-status { color: #a52b1a; font-size: 13px; line-height: 1.45; margin: 0; }
.form-status:empty { display: none; }
.cookie-banner { position: fixed; z-index: 90; left: 20px; bottom: 20px; width: min(560px, calc(100vw - 40px)); padding: 22px 24px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: #1c1c1f; box-shadow: 0 20px 50px rgba(0,0,0,.5); color: #f5f5f2; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 14px; font-size: 13px; line-height: 1.55; }
.cookie-banner a { color: #f2c230; text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner__actions button { border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: transparent; color: #fff; padding: 10px 18px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.cookie-banner__actions button:first-child { background: #f2c230; border-color: #f2c230; color: #111; }
@media (max-width: 640px) { .cookie-banner { left: 12px; bottom: 12px; width: calc(100vw - 24px); padding: 18px; } }

/* Подвал */
.footer { background: #060607; padding: 40px 0; border-top: 1px solid #1d1d21; }
.footer__in { display: grid; grid-template-columns: 1.4fr 1.2fr 1.3fr 1.5fr; gap: 32px; font-size: 14px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent); }

/* Появление при прокрутке (включается только если работает JS) */
.js .reveal { opacity: 0; transform: translate3d(0, 34px, 0); filter: blur(5px); transition: opacity 1s var(--ease-out) var(--d, 0ms), transform 1.1s var(--ease-out) var(--d, 0ms), filter .9s var(--ease-out) var(--d, 0ms); will-change: opacity, transform; }
.js .reveal.in { opacity: 1; transform: none; filter: none; will-change: auto; }
.js .card.reveal.in { transition: opacity 1s var(--ease-out) var(--d, 0ms), transform .5s var(--ease), border-color .3s, box-shadow .3s; }

/* Планшет и телефон */
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .trainer, .enroll { grid-template-columns: 1fr; gap: 36px; }
  .trainer__photo { max-width: 400px; margin-right: 14px; }
  .footer__in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 60px 0; }
  .grid--3 { grid-template-columns: 1fr; }
  .card, .review { padding: 22px; }
  .steps li { padding: 20px; gap: 14px; }
  .steps li:not(:last-child)::after { left: 43px; }
  .formbox { padding: 24px; }
  .hero__cta .btn, .center .btn { width: 100%; }
  .facts b { min-width: 100px; font-size: 24px; }
}

/* Если у человека отключены анимации в системе */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ====== МОБИЛЬНАЯ ВЕРСИЯ: компактно, свайпы, закреплённая кнопка ====== */
.sticky-cta { display: none; }
@media (max-width: 640px) {
  body { font-size: 15px; line-height: 1.5; padding-bottom: 84px; }
  .container { padding: 0 16px; }
  section { padding: 44px 0; }
  h2 { font-size: 24px; margin-bottom: 12px; }
  h3 { font-size: 17px; margin-bottom: 6px; }
  .eyebrow { font-size: 11px; margin-bottom: 8px; }
  .lead { font-size: 15px; margin-bottom: 22px; }
  .tag { font-size: 13px; margin-bottom: 6px; }
  .note { font-size: 14px; }
  .center { margin-top: 24px; }

  /* Первый экран */
  .hero__cta { padding: 20px 16px 28px; }
  .chip { font-size: 13px; padding: 7px 14px; margin-bottom: 14px; }
  .btn { padding: 15px 26px; }
  .ticker { padding: 10px 0; }
  .ticker__track { font-size: 12px; gap: 20px; }

  .num { margin-bottom: 8px; }

  /* Иван Врабий: фото и цифры плотнее */
  .trainer { gap: 22px; }
  .trainer__photo { max-width: none; margin-right: 10px; }
  .trainer__photo img { aspect-ratio: 4 / 4.2; }
  .trainer__photo::before { inset: -8px -8px 8px 8px; }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
  .facts li { flex-direction: column; gap: 2px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 10px; text-align: center; }
  .facts b { font-size: 18px; min-width: 0; }
  .facts span { font-size: 12px; line-height: 1.3; }
  .points { gap: 10px; }
  .points li { font-size: 14.5px; padding-left: 32px; }

  /* Точки фокусу */

  /* Программа */
  .steps { gap: 12px; margin-bottom: 18px; }
  .steps li { padding: 16px; gap: 12px; }
  .steps li:not(:last-child)::after { left: 38px; height: 12px; }
  .steps__n { width: 36px; height: 36px; font-size: 14px; }
  .steps li p { font-size: 14px; margin-bottom: 4px; }

  /* Река: карточки меньше */
  .river { padding: 14px 0 56px; }
  .river__row { padding: 14px 0 16px; }
  .river { padding: 8px 0 30px; }
  .rcard { width: 300px; }
  .rcard { padding-left: 92px; }
  .rcard--flip { padding-left: 0; padding-right: 92px; }
  .rcard > img { width: 92px; }
  .rcard__body { padding: 11px 12px; }
  .rcard__body h3 { font-size: 14px; }
  .rcard__body .tag { font-size: 11px; margin-bottom: 4px; }
  .rcard__body p { font-size: 11.5px; margin-bottom: 6px; }
  .rcard__body p:not(.tag) { -webkit-line-clamp: 3; }
  .river__waves { height: 80px; }

  /* Запись */
  .enroll { gap: 24px; }
  .how { gap: 14px; margin-bottom: 20px; }
  .how li { padding-left: 46px; }
  .how li::before { width: 32px; height: 32px; font-size: 14px; }
  .how b { font-size: 16px; }
  .how span { font-size: 14px; }
  .ticket { padding: 16px 18px; }
  .ticket b { font-size: 20px; }
  .formbox { padding: 20px; }

  .footer { padding: 26px 0; }

  /* Закреплённая кнопка записи внизу экрана */
  .sticky-cta { display: block; position: fixed; z-index: 30; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); padding: 16px; border-radius: 999px; background: var(--grad); color: #111; font-weight: 800; text-align: center; text-decoration: none; box-shadow: 0 10px 34px rgba(0,0,0,.55), 0 6px 26px rgba(242,194,48,.4); transform: translateY(160%); opacity: 0; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s; }
  .sticky-cta.show { transform: none; opacity: 1; }
}

/* Блик на кнопках лежит под текстом */
.btn { isolation: isolate; }
.btn--accent::after, .btn--sm::after { z-index: -1; }


/* ====== ПЕРШИЙ ЕКРАН НА ТЕЛЕФОНЕ: видео на весь экран, заголовок и кнопка внизу ====== */
@media (max-width: 640px) {
  .hero__line { display: none; }
  .hero__cta .chip, .hero__cta .btn { animation: none; }
  .hero { position: relative; height: auto; min-height: min(100vh, 900px); min-height: min(100svh, 900px); display: block; padding: 0; overflow: hidden; background: #000; }
  .hero__bg { display: none; }
  .hero__media { position: absolute; inset: 0; }
  .hero__media video { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 50%; }
  /* темнеет к низу, чтобы заголовок читался */
  .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,.4) 0%, rgba(10,10,11,0) 22%, rgba(10,10,11,0) 48%, rgba(10,10,11,.55) 68%, rgba(10,10,11,.92) 100%); pointer-events: none; }

  /* заголовок стоит там, где раньше был вшитый текст; под ним выделены место и дата */
  .hero__top { position: absolute; left: 0; right: 0; top: 43%; bottom: auto; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; z-index: 2; padding: 0 20px; background: none; border: 0; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
  /* мягкое затемнение без границ: сглаживает следы на месте удалённого текста */
  .hero__top::before { content: ""; position: absolute; left: 0; right: 0; top: -70px; bottom: -70px; z-index: -1; background: linear-gradient(180deg, transparent, rgba(10,10,11,.62) 30%, rgba(10,10,11,.62) 70%, transparent); pointer-events: none; }
  .hero__top h1 { font-size: 26px; line-height: 1.14; font-weight: 800; letter-spacing: -.01em; }
  .hero__desc { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  /* место и дата: просто текст в обведённой зоне над кнопкой */
  .hero__when { position: absolute; left: 0; right: 0; bottom: calc(112px + env(safe-area-inset-bottom)); width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; z-index: 2; padding: 0 20px; margin: 0; display: flex; flex-direction: column; gap: 4px; text-shadow: 0 2px 16px rgba(0,0,0,.65); }
  .hero__when small { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
  .hero__when b { font-size: 22px; line-height: 1.15; font-weight: 800; letter-spacing: -.005em; }
  .hero__cta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; background: none; padding: 0 16px calc(24px + env(safe-area-inset-bottom)); text-align: center; }
  .hero__cta .chip { display: none; }
  .hero__cta .btn { width: 100%; padding: 19px 16px; font-size: 17px; }
}

/* ====== ПЛАВНОСТЬ ====== */
html.smooth-js { scroll-behavior: auto; }

/* тонкая полоса прогресса прокрутки */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; box-shadow: 0 0 12px rgba(242,194,48,.7); }

/* параллакс: движение задаётся скриптом через переменные, без пересчёта вёрстки */
.hero__media, .trainer__photo img { will-change: transform; }
.trainer__photo img { transform: translate3d(0, var(--py, 0px), 0); }
@media (max-width: 640px) {
  .hero__top, .hero__when { transform: none; opacity: 1; }
}

/* секции вне экрана ставят свои анимации на паузу: меньше нагрузки, прокрутка легче */
section.is-off *, section.is-off::before, section.is-off::after { animation-play-state: paused !important; }

@media (max-width: 640px) {
  .js .reveal { filter: none; transform: translate3d(0, 24px, 0); }
}

.thanks-inline { text-align: center; padding: 24px 0; }
.thanks-inline h3 { font-size: 24px; margin-bottom: 8px; }
.thanks-inline p { color: #43434a; margin: 0; }

/* Карточки реки кликабельны */
.rcard { cursor: pointer; transition: border-color .35s, box-shadow .35s; }
.rcard:hover, .rcard:focus-visible { border-color: rgba(242,194,48,.85); box-shadow: 0 16px 44px rgba(0,0,0,.65), 0 0 0 1px rgba(242,194,48,.35); outline: none; }
.rcard > img { transition: transform .8s var(--ease); }
.rcard:hover > img { transform: scale(1.06); }
.rcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rcard__foot .ig { margin: 0; }
.rcard__more { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #fff; white-space: nowrap; }
.rcard__more i { width: 22px; height: 22px; border-radius: 50%; background: var(--grad); position: relative; transition: transform .35s var(--ease); }
.rcard__more i::before { content: ""; position: absolute; left: 7px; top: 8px; width: 6px; height: 6px; border-top: 2px solid #111; border-right: 2px solid #111; transform: rotate(45deg); }
.rcard:hover .rcard__more i { transform: translateX(3px) scale(1.1); }

/* Окно кейса */
html.modal-open { overflow: hidden; }
.case { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.case[hidden] { display: none; }
.case__backdrop { position: absolute; inset: 0; background: rgba(6,6,7,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .45s var(--ease-out); }
.case__dialog { position: relative; width: min(980px, 100%); height: min(86vh, 700px); display: grid; grid-template-columns: 5fr 6fr; grid-template-rows: minmax(0, 1fr); background: linear-gradient(160deg, #1f1f23, #121214); border: 1px solid rgba(242,194,48,.35); border-radius: 24px; overflow: hidden; box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 80px rgba(242,194,48,.12); outline: none; opacity: 0; transform: translate3d(0, 36px, 0) scale(.96); filter: blur(6px); transition: opacity .5s var(--ease-out), transform .7s var(--ease-out), filter .5s var(--ease-out); }
.case.is-open .case__backdrop { opacity: 1; }
.case.is-open .case__dialog { opacity: 1; transform: none; filter: none; }
.case__photo { position: relative; min-height: 100%; overflow: hidden; background: #111; }
.case__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 1.4s var(--ease-out); }
.case.is-open .case__photo img { transform: scale(1); }
.case__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,10,11,.92)); }
.case__who { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 1; }
.case__who h3 { font-size: 26px; line-height: 1.12; margin: 0 0 8px; }
.case__tag { margin: 0; font-size: 13px; color: #d4d4da; line-height: 1.4; }
.case__body { padding: 40px 36px 28px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 22px; }
.case__block p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.65; color: #d7d7dd; }
.case__label { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case__block--b { padding-top: 22px; border-top: 1px solid var(--line); }
.case__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.case__foot .btn { padding: 15px 26px; }
.case__nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: auto; padding-top: 6px; color: var(--muted); font-size: 13px; font-weight: 600; }
.case__step { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.04); color: #fff; cursor: pointer; position: relative; transition: background .25s, transform .25s, border-color .25s; }
.case__step:hover { background: var(--grad); color: #111; border-color: transparent; transform: scale(1.08); }
.case__step::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor; }
.case__step--prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.case__step--next::before { transform: translate(-70%, -50%) rotate(45deg); }
.case__close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(10,10,11,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; transition: transform .35s var(--ease), background .25s; }
.case__close::before, .case__close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; margin: -1px 0 0 -9px; background: #fff; }
.case__close::before { transform: rotate(45deg); }
.case__close::after { transform: rotate(-45deg); }
.case__close:hover { transform: rotate(90deg) scale(1.08); background: var(--grad); }
.case__close:hover::before, .case__close:hover::after { background: #111; }
/* текст появляется по очереди */
.case.is-open .case__body > * { animation: caseIn .8s var(--ease-out) both; }
.case.is-open .case__body > *:nth-child(2) { animation-delay: .08s; }
.case.is-open .case__body > *:nth-child(3) { animation-delay: .16s; }
.case.is-open .case__body > *:nth-child(4) { animation-delay: .24s; }
@keyframes caseIn { from { opacity: 0; transform: translate3d(0, 22px, 0); } }
.case.is-swap .case__body, .case.is-swap .case__photo img { opacity: 0; transition: opacity .2s; }

@media (max-width: 760px) {
  .case { padding: 0; place-items: end center; }
  /* на телефоне окно обычный вертикальный блок: фото сверху, текст строго под ним (без сетки, она по-разному считается в Safari) */
  .case__dialog { display: block; width: 100%; height: auto; max-height: 92vh; max-height: 92svh; border-radius: 24px 24px 0 0; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; transform: translate3d(0, 100%, 0); filter: none; transition: opacity .35s var(--ease-out), transform .65s var(--ease-out); }
  .case.is-open .case__dialog { transform: none; }
  .case__photo { position: relative; display: block; width: 100%; height: 0; padding-bottom: 78%; min-height: 0; }
  .case__who { left: 18px; right: 18px; bottom: 16px; }
  .case__who h3 { font-size: 22px; }
  .case__body { display: flex; flex-direction: column; position: relative; padding: 22px 18px calc(24px + env(safe-area-inset-bottom)); overflow: visible; background: linear-gradient(160deg, #1f1f23, #121214); }
  .case__block p { font-size: 14.5px; }
  .case__foot .btn { width: 100%; }
}

.case__block a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.case__block a:hover { text-decoration-thickness: 2px; }

/* тонка жовта смуга прокрутки в вікні кейсу (замість білої системної) */
.case__body { scrollbar-width: thin; scrollbar-color: rgba(242,194,48,.55) transparent; }
.case__body::-webkit-scrollbar { width: 6px; }
.case__body::-webkit-scrollbar-thumb { background: rgba(242,194,48,.55); border-radius: 6px; }
.case__body::-webkit-scrollbar-track { background: transparent; }

/* ====== ЛЁГКИЕ АНИМАЦИИ НА ТЕЛЕФОНЕ ====== */
@media (max-width: 640px) {
  .cover__item, .cover--photo .cover__item { filter: none; }          /* размытие карточек перерисовывается на каждом кадре и тормозит */
  .rcard { animation: none; }                                         /* покачивание карточек в реке: оставляем только само движение ленты */
  .river__waves { animation: none; }
}

/* ====== ІВАН: цифры карточками 2×2 ====== */
.facts--grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 22px; }
.facts--grid li { flex-direction: column; align-items: flex-start; gap: 4px; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: rgba(255,255,255,.03); }
.facts--grid b { min-width: 0; font-size: 26px; line-height: 1.1; }
.facts--grid span { font-size: 13.5px; line-height: 1.4; color: #c9c9cf; }
.points b { color: #fff; font-weight: 700; }

/* ====== РЕЗУЛЬТАТЫ: компактная полоса с цифрами ====== */
.stats { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stats li { border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 16px; background: linear-gradient(160deg, #1a1a1e, #121214); }
.stats b { display: block; font-size: 30px; line-height: 1.1; font-weight: 800; margin-bottom: 6px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { display: block; font-size: 14px; line-height: 1.4; color: #c9c9cf; }
.stats__note { margin: 0 0 30px; font-size: 12.5px; line-height: 1.5; color: var(--muted); max-width: 820px; }

/* ====== КНОПКИ СЛАЙДЕРА: не прилегают к точкам, отдельный ряд под слайдером ====== */
@media (max-width: 640px) {
  .cover { display: grid; grid-template-columns: 1fr auto 1fr; column-gap: 26px; align-items: center; }
  .cover__viewport { grid-column: 1 / -1; grid-row: 1; }
  .cover__arrow { position: relative; top: auto; bottom: auto; left: auto; right: auto; width: 46px; height: 46px; z-index: 3; }
  .cover__arrow--prev { grid-column: 1; grid-row: 2; justify-self: end; }
  .cover__arrow--next { grid-column: 3; grid-row: 2; justify-self: start; }
  .cover__dots { grid-column: 2; grid-row: 2; margin: 0; height: 46px; }
  .facts.facts--grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .facts--grid li { flex-direction: column; text-align: left; padding: 12px 12px; }
  .facts--grid b { font-size: 20px; }
  .facts--grid span { font-size: 12px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stats li { padding: 14px 14px 12px; }
  .stats b { font-size: 21px; }
  .stats span { font-size: 12.5px; }
  .stats__note { margin-bottom: 22px; font-size: 11.5px; }
}

/* кнопка «Кейс» на карточках никогда не обрезается: длинный Instagram сокращается многоточием, а не вытесняет её */
.rcard__foot { min-width: 0; }
.rcard__foot .ig { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rcard__more { flex: none; }
.case__nav { padding-top: 14px; }

/* ====== ПОДВАЛ ====== */
.footer__brand, .footer__col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer__brand b, .footer__col b { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.footer__brand b { font-size: 16px; letter-spacing: .04em; text-transform: none; color: #fff; }
.footer__col a { color: #d5d5d9; text-decoration: none; line-height: 1.35; transition: color .25s; }
.footer__col a:hover { color: var(--accent); }
.footer__legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid #1d1d21; }
.formbox .small a { color: #4a4a52; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) { .footer__in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__in { grid-template-columns: 1fr; gap: 22px; } }

/* ====== СТРАНИЦЫ ДОКУМЕНТОВ ====== */
.doc-page { background: var(--bg); }
.doc { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; }
.doc__back { display: inline-block; margin-bottom: 28px; color: var(--accent); text-decoration: none; font-weight: 600; }
.doc__back:hover { text-decoration: underline; }
.doc h1 { font-size: clamp(26px, 5vw, 38px); font-weight: 800; margin-bottom: 10px; }
.doc__sub { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.doc h2 { font-size: 18px; font-weight: 700; margin: 30px 0 10px; color: #fff; }
.doc p, .doc li { color: #d2d2d8; font-size: 16px; line-height: 1.7; }
.doc ul { padding-left: 22px; margin: 0 0 14px; }
.doc li { margin-bottom: 8px; }
@media (max-width: 640px) { .doc { padding: 30px 16px 60px; } .doc p, .doc li { font-size: 15px; } }

/* ====== ХТО ТАКИЙ ТРИТМЕНТОЛОГ ====== */
.what { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: stretch; margin-top: 6px; }
.what__text p { margin: 0 0 12px; color: #cfcfd5; font-size: 16px; line-height: 1.6; }
.what__lead { font-size: 21px !important; line-height: 1.35 !important; font-weight: 700; color: #fff !important; }
.what__status { margin: 18px 0 0 !important; padding: 14px 18px; border-left: 3px solid var(--accent); background: linear-gradient(90deg, rgba(242,194,48,.14), transparent); border-radius: 0 12px 12px 0; color: #fff !important; font-weight: 600; font-size: 15.5px !important; }
.what__level { border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; background: linear-gradient(160deg, #1a1a1e, #121214); }
.what__level h3 { font-size: 17px; margin-bottom: 14px; }
.what__level .points { gap: 12px; }
.what__level .points li { font-size: 14.5px; line-height: 1.5; color: #d7d7dd; padding-left: 34px; }

.doubt { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; margin-top: 22px; padding: 24px 28px; border: 1px solid rgba(242,194,48,.35); border-radius: 20px; background: linear-gradient(135deg, rgba(242,194,48,.10), rgba(255,255,255,.02)); }
.doubt p { margin: 0 0 10px; color: #cfcfd5; font-size: 15px; line-height: 1.55; }
.doubt__out { margin-bottom: 0 !important; color: #fff !important; font-weight: 600; }
.doubt__quote { margin: 0; font-size: 20px; line-height: 1.4; font-weight: 700; color: #fff; padding-left: 20px; border-left: 3px solid var(--accent); }

.stats__eyebrow { margin: 34px 0 14px; }
#what .stats { margin-bottom: 8px; }
#what .stats__note { margin-bottom: 0; }

@media (max-width: 900px) { .what, .doubt { grid-template-columns: 1fr; gap: 18px; } }
@media (max-width: 640px) {
  #what { padding: 40px 0 36px; }
  .what__text p { font-size: 14.5px; margin-bottom: 10px; }
  .what__lead { font-size: 17.5px !important; }
  .what__status { margin-top: 12px !important; padding: 11px 14px; font-size: 14px !important; }
  .what__level { padding: 16px 16px; }
  .what__level h3 { font-size: 15.5px; margin-bottom: 10px; }
  .what__level .points li { font-size: 13.5px; }
  .doubt { margin-top: 16px; padding: 16px 16px; gap: 14px; }
  .doubt p { font-size: 13.5px; }
  .doubt__quote { font-size: 16.5px; padding-left: 14px; }
  .stats__eyebrow { margin: 26px 0 10px; }
}

/* ====== РЕКА: ровно, без покачивания; ряды идут в разные стороны ====== */
.rcard { animation: none !important; }
.river__row--right .river__track { animation-direction: reverse; }

/* компактнее на телефоне */
@media (max-width: 640px) {
  #what { padding: 34px 0 30px; }
  #what h2 { margin-bottom: 10px; }
  .what { gap: 12px; margin-top: 0; }
  .what__lead { font-size: 16px !important; margin-bottom: 8px !important; }
  .what__text p { font-size: 13.5px; line-height: 1.5; margin-bottom: 8px; }
  .what__status { margin-top: 8px !important; padding: 9px 12px; font-size: 13px !important; line-height: 1.45 !important; }
  .what__level { padding: 14px 14px; }
  .what__level h3 { font-size: 14.5px; margin-bottom: 8px; }
  .what__level .points { gap: 9px; }
  .what__level .points li { font-size: 13px; line-height: 1.45; padding-left: 30px; }
  .what__level .points li::before { width: 20px; height: 20px; }
  .what__level .points li::after { left: 6px; top: 5px; }
  .doubt { margin-top: 12px; padding: 14px 14px; gap: 10px; }
  .doubt p { font-size: 13px; line-height: 1.5; margin-bottom: 8px; }
  .doubt__quote { font-size: 15px; line-height: 1.4; padding-left: 12px; }
  .stats__eyebrow { margin: 20px 0 8px; font-size: 10.5px; }
}

/* ====== ТЕЛЕФОН: на первом экране та же главная надпись, что и на компьютере ====== */
@media (max-width: 640px) {
  /* служебный заголовок «Станьте Тритментологом…» остаётся для поисковиков, но не показывается */
  .hero__top { position: absolute; left: auto; right: auto; top: auto; bottom: auto; z-index: auto; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; text-shadow: none; background: none; border: 0; }
  .hero__top::before { display: none; }

  .hero__line { display: block; position: absolute; z-index: 2; left: 0; right: 0; top: auto; bottom: calc(190px + env(safe-area-inset-bottom)); max-width: none; padding: 0 20px; margin: 0; transform: none; opacity: 1; text-shadow: 0 2px 22px rgba(0,0,0,.7); }
  .hl-brand { font-size: 35px; line-height: 1; letter-spacing: -.02em; }
  .hl-sub { max-width: none; margin-top: 10px; font-size: 15.5px; line-height: 1.38; font-weight: 600; letter-spacing: 0; }
  .hl-sub s { background-size: 100% 1.5px; }
}
