/* =========================================================
   MEDIABANDA — AI-контент-завод
   Dark industrial-premium, acid-lime accent
   ========================================================= */

:root {
  --bg: #0a0a0b;
  --bg-2: #101013;
  --surface: #14141a;
  --surface-2: #1a1a22;
  --line: #23232c;
  --line-2: #2e2e3a;
  --text: #f4f4f5;
  --text-2: #a3a3ad;
  --text-3: #6a6a76;
  --muted: #4a4a55;

  --accent: #c8ff2c;
  --accent-ink: #0a0a0b;
  --accent-soft: rgba(200, 255, 44, 0.12);
  --danger: #ff5b3d;
  --warn: #ffce47;

  --font-display: "Onest", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Onest", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, monospace;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --max: 1280px;
  --gutter: 32px;

  --section-pad: 110px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  /* overflow-x: hidden убран — ломал position: sticky на .nav.
     Защита от горизонтального скролла теперь на html { overflow-x: clip }. */
  background-image:
    radial-gradient(ellipse 1200px 600px at 50% -200px, rgba(200,255,44,0.06), transparent 60%),
    linear-gradient(180deg, #0a0a0b 0%, #0a0a0b 100%);
  /* background-attachment: fixed убрано — вызывало лаги на iOS Safari */
}

/* SR-only utility */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Клавиатурный фокус */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Подсказка «← листай →» под reel-каруселью — на десктопе не нужна */
.reel-track-hint { display: none; }

/* ─────────────────────────────────────────────────────────
   HERO — 3-GENRE SLIDER (camera → 2D → AI)
   ───────────────────────────────────────────────────────── */
.hv-tabs { display: flex; gap: 8px; }
.hv-tab {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line-2);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: background .25s, transform .25s, box-shadow .25s;
}
.hv-tab:hover { transform: scale(1.3); }
.hv-tab.is-active {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hv-stage-multi { position: relative; }
.hv-genre {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility 0s .4s;
}
.hv-genre.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s ease, visibility 0s 0s;
}

/* Жанр 1: Camera view */
.hv-cam-view {
  position: relative;
  width: 80%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  background:
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(200,255,44,.04), transparent 70%),
    linear-gradient(180deg, #1a1a22, #0f0f15);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hv-cam-corner {
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--accent);
  border-style: solid;
  border-width: 0;
}
.hv-cam-corner.tl { top: 8px; left: 8px;  border-top-width: 2px; border-left-width: 2px; }
.hv-cam-corner.tr { top: 8px; right: 8px; border-top-width: 2px; border-right-width: 2px; }
.hv-cam-corner.bl { bottom: 8px; left: 8px; border-bottom-width: 2px; border-left-width: 2px; }
.hv-cam-corner.br { bottom: 8px; right: 8px; border-bottom-width: 2px; border-right-width: 2px; }
.hv-cam-rec {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--accent);
  text-transform: uppercase;
}
.hv-cam-rec-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--danger);
  animation: rec-blink 1.2s ease-in-out infinite;
}
@keyframes rec-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--danger); }
  50% { opacity: .3; box-shadow: 0 0 0 var(--danger); }
}
.hv-cam-silhouette {
  width: 30%; aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 40%, rgba(243,244,245,.18) 0%, rgba(243,244,245,.05) 35%, transparent 65%),
    radial-gradient(ellipse 60% 80% at 50% 90%, rgba(243,244,245,.08), transparent);
  border-radius: 50% 50% 40% 40%;
  filter: blur(2px);
}
.hv-cam-fstop {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  color: var(--text-3);
}

/* Жанр 2: Animation view (2D/3D shapes) */
.hv-anim-view {
  position: relative;
  width: 80%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #14141a, #0d0d12);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hv-anim-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, transparent 0, transparent 23px, rgba(200,255,44,.04) 23px, rgba(200,255,44,.04) 24px),
    linear-gradient(90deg, transparent 0, transparent 23px, rgba(200,255,44,.04) 23px, rgba(200,255,44,.04) 24px);
  background-size: 24px 24px;
  opacity: .8;
}
.hv-anim-shapes {
  z-index: 2;
  animation: anim-rotate 12s linear infinite;
}
@keyframes anim-rotate {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}
.hv-anim-fstop {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  color: var(--text-3);
  z-index: 3;
}

/* ─────────────────────────────────────────────────────────
   РАЗДЕЛИТЕЛЬ: QUOTE-DIVIDER
   ───────────────────────────────────────────────────────── */
.quote-divider {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote-fig {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 88px;
  line-height: .6;
  color: var(--accent);
  margin-bottom: 8px;
}
.quote-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--text);
  margin: 0 auto 28px;
  max-width: 28ch;
}
.quote-text {
  font-style: italic;
}
.quote-author {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.quote-author-name { color: var(--text-2); font-weight: 500; }
.quote-author-role::before { content: "·"; margin-right: 12px; color: var(--text-3); }
.quote-author-company::before { content: "·"; margin-right: 12px; color: var(--text-3); }
.quote-author-company { color: var(--accent); font-weight: 500; }

.quote-other-clients {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-2);
}
.quote-other-clients span:first-child {
  color: var(--text-3);
  margin-right: 6px;
}
@media (max-width: 720px) {
  .quote-mark { font-size: 60px; }
  .quote-text { font-size: 18px; }
}

/* ─────────────────────────────────────────────────────────
   ГЛАВНАЯ — 3 ТЕХНОЛОГИИ
   ───────────────────────────────────────────────────────── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.tech-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px 30px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .25s, transform .25s, background .25s;
}
.tech-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.tech-card-accent {
  border-color: rgba(200,255,44,.25);
  background: linear-gradient(180deg, rgba(200,255,44,.04), var(--surface));
}
.tech-card-accent:hover { border-color: rgba(200,255,44,.55); }
.tech-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.tech-icon { font-size: 36px; line-height: 1; }
.tech-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -.02em;
}
.tech-body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2);
  flex: 1;
}
.tech-price {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  color: var(--accent);
  letter-spacing: -.01em;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.tech-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  transition: color .2s;
}
.tech-card:hover .tech-link { color: var(--accent); }

/* ─────────────────────────────────────────────────────────
   ГЛАВНАЯ — 6 ТИПОВ РОЛИКОВ
   ───────────────────────────────────────────────────────── */
.types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.type-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .25s, transform .25s;
}
.type-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.type-card-accent {
  border-color: rgba(200,255,44,.2);
  background: linear-gradient(180deg, rgba(200,255,44,.03), var(--surface));
}
.type-card-accent:hover { border-color: rgba(200,255,44,.5); }
.type-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
}
.type-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -.01em;
  margin-top: 2px;
}
.type-body {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-2);
  flex: 1;
}
.type-keys {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--text-3);
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

/* ─────────────────────────────────────────────────────────
   AI-ФЛАГМАН (выделенный блок)
   ───────────────────────────────────────────────────────── */
.ai-flagship {
  background: linear-gradient(180deg, rgba(200,255,44,.04), transparent);
  border-top: 1px solid rgba(200,255,44,.2);
  border-bottom: 1px solid rgba(200,255,44,.2);
}
.ai-flagship-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.eyebrow.accent { color: var(--accent) !important; }
.ai-flagship-bullets {
  display: flex;
  gap: 30px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.ai-flagship-bullets > div { display: flex; flex-direction: column; gap: 4px; }
.ai-flagship-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -.02em;
  color: var(--accent);
  line-height: 1;
}
.ai-flagship-lab {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.ai-flagship-niches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--text-3);
  align-items: center;
}
.ai-flagship-niches a {
  color: var(--text-2);
  border-bottom: 1px dashed var(--line-2);
  padding-bottom: 1px;
}
.ai-flagship-niches a:hover { color: var(--accent); border-color: var(--accent); }

.ai-flagship-visual {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 380px;
  margin: 0 auto;
}
.ai-flagship-orbit {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.ai-flagship-core {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  box-shadow: 0 0 40px rgba(200,255,44,.35);
  z-index: 2;
}
.orbit-dot {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(200,255,44,.6);
}
.orbit-dot-1 { animation: orbit1 8s linear infinite; }
.orbit-dot-2 { animation: orbit2 10s linear infinite; opacity: .65; }
.orbit-dot-3 { animation: orbit3 12s linear infinite; opacity: .45; }
@keyframes orbit1 {
  0%   { transform: rotate(0)   translateX(120px) rotate(0); }
  100% { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}
@keyframes orbit2 {
  0%   { transform: rotate(0)   translateX(155px) rotate(0); }
  100% { transform: rotate(-360deg) translateX(155px) rotate(360deg); }
}
@keyframes orbit3 {
  0%   { transform: rotate(0)   translateX(180px) rotate(0); }
  100% { transform: rotate(360deg) translateX(180px) rotate(-360deg); }
}

/* ─────────────────────────────────────────────────────────
   Dropdown «Услуги» — широкий с двумя колонками
   ───────────────────────────────────────────────────────── */
.dropdown-menu-wide {
  min-width: 480px;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.dropdown-menu-wide .dropdown-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dropdown-group-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 6px 10px 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.dropdown-menu-wide a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--text-2);
  font-size: 13.5px;
  transition: color .15s, background .15s;
}
.dropdown-menu-wide a:hover { color: var(--accent); background: var(--surface-2); }

/* Лента клиентов в trust-strip */
.trust-clients {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-2);
  text-align: center;
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────
   H1/H2 страховка — длинные слова не должны ломать layout
   ───────────────────────────────────────────────────────── */
.h1, .hero-headline, .cta-headline {
  /* перенос только по словам в нормальном режиме */
  word-break: normal;
  /* но если слово > контейнер — разрешаем разбить */
  overflow-wrap: break-word;
  /* русские дефисы трактуем как точки переноса (для AI-видеоконтент-завод и т.п.) */
  hyphens: auto;
}
/* На очень узких — допускаем перенос длинных слов через дефисы */
@media (max-width: 480px) {
  .h1, .hero-headline { overflow-wrap: anywhere; }
  /* cta-headline: ручные <br> уже задают переносы — отключаем авто-дефисы,
     чтобы обычные слова («врачом») не рвались на «вра-чом» */
  .cta-headline { hyphens: manual; overflow-wrap: break-word; }
}

/* ─────────────────────────────────────────────────────────
   HERO v2 — reassurance, mini-proof, scroll-cue
   ───────────────────────────────────────────────────────── */

/* Reassurance line под CTA */
.hero-reassure {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  margin-bottom: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--text-3);
}
.hero-reassure svg { flex-shrink: 0; }

/* Mini-proof bar — клиенты прямо в hero */
.hero-proof {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 22px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.4;
}
.hero-proof-label {
  color: var(--accent);
  letter-spacing: .12em;
}
.hero-proof-clients {
  color: var(--text-2);
}

/* Scroll-cue в правом нижнем углу hero */
.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 24px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .25em;
  transition: color .25s, transform .25s;
  z-index: 5;
}
.scroll-cue:hover { color: var(--accent); }
.scroll-cue-label { writing-mode: vertical-rl; transform: rotate(180deg); }
.scroll-cue-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue-line::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollCueDot 2.2s ease-in-out infinite;
}
@keyframes scrollCueDot {
  0%   { top: -50%; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@media (max-width: 720px) {
  .scroll-cue { display: none; } /* На мобильном пользователь и так листает */
}

/* ─────────────────────────────────────────────────────────
   TRUST-STRIP v2 — лента клиентов + 4 стата
   ───────────────────────────────────────────────────────── */
.trust-strip-head {
  text-align: center;
  margin-bottom: 24px;
}
.trust-strip-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* SVG-wordmark логотипы клиентов */
.client-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: center;
  justify-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.client-logo {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  transition: color .25s, transform .25s, filter .25s;
  cursor: default;
  filter: grayscale(1) opacity(.7);
  text-decoration: none;
}
/* Top-tier клиенты — крупнее и ярче */
.client-logo.is-tier-1 {
  height: 38px;
  color: var(--text-2);
  filter: grayscale(1) opacity(.95);
}
.client-logo.is-tier-1 svg { max-width: 160px; }
.client-logo[href] { cursor: pointer; }
.client-logo svg {
  height: 100%;
  width: auto;
  max-width: 130px;
}
@media (hover: hover) {
  .client-logo:hover {
    color: var(--text);
    transform: translateY(-2px);
    filter: grayscale(0) opacity(1);
  }
}

/* Сетка статов 4 шт. */
.trust-strip-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.trust-strip-stats .trust-item { flex: 0 0 auto; }
.trust-strip-stats .trust-sep {
  flex: 1 1 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  min-width: 24px;
}

/* CTA в trust-strip — текст-ссылка по центру */
.trust-strip-cta {
  text-align: center;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}
.trust-strip-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px dashed var(--accent);
  padding-bottom: 2px;
  transition: color .2s, transform .2s, border-color .2s;
}
.trust-strip-cta-link b { color: var(--text); font-weight: 600; }
@media (hover: hover) {
  .trust-strip-cta-link:hover {
    color: var(--text);
    border-color: var(--text);
    transform: translateX(2px);
  }
}

@media (max-width: 900px) {
  .client-logos {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 12px;
  }
  .client-logo.is-tier-1 { height: 32px; }
  .trust-strip-stats { justify-content: center; gap: 14px 22px; flex-wrap: wrap; }
  .trust-strip-stats .trust-sep { display: none; }
}
@media (max-width: 480px) {
  .client-logos {
    /* На узких — горизонтальный auto-scroll marquee */
    grid-template-columns: none;
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 18px 18px;
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
  }
  .client-logo {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .client-logos::-webkit-scrollbar { display: none; }
  .client-logos { scrollbar-width: none; }
}

/* ─────────────────────────────────────────────────────────
   TYPE-CARDS — иконки + микроанимации
   ───────────────────────────────────────────────────────── */
.type-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 8px;
  transition: background .25s, border-color .25s, transform .35s cubic-bezier(.16,1,.3,1);
}
.type-card:hover .type-icon {
  background: var(--surface-2);
  border-color: var(--accent);
  transform: rotate(-6deg) scale(1.08);
}
.type-card-accent .type-icon {
  background: rgba(200,255,44,.06);
  border-color: rgba(200,255,44,.25);
}

/* ─────────────────────────────────────────────────────────
   МИКРОАНИМАЦИИ — раскрывают смыслы блоков
   ───────────────────────────────────────────────────────── */

/* Hero-meta: подсветка цифры на scroll-in (через JS IntersectionObserver уже есть Counter) */
.hero-meta-num { transition: color .25s; }

/* Tech-card hover: иконка пульсирует */
.tech-icon { transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.tech-card:hover .tech-icon { transform: scale(1.15) rotate(-4deg); }

/* Pain-card hover: акцент-номер становится ярче */
.pain-card .pain-num { transition: color .25s, letter-spacing .25s; }
.pain-card:hover .pain-num { color: var(--accent); letter-spacing: .12em; }

/* Reveal-on-scroll: подъём блоков при появлении в viewport */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.16,1,.3,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero-meta: shimmer-эффект через раз */
.hero-meta-num span[data-counter]::after {
  content: "";
  display: inline-block;
  width: 0;
}

/* Quote: subtle fade-in кавычки и текста */
.quote-mark { animation: quoteAppear 1s .2s both cubic-bezier(.16,1,.3,1); }
.quote-text { animation: quoteAppear 1s .4s both cubic-bezier(.16,1,.3,1); }
.quote-author { animation: quoteAppear 1s .6s both cubic-bezier(.16,1,.3,1); }
@keyframes quoteAppear {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* AI-flagship orbital ускорение при hover */
.ai-flagship-orbit { transition: filter .3s; }
.ai-flagship:hover .ai-flagship-orbit { filter: brightness(1.2); }

/* Reduce-motion respect */
@media (prefers-reduced-motion: reduce) {
  .quote-mark, .quote-text, .quote-author { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .client-logo:hover { transform: none; }
  .type-card:hover .type-icon { transform: none; }
  .tech-card:hover .tech-icon { transform: none; }
}

/* Акцент-кейс */
.case-card-accent { border-color: rgba(200,255,44,.3); }

/* ─────────────────────────────────────────────────────────
   Мобильные адаптации для новых блоков
   ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .tech-grid { grid-template-columns: 1fr; gap: 16px; }
  .types-grid { grid-template-columns: 1fr 1fr; }
  .ai-flagship-inner { grid-template-columns: 1fr; gap: 36px; }
  .ai-flagship-visual { max-width: 300px; }
  .dropdown-menu-wide { min-width: 0; grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .tech-card { padding: 28px 22px 22px; }
  .tech-title { font-size: 20px; }
  .types-grid { grid-template-columns: 1fr; gap: 12px; }
  .ai-flagship-bullets { flex-wrap: wrap; gap: 18px; }
  .ai-flagship-num { font-size: 26px; }
  .ai-flagship-visual { max-width: 240px; }
  @keyframes orbit1 { 0%{transform: rotate(0) translateX(75px) rotate(0);} 100%{transform: rotate(360deg) translateX(75px) rotate(-360deg);} }
  @keyframes orbit2 { 0%{transform: rotate(0) translateX(100px) rotate(0);} 100%{transform: rotate(-360deg) translateX(100px) rotate(360deg);} }
  @keyframes orbit3 { 0%{transform: rotate(0) translateX(120px) rotate(0);} 100%{transform: rotate(360deg) translateX(120px) rotate(-360deg);} }
  .trust-clients { font-size: 10px; letter-spacing: .04em; }
}

/* ─────────────────────────────────────────────
   Dropdown «Для кого» в навигации
   ───────────────────────────────────────────── */
.has-dropdown { position: relative; }
.dropdown-toggle {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color .2s;
}
.dropdown-toggle svg { transition: transform .2s; opacity: .6; }
.dropdown-toggle[aria-expanded="true"] svg,
.has-dropdown:hover .dropdown-toggle svg { transform: rotate(180deg); opacity: 1; }
.has-dropdown:hover .dropdown-toggle,
.dropdown-toggle[aria-expanded="true"] { color: var(--accent); }

/* Невидимый «мост» между кнопкой и меню — закрывает визуальный gap,
   чтобы курсор не терял :hover при движении к пункту меню. */
.has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
  pointer-events: none;
}
.has-dropdown:hover::after { pointer-events: auto; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 240px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* Прощение на закрытие — даём 180ms на возвращение курсора */
  transition: opacity .2s, transform .2s, visibility 0s .18s;
  z-index: 250;
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .2s, transform .2s, visibility 0s 0s;
}
.dropdown-menu li { margin: 0; }
.dropdown-menu li a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text-2);
  font-size: 14px;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.dropdown-menu li a:hover { color: var(--accent); background: var(--surface-2); }
/* Текущая ниша в дропдауне «Для кого» — подсвечена лаймом, не кликается лишний раз */
.dropdown-menu li.is-current > a {
  color: var(--accent);
  background: rgba(200,255,44,.06);
  cursor: default;
  pointer-events: none;
}
.dropdown-menu li.is-current > a::before {
  content: "● ";
  font-size: .85em;
}
/* Разделитель перед «вспомогательными» ссылками (AI-завод / На главную) */
.dropdown-menu li.dropdown-sep {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
}
.dropdown-menu li.dropdown-sep > a {
  color: var(--text-3);
  font-size: 13px;
}

/* Mobile (когда .nav-links уходит в overlay) */
@media (max-width: 1080px) {
  .has-dropdown .dropdown-toggle { width: 100%; justify-content: space-between; padding: 12px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  /* Двойной класс для повышения специфичности над .dropdown-toggle[aria-expanded="true"] + .dropdown-menu */
  .has-dropdown .dropdown-menu,
  .has-dropdown.has-dropdown .dropdown-menu {
    position: static !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    min-width: 0;
    width: 100%;
  }
  .has-dropdown.open .dropdown-menu {
    visibility: visible;
    pointer-events: auto;
    max-height: 400px;
    padding: 8px 0 12px;
  }
  .has-dropdown .dropdown-menu li a {
    padding: 10px 0 10px 18px;
    font-size: 14px;
    border-bottom: 1px dashed var(--line);
  }
  /* На мобильном hover не нужен — только click */
  .has-dropdown:hover .dropdown-menu {
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
  }
  .has-dropdown.open:hover .dropdown-menu,
  .has-dropdown.open .dropdown-menu {
    visibility: visible;
    pointer-events: auto;
    max-height: 400px;
  }
}

/* ─────────────────────────────────────────────
   ROI-strip — воронка из 5 шагов с цифрами
   (используется на klinikam и всех нишевых лендингах)
   ───────────────────────────────────────────── */
.roi-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 56px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
}
.roi-step { text-align: center; position: relative; }
.roi-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -10px; top: 24px;
  color: var(--text-3);
  font-family: var(--font-mono);
}
.roi-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-bottom: 4px;
  white-space: nowrap;
}
.roi-lab {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 6px;
}
.roi-detail { font-size: 12px; color: var(--text-2); }
.roi-footnote {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-3);
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 1080px) {
  .roi-strip { grid-template-columns: 1fr 1fr; gap: 24px; }
  .roi-step::after { display: none; }
}
@media (max-width: 480px) {
  .roi-strip { grid-template-columns: 1fr; padding: 24px 18px; }
  .roi-num { font-size: 26px; }
}

/* «Лендинг для X →» в карточках секции «Для кого» */
.who-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px dashed currentColor;
  padding-bottom: 1px;
  transition: color .2s, transform .2s;
  width: fit-content;
}
@media (hover: hover) {
  .who-link:hover { color: var(--text); transform: translateX(2px); }
}

/* Общие классы вместо inline-стилей у нижних CTA-блоков секций */
.section-cta-row {
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.section-cta-center { margin-top: 44px; text-align: center; }
.tar-footnote {
  margin: 48px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-3);
  max-width: 70ch;
}

/* Disabled-link в футере */
.link-disabled {
  color: var(--text-3) !important;
  cursor: not-allowed;
  pointer-events: none;
  opacity: .6;
}

/* Reel-карточки — теперь кликабельны и открывают модалку */
.reel-card { cursor: pointer; }
.reel-card .reel-thumb { position: relative; }

/* Скарcити-подпись «1 слот свободен» — под CTA-кнопкой, мелкая, по центру,
   без обводки и фона. Не должна конкурировать с основной кнопкой. */
.slot-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;       /* поджат к кнопке: подпись = часть CTA, не отдельный блок */
  margin-bottom: 4px;    /* до tar-divider остаётся естественный воздух */
  padding: 0;
  background: transparent;
  border: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.slot-pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 5px var(--accent);
  flex-shrink: 0;
  animation: slotPulse 2.4s ease-in-out infinite;
}
@keyframes slotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.85); }
}

/* Калькулятор: «33 696 000 ₽» — не даём ₽ перепрыгивать на новую строку
   и адаптируем размер шрифта под ширину контейнера */
.calc-loss-num {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-size: clamp(28px, 3.4vw, 52px) !important;
  line-height: 1.05;
  letter-spacing: -.03em;
}
@media (max-width: 720px) {
  .calc-loss-num {
    font-size: clamp(24px, 8vw, 36px) !important;
  }
}

/* Индикатор горизонтального скролла у сравнительной таблицы */
.cmp-wrap { position: relative; }
.cmp-wrap.is-scrollable::after {
  content: "← листай →";
  position: absolute;
  top: -28px;
  right: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: .85;
}

/* Кнопка «Наверх» */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 88px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line-2);
  color: var(--text-2);
  display: grid; place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, color .2s, border-color .2s;
  z-index: 90;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { color: var(--accent); border-color: var(--accent); }

/* Модалка для reel-карточек / coming-soon */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(5,5,7,.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center; justify-content: center;
  z-index: 300;
  padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 460px;
  width: 100%;
  text-align: center;
}
.modal-card h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 12px; letter-spacing: -.02em; }
.modal-card p  { font-size: 14px; line-height: 1.6; color: var(--text-2); margin-bottom: 22px; }
.modal-card .modal-close {
  background: none; border: 1px solid var(--line-2);
  border-radius: 999px; padding: 10px 20px;
  color: var(--text-2); cursor: pointer;
  font-size: 14px;
}
.modal-card .modal-close:hover { color: var(--text); border-color: var(--text-3); }

img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ─── Layout primitives ────────────────────────────────── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

section { position: relative; }

.section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.section-sm {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* ─── Type ─────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--accent);
}

.h-display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--text);
}

.h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 56ch;
}

.body { color: var(--text-2); line-height: 1.6; }
.muted { color: var(--text-3); }
.mono { font-family: var(--font-mono); }

.accent { color: var(--accent); }
.strike-soft {
  text-decoration: line-through;
  text-decoration-color: var(--text-3);
  color: var(--text-3);
}

.italic-serif {
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
}

/* ─── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--text);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-arrow svg { transition: transform 0.2s ease; }

/* Hover-эффекты только на устройствах с реальным указателем (не залипают на touch) */
@media (hover: hover) {
  .btn:hover { transform: translateY(-1px); }
  .btn-primary:hover { background: #d6ff52; }
  .btn-ghost:hover { border-color: var(--text-3); background: rgba(255,255,255,0.03); }
  .btn-arrow:hover svg { transform: translateX(3px); }
}

.btn-tiny {
  padding: 8px 14px;
  font-size: 13px;
}

/* ─── Chip / tag ───────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}
.chip-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

/* ─── Card ─────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10,10,11,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  font-size: 14px;
  color: var(--text-2);
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-phone {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: 0.02em;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding-top: 36px;
  padding-bottom: 48px;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 68px);
  min-height: calc(100dvh - 68px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-headline {
  margin-top: 22px;
  margin-bottom: 22px;
  /* Уменьшили под более длинное «AI-видеоконтент-завод» (21 символ),
     чтобы первая строка не переносилась. */
  font-size: clamp(30px, 4vw, 56px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.035em;
}
/* «AI-видеоконтент-завод» — самое длинное слово в заголовке.
   На больших экранах держим в одной строке. На узких телефонах разрешаем
   естественный перенос по дефисам, иначе ломает контейнер. */
@media (min-width: 480px) {
  .hero-headline-line:first-child em {
    white-space: nowrap;
  }
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
}

.hero-headline-line {
  display: block;
}

.hero-lead {
  margin-bottom: 26px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-2);
  max-width: 52ch;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.hero-meta-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.hero-meta-lab {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
}

/* Hero visual: avatar production console */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: 540px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  overflow: hidden;
}

.hv-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hv-head-dots { display: flex; gap: 6px; }
.hv-head-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line-2);
}
.hv-head-dots span:first-child { background: var(--accent); box-shadow: 0 0 6px var(--accent); }

.hv-stage {
  position: relative;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 39px, rgba(255,255,255,0.025) 39px, rgba(255,255,255,0.025) 40px),
    repeating-linear-gradient(90deg, transparent 0, transparent 39px, rgba(255,255,255,0.025) 39px, rgba(255,255,255,0.025) 40px),
    radial-gradient(circle at 50% 60%, rgba(200,255,44,0.06), transparent 60%),
    linear-gradient(180deg, #1d1d24, #131319);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.hv-avatar {
  width: 62%;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.6) 100%),
    radial-gradient(ellipse 100% 60% at 50% 20%, rgba(200,255,44,0.18), transparent 70%),
    linear-gradient(180deg, #2a2a35 0%, #1a1a22 100%);
  position: relative;
  border: 1px solid var(--line-2);
  overflow: hidden;
}

/* abstract face silhouette */
.hv-face {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 65%;
  background:
    radial-gradient(ellipse 45% 18% at 50% 18%, rgba(244,244,245,0.25), transparent 75%),
    radial-gradient(ellipse 40% 50% at 50% 60%, rgba(244,244,245,0.18), transparent 80%);
  filter: blur(1px);
}

.hv-tracking-box {
  position: absolute;
  top: 16%;
  left: 22%;
  width: 56%;
  height: 36%;
  border: 1px dashed rgba(200,255,44,0.6);
  border-radius: 4px;
}
.hv-tracking-box::before {
  content: "FACE_TRACK 0.99";
  position: absolute;
  top: -18px; left: 0;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.hv-caption {
  position: absolute;
  bottom: 12px; left: 12px; right: 12px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.hv-caption mark {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 1px 4px;
  border-radius: 3px;
}

.hv-waveform {
  position: absolute;
  bottom: 38%;
  left: 8%;
  right: 8%;
  height: 18px;
  display: flex;
  align-items: center;
  gap: 2px;
  opacity: 0.7;
}
.hv-waveform span {
  flex: 1;
  background: var(--accent);
  border-radius: 1px;
  animation: wave 1.4s ease-in-out infinite;
}
@keyframes wave {
  0%, 100% { height: 20%; }
  50% { height: 95%; }
}

.hv-meters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hv-meter {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
}
.hv-meter-lab { color: var(--text-3); font-size: 9px; margin-bottom: 4px; }
.hv-meter-val { color: var(--text); font-size: 12px; }
.hv-meter-bar {
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}
.hv-meter-bar::before {
  content: "";
  display: block;
  height: 100%;
  background: var(--accent);
  width: var(--w, 70%);
}

/* hero floating ticker */
.hero-ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 12px 0;
  background: var(--bg-2);
}
.hero-ticker-track {
  display: flex;
  gap: 48px;
  animation: tick 50s linear infinite;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.hero-ticker-track span { display: inline-flex; align-items: center; gap: 12px; }
.hero-ticker-track .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
@keyframes tick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   PAIN
   ========================================================= */
.pain {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pain-head {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pain-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pain-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--danger);
}

.pain-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.pain-body { color: var(--text-2); font-size: 15px; line-height: 1.55; }

.pain-stat {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pain-stat b { color: var(--text); font-weight: 600; }

/* =========================================================
   CONVEYOR (PROCESS)
   ========================================================= */
.conveyor-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}

.conveyor-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}

.conveyor-rail::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 16px);
}

.station {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
  position: relative;
}

.station-node {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}

.station-node-inner {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-2);
}

.station:hover .station-node {
  border-color: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}
.station:hover .station-node-inner { color: var(--accent); }

.station-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}

.station-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--text);
}

.station-detail {
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-3);
  max-width: 18ch;
}

.conveyor-footnote {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.conveyor-foot-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
}
.conveyor-foot-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 46px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 12px;
}
.conveyor-foot-text {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}

/* =========================================================
   SHOWREEL
   ========================================================= */
.reel {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reel-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}

.reel-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.reel-card {
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.reel-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

.reel-thumb {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 35% at 50% 30%, rgba(255,255,255,0.08), transparent 60%),
    linear-gradient(180deg, #232330, #15151c);
}

.reel-thumb image-slot {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.reel-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  color: white;
  z-index: 2;
  pointer-events: none;
}

.reel-niche {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 4px 8px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.reel-meta {
  position: absolute;
  top: 12px; right: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: white;
  background: rgba(0,0,0,0.45);
  padding: 3px 7px;
  border-radius: 4px;
  z-index: 2;
}

.reel-caption {
  position: absolute;
  bottom: 60px; left: 12px; right: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  color: white;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
  z-index: 2;
}
.reel-caption mark {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0 3px;
  border-radius: 2px;
}

.reel-bar {
  padding: 12px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.reel-bar-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
}
.reel-bar-stat {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* =========================================================
   FOR WHOM
   ========================================================= */
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.who-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  min-height: 280px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.who-card:hover {
  border-color: var(--line-2);
  background: var(--surface-2);
}

.who-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  color: var(--accent);
}

.who-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.who-body {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.5;
}

.who-tag {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.who-tag b { color: var(--accent); font-weight: 600; }

/* =========================================================
   TARIFFS
   ========================================================= */
.tar {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tar-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}

.tar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.tar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.tar-card.featured {
  background: linear-gradient(180deg, #1d1f15 0%, #14141a 60%);
  border-color: rgba(200,255,44,0.3);
}

.tar-badge {
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.tar-tier {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}

.tar-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.tar-promise {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 28px;
  max-width: 38ch;
}

.tar-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.tar-price-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--text);
}
.tar-price-unit {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
}

.tar-price-note {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 28px;
}

.tar-cta {
  margin-bottom: 14px;
}

.tar-divider {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.tar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tar-list li {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 12px;
  align-items: start;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.tar-list li svg {
  margin-top: 4px;
  color: var(--accent);
}
.tar-list li small {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.03em;
  white-space: nowrap;
  align-self: center;
}

.tar-note {
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
  margin-top: 24px;
  line-height: 1.5;
}

/* =========================================================
   CALCULATOR
   ========================================================= */
.calc-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}

.calc-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.calc-inputs {
  padding: 40px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.calc-q-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}

.calc-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.calc-opt {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-2);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.calc-opt:hover { border-color: var(--text-3); color: var(--text); }
.calc-opt.active,
.calc-opt.is-active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  font-weight: 500;
}

.calc-slider-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.calc-slider-val {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--accent);
}

/* Подсказка под слайдером (например, «средняя по рынку — 10-20%») */
.calc-slider-hint {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-3);
  font-family: var(--font-mono);
  letter-spacing: .02em;
}

input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  height: 22px;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  background: var(--line-2);
  border-radius: 1px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent);
  margin-top: -8px;
  cursor: pointer;
}
input[type="range"]::-moz-range-track {
  height: 2px;
  background: var(--line-2);
}
input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  cursor: pointer;
}

.calc-result {
  padding: 40px;
  background:
    radial-gradient(circle at 80% -20%, rgba(200,255,44,0.1), transparent 60%),
    var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-result-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.calc-loss-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 84px;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--accent);
}

.calc-loss-suffix {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-2);
  letter-spacing: 0.04em;
}

.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
}
.calc-row-label { color: var(--text-2); }
.calc-row-val {
  font-family: var(--font-mono);
  color: var(--text);
  font-weight: 600;
}

.calc-cta-row {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* =========================================================
   TIMELINE
   ========================================================= */
.timeline {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.timeline-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.timeline-grid.timeline-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.tl-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.tl-week {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.tl-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.tl-body { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.tl-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  margin-top: auto;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
details.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.3;
  padding: 4px 0;
}
details.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
details[open] .faq-toggle {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.faq-body {
  padding-top: 16px;
  padding-right: 64px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
  max-width: 70ch;
}

/* =========================================================
   FINAL CTA / FORM
   ========================================================= */
.cta {
  background:
    radial-gradient(ellipse 800px 400px at 50% 0%, rgba(200,255,44,0.08), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.cta-headline {
  margin-bottom: 28px;
}
.cta-headline em { font-style: normal; color: var(--accent); }

.cta-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 36px;
}
.cta-bullets li {
  display: flex;
  gap: 14px;
  align-items: start;
  font-size: 15px;
  color: var(--text-2);
}
.cta-bullets li svg { margin-top: 4px; color: var(--accent); flex-shrink: 0; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  min-width: 0;
}
.form-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-row label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.form-row input,
.form-row select,
.form-row textarea {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.15s ease;
  font-family: var(--font-body);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.form-row select { text-overflow: ellipsis; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-foot {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 14px;
  line-height: 1.5;
}

/* =========================================================
   FOOTER
   ========================================================= */
.foot {
  border-top: 1px solid var(--line);
  padding: 80px 0 36px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.foot-mark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 56px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 24px;
}
.foot-mark em { font-style: normal; color: var(--accent); }

.foot-tag {
  color: var(--text-2);
  max-width: 36ch;
  font-size: 15px;
  line-height: 1.5;
}

.foot-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
  font-weight: 400;
}
.foot-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-col a { color: var(--text-2); font-size: 14px; }
.foot-col a:hover { color: var(--text); }
.foot-link-disabled {
  color: var(--text-3);
  font-size: 14px;
  cursor: not-allowed;
  opacity: .55;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* =========================================================
   RESPONSIVE — keep tidy at narrower widths
   ========================================================= */
@media (max-width: 1080px) {
  .nav-links, .nav-phone { display: none; }
  .hero-grid,
  .pain-head, .conveyor-head, .reel-head, .calc-head, .timeline-head, .faq-head, .tar-head, .cta-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .who-grid { grid-template-columns: 1fr 1fr; }
  .reel-track { grid-template-columns: repeat(3, 1fr); }
  .tar-grid { grid-template-columns: 1fr; }
  .calc-wrap { grid-template-columns: 1fr; }
  .calc-inputs { border-right: none; border-bottom: 1px solid var(--line); }
  .timeline-grid,
  .timeline-grid.timeline-grid-5 { grid-template-columns: 1fr 1fr; }
  .conveyor-rail { grid-template-columns: repeat(4, 1fr); row-gap: 40px; }
  .conveyor-rail::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --section-pad: 80px; }
  .pain-grid, .who-grid, .reel-track, .timeline-grid, .timeline-grid.timeline-grid-5, .conveyor-rail, .conveyor-footnote, .foot-grid {
    grid-template-columns: 1fr;
  }
  .hero-meta { grid-template-columns: 1fr; gap: 18px; }
}

/* ══ НОВЫЕ СЕКЦИИ ══ */
.trust-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--bg-2);padding:18px 0}
.trust-strip-inner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px}
.trust-item-num{font-family:var(--font-display);font-weight:600;font-size:22px;letter-spacing:-.03em;color:var(--text)}
.trust-item-label{font-family:var(--font-mono);font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--text-3);margin-top:2px}
.trust-sep{width:1px;height:34px;background:var(--line)}
.cases-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:64px}
.case-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:28px;display:flex;flex-direction:column;gap:16px;transition:border-color .2s}
.case-card:hover{border-color:var(--line-2)}
.case-niche{display:inline-flex;align-items:center;gap:6px;font-family:var(--font-mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--accent)}
.case-niche-dot{width:5px;height:5px;border-radius:50%;background:var(--accent)}
.case-title{font-family:var(--font-display);font-weight:500;font-size:20px;line-height:1.2;letter-spacing:-.02em}
.case-body{font-size:14px;line-height:1.6;color:var(--text-2);flex:1}
.case-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:16px;border-top:1px solid var(--line)}
.case-metric-num{font-family:var(--font-display);font-size:28px;font-weight:500;letter-spacing:-.03em;color:var(--accent);line-height:1}
.case-metric-lab{font-family:var(--font-mono);font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--text-3);margin-top:3px}
.cmp-wrap{margin-top:64px;overflow-x:auto}
.cmp-table{width:100%;border-collapse:collapse;font-size:14px}
.cmp-table th,.cmp-table td{padding:13px 16px;border:1px solid var(--line);text-align:center;vertical-align:middle}
.cmp-table th{font-family:var(--font-mono);font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--text-3);font-weight:400;background:var(--surface)}
.cmp-table th.cmp-us{background:rgba(200,255,44,.08);border-color:rgba(200,255,44,.25);color:var(--accent)}
.cmp-table td:first-child{text-align:left;color:var(--text-2);font-size:13px}
.cmp-table tr:hover td{background:rgba(255,255,255,.015)}
.cmp-yes{color:var(--accent);font-size:16px}
.cmp-no{color:var(--text-3);font-size:16px}
.cmp-part{color:var(--warn);font-size:12px;font-family:var(--font-mono)}
.cmp-us-cell{background:rgba(200,255,44,.04)!important;font-weight:500;color:var(--text)!important}
.guarantee-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:64px;align-items:stretch}
.guarantee-card{height:100%}
.guarantee-wide{grid-column:1 / -1}
.guarantee-wide .guarantee-wide-inner{display:flex;gap:22px;align-items:flex-start}
.guarantee-wide .guarantee-icon{margin-bottom:0;flex-shrink:0;font-size:32px;line-height:1}
.guarantee-wide .guarantee-body{max-width:760px}
.guarantee-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:28px 30px}
.guarantee-card.accent-card{border-color:rgba(200,255,44,.3);background:rgba(200,255,44,.04)}
.guarantee-icon{font-size:26px;margin-bottom:12px}
.guarantee-title{font-family:var(--font-display);font-weight:500;font-size:19px;letter-spacing:-.02em;margin-bottom:10px}
.guarantee-body{font-size:14px;line-height:1.6;color:var(--text-2)}
.guarantee-list{list-style:none;display:flex;flex-direction:column;gap:9px;margin-top:14px}
.guarantee-list li{font-size:14px;color:var(--text-2);line-height:1.5;display:flex;gap:10px}
.guarantee-list li::before{content:"\2192";color:var(--accent);flex-shrink:0;font-family:var(--font-mono)}
.testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:64px}
.testi-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:26px;display:flex;flex-direction:column;gap:14px}
.testi-stars{display:flex;gap:2px;margin-bottom:2px}
.testi-stars span{color:var(--accent);font-size:12px}
.testi-quote{font-size:14px;line-height:1.65;color:var(--text-2);flex:1}
.testi-quote::before{content:"\201C";font-family:var(--font-display);font-size:44px;color:var(--accent);line-height:.8;display:block;margin-bottom:8px}
.testi-author{display:flex;align-items:center;gap:12px;padding-top:14px;border-top:1px solid var(--line)}
.testi-avatar{width:38px;height:38px;border-radius:50%;background:var(--surface-2);border:1px solid var(--line-2);display:grid;place-items:center;font-family:var(--font-display);font-weight:600;font-size:14px;color:var(--accent);flex-shrink:0}
.testi-name{font-weight:500;font-size:14px;color:var(--text);letter-spacing:-.01em}
.testi-role{font-family:var(--font-mono);font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--text-3);margin-top:2px}
.sticky-bar{position:fixed;bottom:0;left:0;right:0;z-index:100;background:rgba(10,10,11,.93);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-top:1px solid var(--line);transform:translateY(100%);transition:transform .35s cubic-bezier(.16,1,.3,1)}
.sticky-bar.visible{transform:translateY(0)}
.sticky-bar-inner{max-width:var(--max);margin:0 auto;padding:13px 32px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.sticky-bar-text{font-size:14px;color:var(--text-2)}
.sticky-bar-text strong{color:var(--text);display:block;font-size:15px;letter-spacing:-.01em}
.sticky-bar-actions{display:flex;gap:10px;align-items:center}
.sticky-close{background:none;border:none;color:var(--text-3);cursor:pointer;padding:8px;font-size:18px;line-height:1}
.sticky-close:hover{color:var(--text)}
/* ── Hamburger ──────────────────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all .2s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile nav overlay + grids ─────────────────── */
@media (max-width: 900px) {
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 0;
    z-index: 200;
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .nav-phone { display: none; }

  /* Сетки секций (мёрж из бывшего дубль-@media 900px) */
  .cases-grid,
  .testi-grid,
  .guarantee-grid { grid-template-columns: 1fr; }
  .trust-strip-inner { justify-content: center; }
  .trust-sep { display: none; }
  .cmp-table { font-size: 12px; }
  .cmp-table th,
  .cmp-table td { padding: 9px 10px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .tl-after-grid { grid-template-columns: 1fr; }
}

/* ── Hero calc link ─────────────────────────────── */
/* Hero text-link «Посчитать упущенную выручку» — третий вторичный CTA */
.hero-calc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -.005em;
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.hero-calc-link svg { color: var(--accent); flex-shrink: 0; }
.hero-calc-link .hero-calc-arrow { color: var(--text-3); transition: transform .2s, color .2s; }
@media (hover: hover) {
  .hero-calc-link:hover {
    color: var(--text);
    border-color: var(--line-2);
    background: rgba(255, 255, 255, 0.02);
  }
  .hero-calc-link:hover .hero-calc-arrow {
    color: var(--accent);
    transform: translateX(3px);
  }
}

/* ── Timeline "after" block ─────────────────────── */
.tl-after {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.tl-after-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 20px;
}
.tl-after-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tl-after-icon {
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.tl-after-title {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -.01em;
  margin-bottom: 6px;
}
.tl-after-body { font-size: 13px; line-height: 1.6; color: var(--text-2); }

/* ── Tariff recommended badge ───────────────────── */
.tar-badge-rec {
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10px;
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 10px;
}

/* ── Team section ───────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 4px;
  background: var(--surface-2);
}
.team-name {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -.01em;
}
.team-role {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
}
.team-bio {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-2);
  margin-top: 4px;
}

/* (дубль @media 900px объединён выше) */

/* ════════════════════════════════════════════════
   МОБИЛЬНЫЕ ФИКСЫ (≤720px)
   ── читабельность мелких подписей, отступ под sticky-bar,
   ── safe-area для iOS
   ════════════════════════════════════════════════ */
@media (max-width: 720px) {
  /* Подписи моно ≤10px подняты до 11px — было нечитаемо */
  .trust-item-label,
  .case-metric-lab,
  .case-niche,
  .testi-role,
  .team-role,
  .tar-badge-rec,
  .cmp-table th,
  .hv-meter-lab,
  .hv-meter-val { font-size: 11px; }

  .case-metric-num { font-size: 24px; }
  .testi-quote,
  .case-body,
  .guarantee-body,
  .team-bio,
  .tl-after-body { font-size: 14px; }

  /* Освобождаем низ страницы под sticky CTA-бар */
  body { padding-bottom: 96px; }

  /* Safe-area для iPhone с notch */
  .sticky-bar-inner {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
    padding-bottom: max(13px, env(safe-area-inset-bottom));
    flex-wrap: wrap;
    gap: 12px;
  }
  .sticky-bar-text { font-size: 13px; }
  .sticky-bar-text strong { font-size: 14px; }

  /* Кнопки на touch — крупнее tap-зоны */
  .btn { padding: 14px 22px; min-height: 48px; }
  .btn-tiny { min-height: 38px; }

  /* Hero: чуть короче, чтобы CTA попадал в первый экран */
  .hero { min-height: auto; padding-top: 24px; padding-bottom: 32px; }
}

/* =========================================================
   MOBILE UX PASS — финальный проход
   ========================================================= */

/* A. Глобальная защита от горизонтального скролла
   ── html-уровень clip = надёжнее body.overflow-hidden на iOS Safari
   ── overflow-x: clip обрезает выходы, не создавая scroll-context */
html { overflow-x: clip; max-width: 100%; }
body { position: relative; max-width: 100%; }
img, video, iframe, svg, table { max-width: 100%; }
p, h1, h2, h3, h4, h5, li, .lead { overflow-wrap: anywhere; }
.wrap, .nav-inner, .hero-grid, section { min-width: 0; }

/* Любая секция не должна позволять детям с negative margin / full-bleed
   расширять родителя — обрезаем по горизонтали. Reel-карусель и cmp-таблица
   имеют свой собственный overflow-x: auto, на них это не повлияет.
   overflow-x: clip (а не hidden) сохраняет работоспособность position: sticky
   на потомках (например nav). */
section, .hero, .foot { overflow-x: clip; }

/* B. Footer-legal (заменили inline-стили) */
/* Компактный «деловой» блок: контакты + реквизиты + документы в одну строку */
.foot-legal {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 28px;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.6;
}
.foot-legal-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
  opacity: .7;
}

.foot-legal-contacts { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.foot-legal-contacts a { color: var(--text-2); }
.foot-legal-contacts a:hover { color: var(--text); }

.foot-legal-rekv { min-width: 0; }
.foot-legal-name { color: var(--text-2); font-weight: 500; margin-bottom: 4px; }
.foot-legal-addr { display: block; margin-top: 3px; color: var(--text-3); }

.foot-legal-links { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.foot-legal-links a {
  color: var(--text-3);
  border-bottom: 1px dashed var(--line-2);
  padding-bottom: 1px;
  width: fit-content;
}
.foot-legal-links a:hover { color: var(--text-2); }

@media (max-width: 900px) {
  .foot-legal {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .foot-legal-rekv { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .foot-legal { grid-template-columns: 1fr; gap: 18px; }
  .foot-legal-rekv { grid-column: auto; }
}

/* C. Сравнительная таблица: убрали inline min-width:200px → даём по классу,
   а на узких — компактнее */
.cmp-criteria { text-align: left; min-width: 160px; }

/* ─────────────────────────────────────────────────────────
   D. Планшеты (≤900px) — точечно
   ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --gutter: 24px; --section-pad: 64px; }
  .hero-grid { gap: 28px; }
  .section-sm { padding-top: 56px; padding-bottom: 56px; }

  /* Сокращаем отступ между заголовком секции и сеткой карточек */
  .cases-grid,
  .cmp-wrap,
  .guarantee-grid,
  .testi-grid,
  .team-grid,
  .conveyor-rail,
  .who-grid,
  .pain-grid,
  .timeline-grid,
  .tar-grid { margin-top: 40px; }
}

/* ─────────────────────────────────────────────────────────
   E. Смартфоны (≤720px) — основной мобильный режим
   ───────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  /* Между секциями: 80–60px суммарно (40+40 / 30+30) — UX-стандарт для mobile.
     Раньше было 120px (60+60), визуально «пусто». */
  :root { --gutter: 18px; --section-pad: 36px; }
  .section-sm { padding-top: 32px; padding-bottom: 32px; }

  /* Между заголовком секции (h2 + lead) и контентом — ужимаем с 64 до 24px */
  .cases-grid,
  .cmp-wrap,
  .guarantee-grid,
  .testi-grid,
  .team-grid,
  .conveyor-rail,
  .who-grid,
  .pain-grid,
  .timeline-grid,
  .tar-grid { margin-top: 24px !important; }

  /* h2 с inline "margin-top:20px" поверх eyebrow — переопределяем */
  .h1[style*="margin-top"] { margin-top: 10px !important; }

  /* Conveyor-head и подобные двухколоночные шапки секций — компактный gap */
  .conveyor-head,
  .pain-head,
  .reel-head,
  .calc-head,
  .timeline-head,
  .faq-head,
  .tar-head,
  .cta-inner { gap: 14px !important; }

  /* Nижние CTA-блоки секций («Получить все кейсы», «Открыть кейсы») */
  .section-cta-row { margin-top: 28px; gap: 12px; }
  .section-cta-center { margin-top: 24px; }
  .tar-footnote { margin-top: 28px; font-size: 13px; }

  /* После reel-карусели не нужен большой отступ — её хинт сам по себе разделитель */
  .reel-track + .reel-track-hint + .section-cta-row { margin-top: 18px; }

  /* Timeline-after блок (резюме конвейера) — меньше padding и отступа */
  .tl-after { margin-top: 28px; padding: 20px 18px; }
  .tl-after-grid { gap: 16px !important; }

  /* — HERO — */
  .hero-grid { gap: 22px; }
  .hero-headline { font-size: clamp(30px, 8.5vw, 44px) !important; }
  .hero-lead { font-size: 15px; line-height: 1.55; }
  .hero-ctas { flex-wrap: wrap; gap: 10px; }
  .hero-ctas .btn { flex: 1 1 auto; min-width: 0; }
  .hero-calc-link { width: 100%; justify-content: center; }
  .chip { font-size: 11px; padding: 6px 12px; }

  /* Hero-метрики: 3 цифры в один ряд, но компактно */
  .hero-meta {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
  }
  .hero-meta-num { font-size: 22px; }
  .hero-meta-lab { font-size: 10px; line-height: 1.3; }

  /* Hero-visual: огромный квадрат не помещается на телефоне.
     Делаем компактным баннером 16/9 и скрываем шумные метры. */
  .hero-visual {
    aspect-ratio: 16 / 10;
    max-height: 220px;
    padding: 12px;
    gap: 10px;
  }
  .hv-meters { display: none; }
  /* портретный аватар (9/16) в landscape-контейнере: считаем по высоте,
     ширину получаем из aspect-ratio — никакого клиппинга */
  .hv-avatar {
    width: auto;
    height: 88%;
    max-width: 55%;
    max-height: 100%;
  }
  .hv-caption { font-size: 10px; }
  .hv-tracking-box::before { font-size: 8px; top: -14px; }

  /* Hero-ticker — мельче и быстрее */
  .hero-ticker { padding: 8px 0; }
  .hero-ticker-track { font-size: 10px; gap: 28px; }

  /* — Универсальные секции/карточки — */
  .pain-card,
  .who-card,
  .case-card,
  .testi-card,
  .tl-card,
  .guarantee-card,
  .team-card { padding: 20px; }
  .pain-title,
  .who-title,
  .case-title,
  .tar-name { font-size: 18px; line-height: 1.25; }

  /* — Конвейер: 7 узких карточек в столбик невпопад.
       Делаем 2 колонки, последняя строка — full-width */
  .conveyor-rail {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
  }
  .conveyor-rail .station:nth-last-child(1):nth-child(odd) {
    grid-column: 1 / -1;
  }
  .station-title { font-size: 15px; }
  .station-detail { font-size: 13px; }

  /* — Тарифы — */
  .tar-card { padding: 24px 20px; }
  .tar-price-num { font-size: 38px !important; letter-spacing: -.03em; }
  .tar-price-unit { font-size: 12px; }
  .tar-list li { font-size: 13.5px; line-height: 1.45; }
  .tar-list li small { font-size: 11px; }

  /* — Сравнительная таблица: компактный режим с sticky-критерием — */
  .cmp-wrap {
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }
  .cmp-table { font-size: 12px; min-width: 560px; border: 0; }
  .cmp-table th,
  .cmp-table td { padding: 8px 10px; }
  /* sticky первая колонка — критерий — не двигается при свайпе вправо */
  .cmp-table th:first-child,
  .cmp-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--surface);
    border-right: 1.5px solid var(--line);
    min-width: 116px;
    max-width: 124px;
  }
  .cmp-table thead th:first-child { z-index: 2; }
  .cmp-criteria { min-width: 116px; font-size: 11px; }

  /* — Калькулятор — */
  .calc-inputs { padding: 20px !important; }
  .calc-result { padding: 20px !important; }
  .calc-q-label { font-size: 12px; }
  .calc-options { flex-wrap: wrap; gap: 6px; }
  .calc-opt { padding: 8px 12px; font-size: 12px; }
  .calc-slider-val { font-size: 22px; }
  .calc-row { font-size: 13px; }

  /* — Команда: 1 колонка (а не 1fr 1fr) */
  .team-grid { grid-template-columns: 1fr !important; gap: 14px; }
  .team-avatar { width: 56px; height: 56px; }

  /* — Гарантии: одна колонка, money-back уже full-width — */
  .guarantee-grid { grid-template-columns: 1fr; gap: 14px; }
  .guarantee-wide .guarantee-wide-inner { gap: 14px; }
  .guarantee-wide .guarantee-icon { font-size: 26px; }

  /* — Сделать заголовки секций .h1 компактнее — */
  .h1 { font-size: clamp(26px, 7vw, 36px) !important; line-height: 1.1; }
  .eyebrow { font-size: 10px; letter-spacing: .12em; }
  .lead { font-size: 14.5px; line-height: 1.55; }

  /* — Conveyor-head / общие двухколоночные заголовки секций — */
  .conveyor-head,
  .pain-head,
  .reel-head,
  .calc-head,
  .timeline-head,
  .faq-head,
  .tar-head,
  .cta-inner { gap: 18px; }

  /* — FAQ summary — крупнее тач-зона — */
  .faq-item summary { padding: 16px 0; font-size: 14.5px; }
  .faq-body { font-size: 13.5px; }

  /* — Footer — */
  .foot-grid { grid-template-columns: 1fr !important; gap: 24px; }
  .foot-mark { font-size: 22px; }
  .foot-bottom { flex-direction: column; gap: 6px; align-items: flex-start; }
  .foot-legal { gap: 16px; padding-top: 18px; }
  .foot-legal-links { gap: 10px 18px; }

  /* — Sticky-bar и back-to-top — */
  .sticky-bar-text { font-size: 12.5px; line-height: 1.4; }
  .sticky-bar-text strong { font-size: 13.5px; }
  .sticky-bar-actions .btn-tiny { padding: 9px 14px; font-size: 13px; }
  .back-to-top {
    /* поднимаем выше sticky-bar, у которого с flex-wrap может быть высота ~90px */
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    right: 14px;
    width: 40px; height: 40px;
  }

  /* — Trust-strip: компактная горизонтальная лента — */
  .trust-strip { padding: 12px 0; }
  .trust-strip-inner { gap: 10px 16px; }
  .trust-item-num { font-size: 18px; }
  .trust-item-label { font-size: 9.5px; }

  /* — Modal: больше отступов от краёв — */
  .modal-card { padding: 24px 20px; max-width: 100%; }
  .modal-card h3 { font-size: 19px; }

  /* — Слот-pill / сделать ему гибкость — */
  .slot-pill { white-space: normal; }

  /* ─── REEL «Так говорит ваш эксперт» → горизонтальная карусель ───
     На мобильном 6 карточек 9:16 в столбик = ~3800px высоты, ужас.
     Превращаем в swipe-карусель со scroll-snap. */
  .reel-track {
    /* перезаписываем grid на flex-карусель */
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    /* full-bleed внутри .wrap, чтобы первая/последняя карточки могли
       прокручиваться до краёв экрана */
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 18px;
    gap: 12px;
  }
  .reel-card {
    flex: 0 0 72%;
    max-width: 280px;
    min-width: 220px;
    scroll-snap-align: start;
  }
  /* Тонкий или скрытый скроллбар — нативный выглядит грубо */
  .reel-track::-webkit-scrollbar { height: 4px; }
  .reel-track::-webkit-scrollbar-thumb {
    background: var(--line-2);
    border-radius: 4px;
  }
  .reel-track { scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }

  /* Подсказка «← листай →» под каруселью */
  .reel-track-hint {
    display: block;
    margin-top: 4px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--text-3);
  }
}

/* На ≤900px тоже карусель — на планшетах в портретной 6 карточек в 1fr 1fr
   выглядит так же громоздко. */
@media (max-width: 900px) and (min-width: 721px) {
  .reel-track {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
  }
  .reel-card {
    flex: 0 0 40%;
    min-width: 240px;
    scroll-snap-align: start;
  }
}

/* ─────────────────────────────────────────────────────────
   F. Узкие смартфоны (≤380px) — финальная страховка
   ───────────────────────────────────────────────────────── */
@media (max-width: 380px) {
  :root { --gutter: 14px; --section-pad: 28px; }
  .section-sm { padding-top: 26px; padding-bottom: 26px; }
  .cases-grid,
  .cmp-wrap,
  .guarantee-grid,
  .testi-grid,
  .team-grid,
  .conveyor-rail,
  .who-grid,
  .pain-grid,
  .timeline-grid,
  .tar-grid { margin-top: 20px !important; }
  .section-cta-row,
  .section-cta-center,
  .tar-footnote { margin-top: 20px; }
  .hero-headline { font-size: 28px !important; }
  .h1 { font-size: 24px !important; }
  .hero-meta-num { font-size: 18px; }
  .hero-meta-lab { font-size: 9.5px; }
  .nav-cta .btn-tiny { padding: 7px 12px; font-size: 12px; }
  .brand { font-size: 14px; }

  /* На совсем узких экранах hero-visual скрываем — сценически ничего не теряем */
  .hero-visual { display: none; }
}

/* ─────────────────────────────────────────────────────────
   NAV-LINK-DISABLED — неактивный пункт меню «Партнёрская программа»
   ───────────────────────────────────────────────────────── */
.nav-link-disabled {
  color: var(--text-3);
  cursor: not-allowed;
  opacity: .55;
  font-size: 14.5px;
  position: relative;
  padding-right: 22px;
}
.nav-link-disabled::after {
  content: "Скоро";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(200,255,44,.1);
  border: 1px solid rgba(200,255,44,.3);
  padding: 2px 6px;
  border-radius: 100px;
}
@media (max-width: 900px) {
  /* В burger-меню — пункт виден, но не кликабельный */
  .nav-links li.nav-link-disabled {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .nav-link-disabled::after {
    position: static;
    transform: none;
  }
}

/* ─────────────────────────────────────────────────────────
   ADAPTIVE GRIDS — заменяют inline styles, корректно адаптируются
   ───────────────────────────────────────────────────────── */
/* Tech-grid варианты с количеством колонок */
.tech-grid.tech-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tech-grid.tech-grid-2 { grid-template-columns: 1fr 1fr; gap: 18px; }

/* Контакты: 2 адреса desktop → 1 mobile */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

/* About: легальная карточка с 2 колонками (Реквизиты + Документы) */
.legal-card {
  margin-top: 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 1080px) {
  /* На планшетах оставляем 2 колонки в tech-grid-3 */
  .tech-grid.tech-grid-3 { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 720px) {
  /* Все наши адаптивные сетки на мобильном — 1 колонка */
  .tech-grid.tech-grid-3,
  .tech-grid.tech-grid-2,
  .contacts-grid,
  .legal-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  /* Legal-card на мобильном — меньший padding */
  .legal-card { padding: 24px 20px !important; }
}

/* ─────────────────────────────────────────────────────────
   MOBILE NAV FIX — кнопка «Обсудить проект» налезает на бренд
   ───────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  /* Скрываем CTA-кнопку в шапке — она дублируется внутри burger-меню */
  .nav-cta .btn-primary.btn-tiny { display: none; }
  /* Бренд может занять больше места */
  .brand { font-size: 15px; }
  .brand-mark { width: 28px; height: 28px; font-size: 14px; }
}

/* ─────────────────────────────────────────────────────────
   MOBILE DROPDOWN FIX — wide-меню с 2 группами на мобильном
   Старый max-height: 400px резал список услуг.
   ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  /* Увеличиваем max-height и улучшаем визуал групп в dropdown */
  .has-dropdown.open .dropdown-menu-wide,
  .has-dropdown.open .dropdown-menu {
    max-height: 1000px;
    padding: 12px 0 16px;
  }
  /* Группы в wide-меню (По технологии / По типу ролика) */
  .dropdown-menu-wide.dropdown-menu-wide {
    /* СНОСИМ десктопные стили: min-width 480px, absolute, transform */
    min-width: 0;
    width: 100%;
    position: static;
    transform: none !important;
    left: auto;
    box-shadow: none;
    grid-template-columns: 1fr;
    padding-left: 0;
    padding-right: 0;
  }
  .dropdown-menu-wide .dropdown-group {
    padding: 12px 0 8px;
    border-bottom: 1px dashed var(--line);
  }
  .dropdown-menu-wide .dropdown-group:last-child {
    border-bottom: none;
  }
  .dropdown-menu-wide .dropdown-group-title {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 8px 0 8px 12px;
    margin-bottom: 4px;
  }
  .dropdown-menu-wide .dropdown-group a {
    display: block;
    padding: 10px 0 10px 18px;
    font-size: 14px;
    color: var(--text-2);
    border-bottom: 1px dashed var(--line);
  }
  .dropdown-menu-wide .dropdown-group a:last-child {
    border-bottom: none;
  }
  .dropdown-menu-wide .dropdown-group a:hover {
    color: var(--accent);
    background: rgba(200,255,44,.04);
  }
  /* Скрываем стрелку в hover-сценарии (на мобильном не нужно hover) */
  .has-dropdown:hover .dropdown-menu-wide {
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
  }
  .has-dropdown.open .dropdown-menu-wide {
    visibility: visible !important;
    pointer-events: auto !important;
    max-height: 1000px !important;
  }
}

/* CTA-кнопка «Обсудить проект» в overlay-меню снизу (mobile) */
@media (max-width: 900px) {
  .nav-cta-mobile { display: block; }
  .nav-cta-mobile a {
    display: block;
    margin: 16px 0 4px;
    padding: 12px 18px;
    background: var(--accent);
    color: var(--accent-ink) !important;
    border-radius: 100px;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 14.5px;
    text-decoration: none;
    border: none !important;
    box-shadow: 0 8px 20px rgba(200,255,44,.2);
  }
  .nav-cta-mobile a:hover { background: var(--accent); color: var(--accent-ink); }
}
/* На десктопе скрываем mobile-CTA */
.nav-cta-mobile { display: none; }

/* ─────────────────────────────────────────────
   NAV-CONTACTS — блок «Связаться» в мобильном
   бургер-оверлее (телефон / Telegram / email).
   На десктопе скрыт — контакты есть в .nav-cta.
   ───────────────────────────────────────────── */
.nav-contacts { display: none; }
@media (max-width: 900px) {
  .nav-contacts {
    display: block;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed var(--line);
  }
  .nav-contacts-lab {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 10px;
  }
  .nav-contact-item {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 6px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--text) !important;
    font-size: 14.5px;
    font-family: var(--font-body);
    text-decoration: none;
    transition: border-color .15s, background .15s, color .15s;
  }
  .nav-contact-item:last-child { margin-bottom: 0; }
  .nav-contact-item svg {
    flex-shrink: 0;
    color: var(--accent);
  }
  .nav-contact-item:hover,
  .nav-contact-item:focus-visible {
    border-color: var(--accent);
    background: rgba(200,255,44,.06);
    color: var(--accent) !important;
  }
  .nav-contact-item:hover svg,
  .nav-contact-item:focus-visible svg { color: var(--accent); }
}

/* Reduce motion — точечно: убираем только бесконечные/тяжёлые анимации,
   плавные transitions (hover, focus, opacity) оставляем — они не мешают.
   Раньше было universal *{!important} — это убивало вообще всё. */
@media (prefers-reduced-motion: reduce) {
  /* Только infinite-анимации (вращения, циклы) — стоп */
  .hsv-hub-orbit,
  .hsv-hub-orbit-2,
  .hsv-hub-icon-inner,
  .hsv-3d-cube,
  .hsv-3d-render,
  .hsv-2d-slide,
  .hsv-camera .hsv-slate::before,
  .hsv-camera .hsv-iris::before,
  .hsv-camera .hsv-rec-dot,
  .hsv-price-card.c3,
  .hsv-about-card.is-big,
  .hsv-info-bar,
  .hsv-edu-card.c3,
  .hsv-corp-person,
  .hsv-pres-play,
  .hsv-ai-cursor,
  .hsv-ai-status-dot,
  .hsv-ad-cta,
  .scroll-cue { animation: none; }
  /* Reveal — мгновенное появление без задержки */
  .reveal { opacity: 1; transform: none; transition: none; }
  /* Scroll-behavior: smooth тоже убираем для удобства */
  html { scroll-behavior: auto; }
}

/* =========================================================
   SERVICES — новые компоненты (showreel, тарифы, процесс,
   галерея стилей, до/после, выбор-помощник)
   ========================================================= */

/* ── Showreel: сетка плееров ────────────────────────────── */
.showreel {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.showreel-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}
.showreel-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  margin-top: 12px;
}
.showreel-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  cursor: pointer;
  transition: border-color .25s, transform .25s;
}
.showreel-tile:hover { border-color: var(--accent); transform: translateY(-2px); }
.showreel-tile-hero {
  grid-row: 1 / -1;
  grid-column: 1 / 2;
  aspect-ratio: auto;
}
.showreel-tile video,
.showreel-tile img,
.showreel-poster {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.showreel-poster {
  background: linear-gradient(135deg, #1a1a26 0%, #0e0e16 100%);
  display: grid;
  place-items: center;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.showreel-poster::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(200,255,44,.08), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.04), transparent 50%);
}
.showreel-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.6) 100%);
}
.showreel-play-btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(200,255,44,.95);
  display: grid;
  place-items: center;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 30px rgba(200,255,44,.3);
}
.showreel-tile:hover .showreel-play-btn { transform: scale(1.08); }
.showreel-play-btn svg { fill: var(--accent-ink); margin-left: 3px; }
.showreel-info {
  position: absolute;
  left: 18px; bottom: 14px; right: 18px;
  z-index: 3;
}
.showreel-info-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -.01em;
  color: var(--text);
  line-height: 1.2;
}
.showreel-tile-hero .showreel-info-title { font-size: 24px; }
.showreel-info-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-top: 6px;
}
.showreel-cta {
  margin-top: 28px;
  text-align: center;
}

/* ── 3 тарифа: Express / Standard / Premium ─────────────── */
.tiers {
  background: var(--bg);
}
.tiers-head {
  text-align: center;
  margin-bottom: 56px;
}
.tiers-head .eyebrow { display: inline-block; }
.tiers-head h2 { margin: 18px auto 18px; max-width: 720px; }
.tiers-head .lead { max-width: 640px; margin: 0 auto; }
.tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.tier-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: border-color .25s, transform .25s;
}
.tier-card:hover { border-color: var(--line-2); }
.tier-card.is-popular {
  border-color: rgba(200,255,44,.4);
  background: linear-gradient(180deg, rgba(200,255,44,.06), var(--surface) 50%);
  transform: translateY(-8px);
}
.tier-pop-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  font-weight: 600;
}
.tier-name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-3);
}
.tier-card.is-popular .tier-name { color: var(--accent); }
.tier-tagline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-top: -8px;
}
.tier-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--line);
}
.tier-price-from {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.tier-price-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 38px;
  letter-spacing: -.03em;
  line-height: 1;
}
.tier-price-unit {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: .05em;
}
.tier-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.tier-list li {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-2);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.tier-list li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  flex-shrink: 0;
}
.tier-list li.muted::before { background: var(--text-3); }
.tier-list li.muted { color: var(--text-3); text-decoration: line-through; }
.tier-cta {
  margin-top: 4px;
}
.tier-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

/* ── Процесс-таймлайн (горизонтальный) ──────────────────── */
.process {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.process-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}
.process-rail {
  display: grid;
  grid-template-columns: repeat(var(--steps, 5), 1fr);
  gap: 14px;
  position: relative;
}
.process-rail::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 12%, var(--line-2) 88%, transparent);
  z-index: 0;
}
.process-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.process-step-num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.process-step-day {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.process-step-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: -.01em;
  line-height: 1.25;
  color: var(--text);
}
.process-step-body {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-2);
}

/* ── Галерея стилей (для 2D) ────────────────────────────── */
.style-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.style-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.style-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.style-card-preview {
  aspect-ratio: 1 / 1;
  position: relative;
  background: linear-gradient(135deg, #1a1a26 0%, #0e0e16 100%);
  overflow: hidden;
}
.style-card-preview::before,
.style-card-preview::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.style-card[data-style="flat"] .style-card-preview {
  background: linear-gradient(135deg, #2d5fff 0%, #c8ff2c 100%);
}
.style-card[data-style="liquid"] .style-card-preview {
  background: radial-gradient(circle at 30% 30%, #ff5b3d 0%, #c8ff2c 100%);
}
.style-card[data-style="character"] .style-card-preview {
  background: linear-gradient(135deg, #c8ff2c 0%, #1a1a26 100%);
}
.style-card[data-style="whiteboard"] .style-card-preview {
  background: #f4f4f5;
  color: var(--accent-ink);
}
.style-card[data-style="kinetic"] .style-card-preview {
  background: #0a0a0b;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--accent);
  letter-spacing: -.04em;
}
.style-card[data-style="kinetic"] .style-card-preview::before { content: "BIG IDEA"; position: static; }
.style-card-info {
  padding: 16px 18px 20px;
}
.style-card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -.01em;
  color: var(--text);
}
.style-card-body {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.45;
  margin-top: 6px;
}

/* ── До/после (для 3D) ─────────────────────────────────── */
.beforeafter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 48px;
}
.ba-side {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  overflow: hidden;
}
.ba-side.is-before {
  background:
    repeating-linear-gradient(45deg, #1a1a26 0px, #1a1a26 10px, #14141a 10px, #14141a 20px);
}
.ba-side.is-after {
  background: radial-gradient(circle at 50% 50%, #2d5fff 0%, #0a0a0b 80%);
}
.ba-label {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(10,10,11,.85);
  border: 1px solid var(--line-2);
  padding: 6px 12px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-2);
  z-index: 2;
}
.ba-side.is-after .ba-label {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.ba-content {
  position: absolute;
  bottom: 18px; left: 18px; right: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--text-2);
  text-transform: uppercase;
  z-index: 2;
}

/* ── Хаб /services/: выбор-помощник ─────────────────────── */
.helper-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-top: 48px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
}
.helper-card-side {
  border-right: 1px dashed var(--line);
  padding-right: 36px;
}
.helper-card-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
}
.helper-card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-top: 12px;
}
.helper-q {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.helper-q-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.helper-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.helper-opt {
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13.5px;
  color: var(--text-2);
  cursor: pointer;
  transition: all .2s;
}
.helper-opt:hover,
.helper-opt.is-active {
  border-color: var(--accent);
  color: var(--text);
  background: var(--accent-soft);
}
.helper-result {
  padding: 18px 20px;
  background: rgba(200,255,44,.06);
  border: 1px solid rgba(200,255,44,.25);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  display: none;
}
.helper-result.is-visible { display: block; }
.helper-result strong { color: var(--accent); }

/* ── Большие сервис-карточки (для /services/ хаба) ──────── */
.bigtech-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 48px;
}
.bigtech-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  transition: border-color .25s;
}
.bigtech-card:hover { border-color: var(--line-2); }
.bigtech-card.is-flag {
  background: linear-gradient(135deg, rgba(200,255,44,.08), var(--surface) 60%);
  border-color: rgba(200,255,44,.25);
}
.bigtech-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
}
.bigtech-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-top: 12px;
}
.bigtech-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
  margin-top: 16px;
  max-width: 56ch;
}
.bigtech-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 22px;
  list-style: none;
}
.bigtech-bullets li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--text-2);
  padding: 4px 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 100px;
}
.bigtech-cta {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.bigtech-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.bigtech-visual {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #1a1a26 0%, #0a0a0b 100%);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.bigtech-visual-emoji { font-size: 64px; opacity: .9; }
.bigtech-card.is-flag .bigtech-visual {
  background: radial-gradient(circle at 40% 40%, rgba(200,255,44,.15) 0%, #1a1a26 60%);
}

/* ── Под какие задачи (3 типа съёмки) ───────────────────── */
.usecases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  margin-top: 48px;
}
.usecase-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.usecase-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font-size: 24px;
}
.usecase-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.usecase-body {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-2);
  flex: 1;
}
.usecase-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.usecase-meta strong { color: var(--accent); font-weight: 500; }

/* ── Спеки оборудования (для videosemka) ────────────────── */
.gear {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.gear-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 48px;
}
.gear-cat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
}
.gear-cat-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.gear-cat ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gear-cat li {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.45;
}

/* ── Сравнительная таблица 2D vs 3D ─────────────────────── */
.versus-table {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  --versus-cols: 1.4fr 1fr 1fr;
}
.versus-table.cols-4 { --versus-cols: 1.4fr 1fr 1fr 1fr; }
.versus-row {
  display: grid;
  grid-template-columns: var(--versus-cols);
  border-bottom: 1px solid var(--line);
}
.versus-row:last-child { border-bottom: none; }
.versus-row.is-head {
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-3);
}
.versus-row.is-head .versus-cell { padding: 18px 22px; }
.versus-cell {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  background: var(--bg);
}
.versus-cell:last-child { border-right: none; }
.versus-cell.versus-crit {
  background: var(--surface);
  font-size: 13.5px;
  color: var(--text-2);
}
.versus-cell.versus-2d strong,
.versus-cell.versus-3d strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.01em;
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}
.versus-cell-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 6px;
}
.versus-cell.is-win { background: rgba(200,255,44,.05); }
.versus-cell.is-win strong { color: var(--accent); }

/* =========================================================
   RESPONSIVE для новых компонентов
   ========================================================= */
@media (max-width: 1080px) {
  .showreel-head, .process-head { grid-template-columns: 1fr; gap: 28px; }
  .showreel-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .showreel-tile-hero { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16/9; }
  .tier-grid { grid-template-columns: 1fr 1fr; }
  .tier-card.is-popular { transform: none; }
  .process-rail { grid-template-columns: 1fr 1fr 1fr; }
  .process-rail::before { display: none; }
  .style-gallery { grid-template-columns: 1fr 1fr 1fr; }
  .helper-card { grid-template-columns: 1fr; gap: 24px; }
  .helper-card-side { border-right: none; border-bottom: 1px dashed var(--line); padding-right: 0; padding-bottom: 24px; }
  .bigtech-card { grid-template-columns: 1fr; gap: 28px; padding: 32px 28px; }
  .bigtech-visual { order: -1; aspect-ratio: 16/9; }
  .usecases-grid { grid-template-columns: 1fr 1fr; }
  .gear-grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   HERO-VISUAL для страниц услуг (вариант А)
   Каждая страница — свой тематический визуал справа
   ========================================================= */
.hero-service .hero-grid {
  grid-template-columns: 1.1fr 0.9fr !important;
  gap: 56px;
  align-items: center;
}
.hsv {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface-2) 0%, #0a0a0b 100%);
  border: 1px solid var(--line);
}

/* ── Видеосъёмка: слейт + кадр-превью ────────────────── */
.hsv-camera {
  background:
    radial-gradient(circle at 70% 30%, rgba(200,255,44,.12), transparent 50%),
    linear-gradient(135deg, #18181f 0%, #0a0a0b 100%);
}
.hsv-camera .hsv-slate {
  position: absolute;
  top: 12%; left: 12%;
  width: 76%; height: 30%;
  background: #1a1a22;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  gap: 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
  transform: rotate(-4deg);
}
.hsv-camera .hsv-slate::before {
  content: "";
  position: absolute;
  top: -10px; left: -1px; right: -1px;
  height: 18px;
  background:
    repeating-linear-gradient(45deg, #c8ff2c 0px, #c8ff2c 12px, #0a0a0b 12px, #0a0a0b 24px);
  border-radius: 8px 8px 0 0;
  border: 1px solid var(--line-2);
  border-bottom: none;
  transform-origin: bottom left;
  animation: slate-clap 4s ease-in-out infinite;
}
@keyframes slate-clap {
  0%, 78%, 100% { transform: rotate(0deg); }
  82% { transform: rotate(-22deg); }
  88% { transform: rotate(0deg); }
}
.hsv-camera .hsv-slate-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-3);
}
.hsv-camera .hsv-slate-big {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -.02em;
  color: var(--text);
  margin-top: auto;
}
.hsv-camera .hsv-slate-big em {
  color: var(--accent);
  font-style: normal;
}
.hsv-camera .hsv-rec {
  position: absolute;
  bottom: 18%; right: 14%;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10,10,11,.85);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text);
}
.hsv-camera .hsv-rec-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff3d3d;
  box-shadow: 0 0 12px #ff3d3d;
  animation: rec-blink 1.4s ease-in-out infinite;
}
@keyframes rec-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
.hsv-camera .hsv-iris {
  position: absolute;
  bottom: 14%; left: 14%;
  width: 30%; aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 40%, #2a2a36 0%, #0a0a0b 60%),
    conic-gradient(from 0deg, #1a1a22, #2a2a36, #1a1a22, #2a2a36);
  border: 2px solid var(--line-2);
  display: grid;
  place-items: center;
}
.hsv-camera .hsv-iris::before {
  content: "";
  width: 35%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #c8ff2c 0%, transparent 60%);
  opacity: .7;
  animation: iris-pulse 3s ease-in-out infinite;
}
@keyframes iris-pulse {
  0%, 100% { transform: scale(1); opacity: .5; }
  50% { transform: scale(1.4); opacity: .9; }
}

/* ── 2D-анимация: ротатор 5 стилей ────────────────────── */
.hsv-2d {
  background: #14141a;
  display: grid;
  place-items: center;
}
.hsv-2d-stage {
  position: relative;
  width: 70%; aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
}
.hsv-2d-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -.03em;
  color: #fff;
  opacity: 0;
  animation: hsv2d-cycle 25s linear infinite;
}
.hsv-2d-slide[data-i="1"] { background: linear-gradient(135deg, #2d5fff 0%, #c8ff2c 100%); animation-delay: 0s; }
.hsv-2d-slide[data-i="2"] { background: radial-gradient(circle at 30% 30%, #ff5b3d 0%, #c8ff2c 100%); animation-delay: -5s; }
.hsv-2d-slide[data-i="3"] { background: linear-gradient(135deg, #c8ff2c 0%, #1a1a26 100%); color: #1a1a26; animation-delay: -10s; }
.hsv-2d-slide[data-i="4"] { background: #f4f4f5; color: #1a1a26; animation-delay: -15s; }
.hsv-2d-slide[data-i="5"] { background: #0a0a0b; color: #c8ff2c; animation-delay: -20s; }

@keyframes hsv2d-cycle {
  0%, 18%, 100% { opacity: 0; }
  2%, 16% { opacity: 1; }
}
.hsv-2d-label {
  position: absolute;
  bottom: 12%;
  left: 50%; transform: translateX(-50%);
  background: rgba(10,10,11,.92);
  border: 1px solid var(--line-2);
  padding: 8px 16px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  z-index: 5;
  animation: hsv2d-label 25s linear infinite;
}
@keyframes hsv2d-label {
  0%, 19%   { content: "Flat"; }
  20%, 39%  { content: "Liquid"; }
  40%, 59%  { content: "Character"; }
  60%, 79%  { content: "Whiteboard"; }
  80%, 100% { content: "Kinetic"; }
}
.hsv-2d-label span {
  display: inline-block;
  animation: hsv2d-label-text 25s linear infinite;
}
@keyframes hsv2d-label-text {
  0%, 18%   { content: "Flat"; }
  20%, 38%  { content: "Liquid"; }
  40%, 58%  { content: "Character"; }
  60%, 78%  { content: "Whiteboard"; }
  80%, 100% { content: "Kinetic"; }
}

/* ── 3D-анимация: wireframe → render ─────────────────── */
.hsv-3d {
  background:
    radial-gradient(circle at 50% 50%, #1a1a2e 0%, #0a0a0b 80%);
  display: grid;
  place-items: center;
  perspective: 800px;
}
.hsv-3d-cube {
  width: 50%; aspect-ratio: 1;
  position: relative;
  transform-style: preserve-3d;
  animation: cube-rotate 14s linear infinite;
}
@keyframes cube-rotate {
  0%   { transform: rotateX(-20deg) rotateY(0deg); }
  100% { transform: rotateX(-20deg) rotateY(360deg); }
}
.hsv-3d-face {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--accent);
  background: rgba(200,255,44,.04);
  display: grid;
  place-items: center;
}
.hsv-3d-face::before {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px dashed rgba(200,255,44,.35);
}
.hsv-3d-face.f1 { transform: rotateY(0deg) translateZ(50%); }
.hsv-3d-face.f2 { transform: rotateY(90deg) translateZ(50%); }
.hsv-3d-face.f3 { transform: rotateY(180deg) translateZ(50%); }
.hsv-3d-face.f4 { transform: rotateY(-90deg) translateZ(50%); }
.hsv-3d-face.f5 { transform: rotateX(90deg) translateZ(50%); }
.hsv-3d-face.f6 { transform: rotateX(-90deg) translateZ(50%); }

.hsv-3d-render {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(200,255,44,.8) 0%, rgba(200,255,44,.15) 30%, transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(45,95,255,.4) 0%, transparent 50%);
  filter: blur(20px);
  opacity: .8;
  animation: render-pulse 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes render-pulse {
  0%, 100% { transform: scale(.9); opacity: .5; }
  50% { transform: scale(1.1); opacity: .9; }
}
.hsv-3d-label {
  position: absolute;
  bottom: 10%; left: 50%;
  transform: translateX(-50%);
  background: rgba(10,10,11,.92);
  border: 1px solid var(--line-2);
  padding: 8px 16px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  z-index: 5;
}

/* ── Анимация хаб: split 2D / 3D ─────────────────────── */
.hsv-anim {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
/* Обе половины строго одной высоты — ровный вертикальный сплит */
.hsv-anim-half {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 0;
}
.hsv-anim-half.is-2d {
  background: linear-gradient(135deg, #2d5fff 0%, #c8ff2c 100%);
}
.hsv-anim-half.is-3d {
  background:
    radial-gradient(circle at 50% 45%, #1a1a2e 0%, #0a0a0b 80%);
  border-left: 1px solid var(--line-2);
  perspective: 640px;
}
.hsv-anim-emoji {
  font-size: clamp(40px, 6vw, 64px);
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.4));
}
/* 2D-сторона: плоское «in-plane» движение карандаша */
.hsv-anim-half.is-2d .hsv-anim-emoji {
  animation: hsv-anim-2d-float 5s ease-in-out infinite;
}
@keyframes hsv-anim-2d-float {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50%      { transform: translateY(-10px) rotate(4deg); }
}
.hsv-anim-half .hsv-anim-label {
  position: absolute;
  bottom: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hsv-anim-half.is-2d .hsv-anim-label { color: #0a0a0b; left: 18px; }
.hsv-anim-half.is-3d .hsv-anim-label { color: var(--accent); right: 18px; }

/* 3D-сторона: настоящий 3D-куб, вращается в объёме (rotateX + rotateY) */
.hsv-anim-cube {
  width: 92px;
  height: 92px;
  position: relative;
  transform-style: preserve-3d;
  animation: hsv-anim-cube-spin 14s linear infinite;
}
@keyframes hsv-anim-cube-spin {
  from { transform: rotateX(-24deg) rotateY(0deg); }
  to   { transform: rotateX(-24deg) rotateY(360deg); }
}
.hac-face {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--accent);
  background: rgba(200,255,44,.05);
  box-shadow: inset 0 0 24px rgba(200,255,44,.14);
}
.hac-face::before {
  content: "";
  position: absolute;
  inset: 20%;
  border: 1px dashed rgba(200,255,44,.4);
}
.hac-f1 { transform: rotateY(0deg)   translateZ(46px); }
.hac-f2 { transform: rotateY(90deg)  translateZ(46px); }
.hac-f3 { transform: rotateY(180deg) translateZ(46px); }
.hac-f4 { transform: rotateY(-90deg) translateZ(46px); }
.hac-f5 { transform: rotateX(90deg)  translateZ(46px); }
.hac-f6 { transform: rotateX(-90deg) translateZ(46px); }

/* ── Хаб /services/: орбита из 3 икон ──────────────── */
.hsv-hub {
  background:
    radial-gradient(circle at 50% 50%, rgba(200,255,44,.08) 0%, transparent 60%),
    linear-gradient(135deg, var(--surface-2) 0%, #0a0a0b 100%);
  display: grid;
  place-items: center;
}
.hsv-hub-center {
  width: 30%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(14px, 1.5vw, 18px);
  letter-spacing: -.02em;
  color: var(--accent-ink);
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 0 40px rgba(200,255,44,.3);
  position: relative;
  z-index: 2;
}
.hsv-hub-orbit {
  position: absolute;
  inset: 14%;
  border: 1px dashed var(--line-2);
  border-radius: 50%;
  animation: hub-rotate 24s linear infinite;
}
.hsv-hub-orbit-2 {
  position: absolute;
  inset: 28%;
  border: 1px dashed rgba(200,255,44,.15);
  border-radius: 50%;
  animation: hub-rotate-reverse 32s linear infinite;
}
@keyframes hub-rotate {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}
@keyframes hub-rotate-reverse {
  from { transform: rotate(0); }
  to   { transform: rotate(-360deg); }
}
/* Иконки внутри вращающейся орбиты — следуют её движению.
   Позиции на вписанной окружности орбиты (центр 50%/50%, радиус 50% от орбиты):
   • Верх (12 ч): top: 0%,   left: 50%
   • 4 ч:        top: 75%,  left: 93.3%
   • 8 ч:        top: 75%,  left: 6.7%   */
.hsv-hub-icon {
  position: absolute;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line-2);
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
  z-index: 3;
  margin-left: -28px;
  margin-top: -28px;
}
.hsv-hub-icon.i1 { top: 0%;    left: 50%;   }
.hsv-hub-icon.i2 { top: 75%;   left: 93.3%; }
.hsv-hub-icon.i3 { top: 75%;   left: 6.7%;  }
/* Контр-вращение содержимого — чтобы эмодзи оставались вертикально */
.hsv-hub-icon-inner {
  display: grid;
  place-items: center;
  width: 100%; height: 100%;
  font-size: 24px;
  animation: hub-rotate-reverse 24s linear infinite;
}

/* =========================================================
   HSV для ТИП-страниц (6 вариантов под разные форматы)
   ========================================================= */

/* ── РЕКЛАМНЫЙ — экран ТВ с CTA «BUY» ───────────────── */
.hsv-ad {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,91,61,.18), transparent 55%),
    linear-gradient(135deg, #1a1a22 0%, #0a0a0b 100%);
  display: grid;
  place-items: center;
}
.hsv-ad-tv {
  width: 76%;
  aspect-ratio: 16/9;
  background:
    linear-gradient(135deg, rgba(200,255,44,.05) 0%, transparent 100%),
    #0a0a0b;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,.5);
}
.hsv-ad-tv::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 4px, rgba(255,255,255,.02) 4px, rgba(255,255,255,.02) 5px);
  pointer-events: none;
}
.hsv-ad-tv-time {
  position: absolute;
  top: 12px; right: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #ff5b3d;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255,91,61,.15);
  border: 1px solid rgba(255,91,61,.4);
  z-index: 3;
}
.hsv-ad-tv-brand {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 3vw, 32px);
  letter-spacing: -.03em;
  color: rgba(255,255,255,.85);
  text-shadow: 0 0 30px rgba(200,255,44,.4);
}
.hsv-ad-cta {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -.01em;
  padding: 9px 22px;
  border-radius: 100px;
  animation: ad-cta-pulse 1.8s ease-in-out infinite;
}
@keyframes ad-cta-pulse {
  0%, 100% { transform: translateX(-50%) scale(1); box-shadow: 0 0 0 0 rgba(200,255,44,.5); }
  50%      { transform: translateX(-50%) scale(1.06); box-shadow: 0 0 0 12px rgba(200,255,44,0); }
}

/* ── ПРЕЗЕНТАЦИОННЫЙ — браузер с hero-видео ─────────── */
.hsv-presentation {
  background:
    radial-gradient(circle at 70% 30%, rgba(200,255,44,.1), transparent 55%),
    linear-gradient(135deg, #14141a 0%, #0a0a0b 100%);
  display: grid;
  place-items: center;
}
.hsv-pres-browser {
  width: 82%;
  aspect-ratio: 16/10;
  background: #14141a;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0,0,0,.5);
  display: flex;
  flex-direction: column;
}
.hsv-pres-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: #1a1a22;
  border-bottom: 1px solid var(--line);
}
.hsv-pres-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line-2);
}
.hsv-pres-dot:nth-child(1) { background: #ff5b3d; }
.hsv-pres-dot:nth-child(2) { background: #ffce47; }
.hsv-pres-dot:nth-child(3) { background: var(--accent); }
.hsv-pres-url {
  flex: 1;
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  background: var(--surface-2);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: .04em;
}
.hsv-pres-screen {
  flex: 1;
  position: relative;
  background:
    linear-gradient(135deg, #1a1a26 0%, #0a0a0b 100%);
  display: grid;
  place-items: center;
}
.hsv-pres-play {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 30px rgba(200,255,44,.4);
  animation: pres-play-pulse 2.2s ease-in-out infinite;
}
@keyframes pres-play-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.07); }
}
.hsv-pres-play svg { fill: var(--accent-ink); margin-left: 4px; }
.hsv-pres-tag {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(200,255,44,.1);
  border: 1px solid rgba(200,255,44,.3);
}

/* ── ОБУЧАЮЩИЙ — стопка серий ──────────────────────── */
.hsv-edu {
  background:
    linear-gradient(135deg, #14141a 0%, #0a0a0b 100%);
  display: grid;
  place-items: center;
}
/* Плейлист курса: три урока в вертикальном списке, активный — лайм. */
.hsv-edu-stack {
  position: relative;
  width: 78%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  background: rgba(20,20,26,.6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(0,0,0,.45);
}
.hsv-edu-stack::before {
  content: "ПЛЕЙЛИСТ · МАРКЕТИНГ B2B";
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--text-3);
  text-transform: uppercase;
  padding: 4px 4px 8px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 4px;
}
.hsv-edu-card {
  position: static;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  transform: none !important;
  box-shadow: none;
}
.hsv-edu-card.c1 { opacity: .55; }
.hsv-edu-card.c2 { opacity: .8; }
.hsv-edu-card.c3 {
  background: linear-gradient(135deg, rgba(200,255,44,.1), rgba(200,255,44,.02));
  border-color: rgba(200,255,44,.45);
  opacity: 1;
  position: relative;
}
.hsv-edu-card.c3::after {
  content: "▶";
  font-size: 12px;
  color: var(--accent-ink);
  background: var(--accent);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(200,255,44,.12);
  animation: edu-pulse 2.2s ease-in-out infinite;
}
@keyframes edu-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(200,255,44,.12); }
  50%      { box-shadow: 0 0 0 8px rgba(200,255,44,.05); }
}
.hsv-edu-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: center;
  padding: 4px 0;
  border-right: 1px dashed var(--line);
}
.hsv-edu-card.c3 .hsv-edu-num { color: var(--accent); }
.hsv-edu-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -.01em;
  color: var(--text);
  margin: 0;
}
.hsv-edu-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding-right: 36px; /* место под play-кружок у активной строки */
}
.hsv-edu-card:not(.c3) .hsv-edu-meta { padding-right: 0; }

/* ── КОРПОРАТИВНЫЙ/HR — здание + команда ─────────── */
.hsv-corp {
  background:
    radial-gradient(circle at 50% 80%, rgba(200,255,44,.1), transparent 60%),
    linear-gradient(180deg, #1a1a22 0%, #0a0a0b 100%);
  display: grid;
  place-items: end center;
  padding-bottom: 12%;
  position: relative;
}
.hsv-corp-bldg {
  width: 50%;
  height: 60%;
  background:
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line-2);
  border-radius: 6px 6px 0 0;
  position: relative;
}
.hsv-corp-bldg::before,
.hsv-corp-bldg::after {
  content: "";
  position: absolute;
  background:
    linear-gradient(transparent 30%, rgba(200,255,44,.5) 30% 70%, transparent 70%),
    linear-gradient(90deg, transparent 30%, rgba(200,255,44,.5) 30% 70%, transparent 70%);
  background-size: 100% 25%, 25% 100%;
  inset: 14% 14% 24% 14%;
  opacity: .25;
}
.hsv-corp-flag {
  position: absolute;
  top: 4%; left: 50%;
  width: 1px; height: 14%;
  background: var(--accent);
  transform: translateX(-50%);
}
.hsv-corp-flag::after {
  content: "";
  position: absolute;
  top: 0; left: 1px;
  width: 14px; height: 9px;
  background: var(--accent);
}
.hsv-corp-team {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hsv-corp-person {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font-size: 16px;
  box-shadow: 0 6px 14px rgba(0,0,0,.4);
}
.hsv-corp-person:nth-child(2) { animation: corp-bob 2.2s ease-in-out infinite; }
.hsv-corp-person:nth-child(3) { animation: corp-bob 2.2s ease-in-out -.7s infinite; }
.hsv-corp-person:nth-child(4) { animation: corp-bob 2.2s ease-in-out -1.4s infinite; }
@keyframes corp-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* ── ИНФОГРАФИКА — анимированные столбцы ──────────── */
.hsv-infografika {
  background: linear-gradient(135deg, #14141a 0%, #0a0a0b 100%);
  display: grid;
  place-items: center;
}
.hsv-info-chart {
  width: 70%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}
.hsv-info-chart::before {
  content: "+186%";
  position: absolute;
  top: 16px;
  left: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -.02em;
  color: var(--accent);
}
.hsv-info-bar {
  flex: 1;
  background: var(--accent);
  border-radius: 4px 4px 0 0;
  transform-origin: bottom;
  animation: info-bar 3.5s ease-in-out infinite;
}
.hsv-info-bar:nth-child(1) { height: 20%; animation-delay: 0s; }
.hsv-info-bar:nth-child(2) { height: 45%; animation-delay: .2s; }
.hsv-info-bar:nth-child(3) { height: 65%; animation-delay: .4s; }
.hsv-info-bar:nth-child(4) { height: 80%; animation-delay: .6s; }
.hsv-info-bar:nth-child(5) { height: 95%; animation-delay: .8s; }
@keyframes info-bar {
  0%, 100% { transform: scaleY(.4); opacity: .6; }
  50%      { transform: scaleY(1);  opacity: 1; }
}

/* ── О СТУДИИ — коллаж 4 карточек-фактов о&nbsp;студии ── */
.hsv-about {
  background:
    radial-gradient(circle at 30% 30%, rgba(200,255,44,.1), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(45,95,255,.06), transparent 50%),
    linear-gradient(135deg, #14141a 0%, #0a0a0b 100%);
  padding: 6%;
  display: grid;
  place-items: center;
}
.hsv-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  width: 100%;
  height: 100%;
}
.hsv-about-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.hsv-about-card.is-big {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(200,255,44,.12), var(--surface) 60%);
  border-color: rgba(200,255,44,.4);
  padding: 22px 26px;
  animation: about-glow 5s ease-in-out infinite;
}
@keyframes about-glow {
  0%, 100% { box-shadow: 0 10px 24px rgba(0,0,0,.35), 0 0 0 rgba(200,255,44,0); }
  50%      { box-shadow: 0 10px 24px rgba(0,0,0,.35), 0 0 28px rgba(200,255,44,.15); }
}
.hsv-about-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-3);
}
.hsv-about-card.is-big .hsv-about-eyebrow { color: var(--accent); }
.hsv-about-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1;
}
.hsv-about-card.is-big .hsv-about-num {
  font-size: clamp(32px, 4vw, 48px);
}
.hsv-about-meta {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.4;
}
.hsv-about-tech {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}
.hsv-about-tech span {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font-size: 14px;
}
.hsv-about-logos {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: .05em;
}
.hsv-about-logos span {
  padding: 3px 8px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 100px;
}

/* ── ЦЕНЫ — стопка тарифных карточек ───────────────── */
.hsv-price {
  background:
    radial-gradient(circle at 70% 30%, rgba(200,255,44,.1), transparent 55%),
    linear-gradient(135deg, #14141a 0%, #0a0a0b 100%);
  display: grid;
  place-items: center;
  padding: 8% 6%;
}
.hsv-price-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 5/4;
}
.hsv-price-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 18px 40px rgba(0,0,0,.5);
  width: 70%;
  left: 50%;
}
.hsv-price-card.c1 {
  top: 0;
  transform: translateX(-65%) rotate(-7deg);
  opacity: .65;
  z-index: 1;
}
.hsv-price-card.c2 {
  top: 22%;
  transform: translateX(-35%) rotate(4deg);
  opacity: .85;
  z-index: 2;
}
.hsv-price-card.c3 {
  top: 45%;
  transform: translateX(-50%) rotate(-2deg);
  z-index: 3;
  background: linear-gradient(135deg, rgba(200,255,44,.1), var(--surface));
  border-color: rgba(200,255,44,.4);
  animation: hsv-price-float 4s ease-in-out infinite;
}
@keyframes hsv-price-float {
  0%, 100% { transform: translateX(-50%) rotate(-2deg) translateY(0); }
  50%      { transform: translateX(-50%) rotate(-2deg) translateY(-6px); }
}
.hsv-price-name {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-3);
}
.hsv-price-card.c3 .hsv-price-name { color: var(--accent); }
.hsv-price-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1;
}
.hsv-price-card.c3 .hsv-price-num { color: var(--text); }
.hsv-price-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}
.hsv-price-badge {
  position: absolute;
  top: -10px; right: 18px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

/* ── AI-ВИДЕОРОЛИК — терминал с промптом ──────────── */
.hsv-ai-rolik {
  background:
    radial-gradient(circle at 30% 30%, rgba(200,255,44,.08), transparent 60%),
    linear-gradient(135deg, #14141a 0%, #0a0a0b 100%);
  display: grid;
  place-items: center;
}
.hsv-ai-term {
  width: 84%;
  background: rgba(10,10,11,.9);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 18px 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-2);
  position: relative;
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
}
.hsv-ai-line {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hsv-ai-prompt-label { color: var(--accent); }
.hsv-ai-typed { color: var(--text); }
.hsv-ai-cursor {
  display: inline-block;
  width: 7px; height: 14px;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: middle;
  animation: ai-cursor-blink 1s steps(2) infinite;
}
@keyframes ai-cursor-blink {
  50%      { opacity: 0; }
}
.hsv-ai-status {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.hsv-ai-status-on {
  display: flex; gap: 6px; align-items: center;
}
.hsv-ai-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: ai-dot 1.2s ease-in-out infinite;
}
@keyframes ai-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent); }
  50%      { opacity: .3; box-shadow: 0 0 0 var(--accent); }
}

/* =========================================================
   PORTFOLIO — фильтры + галерея
   ========================================================= */
.pf-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  align-items: center;
}
.pf-divider {
  display: inline-block;
  width: 1px;
  height: 22px;
  background: var(--line-2);
  margin: 0 6px;
  flex-shrink: 0;
}
.pf-chip {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-2);
  padding: 9px 16px;
  border-radius: 100px;
  font-size: 13.5px;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font-display);
}
.pf-chip:hover { border-color: var(--line-2); color: var(--text); }
.pf-chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 500;
}
.pf-chip-count {
  font-family: var(--font-mono);
  font-size: 11px;
  margin-left: 6px;
  opacity: .6;
}

.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.pf-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s, transform .25s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.pf-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.pf-poster {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a26 0%, #0a0a0b 100%);
  display: grid;
  place-items: center;
}
.pf-poster-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-3);
}
.pf-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.5) 100%);
  opacity: 0;
  transition: opacity .2s;
}
.pf-card:hover .pf-play { opacity: 1; }
.pf-play-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(200,255,44,.95);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(200,255,44,.3);
}
.pf-play-btn svg { fill: var(--accent-ink); margin-left: 3px; }

.pf-tags {
  position: absolute;
  top: 14px; left: 14px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.pf-tag {
  background: rgba(10,10,11,.85);
  border: 1px solid var(--line-2);
  padding: 4px 10px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
}
.pf-tag.is-tech-camera { color: #4dd0ff; border-color: rgba(77,208,255,.4); }
.pf-tag.is-tech-anim { color: #c8ff2c; border-color: rgba(200,255,44,.4); }
.pf-tag.is-tech-ai { color: #ff8b3d; border-color: rgba(255,139,61,.4); }

.pf-info {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pf-client {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.pf-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -.01em;
  line-height: 1.25;
  color: var(--text);
}
.pf-meta {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  flex: 1;
}
.pf-metrics {
  display: flex;
  gap: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pf-metrics-num {
  color: var(--accent);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: -.01em;
  display: block;
  margin-bottom: 2px;
}
.pf-metrics-lab { color: var(--text-3); }

.pf-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--text-3);
  font-size: 15px;
}
.pf-empty-icon { font-size: 48px; margin-bottom: 14px; opacity: .4; }

@media (max-width: 1080px) {
  .pf-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .pf-grid { grid-template-columns: 1fr; gap: 14px; }
  .pf-filter { gap: 6px; }
  .pf-chip { padding: 7px 12px; font-size: 12.5px; }
  .pf-chip-count { font-size: 10px; }
  .pf-info { padding: 18px 20px 20px; }
}

/* =========================================================
   КОНВЕРСИОННЫЕ БЛОКИ для тип-страниц
   ========================================================= */

/* ── Buyer persona (3 портрета покупателя) ───────────── */
.persona-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  margin-top: 48px;
}
.persona-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.persona-card::before {
  content: "";
  position: absolute;
  top: -1px; left: 30px; right: 30px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}
.persona-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font-size: 26px;
}
.persona-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
}
.persona-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.persona-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
}
.persona-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: -4px;
  margin-bottom: -10px;
}
.persona-block-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 4px;
  margin-bottom: -8px;
}
.persona-task {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text);
  font-weight: 400;
}
.persona-solutions {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: -4px;
  margin-bottom: 6px;
}
.persona-solutions li {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
  padding-left: 26px;
  position: relative;
}
.persona-solutions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px; height: 16px;
  background: rgba(200,255,44,.12);
  border: 1px solid rgba(200,255,44,.5);
  border-radius: 50%;
}
.persona-solutions li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 8px; height: 4px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}
.persona-outcome {
  margin-top: auto;
  padding: 14px 16px;
  background: rgba(200,255,44,.06);
  border: 1px solid rgba(200,255,44,.25);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.persona-outcome-lab {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
}
.persona-outcome-val {
  font-size: 13.5px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
}

/* ── Case deep-dive (2-колоночные карточки кейсов) ──── */
.case-deep {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
}
.case-deep::before {
  content: "";
  position: absolute;
  top: -1px; left: 30px; right: 30px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}
.case-deep-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.case-deep-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
}
.case-deep-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: var(--text);
}
.case-deep-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
}
.case-deep-text strong { color: var(--text); font-weight: 500; }
.case-deep-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.case-deep-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.case-deep-list li {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
  padding-left: 26px;
  position: relative;
}
.case-deep-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px; height: 16px;
  background: rgba(200,255,44,.12);
  border: 1px solid rgba(200,255,44,.5);
  border-radius: 50%;
}
.case-deep-list li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 8px; height: 4px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}
.case-deep-outcome {
  padding: 14px 16px;
  background: rgba(200,255,44,.06);
  border: 1px solid rgba(200,255,44,.25);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}
.case-deep-outcome-lab {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
}
.case-deep-outcome-val {
  font-size: 13.5px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
}
.case-deep-lesson {
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
}
.case-deep-lesson strong { color: var(--accent); font-weight: 500; }

@media (max-width: 1080px) {
  .case-deep { grid-template-columns: 1fr; gap: 28px; padding: 30px 32px; }
  .case-deep-title { font-size: 22px; }
}
@media (max-width: 720px) {
  .case-deep { padding: 24px 22px; gap: 22px; }
  .case-deep-title { font-size: 20px; }
}

/* ── Objections (5 типичных возражений с разворотом) ── */
.objections {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 48px;
}
.objection {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.objection[open],
.objection:hover { border-color: var(--line-2); }
.objection summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 18px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -.01em;
  color: var(--text);
}
.objection summary::-webkit-details-marker { display: none; }
.objection-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,91,61,.12);
  border: 1px solid rgba(255,91,61,.3);
  color: var(--danger);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}
.objection-quote {
  font-style: italic;
}
.objection-quote::before {
  content: "«";
  margin-right: 2px;
  color: var(--text-3);
}
.objection-quote::after {
  content: "»";
  margin-left: 2px;
  color: var(--text-3);
}
.objection-toggle {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  color: var(--text-3);
  transition: transform .2s;
}
.objection[open] .objection-toggle { transform: rotate(45deg); color: var(--accent); }
.objection-body {
  padding: 0 26px 24px 80px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-2);
  border-top: 1px dashed var(--line);
  padding-top: 18px;
  margin-top: -2px;
}
.objection-body strong { color: var(--text); font-weight: 500; }
.objection-body ul {
  list-style: none;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.objection-body ul li {
  padding-left: 18px;
  position: relative;
}
.objection-body ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ── Versus others (Mediabanda vs альтернативы) ────── */
.vo-wrap {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.vo-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.vo-row:last-child { border-bottom: none; }
.vo-row.is-head {
  background: var(--surface);
}
.vo-cell {
  padding: 18px 18px;
  border-right: 1px solid var(--line);
  background: var(--bg);
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.5;
}
.vo-cell:last-child { border-right: none; }
.vo-cell.vo-crit {
  background: var(--surface);
  color: var(--text-2);
  font-size: 13px;
}
.vo-row.is-head .vo-cell {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 16px 16px;
}
.vo-row.is-head .vo-us {
  color: var(--accent);
  background: rgba(200,255,44,.06);
}
.vo-us {
  background: rgba(200,255,44,.04) !important;
  color: var(--text) !important;
  font-weight: 500;
}
.vo-good { color: var(--accent); }
.vo-bad { color: var(--danger); }
.vo-mid { color: var(--warn); }
.vo-row.is-head .vo-cell:first-child { color: var(--text-3); }

/* Адаптив versus-others — на мобильном горизонтальный скролл со
   sticky-колонкой «Критерий» слева, как в .versus-table.cols-4.
   Колонок 5 — Критерий + Фрилансер + Шаблонная + Штатная + Mediabanda. */
@media (max-width: 900px) {
  .vo-wrap {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
    margin-top: 28px;
  }
  .vo-row {
    display: grid;
    grid-template-columns: 116px 128px 128px 128px 128px;
    min-width: 628px;
    border-bottom: 1px solid var(--line);
    gap: 0;
    margin-bottom: 0;
  }
  .vo-row:last-child { border-bottom: none; }
  .vo-row.is-head {
    display: grid;
    background: var(--surface);
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-3);
    border-bottom: 1px solid var(--line);
  }
  .vo-row.is-head .vo-cell {
    padding: 11px 12px;
    background: var(--surface);
  }
  .vo-cell {
    padding: 12px 12px;
    border-right: 1px solid var(--line);
    border-bottom: none;
    background: var(--bg);
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    border-radius: 0;
  }
  .vo-cell:last-child { border-right: none; }
  /* убираем чипы-метки — заголовок столбцов виден сверху таблицы */
  .vo-cell:not(.vo-crit)::before { display: none; content: none; }
  /* sticky «Критерий» слева — пользователь всегда видит, что сравнивает */
  .vo-cell.vo-crit {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--surface);
    border-right: 1.5px solid var(--line);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 12px 12px;
    margin: 0;
  }
  .vo-row.is-head .vo-cell:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: var(--surface);
    border-right: 1.5px solid var(--line);
  }
  .vo-us {
    background: rgba(200,255,44,.06) !important;
    color: var(--text) !important;
    font-weight: 500;
  }
  .vo-row.is-head .vo-us {
    color: var(--accent) !important;
    background: rgba(200,255,44,.08) !important;
  }
}

@media (max-width: 1080px) {
  .persona-grid { grid-template-columns: 1fr 1fr; }
  .objection summary { padding: 18px 20px; font-size: 15.5px; grid-template-columns: 30px 1fr auto; gap: 14px; }
  .objection-body { padding: 14px 20px 22px 64px; font-size: 13.5px; }
}
@media (max-width: 720px) {
  .persona-grid { grid-template-columns: 1fr; gap: 14px; }
  .persona-card { padding: 24px 22px; }
  .objection summary { font-size: 14.5px; padding: 16px 18px; }
  .objection-body { padding: 12px 18px 20px 56px; }
}

/* ── Адаптив hero-visual ─────────────────────────────── */
@media (max-width: 1080px) {
  .hero-service .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  .hsv { max-width: 460px; margin: 0 auto; width: 100%; }
}
@media (max-width: 720px) {
  .hsv { max-width: 100%; }
  .hsv-camera .hsv-slate-big { font-size: 17px; }
  .hsv-camera .hsv-slate { padding: 10px 14px; gap: 6px; }
  .hsv-2d-slide { font-size: 26px; }
  .hsv-hub-icon { width: 44px; height: 44px; margin-left: -22px; margin-top: -22px; }
  .hsv-hub-icon-inner { font-size: 19px; }
  /* Те же 3 точки на орбите — позиции в процентах не зависят от ширины */
}

@media (max-width: 720px) {
  .showreel-grid { grid-template-columns: 1fr; gap: 12px; }
  .tier-grid { grid-template-columns: 1fr; gap: 14px; }
  .process-rail { grid-template-columns: 1fr; gap: 10px; }
  .style-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .beforeafter { grid-template-columns: 1fr; }
  .helper-card { padding: 24px 20px; }
  .helper-options { gap: 6px; }
  .helper-opt { padding: 8px 12px; font-size: 12.5px; }
  .bigtech-card { padding: 24px 20px; }
  .bigtech-title { font-size: 24px; }
  .usecases-grid { grid-template-columns: 1fr; gap: 12px; }
  .gear-grid { grid-template-columns: 1fr; }

  /* ── VERSUS-TABLE на мобильном: каждая строка превращается
        в самостоятельную карточку с заголовком-критерием сверху
        и опциями ниже. Это читаемо и понятно.
        Исключение — cols-4 (см. отдельный блок ниже): там
        горизонтальный скролл со sticky-критерием. ─────────── */
  /* Обе variations versus-table — 3-col (2D vs 3D) и cols-4 (Съёмка/Анимация/AI)
     теперь идут в одном паттерне: горизонтальный скролл со sticky «Критерий».
     Базовые правила здесь; колоночные ширины переопределяются ниже. */
  .versus-cell.is-win {
    background: rgba(200,255,44,.04);
  }
  .versus-cell.is-win strong { color: var(--accent); }
  .versus-cell-meta { font-size: 11.5px; margin-top: 4px; }

  /* ── VERSUS-TABLE.cols-4 на мобильном: горизонтальный скролл.
        Sticky-колонка слева («Критерий»), заголовок столбцов виден,
        тень-индикатор подсказывает что таблицу можно листать. ─── */
  .versus-table {
    display: block !important;
    flex-direction: unset !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 0 !important;
    margin-top: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
    /* подсказка-тень что есть содержимое за правым краем */
    background-image:
      linear-gradient(to right, var(--bg), rgba(10,10,11,0) 24px),
      linear-gradient(to left,  var(--bg), rgba(10,10,11,0) 24px),
      linear-gradient(to right, rgba(0,0,0,.4), rgba(0,0,0,0) 12px),
      linear-gradient(to left,  rgba(0,0,0,.4), rgba(0,0,0,0) 12px);
    background-position: 0 0, 100% 0, 0 0, 100% 0;
    background-repeat: no-repeat;
    background-attachment: local, local, scroll, scroll;
    background-size: 28px 100%, 28px 100%, 14px 100%, 14px 100%;
  }
  .versus-table .versus-row {
    display: grid !important;
    grid-template-columns: 116px 160px 160px !important;
    min-width: 436px;
    border-bottom: 1px solid var(--line);
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }
  /* cols-4 (Съёмка / Анимация / AI) — четыре колонки */
  .versus-table.cols-4 .versus-row {
    grid-template-columns: 116px 132px 132px 132px !important;
    min-width: 512px;
  }
  .versus-table .versus-row:last-child { border-bottom: none; }
  .versus-table .versus-row.is-head {
    display: grid !important;
    background: var(--surface) !important;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-3);
    border-bottom: 1px solid var(--line) !important;
  }
  .versus-table .versus-row.is-head .versus-cell {
    padding: 11px 12px;
    background: var(--surface) !important;
  }
  .versus-table .versus-cell {
    padding: 12px 12px !important;
    border-right: 1px solid var(--line) !important;
    border-bottom: none !important;
    background: var(--bg);
    font-size: 13px;
    line-height: 1.4;
    white-space: normal;
  }
  .versus-table .versus-cell:last-child { border-right: none !important; }
  /* отключаем чипы-метки (для cols-4 заголовок виден sticky сверху) */
  .versus-table .versus-cell::before {
    display: none !important;
    content: none !important;
  }
  /* sticky первая колонка — критерий — на левом краю */
  .versus-table .versus-cell.versus-crit {
    position: sticky;
    left: 0;
    z-index: 2;
    background: var(--surface) !important;
    border-right: 1.5px solid var(--line) !important;
    border-bottom: 1px dashed rgba(200,255,44,.18) !important;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 12px 12px !important;
  }
  .versus-table .versus-row.is-head .versus-cell:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: var(--surface) !important;
    border-right: 1.5px solid var(--line) !important;
  }
  .versus-table .versus-cell.is-win {
    background: rgba(200,255,44,.06);
    border-left: 0 !important;
  }
  .versus-table .versus-cell.is-win strong { color: var(--accent); }

  .showreel-info-title { font-size: 15px; }
  .showreel-tile-hero .showreel-info-title { font-size: 18px; }
  .tier-price-num { font-size: 32px; }
  .tier-tagline { font-size: 19px; }
}
