/* ==========================================================================
   UGC Site · единый стиль. Светлая тема «слоновая кость», один розовый акцент.
   Цвета, радиусы, тени и шрифты меняются только через токены в :root.
   ========================================================================== */

:root {
  --f-body: "Onest", "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --f-mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  /* Палитра: пара «пастельный розовый + тёмные чернила» (ui-ux-pro-max: Beauty/Spa + Childcare) */
  --bg: #fcf7f2;          /* слоновая кость */
  --bg-2: #f9eeeb;        /* соседние секции, чуть розовее */
  --card: #fffcfa;        /* карточки */
  --card-2: #fcf1f2;      /* вложенные плашки, зебра таблиц */
  --line: #f1dde2;
  --line-strong: #e5c3ce;
  --ink: #211b20;         /* основной текст */
  --ink-2: #5c5057;       /* второстепенный */
  --ink-3: #7a6c73;       /* подписи (AA на --bg) */
  --accent: #f9a8d4;      /* пастельный розовый: заливки кнопок и плашек */
  --accent-hover: #f472b6;
  --on-accent: #211b20;   /* текст на пастели — тёмный (AA) */
  --accent-soft: #fce7f3; /* подложки иконок, результатов */
  --accent-ink: #9d174d;  /* розовый для текста и цифр на светлом (AA) */
  --accent-glow: #f472b6; /* декор: искра, точки, градиенты */
  --dot-rgb: 244, 114, 182; /* точки полутоновой карты в hero */

  /* Форма */
  --r-s: 12px;
  --r: 20px;
  --r-l: 28px;
  --pill: 999px;
  --shadow: 0 1px 2px rgba(90, 30, 60, .06), 0 12px 32px rgba(90, 30, 60, .08);
  --shadow-lg: 0 24px 60px rgba(90, 30, 60, .14);

  /* Типографика */
  --h1: clamp(36px, 5.4vw, 76px);
  --h2: clamp(30px, 3.8vw, 54px);
  --h3: clamp(22px, 2.2vw, 30px);
  --wrap: 1240px;
  /* Один ритм для обычных секций; hero и вложенный разбор — отдельные уровни. */
  --section-space: 72px;
  --section-compact: 48px;
  --gutter: 24px;
  --heading-gap: 28px;
  --detail-space: 56px;
  --cover-ratio: 1 / 1; /* обложка кейса: квадрат; 16 / 9 — если нужен иной формат */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); color: var(--ink); background: var(--bg); overflow-x: clip; line-height: 1.5; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 72px; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 8px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: var(--r-s); }
.skip:focus { top: 8px; }
.accent { color: var(--accent-ink); }

/* Заголовки секций: одна шкала, одно начертание, выравнивание влево */
.sec-h, .feed__title, .ex__h, .pr__h, .of__h, .bn__h, .wf__h, .in__h, .pf__h, .fd__title, .faq__h, .cta__h {
  font: 800 var(--h2)/1.05 var(--f-body); letter-spacing: -.04em; color: var(--ink); text-wrap: balance; margin: 0 0 var(--heading-gap); }

/* Логотип: жирный курсив + розовая искра */
.logo { position: relative; display: inline-flex; align-items: flex-start; font: italic 900 25px/1 var(--f-body); letter-spacing: -.05em; color: var(--ink); white-space: nowrap; padding-right: 14px; }
.logo__t { transform: skewX(-4deg); }
.logo__spark { position: absolute; right: -2px; top: -9px; color: var(--accent-glow); }

/* Заглушка отсутствующего медиафайла */
.ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 60px; padding: 8px; text-align: center;
  font: 600 12px/1.3 var(--f-body); color: var(--ink-2); background: linear-gradient(135deg, var(--accent-soft), var(--bg-2)); overflow: hidden; }
.ph__t { overflow-wrap: anywhere; }

.demo-note { position: static; width: fit-content; max-width: calc(100% - 32px); margin: 0 auto 16px; padding: 5px 12px; border-radius: var(--pill);
  background: rgba(33, 27, 32, .86); color: #f6e9ee; font: 500 11px/1.3 var(--f-body); pointer-events: none; }

/* ---------- Кнопки: одна основная (розовая пилюля) и одна вторичная (обводка) ---------- */
.btn-blue, .btn-lime, .btn-dark, .cta__btn, .btn-outline, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; text-align: center; white-space: nowrap;
  min-height: 52px; padding: 0 28px; border-radius: var(--pill); font: 700 16px/1 var(--f-body); letter-spacing: -.01em;
  transition: background .2s, border-color .2s, transform .15s; }
.btn-blue, .btn-lime, .btn-dark, .cta__btn { background: var(--accent); color: var(--on-accent); }
.btn-blue:hover, .btn-lime:hover, .btn-dark:hover, .cta__btn:hover { background: var(--accent-hover); }
.btn-outline, .btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn-outline:hover, .btn-ghost:hover { border-color: var(--ink); }
:is(.btn-blue, .btn-lime, .btn-dark, .cta__btn, .btn-outline, .btn-ghost):active { transform: translateY(1px) scale(.99); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--card); color: var(--ink); border: 1px solid var(--line-strong); flex: none; transition: background .2s, border-color .2s; }
.round-btn:hover { border-color: var(--ink); }

/* ---------- Шапка ---------- */
.hd { position: sticky; top: 0; z-index: 60; background: rgba(250, 243, 239, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); color: var(--ink); }
.hd__in { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 10px var(--gutter); min-height: 68px; display: flex; align-items: center; gap: 24px; justify-content: space-between; }
.hd__logo { display: inline-flex; text-decoration: none; padding-top: 6px; }
.hd__nav ul { display: flex; align-items: center; gap: 30px; }
.hd__nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.hd__nav a:hover { color: var(--ink); }
.hd__nav a.hd__contact { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 700; white-space: nowrap; transition: background .2s; }
.hd__nav a.hd__contact:hover { background: var(--accent-hover); color: var(--on-accent); }
.hd__nav a.hd__contact:focus-visible { outline: 2px solid var(--accent-ink, var(--ink)); outline-offset: 2px; }
.hd__contact svg { flex: none; }
.hd__right { display: flex; align-items: center; gap: 18px; }
.hd__lang { font: 700 12px var(--f-body); letter-spacing: .06em; color: var(--ink-2); }
.hd__tg { color: var(--ink-2); display: inline-flex; }
.hd__burger { display: none; width: 44px; height: 44px; place-items: center; border-radius: var(--r-s); border: 1px solid var(--line-strong); }

/* ---------- 01 Hero ---------- */
.s-hero { position: relative; overflow: hidden; text-align: center; padding: 72px 24px 84px;
  background: radial-gradient(60% 55% at 50% 40%, #fdf8f5 0%, var(--bg) 60%), var(--bg); }
.halftone { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__in { position: relative; max-width: 1080px; margin: 0 auto; }
.hero__kpi { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 12px; padding: 9px 18px; margin-bottom: 32px;
  border: 1px solid var(--line); border-radius: var(--pill); background: rgba(255, 250, 248, .8); font: 600 13px/1.4 var(--f-body); color: var(--ink-2); }
.hero__kpi i { color: var(--line-strong); font-style: normal; }
.hero__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero__title { font: 900 var(--h1)/1.02 var(--f-body); letter-spacing: -.05em; margin: 0 auto 26px; text-wrap: balance; }
.hero__line { display: block; }
.hero__mark { display: inline-block; background: var(--accent); color: var(--on-accent); padding: .02em .26em .08em; margin-top: .06em; border-radius: .18em; transform: rotate(-2deg); font-style: italic; }
.hero__lead { max-width: 600px; margin: 0 auto 36px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.hero__lead strong { color: var(--ink); font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 32px; }
.hero__primary { min-height: 56px; white-space: normal; }
.hero__play { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 700 16px var(--f-body); }
.hero__playc { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; background: var(--card); color: var(--accent-ink); }
.hero__play:hover .hero__playc { border-color: var(--accent); }
.hero__disc { margin-top: 22px; font: 500 13px var(--f-body); color: var(--ink-3); }

/* ---------- 02 Лента-превью + бегущая строка ---------- */
.s-strip { position: relative; overflow: hidden; background: var(--bg); padding: 8px 0 0; }
@property --vs-wave-angle { syntax: "<angle>"; inherits: true; initial-value: 0turn; }
.vs__viewport { --vs-card-width: clamp(150px, 13.5vw, 214px); --vs-wave-amplitude: 28px;
  position: relative; overflow: hidden; height: calc(var(--vs-card-width) * 16 / 9 + 2 * var(--vs-wave-amplitude) + 32px);
  padding: calc(var(--vs-wave-amplitude) + 16px) 0; }
.vs__track { position: relative; display: flex; width: max-content; will-change: transform;
  animation: vs-preview-scroll var(--vs-duration, 40s) linear infinite; }
.vs__group { display: flex; flex: none; gap: 20px; padding: 0 20px 0 0; margin: 0; list-style: none; }
.vs__li { flex: none; width: var(--vs-card-width); will-change: transform;
  transform: translate3d(0, calc(sin(calc(var(--vs-card-phase) + var(--vs-wave-angle))) * var(--vs-wave-amplitude)), 0); }
.vs__viewport.is-paused .vs__track { animation-play-state: paused; }
@keyframes vs-preview-scroll {
  from { transform: translate3d(0, 0, 0); --vs-wave-angle: 0turn; }
  to { transform: translate3d(calc(-1 * var(--vs-cycle-width, 0px)), 0, 0); --vs-wave-angle: var(--vs-turns, -1turn); }
}
.vs__card { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); box-shadow: var(--shadow); padding: 0; transition: transform .25s; }
.vs__card :is(img, .ph) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vs__card.is-playable:hover, .vs__card.is-link:hover { transform: translateY(-4px); }
.vs__badge, .feed__views, .c1__views { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--pill);
  background: rgba(255, 250, 248, .92); color: var(--ink); font: 700 12px var(--f-body); }
.vs__badge svg, .feed__views svg, .c1__views svg { color: var(--accent-ink); }
.vs__badge { top: 12px; left: 12px; }
.vs__ribbons { position: relative; display: grid; gap: clamp(16px, 2vw, 96px); padding: clamp(24px, 2vw, 96px) 0; }
.vs__ticker { position: relative; margin: 0 -2%; overflow: hidden; background: var(--accent); transform: rotate(-1deg); padding: 14px 0; white-space: nowrap; }
.vs__ticker--reverse { background: var(--accent-soft); transform: rotate(1deg); }
.vs__tickrun { display: flex; width: max-content; animation: vs-ticker-scroll 32s linear infinite; will-change: transform; }
.vs__ticker--reverse .vs__tickrun { animation-direction: reverse; }
.vs__tickgroup { display: flex; flex: 0 0 auto; min-width: 100vw; justify-content: space-around; }
.vs__tick { display: inline-flex; flex: none; align-items: center; gap: 30px; padding-right: 30px; color: var(--on-accent); font: italic 800 18px var(--f-body); letter-spacing: -.02em; }
.vs__tick i { font-style: normal; font-size: 12px; opacity: .7; }
.vs__ribbons.is-paused .vs__tickrun { animation-play-state: paused; }
.vs__motion-row { position: relative; display: flex; justify-content: flex-end; padding: 0 24px 12px; }
.vs__motion { min-height: 44px; padding: 8px 0; color: var(--ink-2); font: 500 12px/1.4 var(--f-body); text-decoration: underline; text-underline-offset: 3px; }
@keyframes vs-ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  /* Explicit play remains possible; automatic motion stays off. */
  .vs__ribbons.is-running .vs__tickrun { animation: vs-ticker-scroll 32s linear infinite !important; }
  .vs__ribbons.is-running .vs__ticker--reverse .vs__tickrun { animation-direction: reverse !important; }
  .vs__viewport.is-running .vs__track { animation: vs-preview-scroll var(--vs-duration, 40s) linear infinite !important; }
}
/* Auto tunnel (js/auto-tunnel.js): decorative entry layer; attributes exist only while it runs. */
.vs__viewport[data-auto-tunnel-freeze] .vs__track { animation-play-state: paused !important; }
.vs__viewport[data-auto-tunnel-hide] .vs__track { opacity: 0; }
/* Fully invisible at entry, then a simultaneous fade with the cards; no grey-text stage. */
#app[data-auto-tunnel-ui] :is(.hd, .hero__in, .vs__ribbons, .vs__motion-row) { opacity: 0; }
#app[data-auto-tunnel-ui="pending"] :is(.hd, .hero__in, .vs__ribbons, .vs__motion-row) { pointer-events: none; }
#app[data-auto-tunnel-ui="pending"] .vs__track { opacity: 0; }
.s-hero:is([data-auto-tunnel="fly"], [data-auto-tunnel="assemble"]) .hero__in { z-index: 3; }
.auto-tunnel { position: absolute; z-index: 2; overflow: hidden; pointer-events: none; }
.auto-tunnel__stage, .auto-tunnel__flat { position: absolute; inset: 0; pointer-events: none; }
.auto-tunnel__stage { transform-style: preserve-3d; }
.auto-tunnel__card { position: absolute; box-sizing: border-box; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); box-shadow: var(--shadow); backface-visibility: hidden; will-change: transform; }
.auto-tunnel__card img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- 03 Лента роликов ---------- */
.s-feed { background: var(--bg-2); }
.feed__in { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: var(--section-space) var(--gutter); }
.feed__list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.feed__card { display: flex; flex-direction: column; gap: 12px; text-align: left; width: 100%; text-decoration: none; padding: 0; }
.feed__img { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; background: var(--card-2); box-shadow: var(--shadow); transition: transform .25s; }
.feed__img :is(img, .ph) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feed__card.is-playable:hover .feed__img, .feed__card.is-link:hover .feed__img { transform: translateY(-4px); }
.feed__views { left: 10px; bottom: 10px; }
.feed__meta { display: flex; flex-direction: column; gap: 2px; }
.feed__plat { font: 600 12px var(--f-body); color: var(--ink-3); }
.feed__t { font-size: 15px; font-weight: 700; line-height: 1.3; }

/* ---------- 04 Что такое UGC-ферма: текст + повёрнутая схема площадок ---------- */
.s-explainer { background: var(--bg); padding: var(--section-space) var(--gutter); overflow: hidden; }
.ex__grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.ex__h { margin-bottom: 22px; }
.ex__p { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--ink-2); margin: 0 0 32px; max-width: 34em; text-wrap: pretty; }
.ex__gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 3fr 1fr 3fr 1fr; gap: 16px; height: clamp(420px, 44vw, 600px); }
.ex__cell { position: relative; overflow: hidden; border-radius: var(--r); box-shadow: var(--shadow-lg); background: var(--bg-2); }
.ex__cell :is(img, .ph) { width: 100%; height: 100%; object-fit: cover; }
.ex__cell:nth-child(1) { grid-area: 1 / 2 / 3 / 3; }
.ex__cell:nth-child(2) { grid-area: 2 / 1 / 4 / 2; }
.ex__cell:nth-child(3) { grid-area: 4 / 1 / 6 / 2; }
.ex__cell:nth-child(4) { grid-area: 3 / 2 / 5 / 3; }
.ex__p strong, .ex__item strong { color: var(--ink); font-weight: 700; }
.ex__sub { font: 700 clamp(19px, 1.6vw, 24px)/1.25 var(--f-body); letter-spacing: -.02em; color: var(--ink); margin: 0 0 18px; }
.ex__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ex__item { display: flex; align-items: flex-start; gap: 12px; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.55; color: var(--ink-2); }
.ex__item-text { min-width: 0; }
/* Центр звезды совпадает с серединой первой строки: 1.55em — её высота. */
.ex__star { flex: 0 0 auto; margin-top: calc((1.55em - 18px) / 2); color: var(--accent); }
.ex__flow-frame { min-width: 0; height: 360px; padding: 0; }
.ex__flow-frame .wf { position: relative; container-type: inline-size; width: 100%; height: 100%; }
.wf__upright { display: contents; }
/* The fixed canvas rotates as one graph; its wrapper supplies the available width. */
.ex__flow-frame .wf__stage {
  position: absolute; left: 50%; top: 50%;
  width: 340px; height: 460px; margin: 0; padding: 0;
  grid-template-columns: 60px 100px 60px; gap: 60px;
  transform: translate(-50%, -50%) rotate(90deg) scale(min(1, calc((100cqw - 16px) / 460px)));
  transform-origin: center;
}
.ex__flow-frame .wf__col { display: flex; flex-direction: column; gap: 20px; }
.ex__flow-frame .wf__col:first-of-type { grid-column: 1; grid-row: 1; }
.ex__flow-frame .wf__hub { grid-column: 2; grid-row: 1; min-height: 180px; height: 180px; padding: 0; margin: 0; order: 0; }
.ex__flow-frame .wf__col:last-child { grid-column: 3; grid-row: 1; }
.ex__flow-frame .wf__svg { display: block; }
.ex__flow-frame .wf__upright { display: flex; flex: none; align-items: center; justify-content: center; transform: rotate(-90deg); }
.ex__flow-frame .wf__hub .wf__upright { width: 180px; height: 100px; flex-direction: column; gap: 8px; }
.ex__flow-frame .wf__chip .wf__upright { width: 100px; height: 60px; flex-direction: column; gap: 4px; }
.ex__flow-frame .wf__hub b { white-space: nowrap; }
.ex__flow-frame .wf__chip { width: 60px; height: 100px; min-height: 100px; padding: 0; justify-content: center; }
.ex__flow-frame .wf__ic { width: 24px; height: 24px; }
.ex__flow-frame .wf__lb { flex: none; width: auto; max-width: 92px; font-size: 15px; text-align: center; white-space: nowrap; }

/* ---------- 05 Кейсы: карусель + разбор ---------- */
.s-projects { background: var(--bg-2); padding: var(--section-space) 0 0; overflow: hidden; }
.pr__in { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.pr__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px 32px; margin-bottom: 12px; }
.pr__h { margin: 0; }
.pr__hint { grid-column: 1; grid-row: 2; max-width: 60ch; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.pr__arrows { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 10px; }
.pr__track { display: flex; align-items: flex-start; gap: 20px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; padding: 8px 6px 24px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.pr__track > li { flex: 0 0 calc((100% - 60px) / 4); scroll-snap-align: start; }
/* Превью кейсов: геометрия и состояния папок — css/case-folder.css. */
.pr__detail { margin-top: 32px; scroll-margin-top: 80px; }
.pr__detail .s-case1 { animation: c1-in .35s ease; }
@keyframes c1-in { from { opacity: 0; transform: translateY(10px); } }

/* Разбор кейса */
.s-case1 { background: var(--bg-2); padding: var(--detail-space) var(--gutter) var(--section-space); border-top: 1px solid transparent; }
.c1__in { max-width: var(--wrap); margin: 0 auto; }
.c1__eyebrow { font: 700 14px var(--f-body); color: var(--accent-ink); margin-bottom: 10px; }
.c1__h { font: 800 var(--h2)/1.05 var(--f-body); letter-spacing: -.04em; margin-bottom: 14px; }
.c1__sub { color: var(--ink-2); font-size: 18px; line-height: 1.6; max-width: 62ch; margin-bottom: 40px; }
.c1__cols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; margin-bottom: 56px; align-items: start; }
.c1__tw { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.c1__table { width: 100%; border-collapse: collapse; font-size: 16px; }
.c1__table caption { text-align: left; padding: 16px 22px 12px; font: 700 14px var(--f-body); color: var(--ink-2); }
.c1__table :is(th, td) { padding: 14px 22px; text-align: left; white-space: nowrap; }
.c1__table thead th { background: var(--accent); color: var(--on-accent); font-weight: 700; }
.c1__table tbody tr:nth-child(even) { background: var(--card-2); }
.c1__table tbody th { font-weight: 700; }
.c1__table td { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.c1__tnote { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.c1__metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.c1__metrics li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: flex; flex-direction: column-reverse; gap: 4px; }
.c1__metrics span { font-size: 14px; color: var(--ink-3); }
.c1__metrics b { font: 800 clamp(26px, 2.6vw, 36px)/1.1 var(--f-body); letter-spacing: -.03em; color: var(--accent-ink); }
.c1__h3 { font: 800 var(--h3)/1.15 var(--f-body); letter-spacing: -.03em; margin-bottom: 18px; }
.c1__collage { position: relative; height: clamp(280px, 30vw, 400px); }
.c1__ev { position: absolute; width: 56%; aspect-ratio: 4 / 3; border-radius: var(--r-s); overflow: hidden; border: 4px solid var(--card); box-shadow: var(--shadow-lg); background: var(--card); }
.c1__ev :is(img, .ph) { width: 100%; height: 100%; object-fit: contain; }
.c1__ev--1 { left: 0; top: 0; transform: rotate(-4deg); }
.c1__ev--2 { right: 0; top: 6%; transform: rotate(3deg); z-index: 2; }
.c1__ev--3 { left: 4%; bottom: 0; transform: rotate(2deg); z-index: 3; }
.c1__ev--4 { right: 2%; bottom: 2%; transform: rotate(-3deg); z-index: 4; }
.c1__collage--1 .c1__ev { position: static; width: 100%; height: 100%; aspect-ratio: auto; transform: rotate(-2deg); }
.c1__collage--2 .c1__ev { width: 66%; }
.c1__pts { display: flex; flex-direction: column; gap: 10px; }
.c1__pts li { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; }
.c1__pts svg { flex: none; color: var(--accent-ink); margin-top: 3px; }
.c1__pts p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.c1__pts b { color: var(--ink); }
.c1__result { margin-top: 18px; font-size: 16px; line-height: 1.6; color: var(--ink); }
.c1__left > .btn-lime { margin-top: 18px; }
.c1__top { margin-top: 8px; }
.c1__top-empty { color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.c1__hits { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.c1__hit { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow); padding: 0; transition: transform .25s; }
.c1__hit :is(img, .ph) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c1__hit.is-playable:hover, .c1__hit.is-link:hover { transform: translateY(-4px); }
.c1__views { top: 12px; left: 12px; }

/* ---------- 07 Баннер: розовая плашка ---------- */
.s-banner { background: var(--bg); padding: var(--section-compact) var(--gutter) var(--section-space); overflow: hidden; }
.bn__in { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 56px clamp(24px, 5vw, 64px) 0; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: end;
  border-radius: var(--r-l); background: radial-gradient(80% 120% at 100% 100%, #f3b6d4 0%, var(--accent-soft) 45%, #fcecf3 100%); overflow: hidden; }
.bn__text { padding-bottom: 56px; }
.bn__h { margin-bottom: 22px; }
.bn__badge { display: inline-block; vertical-align: middle; background: var(--accent); color: var(--on-accent); border-radius: var(--pill); padding: 8px 18px; font: 700 clamp(14px, 1.3vw, 19px)/1.2 var(--f-body); letter-spacing: 0; transform: rotate(-4deg); }
.bn__p { max-width: 48ch; font-size: 18px; line-height: 1.6; color: var(--ink-2); margin-bottom: 28px; }
.bn__note { margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.bn__pic { position: relative; min-height: 300px; display: flex; justify-content: center; align-items: flex-end; }
.bn__blob { display: none; }
.bn__pic :is(img, .ph) { position: relative; max-height: 440px; width: auto; max-width: 100%; object-fit: contain; }
.bn__pic .ph { width: 100%; height: 300px; border-radius: var(--r) var(--r) 0 0; }

/* ---------- 08 Схема публикации ---------- */
.s-flow { background: var(--bg-2); padding: var(--section-space) var(--gutter); }
.wf { max-width: var(--wrap); margin: 0 auto; }
.wf__stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 260px minmax(0, 1fr); align-items: center; padding: 0 clamp(0px, 5vw, 90px); }
.wf__col { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 72px; }
.wf__col:first-of-type { align-items: flex-start; }
.wf__col:last-child { align-items: flex-end; }
.wf__svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.wf__line { stroke: var(--line-strong); stroke-width: 1.5; }
.wf__dot { fill: var(--accent); }
.wf__hub { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 140px; padding: 18px; background: var(--accent); color: var(--on-accent); border-radius: var(--r-l); text-align: center; box-shadow: var(--shadow-lg); }
.wf__hub b { font: italic 900 clamp(22px, 2vw, 28px) var(--f-body); letter-spacing: -.04em; }
.wf__hub span { font: 600 13px var(--f-body); opacity: .85; }
.wf__chip { position: relative; display: flex; align-items: center; gap: 12px; width: min(100%, 240px); min-height: 60px; padding: 0 20px 0 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--pill); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
.wf__chip.is-link:hover { border-color: var(--accent); }
.wf__ic { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; }
.wf__lb { flex: 1; font: 700 16px var(--f-body); }

/* ---------- 09 Ниши ---------- */
.s-ind { background: var(--bg); padding: var(--section-space) var(--gutter); }
.in__in { max-width: var(--wrap); margin: 0 auto; }
.in__eyebrow { display: none; }
.in__h { max-width: 18ch; }
.in__grad { color: var(--accent-ink); font-style: italic; }
.in__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.in__chip { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); color: var(--ink); font-size: 15px; font-weight: 600; text-align: left; }
.in__ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-s); background: var(--accent-soft); color: var(--accent-ink); }
.in__note { margin-top: 28px; font-size: 15px; color: var(--ink-2); }
.in__link { color: var(--accent-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.in__link:hover { color: var(--accent-hover); }

/* ---------- 10 Этапы работы ---------- */
.s-process { background: var(--bg-2); padding: var(--section-space) var(--gutter); }
.pc__in { max-width: var(--wrap); margin: 0 auto; }
.pc__heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; margin-bottom: var(--heading-gap); }
.pc__heading .sec-h { margin: 0; }
.pc__card { position: relative; }
.pc__arrows { position: absolute; top: 42px; right: 40px; display: flex; gap: 10px; margin: 0; }
.pc__arrows .round-btn:disabled { opacity: .35; cursor: default; border-color: var(--line); }
.pc__tabs { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); align-items: start; margin-bottom: 24px; }
.pc__tabs::before { content: ""; position: absolute; left: 10%; right: 10%; top: 28px; height: 1px; background: var(--line-strong); }
.pc__tab { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink-3); }
.pc__sq { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--card); border: 1px solid var(--line-strong); color: var(--ink-2); transition: background .2s, border-color .2s, color .2s, transform .2s; }
.pc__tl { font: 700 14px var(--f-body); }
.pc__bar { display: none; }
.pc__tab.is-active { color: var(--ink); }
.pc__tab.is-active .pc__sq { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: scale(1.12); box-shadow: 0 10px 24px rgba(244, 114, 182, .35); }
.pc__tab:hover .pc__sq { border-color: var(--accent); }
.pc__panel { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); grid-template-rows: auto 1fr; column-gap: 40px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 36px 40px; box-shadow: var(--shadow); }
.pc__main { grid-column: 1; grid-row: 1 / span 2; }
.pc__dashes { grid-column: 2; grid-row: 1; display: flex; gap: 6px; height: 6px; margin-top: 6px; }
.pc__dashes i { width: 28px; height: 4px; border-radius: 4px; background: var(--line); }
.pc__dashes i.is-on { background: var(--accent); }
.pc__top { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.pc__icon { display: grid; flex: none; place-items: center; width: 56px; height: 56px; border-radius: var(--r-s); background: var(--accent-soft); color: var(--accent-ink); }
.pc__stage { font: 700 14px var(--f-body); color: var(--accent-ink); margin-bottom: 2px; }
.pc__title { font: 800 var(--h3)/1.15 var(--f-body); letter-spacing: -.03em; }
.pc__headline { font-weight: 700; font-size: 18px; margin-bottom: 10px; }
.pc__text { color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 60ch; margin-bottom: 24px; }
.pc__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; font-size: 15px; color: var(--ink); }
.pc__list li { display: flex; gap: 10px; align-items: flex-start; }
.pc__ck { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); margin-top: 1px; }
.pc__result { grid-column: 2; grid-row: 2; align-self: end; margin-top: 24px; padding: 22px 24px; border-radius: var(--r); background: var(--accent-soft); }
.pc__rl { font: 700 14px var(--f-body); color: var(--accent-ink); margin-bottom: 6px; }
.pc__rt { font-weight: 700; font-size: 17px; line-height: 1.4; }
.pc__sum { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 20px; padding: 18px 24px; border-radius: var(--r); font-size: 15px; color: var(--ink-2); text-align: center; }
.pc__sum i { font-style: normal; color: var(--line-strong); }
.pc__sum b { color: var(--ink); margin-left: 6px; }

/* ---------- 11 Эксперт ---------- */
.s-profile { background: var(--bg); padding: var(--section-space) var(--gutter); overflow: hidden; }
.pf__h { max-width: 1000px; margin-left: auto; margin-right: auto; }
.pf__grid { position: relative; max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pf__name { font: 800 clamp(40px, 4.3vw, 62px)/1 var(--f-body); letter-spacing: -.045em; margin-bottom: 16px; max-width: 330px; }
.pf__name span { display: block; }
.pf__bio { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 320px; margin-bottom: 26px; }
.pf__metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 560px; }
.pf__metrics li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; min-height: 112px; }
.pf__mt { font-size: 16px; line-height: 1.25; color: var(--ink-2); margin-bottom: 8px; }
.pf__mt b { font-weight: 800; font-size: 26px; letter-spacing: -.03em; color: var(--accent-ink); }
.pf__ms { font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.pf__proof { display: flex; gap: 6px; padding: 6px; margin-top: 14px; max-width: 470px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.pf__thumb { position: relative; flex: 1; aspect-ratio: 9 / 16; max-height: 190px; border-radius: var(--r-s); overflow: hidden; background: var(--bg-2); }
.pf__thumb :is(img, .ph) { width: 100%; height: 100%; object-fit: cover; }
.pf__thumb figcaption { position: absolute; left: 6px; bottom: 6px; display: flex; gap: 4px; align-items: center; color: #fff; font-size: 11px; font-weight: 700; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.pf__collage { position: absolute; z-index: 2; left: 34%; top: 0; width: 28%; aspect-ratio: 1.58; transform: rotate(-5deg); background: var(--card); padding: 5px; border-radius: var(--r-s); box-shadow: var(--shadow-lg); }
.pf__collage :is(img, .ph) { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.pf__right { position: relative; align-self: stretch; }
.pf__slab { position: relative; aspect-ratio: 335 / 600; border-radius: var(--r-l); background: linear-gradient(180deg, var(--accent-glow) 0%, var(--accent) 100%); overflow: hidden; margin-top: 24px; }
.pf__portrait { width: 100%; height: 100%; object-fit: cover; object-position: bottom center; }
.pf__an { position: absolute; z-index: 3; left: 6%; right: -4%; bottom: 14px; background: var(--card); border-radius: var(--r); padding: 14px 16px; box-shadow: var(--shadow-lg); font-size: 11px; color: var(--ink-2); }
.pf__stats { display: flex; gap: 10px; margin-bottom: 12px; }
.pf__stats li { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.pf__stats b { font-size: 14px; color: var(--ink); }
.pf__stats svg { color: var(--accent-ink); }
.pf__antitle { font-weight: 700; color: var(--ink); margin-bottom: 6px; font-size: 13px; }
.pf__chart { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.pf__chart b { display: block; font-size: 14px; color: var(--ink); }
.pf__bars { display: flex; align-items: flex-end; gap: 4px; height: 36px; width: 46%; }
.pf__bars i { flex: 1; background: var(--accent-glow); border-radius: 2px 2px 0 0; }
.pf__dates { display: flex; justify-content: flex-end; gap: 24px; margin-top: 4px; font-size: 10px; color: var(--ink-3); }

/* ---------- 12 Основатель ---------- */
.s-founder { background: var(--bg-2); padding: var(--section-space) var(--gutter); overflow: hidden; }
.fd__in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 6vw, 100px); align-items: center; }
.fd__media { display: flex; justify-content: center; }
.fd__frame { width: min(100%, 440px); aspect-ratio: 460 / 600; transform: rotate(-3deg); border-radius: var(--r-l); border: 6px solid var(--card); background: var(--card); overflow: hidden; box-shadow: var(--shadow-lg); }
.fd__frame :is(img, .ph) { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.fd__eyebrow { display: block; font: 700 14px var(--f-body); color: var(--accent-ink); margin-bottom: 10px; }
.fd__eyebrow i { display: none; }
.fd__title { margin-bottom: 24px; }
.fd__p { color: var(--ink-2); font-size: 17px; line-height: 1.7; margin-bottom: 16px; max-width: 60ch; }
.fd__metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 32px 0; max-width: 560px; }
.fd__metrics > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 8px 0 8px 20px; border-left: 2px solid var(--line-strong); }
.fd__metrics > div:first-child { padding-left: 0; border-left: 0; }
.fd__metrics dd { font: 800 clamp(24px, 2.2vw, 32px) var(--f-body); letter-spacing: -.035em; color: var(--accent-ink); }
.fd__metrics dt { font-size: 14px; color: var(--ink-3); line-height: 1.35; }

/* ---------- 13 Команда ---------- */
.s-team { background: var(--bg); padding: var(--section-space) var(--gutter); }
.tm__in { max-width: var(--wrap); margin: 0 auto; }
.tm__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tm__card { position: relative; aspect-ratio: 1.18; border-radius: var(--r); overflow: hidden; background: linear-gradient(160deg, #f6c7dd, #e7a3c6); }
.tm__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.tm__no { position: absolute; z-index: 2; left: 16px; top: 12px; font: 800 14px/1 var(--f-body); color: var(--ink); background: rgba(255, 250, 248, .9); padding: 6px 10px; border-radius: var(--pill); }
.tm__cap { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; background: rgba(255, 250, 248, .94); border-radius: var(--r-s); }
.tm__cap b { color: var(--ink); font-size: 16px; line-height: 1.2; }
.tm__cap span { color: var(--ink-3); font-size: 13px; line-height: 1.3; }

/* ---------- 14 Офис ---------- */
.s-office { background: var(--bg); padding: var(--section-space) 0; }
.of__in { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.of__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.of__car, .of__map { position: relative; height: clamp(360px, 38vw, 530px); border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.of__map { min-height: 530px; }
.of__stage, .of__stage :is(img, .ph) { width: 100%; height: 100%; object-fit: cover; }
.of__count { position: absolute; top: 16px; right: 16px; padding: 6px 14px; border-radius: var(--pill); background: rgba(255, 250, 248, .92); font: 700 13px var(--f-body); }
.of__prev, .of__next { position: absolute; top: 50%; transform: translateY(-50%); }
.of__prev { left: 16px; }
.of__next { right: 16px; }
.of__mapbg, .of__svg, .of__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.of__mapbg { background: #efe6e2; }
.of__popup { position: absolute; left: 50%; top: 60px; transform: translateX(-50%); width: min(240px, 70%); padding: 16px; background: var(--card); color: var(--ink); border-radius: var(--r-s); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.of__popup b { color: var(--accent-ink); font-size: 15px; }
.of__popup span { color: var(--ink-3); font-size: 12px; margin-bottom: 8px; }
.of__popup ul { display: flex; flex-direction: column; gap: 6px; }
.of__popup li { display: flex; align-items: center; gap: 8px; }
.of__popup i { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; color: #fff; font: 700 9px var(--f-body); font-style: normal; }
.of__popup em { color: var(--ink-2); font-style: normal; font-weight: 600; font-size: 12px; margin-left: 4px; }
.of__loadbox { position: absolute; z-index: 3; left: 50%; bottom: 145px; transform: translateX(-50%); width: min(350px, 90%); display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
.of__load { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--pill); background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 14px; }
.of__load:hover { background: var(--accent-hover); }
.of__consent { font-size: 11px; line-height: 1.35; color: var(--ink-2); background: var(--card); padding: 6px 10px; border-radius: 8px; }
.of__out { position: absolute; z-index: 2; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--pill); background: var(--card); color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; box-shadow: var(--shadow); }
.of__out svg { color: var(--accent-ink); }
.of__addr { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border-radius: var(--r); background: rgba(255, 250, 248, .96); box-shadow: var(--shadow); font-style: normal; }
.of__addr b { font-size: clamp(18px, 1.8vw, 22px); }
.of__addr span { color: var(--ink-3); font-size: 14px; }

/* ---------- 15 CTA: единственный цветной блок ---------- */
.s-cta { background: var(--bg-2); padding: 0 var(--gutter) var(--section-compact); }
.cta__in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px clamp(24px, 5vw, 80px);
  padding: clamp(36px, 5vw, 64px); border-radius: var(--r-l); background: radial-gradient(70% 140% at 0% 0%, var(--accent-soft) 0%, var(--accent) 70%); color: var(--on-accent); }
.cta__logo .logo { color: var(--on-accent); }
.cta__logo .logo__spark { color: var(--card); }
.cta__h { color: var(--on-accent); margin: 0; }
.cta__h .accent { color: var(--accent-ink); font-style: italic; }
.cta__line { display: block; }
.cta__btn { background: var(--ink); color: var(--card); }
.cta__btn:hover { background: #3a2f37; }

/* ---------- 16 FAQ: слева вступление, справа аккордеон ---------- */
.s-faq { background: var(--bg-2); padding: var(--section-space) var(--gutter); }
.faq__in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.faq__intro { position: sticky; top: 100px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.faq__badge { display: inline-flex; padding: 5px 12px; border: 1px solid var(--line-strong); border-radius: var(--pill); font: 600 13px var(--f-body); color: var(--ink-2); }
.faq__h { margin: 0; max-width: 14ch; }
.faq__lead { max-width: 46ch; font-size: 18px; line-height: 1.65; color: var(--ink-2); margin-bottom: 6px; }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item h3 { font: inherit; }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 64px; padding: 18px 0; text-align: left; font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.faq__q:hover span:first-child { color: var(--accent-ink); }
.faq__chev { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--ink-2); transition: transform .25s, background .2s, color .2s; }
.faq__item.is-open .faq__chev { transform: rotate(180deg); background: var(--accent); color: var(--on-accent); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 48px 20px 0; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.faq__a em { font-style: normal; font-weight: 700; color: var(--accent-ink); }

/* ---------- 17 Футер ---------- */
.s-footer { background: var(--bg-2); padding: 0 16px 16px; }
.ft { max-width: 1400px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 56px clamp(20px, 6vw, 96px) 28px; }
.ft__cols { display: grid; grid-template-columns: 1.7fr 1fr 1.15fr 1fr; gap: 36px; }
@media (min-width: 1101px) { .ft__cols--no-contacts { grid-template-columns: 1.7fr 1fr 1.15fr; } }
@media (min-width: 1101px) {
  .ft__cols--no-docs { grid-template-columns: 1.7fr 1fr 1fr; }
  .ft__cols--no-docs.ft__cols--no-contacts { grid-template-columns: 1.7fr 1fr; }
}
.ft__logo { margin-bottom: 20px; padding-top: 8px; }
.ft__logo .logo { font-size: 30px; }
.ft__desc { font-size: 14px; line-height: 1.65; color: var(--ink-2); max-width: 340px; margin-bottom: 18px; }
.ft__copy { font: 600 13px var(--f-body); color: var(--ink-3); }
.ft__h { font: 700 13px var(--f-body); color: var(--ink-3); margin-bottom: 20px; }
.ft__nav { display: flex; flex-direction: column; gap: 14px; }
.ft__nav a { color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.ft__docs { display: flex; flex-direction: column; gap: 12px; }
.ft__docs button { text-align: left; color: var(--ink-2); font-size: 14px; }
.ft a:hover, .ft button:hover { color: var(--accent-ink); }
.ft__contacts { display: flex; flex-direction: column; gap: 14px; }
.ft__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; text-align: left; }
.ft__req { margin-top: 22px; font-size: 12px; line-height: 1.6; color: var(--ink-3); }
.ft__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font: 500 13px var(--f-body); color: var(--ink-3); }
.ft__top { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink-2); font-weight: 600; }
.ft__bolt { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent); }

/* ---------- Диалоги ---------- */
.dlg { position: fixed; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--card); color: var(--ink); padding: 28px; width: min(520px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow: auto; box-shadow: var(--shadow-lg); }
.dlg::backdrop { background: rgba(33, 27, 32, .45); backdrop-filter: blur(3px); }
.dlg__x { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-2); }
.dlg__x:hover { color: var(--ink); background: var(--bg-2); }
.dlg__title { font: 800 24px/1.2 var(--f-body); letter-spacing: -.03em; margin: 0 40px 16px 0; }
.dlg__body { color: var(--ink-2); line-height: 1.6; margin-bottom: 20px; }
.dlg--media { width: min(920px, calc(100vw - 24px)); padding: 18px; background: #1d171b; color: #fff; border-color: #1d171b; }
.dlg--media .dlg__title { font-size: 16px; }
.dlg--media .dlg__x { color: #e8d9df; }
.dlg--media .dlg__x:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.dlg--media video { width: 100%; max-height: 78vh; border-radius: var(--r-s); background: #000; }
.cf__note { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 18px; padding: 10px 12px; border-radius: var(--r-s); background: var(--accent-soft); color: var(--ink); font-size: 13px; line-height: 1.4; }
.cf__note svg { flex: none; margin-top: 1px; color: var(--accent-ink); }
.cf { display: flex; flex-direction: column; gap: 14px; }
.cf__row { display: flex; flex-direction: column; gap: 6px; }
.cf__row label { font-size: 14px; font-weight: 600; color: var(--ink); }
.cf__in { width: 100%; padding: 12px 14px; border-radius: var(--r-s); border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font: inherit; resize: vertical; }
.cf__in::placeholder { color: var(--ink-3); }
.cf__in:focus { border-color: var(--accent-ink); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.cf__in[aria-invalid="true"] { border-color: #c0392b; }
.cf__err { min-height: 0; font-size: 13px; color: #b42318; }
.cf__err:empty { display: none; }
.cf__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.cf__prev { display: flex; flex-direction: column; gap: 12px; color: var(--ink-2); line-height: 1.5; }
.cf__ptitle { font-size: 18px; color: var(--ink); }
.cf__status { min-height: 1.4em; color: var(--accent-ink); font-size: 14px; font-weight: 600; }
.cf__lt { font-weight: 700; color: var(--ink); }
.cf__links { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.cf__links a { color: var(--accent-ink); }
.cf__muted { color: var(--ink-3); font-size: 13px; }

/* ---------- Новости: сетка как на основном elormedia.ru, цвета RealFlow ---------- */
.s-news { position: relative; background: var(--bg-2); color: var(--ink); padding: var(--section-space) var(--gutter); }
.news__in { max-width: var(--wrap); margin: 0 auto; }
.s-news::before { content: ""; position: absolute; top: 0; left: 50%; width: min(var(--wrap), calc(100% - 2 * var(--gutter))); height: 3px;
  border-radius: var(--pill); transform: translateX(-50%); background: linear-gradient(90deg, var(--accent) 0 24%, var(--accent-hover) 24% 48%, var(--accent-ink) 48%); }
.s-news .news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.s-news .news-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 2px solid var(--line-strong); border-radius: 16px; background: var(--card); }
.s-news .news-media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; border-bottom: 2px solid var(--line); background: var(--accent-soft); }
.s-news .news-media img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.s-news .news-body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: clamp(20px, 2.4vw, 30px); }
.s-news .news-body h3 { margin: 0; font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; letter-spacing: -.045em; line-height: 1.05; overflow-wrap: break-word; text-wrap: balance; }
.s-news .news-body p { margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.45; }
.s-news .news-body time { margin-top: auto; padding-top: 8px; color: var(--accent-ink); font-size: 14px; font-weight: 800; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .s-news .news-grid { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 560px) { .s-news .news-media { aspect-ratio: auto; } .s-news .news-media img { height: auto; } }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .pr__track > li { flex-basis: calc((100% - 20px) / 2); }
  :root { --section-space: 56px; --section-compact: 40px; --detail-space: 48px; }
  .ex__grid { grid-template-columns: 1fr; gap: 40px; }
  .ex__gallery { max-width: 560px; }
  .feed__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .in__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .c1__cols { grid-template-columns: 1fr; }
  .tm__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft__cols { grid-template-columns: 1fr 1fr; }
  .c1__hits { display: flex; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 10px; }
  .c1__hits li { flex: 0 0 170px; }
  .hd__nav ul { gap: 20px; }
}

@media (max-width: 900px) {
  .hd__burger { display: grid; }
  .hd__nav { position: absolute; left: 0; right: 0; top: 100%; display: none; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 18px; }
  .hd.is-open .hd__nav { display: block; }
  .hd__nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .hd__nav a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .hd__nav a.hd__contact { display: flex; justify-content: center; width: 100%; margin-top: 14px; padding: 0 16px; border-bottom: 0; }
  .hd__right .btn-blue { display: none; }
  .bn__in { grid-template-columns: 1fr; padding-top: 40px; }
  .bn__text { padding-bottom: 8px; }
  .bn__pic { min-height: 240px; }
  .fd__in, .of__grid { grid-template-columns: 1fr; }
  .cta__in { grid-template-columns: 1fr; justify-items: start; }
  .faq__in { grid-template-columns: minmax(0, 1fr); }
  .faq__intro .btn-outline { max-width: 100%; white-space: normal; text-align: left; }
  .faq__intro { position: static; }
  .pf__grid { grid-template-columns: 1fr; }
  .pf__name, .pf__bio { max-width: none; }
  .pf__collage { position: relative; left: auto; top: auto; width: 80%; max-width: 340px; margin: 12px auto; }
  .pf__right { max-width: 380px; margin: 0 auto; width: 100%; }
  .pc__panel { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; }
  .pc__main, .pc__result { grid-column: 1; grid-row: auto; }
  .pc__arrows { top: 30px; right: 20px; }
  .pc__top { flex-direction: column; gap: 12px; }
  .pr__head { grid-template-columns: 1fr; }
  .pr__arrows { grid-column: 1; grid-row: 3; }
  .of__map { height: 530px; }

  /* Повёрнутая схема в объяснении сохраняет связи на всех экранах. */
  .wf__stage { grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; }
  .wf__col { display: contents; }
  .wf__hub { grid-column: 1 / -1; order: -1; margin-bottom: 8px; min-height: 110px; }
  .wf__svg { display: none; }
  .wf__chip { width: 100%; }
}

@media (max-width: 640px) {
  .pr__track > li { flex-basis: min(280px, calc(100% - 8px)); }
  :root { --section-space: 48px; --section-compact: 32px; --detail-space: 40px; --gutter: 16px; --heading-gap: 24px; }
  .s-hero { padding: 48px 16px 64px; }
  .hero__kpi { font-size: 12px; padding: 8px 14px; }
  .hero__actions { flex-direction: column; }

  .ex__gallery { height: 420px; gap: 10px; }
  .ex__flow-frame { width: calc(100% + 2 * var(--gutter)); height: calc((100vw - 16px) * 340 / 460 + 32px); margin-left: calc(-1 * var(--gutter)); }
  .feed__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .in__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  /* Команда на телефоне — по двое в ряд, портретные карточки, компактная подпись. */
  .tm__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tm__card { aspect-ratio: .8; border-radius: 18px; }
  .tm__no { left: 8px; top: 8px; font-size: 11px; padding: 4px 7px; }
  .tm__cap { left: 6px; right: 6px; bottom: 6px; padding: 7px 9px; border-radius: 12px; }
  .tm__cap b { font-size: 13px; }
  .tm__cap span { font-size: 11px; line-height: 1.25; }
  .in__chip { padding: 0 12px; gap: 10px; font-size: 14px; min-height: 58px; }
  .in__ic { width: 34px; height: 34px; }
  .pc__tabs::before { top: 22px; }
  .pc__sq { width: 44px; height: 44px; }
  .pc__tl { font-size: 12px; }
  .pc__list { grid-template-columns: 1fr; }

  .pc__top > div { min-width: 0; width: 100%; }
  .pc__title { overflow-wrap: anywhere; }
  .pc__result { padding: 18px 16px; }
  .pf__metrics { grid-template-columns: 1fr; }
  .fd__metrics { grid-template-columns: 1fr; gap: 14px; }
  .fd__metrics > div, .fd__metrics > div:first-child { flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 14px; padding: 0; border: 0; }
  .c1__metrics { grid-template-columns: 1fr 1fr; gap: 8px; }
  .c1__metrics li { padding: 14px; }
  .c1__table :is(th, td) { padding: 11px 12px; font-size: 14px; }
  .c1__collage { height: 300px; }
  .ft { padding: 36px 20px 22px; }
  .ft__cols { grid-template-columns: 1fr; }
  .wf__stage { grid-template-columns: 1fr; }
  .of__car, .of__map { height: 420px; min-height: 0; }
  .bn__in { padding-left: 20px; padding-right: 20px; }
  .cta__btn { white-space: normal; }
}

@media (max-width: 359px) {
  .in__grid { grid-template-columns: 1fr; }
}

/* Однократное появление при первом входе в экран (js/reveal.js). Только opacity и blur — геометрия не меняется.
   Правила не действуют при reduced-motion и при печати: там скрытых состояний нет даже без JS-обработчика. */
@media screen and (prefers-reduced-motion: no-preference) {
  .rv-pending { opacity: 0 !important; filter: blur(10px) !important; }
  .rv-enter { transition: opacity .6s ease var(--rv-delay, 0ms), filter .6s ease var(--rv-delay, 0ms) !important; }
  .rv-spin .ex__star { animation: ex-star-spin .8s cubic-bezier(.2, .8, .2, 1) var(--rv-delay, 0ms) 1; }
}
@keyframes ex-star-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .vs__tickrun { transform: none; }
}

/* Схема публикации: всплывающие результаты у площадок. */
.wf { position: relative; }
.wf__pops { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: visible; }
.wf__pop {
  position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap;
  padding: 6px 11px; border-radius: var(--pill);
  background: #171717; border: 1px solid var(--accent-glow); color: var(--ink, #f3f3f3);
  font: 600 13px/1.1 var(--f-body); box-shadow: 0 6px 18px rgb(0 0 0 / .45);
  will-change: transform, opacity;
}
.wf__pop b { color: var(--accent); font-weight: 800; }
.wf__ring {
  position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0;
  border: 1.5px solid var(--accent); box-shadow: 0 0 14px rgb(249 168 212 / .55), inset 0 0 8px rgb(249 168 212 / .25);
}
.ex__flow-frame .wf__hub .wf__upright > span { max-width: 150px; line-height: 1.25; text-align: center; text-wrap: balance; }

/* ---------- 04б Что получает бренд: приколотые карточки в ряд + CPV ---------- */
.ex__gets.hw { position: relative; max-width: var(--wrap); margin: clamp(40px, 5vw, 64px) auto 0; padding: clamp(22px, 3vw, 36px) 0 clamp(22px, 3vw, 32px);
  border-radius: var(--r-l); border: 1px solid var(--line); overflow: hidden;
  --hw-rule: rgba(255, 255, 255, .07);
  background: repeating-linear-gradient(180deg, transparent 0 31px, var(--hw-rule) 31px 32px), rgba(255, 255, 255, .03); }
.hw__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 clamp(22px, 3vw, 36px); }
.ex__gets-h { margin: 0; font: 900 clamp(24px, 2.4vw, 34px)/1.1 var(--f-body); letter-spacing: -.01em; color: var(--accent); text-transform: uppercase; }
.hw__arrows { display: flex; gap: 10px; flex: none; }
.hw__viewport { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scroll-padding-inline: clamp(22px, 3vw, 36px); scrollbar-width: none; outline-offset: -3px; }
.hw__viewport::-webkit-scrollbar { display: none; }
.hw__stage { position: relative; width: max-content; padding: 34px clamp(22px, 3vw, 36px) 40px; }
.hw__line { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: visible; }
.hw__line path { fill: none; stroke: var(--accent); stroke-opacity: .85; stroke-width: 2.5; stroke-dasharray: 8 6; stroke-linecap: round; animation: hw-dash 3s linear infinite; }
@keyframes hw-dash { to { stroke-dashoffset: -140; } }
.hw__track { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 26px; list-style: none; margin: 0; padding: 0; }
.hw__card { flex: 0 0 260px; scroll-snap-align: start; transform: rotate(3deg); transition: transform .3s ease; }
.hw__card.is-low { margin-top: 56px; transform: rotate(-3deg); }
.hw__card:hover { transform: rotate(0) scale(1.04); z-index: 3; }
.hw__frame { padding: 8px; border-radius: 25px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 22px rgba(0, 0, 0, .28); }
.hw__pin { display: block; width: 30px; height: 30px; margin: 2px auto 14px; fill: var(--hw-c); }
.hw__inner { padding: 15px; border-radius: 15px; background: var(--hw-bg); border: 1px solid var(--hw-bd); min-height: 236px; }
.hw__num { display: block; margin-bottom: 14px; font: 400 34px/1 "Comic Sans MS", "Chalkboard SE", "Segoe Print", cursive; color: var(--hw-c); }
.hw__t { margin: 0 0 10px; font: 700 19px/1.15 var(--f-body); letter-spacing: -.015em; color: var(--ink); }
.hw__p { margin: 0; font-size: 13.5px; line-height: 1.5; letter-spacing: -.005em; color: var(--ink-3); }
.hw__p strong { color: var(--ink); font-weight: 700; }
.hw__card--a { --hw-c: #f9a8d4; --hw-bg: rgba(249, 168, 212, .1); --hw-bd: rgba(249, 168, 212, .25); }
.hw__card--b { --hw-c: #fdba8c; --hw-bg: rgba(253, 186, 140, .1); --hw-bd: rgba(253, 186, 140, .25); }
.hw__card--c { --hw-c: #d8b4fe; --hw-bg: rgba(216, 180, 254, .1); --hw-bd: rgba(216, 180, 254, .25); }
.ex__cpv { margin: 8px clamp(22px, 3vw, 36px) 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding: 20px 26px; border: 2px solid var(--accent); border-radius: 20px; background: var(--bg); position: relative; z-index: 1; }
.ex__cpv b { font: 900 clamp(26px, 2.8vw, 40px)/1.05 var(--f-body); letter-spacing: -.03em; color: var(--accent); }
.ex__cpv span { font-size: 15px; line-height: 1.4; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .hw__line path { animation: none; } .hw__card, .hw__card:hover { transition: none; } }
@media (max-width: 640px) {
  .ex__gets.hw { border-radius: 0; border-width: 1px 0; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .hw__head { padding: 0 var(--gutter); }
  .hw__arrows { display: none; }
  .hw__stage { padding: 28px var(--gutter) 30px; }
  .hw__card { flex-basis: 240px; }
  .hw__card.is-low { margin-top: 40px; }
  .ex__cpv { margin: 4px var(--gutter) 0; padding: 16px 18px; }
}

/* ---------- Продюсер Грига ---------- */
.fd__p strong { color: var(--ink); }
.fd__lt { margin: 20px 0 10px; font-weight: 700; color: var(--ink); }
.fd__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.fd__list li { position: relative; padding-left: 22px; }
.fd__list li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.fd__link { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: var(--pill); background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; }
.fd__link:hover { background: var(--accent-hover); }
.fd__metrics dd { white-space: nowrap; }

/* Эксперт: три небольших подтверждения + воронка продаж на портрете. */
.pf__proof { display: flex; gap: 8px; padding: 8px; margin-top: 14px; max-width: 560px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.pf__shot { display: block; height: 116px; border-radius: 10px; overflow: hidden; background: #fff; transition: transform .2s ease; }
.pf__shot:nth-child(1), .pf__shot:nth-child(2) { flex: 0 0 auto; aspect-ratio: 1; } .pf__shot:nth-child(3) { flex: 1 1 0; min-width: 0; }
.pf__shot:hover { transform: translateY(-2px); }
.pf__shot :is(img, .ph) { width: 100%; height: 100%; object-fit: contain; }
.pf__an--funnel { left: -12%; right: -10%; padding: 10px 10px 8px; }
.pf__an--funnel .pf__antitle { margin: 0 2px 6px; }
.pf__funnel { display: block; border-radius: 8px; overflow: hidden; background: #fff; }
.pf__funnel :is(img, .ph) { display: block; width: 100%; height: auto; }
@media (max-width: 900px) { .pf__an--funnel { left: -4%; right: -4%; } }
@media (max-width: 640px) { .pf__shot { height: 84px; } }
.pf__msub { margin: 0 0 6px; font: 700 14px/1.35 var(--f-body); color: var(--ink); }
.pf__metrics li:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 0; }
.pf__right:has(.pf__an--funnel) { align-self: start; }

/* ---------- Ниши: монетка с ценой просмотра ---------- */
.in__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-bottom: var(--heading-gap); }
.in__head .in__h { margin: 0; }
.in__coin { display: inline-flex; align-items: center; gap: 14px; padding: 10px 20px 10px 10px; border-radius: var(--pill); background: var(--card); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.in__coin-c { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font: 900 26px/1 var(--f-body); color: #4a1430;
  background: radial-gradient(circle at 32% 28%, #fff1f8 0 14%, #f9a8d4 42%, #e0559a 100%); box-shadow: inset 0 -4px 0 rgba(0,0,0,.18), inset 0 0 0 3px rgba(255,255,255,.35), 0 6px 18px rgba(244,114,182,.35);
  animation: in-coin 4s ease-in-out infinite; }
.in__coin-t { display: flex; flex-direction: column; line-height: 1.15; }
.in__coin-t b { font: 900 24px/1.1 var(--f-body); letter-spacing: -.03em; color: var(--accent); white-space: nowrap; }
.in__coin-t span { font-size: 13px; color: var(--ink-3); }
@keyframes in-coin { 0%, 100% { transform: rotateY(0) translateY(0); } 45% { transform: rotateY(0) translateY(-3px); } 55% { transform: rotateY(180deg) translateY(-3px); } 65% { transform: rotateY(360deg) translateY(0); } }
@media (prefers-reduced-motion: reduce) { .in__coin-c { animation: none; } }

/* ---------- Дашборд ---------- */
.s-dash { background: var(--bg); padding: var(--section-space) var(--gutter); }
.db__in { max-width: var(--wrap); margin: 0 auto; }
.db__h { font: 800 var(--h2)/1.05 var(--f-body); letter-spacing: -.04em; margin: 0 0 var(--heading-gap); text-wrap: balance; }
.db__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.db__lt { font: 700 20px/1.3 var(--f-body); margin: 4px 0 16px; color: var(--ink); }
.db__list { display: grid; gap: 14px; }
.db__list li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.55; color: var(--ink-3); }
.db__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.db__list strong { color: var(--ink); }
.db__panel { padding: 18px; border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.db__top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.db__ptitle { font: 800 14px/1.3 var(--f-body); color: var(--ink); }
.db__psub { font-size: 12px; color: var(--ink-3); }
.db__live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--pill); border: 1px solid var(--line); font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.db__live i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.18); }
.db__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.db__chip { padding: 7px 14px; border-radius: var(--pill); border: 1px solid var(--line-strong); font: 600 13px/1 var(--f-body); color: var(--ink-2); transition: background .2s, color .2s, border-color .2s; }
.db__chips--sm .db__chip { padding: 6px 12px; font-size: 12px; }
.db__chip:hover { border-color: var(--accent); color: var(--ink); }
.db__chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.db__note { margin: 10px 0 12px; padding: 12px 14px; border-radius: var(--r-s); background: #000; border: 1px solid var(--line); }
.db__nl { font: 700 11px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.db__insight { font-size: 14px; line-height: 1.45; color: var(--ink); }
.db__tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.db__tile { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: var(--r-s); background: var(--card-2); border: 1px solid var(--line); min-width: 0; }
.db__tile:nth-child(2) { border-color: var(--accent); }
.db__lab { font-size: 11px; line-height: 1.25; color: var(--ink-3); min-height: 2.5em; }
.db__val { font: 800 20px/1.1 var(--f-body); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db__delta { font-size: 11px; color: var(--ink-3); }
.db__delta.is-up { color: #4ade80; }
.db__chart { margin: 12px 0 0; }
.db__chart figcaption { font-size: 12px; color: var(--ink-3); margin-bottom: 6px; }
.db__bars { display: flex; align-items: flex-end; gap: 3px; height: 72px; }
.db__bars i { flex: 1; min-width: 2px; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, var(--accent), rgba(249,168,212,.25)); transition: height .4s ease; }
@media (max-width: 1100px) { .db__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .db__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .db__tile:last-child { grid-column: 1 / -1; }
  .db__panel { padding: 14px; }
  .db__top { flex-direction: column; }
}

/* ---------- «Кто мы»: нижняя половина на своём фоне ---------- */
.who { position: relative; background: linear-gradient(180deg, #1a0b16 0, #120810 520px, #0e070c 100%); scroll-margin-top: 72px; }
.who > section, .who .s-profile, .who .s-founder, .who .s-team, .who .s-office, .who .s-news, .who #expert { background: transparent; }
.s-who { padding: 0 var(--gutter); background: var(--bg-2); }
.who__band { height: 6px; margin: 0 calc(-1 * var(--gutter)); background: var(--accent); }
.who__in { max-width: var(--wrap); margin: 0 auto; padding-top: var(--section-space); }
.who__h { font: 900 clamp(44px, 6vw, 88px)/1 var(--f-body); letter-spacing: -.05em; color: var(--accent); margin: 0 0 10px; }
.who__lead { font-size: 18px; color: var(--ink-2); }
.who .s-profile { padding-top: 40px; }

/* ---------- Эксперт: имя розовым, соцсети ---------- */
.pf__name { color: var(--accent); }
.pf__soc { margin-top: 14px; max-width: 560px; }
.pf__soc-h { font: 700 15px/1.3 var(--f-body); color: var(--ink); margin-bottom: 8px; }
.pf__soc-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pf__soc-a { display: flex; align-items: center; gap: 10px; height: 100%; padding: 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
a.pf__soc-a:hover { border-color: var(--accent); transform: translateY(-2px); }
.pf__soc-a.is-soon { border-style: dashed; }
.pf__soc-ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--accent); color: var(--on-accent); }
.pf__soc-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.pf__soc-t b { font-size: 14px; }
.pf__soc-t span { font-size: 12px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .pf__soc-list { grid-template-columns: 1fr; } }

/* ---------- Грига: большая галочка TikTok ---------- */
.fd__check { display: inline-block; width: .9em; height: .9em; margin-left: .25em; vertical-align: -.1em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%2320D5EC' d='M24 2l5.6 4.1 6.9-.4 2.3 6.5 5.9 3.6-1.6 6.7 2.9 6.3-4.9 4.8-.6 6.9-6.8 1.1L29.2 47 24 42.6 18.8 47l-4.5-5.4-6.8-1.1-.6-6.9-4.9-4.8 2.9-6.3-1.6-6.7 5.9-3.6 2.3-6.5 6.9.4z'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round' d='M15 24.5l6 6 12-13'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 4px 14px rgba(32,213,236,.35)); }

/* ---------- Футер: пометка про Meta ---------- */
.ft__meta { display: inline-block; margin-top: 6px; font-size: 12px; color: var(--ink-3); }

/* ---------- Кейсы: 4 папки в ряд и «язычок» к выбранной папке ---------- */
@media (min-width: 1101px) { #cases.s-projects .pr__track > li { flex: 0 0 calc((100% - 60px) / 4); } }
.pr__detail { position: relative; margin-top: 4px; }
.pr__detail::before { content: ""; position: absolute; z-index: 2; top: -12px; left: var(--pr-x, 50%); width: 24px; height: 24px; transform: translateX(-50%) rotate(45deg);
  background: var(--bg-2); border-left: 1px solid var(--accent); border-top: 1px solid var(--accent); transition: left .3s ease; }
.pr__detail .s-case1 { border-top: 1px solid var(--accent); }

/* ---------- Масштаб: на компьютере всё было слишком крупным ----------
   Без CSS zoom (он ломает расчёт координат дыма, схемы и кейсов) — уменьшаем токены. */
@media (min-width: 1100px) {
  :root {
    --h1: clamp(36px, 4.2vw, 60px);
    --h2: clamp(28px, 2.9vw, 42px);
    --h3: clamp(20px, 1.7vw, 24px);
    --wrap: 1120px;
    --section-space: 60px;
    --heading-gap: 22px;
    --detail-space: 44px;
  }
  .c1__glass .c1__h { font-size: clamp(26px, 2.5vw, 36px); margin-bottom: 20px; }
  .pf__name { font-size: clamp(36px, 3.4vw, 50px); }
  .who__h { font-size: clamp(44px, 4.8vw, 70px); }
  .fd__p, .pr__hint, .faq__lead { font-size: 16px; }
  .faq__q { font-size: 16px; min-height: 56px; padding: 14px 0; }
}

/* ---------- «Кто мы» + эксперт: одна ось слева, меньше пустоты ---------- */
.who .pf__h, .who .pf__grid { max-width: var(--wrap); }
.who__in { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(20px, 2.4vw, 32px); }
.who__h { margin-bottom: 6px; }
.who__lead { font-size: 17px; }
.who .s-profile { padding-top: clamp(36px, 4vw, 56px); }
.who .pf__h { margin-bottom: 18px; }
/* Ульяна выше: портрет увеличен и прижат к низу — меньше пустого розового над макушкой. */
.pf__slab { margin-top: 8px; }
.pf__slab .pf__portrait { position: absolute; left: 0; bottom: 0; width: 100%; height: 124%; object-fit: cover; object-position: center bottom; }
@media (min-width: 901px) { .pf__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; } }
/* Мобильный: портрет сразу после имени/заголовка (узел переносит js/responsive-portraits.js,
   класс is-portrait-inline ставится только при ≤900px). Кадрирование и пропорции — исходные. */
@media (max-width: 900px) {
  .s-founder.is-portrait-inline .fd__text > .fd__media { margin: 0 0 32px; }
  .s-profile.is-portrait-inline .pf__left > .pf__slab { width: 100%; max-width: 380px; margin: 0 auto 24px; }
  .s-profile.is-portrait-inline .pf__right .pf__an--funnel { position: static; left: auto; right: auto; bottom: auto; }
}

/* ---------- «Что получает бренд» на компьютере: 2 ряда без прокрутки, змейкой ----------
   Сетка 8 колонок, карточка = 2 колонки: верх 01–04, низ 05–07 справа налево и по центру,
   поэтому пунктир идёт непрерывно 04 → 05. Карточки ужаты, чтобы блок влез в один экран. */
@media (min-width: 1101px) {
  .hw__arrows { display: none; }
  .hw__viewport { overflow: visible; }
  .hw__stage { width: auto; padding: 18px clamp(22px, 3vw, 36px) 10px; }
  /* Зигзаг: нечётные сверху, чётные снизу, каждая следующая — на полшага правее. */
  .hw__track { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0 20px; align-items: start; }
  .hw__card { grid-column: span 2; grid-row: 1; transform: rotate(2deg); }
  .hw__card.is-low { grid-row: 2; margin-top: 18px; transform: rotate(-2deg); }
  .hw__card:nth-child(1) { grid-column: 1 / span 2; }
  .hw__card:nth-child(2) { grid-column: 2 / span 2; }
  .hw__card:nth-child(3) { grid-column: 3 / span 2; }
  .hw__card:nth-child(4) { grid-column: 4 / span 2; }
  .hw__card:nth-child(5) { grid-column: 5 / span 2; }
  .hw__card:nth-child(6) { grid-column: 6 / span 2; }
  .hw__card:nth-child(7) { grid-column: 7 / span 2; }
  .hw__frame { padding: 6px; border-radius: 20px; }
  .hw__pin { width: 22px; height: 22px; margin: 2px auto 8px; }
  .hw__inner { padding: 12px 13px 13px; border-radius: 13px; min-height: 0; }
  .hw__num { font-size: 24px; margin-bottom: 6px; }
  .hw__t { font-size: 16px; margin-bottom: 6px; }
  .hw__p { font-size: 12.5px; line-height: 1.45; }
  .ex__gets.hw { padding-top: 24px; padding-bottom: 22px; }
  .ex__gets-h { font-size: clamp(22px, 2vw, 28px); }
  .ex__cpv { padding: 14px 22px; margin-top: 4px; }
  .ex__cpv b { font-size: clamp(24px, 2.2vw, 32px); }
}
@media (min-width: 1101px) and (max-height: 860px) {
  .hw__stage { padding-top: 12px; padding-bottom: 6px; }
  .hw__card.is-low { margin-top: 10px; }
  .hw__pin { margin-bottom: 6px; }
  .hw__num { font-size: 21px; margin-bottom: 4px; }
  .hw__p { font-size: 12px; line-height: 1.4; }
  .ex__gets.hw { padding-top: 18px; padding-bottom: 16px; }
}
