/* Переменные брендбука «Кобальт», палитра «Медицинский синий»: docs/Брендбук.md. Меняются только вместе с ним.
   Цвета по смыслу: фон, текст на фоне, контур (он же тёмные разделы), акцент, второй акцент, бумага. */
:root {
  --bg: #1F5FA8;
  --on-bg: #FFFFFF;
  --ink: #0B2340;
  --on-ink: #FFFFFF;
  --accent: #7FE3D0;
  --accent2: #FFD7A8;
  --paper: #FFFFFF;
  --paper-2: #E3ECF5;

  --font: "Onest", "Segoe UI", system-ui, sans-serif;
  --line: 2.5px;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-big: 6px 6px 0 var(--ink);
  --r: 18px;

  --pad: clamp(16px, 3vw, 40px);
  --fs-text: 16px;
}
@media (min-width: 900px) { :root { --fs-text: 18px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--on-bg); font-family: var(--font); font-size: var(--fs-text); line-height: 1.45; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; text-wrap: pretty; }
cite { font-style: normal; }
.ico { width: 22px; height: 22px; flex: none; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 900px; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 80; background: var(--accent); color: var(--ink); padding: 12px 16px; border-radius: 12px; border: var(--line) solid var(--ink); font-weight: 700; }
.skip:focus { top: 16px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 6px; }

/* Фон в точку */
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.22; background-image: radial-gradient(color-mix(in srgb, var(--on-bg) 55%, transparent) 1px, transparent 1.2px); background-size: 22px 22px; }
main, .foot { position: relative; z-index: 1; }

/* Наклейки-ярлыки */
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 14px; border: var(--line) solid var(--ink); box-shadow: var(--shadow); color: var(--ink); font-weight: 800; font-size: 15px; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.tag--lime { background: var(--accent); } .tag--white { background: var(--paper); } .tag--pink { background: var(--accent2); }
.tag--navy { background: var(--ink); color: var(--on-ink); border-color: var(--ink); box-shadow: 4px 4px 0 color-mix(in srgb, var(--ink) 35%, transparent); }

/* Шапка */
.bar { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px var(--pad); pointer-events: none; }
.bar > * { pointer-events: auto; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
.logo i { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--accent); color: var(--ink); border: var(--line) solid var(--ink); box-shadow: 3px 3px 0 var(--ink); display: grid; place-items: center; font-style: normal; transform: rotate(-6deg); }
.logo small { display: block; font-size: 12px; font-weight: 500; opacity: 0.85; letter-spacing: 0; }
.bar__rec { font-size: 14px; padding: 8px 14px; transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 300ms; }
.bar__rec .ico { width: 18px; height: 18px; }
.motion .bar__rec { opacity: 0; transform: scale(0.4) rotate(-10deg); pointer-events: none; }
.motion .bar.is-on .bar__rec { opacity: 1; transform: rotate(3deg); pointer-events: auto; }
@media (max-width: 359px) { .logo small { display: none; } }

/* Кнопка записи: лаймовая наклейка */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 24px; border-radius: 20px; background: var(--accent); color: var(--ink); border: 3px solid var(--ink); box-shadow: var(--shadow-big); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; text-decoration: none; transition: box-shadow 150ms, translate 150ms; }
.cta .ico { width: 24px; height: 24px; }
.cta:active { box-shadow: 2px 2px 0 var(--ink); translate: 3px 3px; }
.cta--navy { background: var(--ink); color: var(--accent); box-shadow: 6px 6px 0 color-mix(in srgb, var(--ink) 35%, transparent); }
.cta--big { font-size: clamp(20px, 2.4vw, 30px); padding: 22px 34px; border-radius: 24px; }

/* ---------- 1. Первый экран ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; }
.pre { position: absolute; z-index: 3; left: var(--pad); top: 92px; font-weight: 700; font-size: clamp(22px, 2.6vw, 38px); line-height: 1.05; letter-spacing: -0.03em; }
.giant { position: absolute; z-index: 3; left: var(--pad); right: 0; top: 50%; transform: translateY(-58%); font-weight: 800; text-transform: uppercase; font-size: 13vw; line-height: 0.86; letter-spacing: -0.055em; white-space: nowrap; text-shadow: 0.035em 0.035em 0 var(--ink); }
.giant span { display: inline-block; will-change: transform; }
.post { position: absolute; z-index: 3; left: var(--pad); bottom: 12vh; max-width: 30ch; font-size: 16px; font-weight: 500; }
.post b { display: block; font-size: clamp(22px, 2.6vw, 38px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; margin-bottom: 10px; }
/* Доктор по пояс справа. Лицо стоит между концом «НЕ СТЫДНО» (около 74% ширины) и краем экрана:
   высота растёт с шириной, середина лица посередине этого места. Ширина рамки по снимку, иначе фото сплющится. */
.doc { --dh: min(80svh, calc(65vw - 190px)); position: absolute; z-index: 2; left: calc(87.15% + 22px - 0.038 * var(--dh)); bottom: -1%; height: var(--dh); width: max-content; margin: 0; transform: translateX(-50%); will-change: transform; }
.doc img { height: 100%; width: auto; max-width: none; }
.st { position: absolute; z-index: 4; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 16px; border: var(--line) solid var(--ink); box-shadow: var(--shadow); color: var(--ink); font-weight: 800; font-size: clamp(14px, 1.3vw, 18px); letter-spacing: -0.01em; white-space: nowrap; text-decoration: none; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; will-change: transform; }
.st b { font-size: 1.6em; line-height: 1; }
/* Палец: движение вверх-вниз листает страницу, вбок тянет наклейку */
@media (pointer: coarse) { .st { touch-action: pan-y; } }
.st--lime { background: var(--accent); } .st--white { background: var(--paper); } .st--pink { background: var(--accent2); }
.hero .cta { position: absolute; z-index: 5; right: var(--pad); bottom: 12vh; will-change: transform; }
html:not(.motion) .st { position: static; display: inline-flex; margin: 4px; }
html:not(.motion) .hero { height: auto; min-height: 0; padding: 96px 0 48px; overflow: visible; }
html:not(.motion) .pre, html:not(.motion) .giant, html:not(.motion) .post, html:not(.motion) .hero .cta { position: static; transform: none; margin: 0 var(--pad) 16px; }
html:not(.motion) .giant { white-space: normal; font-size: 16vw; }
/* «Меньше движения»: доктор в карточке-наклейке, срезы снимка справа и снизу совпадают с её краями */
html:not(.motion) .doc { position: relative; left: auto; bottom: auto; transform: none; height: 60svh; margin: 0 auto 24px; padding-top: 24px; background: var(--paper-2); border: 3px solid var(--ink); border-radius: 24px; box-shadow: var(--shadow-big); overflow: hidden; }
@media (max-width: 899px) {
  .pre { top: 84px; font-size: 22px; max-width: 12ch; }
  .giant { font-size: 20vw; top: 132px; transform: none; white-space: normal; line-height: 0.84; }
  .hero { min-height: 560px; }
  .doc { --dh: calc(100% - 146px - 33.6vw); bottom: 0; left: 64%; }
  .post { top: calc(146px + 33.6vw); bottom: auto; max-width: 15ch; font-size: 13px; }
  .post b { font-size: clamp(20px, 3.4vw, 28px); }
  .post span, .st--desk { display: none; }
  .hero .cta { left: 16px; right: 16px; bottom: 16px; font-size: 17px; padding: 16px 20px; }
}
/* Совсем низкий экран телефона: между бородой и кнопкой нет места для наклейки */
@media (max-width: 899px) and (max-height: 640px) { .hero .st { display: none; } }
@media (max-width: 359px) {
  .logo { font-size: 16px; }
  .logo span { white-space: nowrap; }
  .bar__rec { padding: 8px 10px; gap: 6px; }
  .hero .cta, .cta--dock { font-size: 15px; gap: 8px; padding-left: 12px; padding-right: 12px; }
}

/* Лента болезней */
.band { position: relative; z-index: 3; margin: -3vh -4vw 0; transform: rotate(-3.5deg); background: var(--accent); color: var(--ink); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); padding: 16px 0; overflow: hidden; white-space: nowrap; }
.band__in { display: inline-flex; gap: 36px; font-weight: 800; font-size: clamp(30px, 4.4vw, 64px); text-transform: uppercase; letter-spacing: -0.03em; will-change: transform; }
.band__in i { font-style: normal; }

/* Заголовки разделов */
.big { font-weight: 800; font-size: clamp(40px, 6.4vw, 96px); line-height: 0.92; letter-spacing: -0.05em; }
.huge { font-weight: 800; font-size: clamp(56px, 11vw, 168px); line-height: 0.86; letter-spacing: -0.055em; }
.pw { display: inline-block; will-change: transform; }

/* ---------- 2. С этим идут к урологу ---------- */
.cond { background: var(--ink); color: var(--on-ink); margin-top: -4vh; padding: 22vh 0 18vh; }
.cond .big { max-width: 10ch; margin-bottom: 28px; }
.lede { max-width: 46ch; margin-bottom: 48px; opacity: 0.9; }
/* Плашки повёрнуты в разные стороны: между рядами место под их углы */
.chips { list-style: none; margin: 0 0 56px; padding: 0; display: flex; flex-wrap: wrap; gap: clamp(16px, 2.4vw, 32px) 16px; max-width: 1120px; }
.chip { display: inline-flex; flex-direction: column; padding: 18px 22px; border-radius: 20px; border: var(--line) solid var(--on-ink); font-weight: 800; font-size: clamp(22px, 2.6vw, 36px); letter-spacing: -0.03em; line-height: 1; transform: rotate(calc(var(--r, 0) * 1deg)); }
.chip small { font-weight: 500; font-size: 14px; letter-spacing: 0; opacity: 0.8; margin-top: 8px; line-height: 1.3; max-width: 26ch; }
.chip:nth-child(3n+1) { background: var(--bg); } .chip:nth-child(3n) { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.say { position: relative; margin: 0; max-width: 560px; background: var(--paper); color: var(--ink); border: 3px solid var(--paper); border-radius: 24px; padding: 24px 28px; box-shadow: 6px 6px 0 var(--bg); }
.say::after { content: ""; position: absolute; left: 40px; bottom: -18px; width: 28px; height: 28px; background: var(--paper); transform: rotate(45deg); border-radius: 4px; }
.say p { font-weight: 700; font-size: clamp(19px, 2vw, 24px); line-height: 1.25; letter-spacing: -0.02em; }
.say cite { display: block; margin-top: 10px; font-size: 14px; font-weight: 600; opacity: 0.7; }

/* Сцены, которые прилипают к экрану */
.scene { position: relative; }
.stage { position: relative; padding: 18vh 0; }
.motion .scene.pinned { height: var(--len, 300svh); }
.motion .scene.pinned > .stage { position: sticky; top: 0; height: 100svh; padding: 0; overflow: hidden; display: flex; align-items: center; }

/* ---------- 3. Колода ---------- */
.s-deck { --len: 420svh; }
.deck__in { display: grid; gap: 32px; align-items: center; }
.deck__head .big { max-width: 8ch; margin-bottom: 18px; }
.deck__src { opacity: 0.85; max-width: 30ch; margin-bottom: 18px; font-size: 15px; }
.deck__n { transform: rotate(-4deg); }
.deck__n b { font-size: 20px; }
.deck { position: relative; display: grid; gap: 20px; }
.card { border-radius: 24px; border: 3px solid var(--ink); box-shadow: var(--shadow-big); color: var(--ink); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-weight: 800; font-size: clamp(30px, 3.6vw, 48px); line-height: 0.95; letter-spacing: -0.04em; }
.card p { font-weight: 600; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.3; }
.card cite { font-size: 14px; font-weight: 600; opacity: 0.7; }
.card--white { background: var(--paper); } .card--lime { background: var(--accent); } .card--pink { background: var(--accent2); }
.motion .s-deck.pinned .deck { display: block; height: min(420px, 52svh); }
.motion .s-deck.pinned .card { position: absolute; inset: 0; will-change: transform; justify-content: center; }
.motion .s-deck.pinned .deck__in { padding-top: 64px; padding-bottom: 88px; }
@media (min-width: 900px) {
  .deck__in { grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
  .motion .s-deck.pinned .deck__in { padding-bottom: 0; }
}

/* ---------- 4. Слова пациента ---------- */
.s-quote { --len: 240svh; background: var(--accent); color: var(--ink); }
.quote { margin: 0 auto; }
.quote__q { font-weight: 800; font-size: clamp(34px, 5.6vw, 84px); line-height: 1; letter-spacing: -0.045em; max-width: 17ch; }
.quote__who { margin-top: 32px; transform: rotate(-3deg); white-space: normal; }
.motion .s-quote.pinned .quote { padding-top: 40px; padding-bottom: 72px; }

/* ---------- 5. Запись за минуту ---------- */
.s-chat { --len: 300svh; background: var(--ink); color: var(--on-ink); }
.chat__in { display: grid; gap: 40px; align-items: center; }
.chat__text .big { margin-bottom: 28px; max-width: 8ch; }
.steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps p { opacity: 0.88; max-width: 36ch; }
.steps b { opacity: 1; }
.num { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--accent); color: var(--ink); border: var(--line) solid var(--on-ink); display: grid; place-items: center; font-weight: 800; font-size: 20px; will-change: transform; }
.cta--inline { font-size: 17px; }
.phone { justify-self: center; width: min(300px, 72vw); }
.phone__body { background: var(--paper); color: var(--ink); border: 3px solid var(--paper); border-radius: 40px; box-shadow: 8px 8px 0 var(--bg); padding: 12px; aspect-ratio: 9 / 17; display: flex; flex-direction: column; overflow: hidden; will-change: transform; }
.phone__bar { display: flex; align-items: center; gap: 10px; padding: 10px; border-bottom: 2px solid var(--paper-2); }
.phone__bar b { display: block; font-size: 14px; }
.phone__bar i { font-style: normal; font-size: 12px; opacity: 0.6; }
.phone__ava { width: 36px; height: 36px; border-radius: 12px; background: var(--accent); border: 2px solid var(--ink); display: grid; place-items: center; font-weight: 800; transform: rotate(-6deg); }
.phone__chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 10px; background-image: radial-gradient(color-mix(in srgb, var(--ink) 12%, transparent) 1px, transparent 1.2px); background-size: 16px 16px; }
.bubble { align-self: flex-end; max-width: 88%; background: var(--accent); border: 2px solid var(--ink); border-radius: 16px 16px 4px 16px; padding: 8px 12px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.bubble__t::after { content: attr(data-text); }
.bubble__meta { display: block; text-align: right; font-size: 11px; font-weight: 800; }
.typing { align-self: flex-start; display: flex; gap: 4px; background: var(--paper-2); border-radius: 14px; padding: 12px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); opacity: 0.5; }
.phone__input { display: flex; gap: 8px; padding: 8px 4px 4px; }
.phone__field { flex: 1; min-width: 0; height: 40px; border-radius: 20px; background: var(--paper-2); display: flex; align-items: center; padding: 0 12px; font-size: 12px; font-weight: 600; overflow: hidden; white-space: nowrap; }
.phone__send { width: 40px; height: 40px; border-radius: 50%; background: var(--bg); color: var(--on-bg); display: grid; place-items: center; }
.phone__send .ico { width: 18px; height: 18px; }
.motion .phone__typed::after { content: ""; display: inline-block; width: 2px; height: 15px; margin-left: 1px; vertical-align: -3px; background: var(--bg); }
.motion .s-chat .bubble { opacity: 0; transform: translateY(16px) scale(0.6); transform-origin: 100% 100%; transition: opacity 300ms, transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.motion .s-chat.is-sent .bubble { opacity: 1; transform: none; }
.motion .s-chat .typing { opacity: 0; transform: scale(0.6); transition: opacity 300ms, transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.motion .s-chat.is-typing .typing { opacity: 1; transform: none; }
.motion .s-chat.is-typing .typing span { animation: dot 1.1s ease-in-out infinite; }
.typing span:nth-child(2) { animation-delay: 0.15s !important; } .typing span:nth-child(3) { animation-delay: 0.3s !important; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: 0.45; } 30% { transform: translateY(-5px); opacity: 1; } }
.motion .s-chat .steps li { transition: opacity 300ms; }
.motion .s-chat .steps li.is-dim { opacity: 0.45; }
.motion .s-chat.pinned .chat__in { padding-top: 64px; }
@media (min-width: 900px) {
  .chat__in { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
  .phone { width: 340px; }
}

/* ---------- 6. Где принимает ---------- */
.where { padding: 20vh 0 16vh; }
.where .big { margin-bottom: 24px; }
.map { position: relative; max-width: 900px; margin: 0 auto 40px; }
.route { width: 100%; height: auto; display: block; overflow: visible; }
.route__line { fill: none; stroke: var(--accent); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 0.02 0.022; }
.motion .route__line { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.route__ring { fill: none; stroke: var(--on-bg); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }
.where.is-on .route__ring { animation: ring 2.2s ease-out infinite; }
.where.is-on .route__ring--b { animation-delay: 1.1s; }
@keyframes ring { from { transform: scale(1); opacity: 0.8; } to { transform: scale(3.4); opacity: 0; } }
.pin { position: absolute; translate: -50% -130%; }
.pin--a { left: 13.75%; top: 65%; } .pin--b { left: 86.25%; top: 57%; }
.places { display: grid; gap: 20px; }
.place { border-radius: 24px; border: 3px solid var(--ink); box-shadow: var(--shadow-big); color: var(--ink); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.place h3 { font-weight: 800; font-size: 30px; letter-spacing: -0.04em; line-height: 1; }
.place p { font-weight: 500; }
.place .place__time { font-weight: 800; }
.place--lime { background: var(--accent); } .place--white { background: var(--paper); } .place--pink { background: var(--accent2); }
.link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; font-weight: 800; text-decoration: none; min-height: 44px; }
.link .ico { width: 20px; height: 20px; transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.link:hover .ico { transform: translateX(4px); }
@media (min-width: 900px) { .places { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- 7. Путь доктора ---------- */
.s-path { --len: 320svh; background: var(--ink); color: var(--on-ink); }
.path__in { display: grid; gap: 24px; align-items: center; }
.path__left .big { max-width: 9ch; margin-bottom: 8px; }
.year { height: 1em; overflow: hidden; font-weight: 800; font-size: clamp(96px, 20vw, 280px); line-height: 1; letter-spacing: -0.06em; color: var(--accent); text-shadow: 0.03em 0.03em 0 var(--bg); }
.year__roll { display: flex; flex-direction: column; will-change: transform; }
.year__roll span { height: 1em; }
.snap { margin: 0 0 20px; width: min(360px, 70%); background: var(--paper); padding: 10px 10px 36px; border-radius: 10px; box-shadow: 6px 6px 0 var(--bg); transform: rotate(4deg); will-change: transform; }
.snap img { border-radius: 4px; aspect-ratio: 720 / 510; object-fit: cover; }
.miles { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.miles li { padding: 10px 14px; border-radius: 14px; border: var(--line) solid transparent; opacity: 0.9; transition: background-color 300ms, color 300ms, border-color 300ms, opacity 300ms; }
.miles b { display: inline-block; margin-right: 6px; font-weight: 800; }
.motion .miles li { opacity: 0.45; }
.motion .miles li.is-on { opacity: 1; background: var(--accent); color: var(--ink); border-color: var(--on-ink); }
@media (max-width: 899px) {
  .motion .s-path.pinned .path__in { padding-top: 64px; padding-bottom: 88px; gap: 10px; }
  .motion .s-path.pinned .snap { display: none; }
  .motion .s-path.pinned .year { font-size: 22vw; }
  .miles { gap: 4px; }
  .miles li { padding: 6px 10px; font-size: 14px; }
}
@media (min-width: 900px) { .path__in { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ---------- 7б. С Хасаном Баиевым ---------- */
.meet { padding: 18vh 0 4vh; }
.meet__in { display: grid; gap: 28px; }
.meet .big { max-width: 9ch; }
.photo { margin: 0; justify-self: center; width: min(460px, 100%); background: var(--paper); color: var(--ink); padding: 12px 12px 16px; border-radius: 16px; border: 3px solid var(--ink); box-shadow: var(--shadow-big); }
.photo img { width: 100%; border-radius: 8px; }
.photo figcaption { margin-top: 12px; text-align: center; font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.meet__p { max-width: 36ch; font-weight: 600; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.35; }
.meet__q { margin: 0; max-width: 520px; background: var(--paper); color: var(--ink); border: 3px solid var(--ink); border-radius: 24px; box-shadow: var(--shadow-big); padding: 22px 24px; }
.meet__q p { font-weight: 700; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.3; letter-spacing: -0.01em; }
.meet__q cite { display: block; margin-top: 10px; font-size: 14px; font-weight: 600; opacity: 0.7; }
@media (min-width: 900px) {
  .meet__in { grid-template-columns: 0.9fr 1.1fr; grid-template-areas: "photo head" "photo text" "photo quote"; column-gap: 64px; row-gap: 24px; align-content: center; }
  .meet .big { grid-area: head; align-self: end; }
  .photo { grid-area: photo; align-self: center; }
  .meet__p { grid-area: text; }
  .meet__q { grid-area: quote; align-self: start; }
}

/* ---------- 8. Отзывы ---------- */
.reviews { padding: 20vh 0 16vh; }
.score { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.score__big { font-weight: 800; font-size: clamp(120px, 20vw, 260px); line-height: 0.85; letter-spacing: -0.06em; text-shadow: 0.03em 0.03em 0 var(--ink); }
.score__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-bottom: 12px; font-weight: 600; }
.reviews .big { margin-bottom: 32px; }
.revs { display: grid; gap: 24px; margin-bottom: 32px; }
.rev { border-radius: 24px; border: 3px solid var(--ink); box-shadow: var(--shadow-big); color: var(--ink); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.rev p { font-weight: 500; }
.rev cite { margin-top: auto; font-size: 14px; font-weight: 700; opacity: 0.7; }
.rev--white { background: var(--paper); } .rev--pink { background: var(--accent2); }
.more { font-size: 16px; max-width: 100%; white-space: normal; }
.more .ico { width: 20px; height: 20px; }
@media (min-width: 900px) { .revs { grid-template-columns: 1fr 1fr; } }

/* ---------- 9. Вопросы ---------- */
.faq { background: var(--paper); color: var(--ink); padding: 18vh 0; }
.faq .big { margin-bottom: 32px; }
.qs { display: grid; gap: 14px; }
.qs details { border: var(--line) solid var(--ink); border-radius: 18px; box-shadow: var(--shadow); background: var(--paper); }
.qs details:nth-child(3n+2) { background: color-mix(in srgb, var(--paper-2) 60%, var(--paper)); }
.qs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; min-height: 56px; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); border: 2px solid var(--ink); display: grid; place-items: center; font-size: 22px; line-height: 1; transition: transform 450ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.qs details[open] summary::after { transform: rotate(135deg); }
.qs details p { padding: 0 20px 20px; font-weight: 500; max-width: 64ch; }
.qs details[open] p { animation: open 450ms cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes open { from { opacity: 0; transform: translateY(-8px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ---------- 10. Финал ---------- */
.final { background: var(--accent); color: var(--ink); padding: 18vh 0 20vh; }
.final__in { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.final p { max-width: 40ch; font-weight: 600; }

/* Подвал */
.foot { background: var(--ink); color: var(--on-ink); padding: 48px 0 32px; font-size: 14px; }
.foot__in { display: grid; gap: 24px; }
.foot__col { display: flex; flex-direction: column; gap: 8px; opacity: 0.9; }
.foot__col a { text-decoration: none; font-weight: 700; min-height: 32px; display: inline-flex; align-items: center; }
.foot__col a:hover { text-decoration: underline; }
.foot__warn { margin-top: 32px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--on-ink) 20%, transparent); opacity: 0.8; }
@media (min-width: 900px) { .foot__in { grid-template-columns: 1.4fr 1.2fr 1fr; align-items: start; } }

/* Кнопка записи внизу экрана на телефоне */
.dock { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); transform: translateY(160%) rotate(4deg); transition: transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.dock.is-on { transform: none; }
.cta--dock { width: 100%; font-size: 17px; padding: 14px 18px; }
@media (min-width: 900px) { .dock { display: none; } }
@media (max-width: 899px) { .foot { padding-bottom: 110px; } }

/* Правки для телефона и шапки */
/* После первого экрана знак уходит: шапка прозрачная и иначе ложится на заголовки. На телефоне запись в нижней кнопке */
.logo { transition: opacity 300ms, transform 300ms; }
.bar.is-on .logo { opacity: 0; transform: translateY(-16px); pointer-events: none; }
@media (max-width: 899px) { .bar__rec { display: none; } }
@media (max-width: 760px) {
  .quote__q { font-size: 30px; }
  .pin { font-size: 14px; padding: 8px 12px; }
  .pin--a { left: 27%; } .pin--b { left: 80%; }
  .cta--big { width: 100%; font-size: 18px; padding: 18px 20px; }
  .motion .s-deck.pinned .deck { margin-right: 8px; }
}

/* Пружины ведёт app.js: до запуска наклейки и слова спрятаны */
.motion [data-pop], .motion .pw, .motion .st, .motion .hero .cta, .motion .giant span { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .band__in { animation: none; }
  .dock { transition: none; }
  .qs summary::after, .link .ico, .logo { transition: none; }
}
