/* ===== Tokens ===== */
:root {
  --bg: #000;
  --bg-center: #1c2610;   /* центр страницы светлее с лаймовым подтоном, к краям — чистый чёрный */
  --bg-mid: #0c1007;
  --surface: rgba(34, 42, 24, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f6f9f1;
  --muted: #aeb6a6;
  --accent: #c8ff2e;       /* лайм */
  --accent-hover: #d9ff6b;
  --accent-ink: #0a0d02;   /* текст на лаймовых кнопках */
  --accent-soft: rgba(200, 255, 46, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  /* Заголовки — строгий гротеск. Таджикские ӯ ҳ ӣ ҷ қ ғ проверены визуально (Manrope и Wix Madefor их не содержат) */
  --font-head: 'Inter Tight', 'Onest', system-ui, sans-serif;
  --head-style: normal;
  --head-weight: 700;
  --head-scale: .78;       /* общий множитель кегля заголовков */
  --font-body: 'Onest', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
/* Виньетка: чёрные края, слегка подсвеченный центр */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 85% 80% at 50% 45%, var(--bg-center) 0%, var(--bg-mid) 58%, var(--bg) 100%);
}
/* Мягкое лаймовое пятно, следующее за курсором (включается из JS только на устройствах с мышью) */
.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: -1; pointer-events: none;
  width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,255,46,.10), transparent 65%);
  opacity: 0; transition: opacity .6s; will-change: transform;
}
.cursor-glow.is-on { opacity: 1; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
h1, h2, h3 {
  font-family: var(--font-head); font-style: var(--head-style); font-weight: var(--head-weight); line-height: 1.08; margin: 0;
  letter-spacing: -0.012em;
}
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--accent {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 0 24px rgba(200,255,46,.22);
}
.btn--accent:hover { background: var(--accent-hover); box-shadow: 0 0 40px rgba(200,255,46,.5); transform: translateY(-2px); }
/* Блик, пробегающий по лаймовым кнопкам */
.btn--accent::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%);
  transform: translateX(-130%);
  animation: shine 5s ease-in-out 2s infinite;
}
.btn:disabled { opacity: .6; cursor: wait; }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .3); color: var(--text); background: rgba(255,255,255,.03); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--text { min-height: auto; padding: 8px 0; color: var(--muted); }
.btn--text:hover { color: var(--text); }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); margin-right: 10px; vertical-align: 1px;
  box-shadow: 0 0 0 0 rgba(200,255,46,.6);
  animation: pulse 2.4s ease-out infinite;
}

/* ===== Header ===== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; line-height: 1; }
.logo span { color: var(--accent); }
.logo small { font-family: var(--font-body); font-weight: 500; font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-left: 4px; }
.nav { display: none; gap: 28px; font-size: 14px; color: var(--muted); }
.nav a:hover { color: var(--text); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__cta { display: none; }

.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 999px; color: var(--muted); }
.lang button.is-active { background: var(--text); color: var(--bg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 120px 0 64px;
  overflow: hidden;
}
/* Фото: на телефоне — над текстом, на десктопе — справа; края растворяются в чёрном */
.hero__media {
  position: absolute; inset: 0 0 32% 0;
  -webkit-mask-image: radial-gradient(ellipse 95% 80% at 55% 38%, #000 35%, transparent 80%);
          mask-image: radial-gradient(ellipse 95% 80% at 55% 38%, #000 35%, transparent 80%);
}
.hero__media { animation: fadeIn 1.6s ease both; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 55% 45%;
  filter: saturate(.9) brightness(.82) contrast(1.05);
  animation: kenburns 26s ease-in-out infinite alternate;   /* медленный «кинематографичный» наезд */
}
.hero__glow {
  position: absolute; inset: -20%;
  background:
    radial-gradient(ellipse 45% 40% at 72% 30%, rgba(200,255,46,.26), transparent 70%),
    radial-gradient(ellipse 40% 35% at 15% 85%, rgba(200,255,46,.13), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(200,255,46,.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(200,255,46,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.hero__content { position: relative; z-index: 1; }
/* Появление первого экрана по очереди */
.hero__content > * { animation: fadeUp .9s var(--ease) both; }
.hero__content > .eyebrow { animation-delay: .1s; }
.hero__content > .hero__sub { animation-delay: 1.1s; }
.hero__content > .hero__ctas { animation-delay: 1.3s; }
.hero__content > .hero__geo { animation-delay: 1.5s; }
.hero__title { font-size: calc(clamp(48px, 12.5vw, 104px) * var(--head-scale)); max-width: 15ch; }
.hero__title em { font-style: normal; color: var(--accent); text-shadow: 0 0 40px rgba(200,255,46,.35); }
.hero__sub { margin-top: 20px; font-size: clamp(16px, 2.2vw, 19px); color: #e1e7da; max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__geo { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.hero__geo li {
  font-size: 13px; color: #e1e7da;
  border: 1px solid rgba(200,255,46,.25); background: rgba(200,255,46,.06);
  padding: 6px 14px; border-radius: 999px;
}
.hero__geo-all { display: inline-flex; align-items: center; gap: 8px; color: var(--text) !important; font-weight: 500; }
.hero__geo-all svg { color: var(--accent); animation: spin 14s linear infinite; }

/* ===== Конвейер «фото → промпт → кадры → ролик» на первом экране =====
   Шаг задаётся атрибутом data-stage (0–3) из main.js. Большое окно — от 1200px, компактная полоска — уже. */
.pipe { display: none; }
.pipe {
  position: absolute; z-index: 2;
  top: 50%; right: calc(max(0px, (100% - var(--container)) / 2) + 32px);
  translate: 0 -44%;
  width: clamp(380px, 31vw, 450px);
  padding: 16px 18px 14px; border-radius: 22px;
  background: rgba(9, 12, 5, .74);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(200,255,46,.3);
  box-shadow: 0 24px 70px rgba(0,0,0,.55), 0 0 50px rgba(200,255,46,.1);
  animation: cardIn 1s var(--ease) 1.2s both;
}
.pipe__head { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.pipe__dots { display: flex; gap: 5px; }
.pipe__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.pipe__dots i:first-child { background: var(--accent); }
.pipe__title { color: var(--muted); font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: 11.5px; }
.pipe__status {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600;
}
.pipe__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s ease-out infinite; }

/* Шаги */
.pipe__steps { list-style: none; margin: 16px 0 10px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pipe__steps li { display: grid; justify-items: center; gap: 6px; font-size: 11px; color: var(--muted); text-align: center; transition: color .3s; }
.pipe__ico {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--muted); transition: all .35s var(--ease);
}
.pipe__ico svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
/* пройденные шаги */
.pipe[data-stage="1"] .pipe__steps li:nth-child(-n+1) .pipe__ico,
.pipe[data-stage="2"] .pipe__steps li:nth-child(-n+2) .pipe__ico,
.pipe[data-stage="3"] .pipe__steps li:nth-child(-n+3) .pipe__ico { border-color: rgba(200,255,46,.6); color: var(--accent); }
/* текущий шаг */
.pipe[data-stage="0"] .pipe__steps li:nth-child(1),
.pipe[data-stage="1"] .pipe__steps li:nth-child(2),
.pipe[data-stage="2"] .pipe__steps li:nth-child(3),
.pipe[data-stage="3"] .pipe__steps li:nth-child(4) { color: var(--text); }
.pipe[data-stage="0"] .pipe__steps li:nth-child(1) .pipe__ico,
.pipe[data-stage="1"] .pipe__steps li:nth-child(2) .pipe__ico,
.pipe[data-stage="2"] .pipe__steps li:nth-child(3) .pipe__ico,
.pipe[data-stage="3"] .pipe__steps li:nth-child(4) .pipe__ico {
  background: var(--accent); border-color: var(--accent); color: var(--accent-ink);
  box-shadow: 0 0 0 5px rgba(200,255,46,.15), 0 0 24px rgba(200,255,46,.45);
}
.pipe__bar { height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; }
.pipe__bar i { display: block; height: 100%; width: 0; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

/* Сцены */
.pipe__stage { position: relative; height: 232px; margin: 14px 0 12px; }
.st {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 18px;
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}
.pipe[data-stage="0"] .st--photo, .pipe[data-stage="1"] .st--prompt,
.pipe[data-stage="2"] .st--frames, .pipe[data-stage="3"] .st--video { opacity: 1; visibility: visible; transform: none; }
.st svg { display: block; width: 100%; height: 100%; }
.st-label { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.st-ok { color: var(--accent); font-weight: 600; font-size: 13px; opacity: 0; }
.st-photo__meta, .st-video__meta { display: grid; gap: 6px; font-size: 13px; }
.st-photo__meta b, .st-video__meta b { font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: 13px; }
.st-photo__meta small, .st-video__meta small { color: var(--muted); font-size: 12px; }
.pipe[data-stage="0"] .st--photo .st-ok,
.pipe[data-stage="3"] .st--video .st-ok { animation: fadeUp .5s var(--ease) 1.5s both; }

/* 1. Фото товара со сканером */
.st-photo__img {
  position: relative; width: 150px; height: 196px; padding: 18px 30px; border-radius: 14px; overflow: hidden;
  background: radial-gradient(circle at 50% 55%, #2a3a12, #0b0e07 70%);
  border: 1px solid var(--line);
}
.st-photo__scan {
  position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent);
  box-shadow: 0 0 14px 3px rgba(200,255,46,.6); opacity: 0;
}
.pipe[data-stage="0"] .st-photo__scan { animation: scan 1.5s ease-in-out .2s 2 both; }
.st-corner { position: absolute; width: 14px; height: 14px; border: 2px solid var(--accent); }
.st-corner--tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.st-corner--tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
.st-corner--bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; }
.st-corner--br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

/* 2. Промпт */
.st--prompt { flex-direction: column; align-items: stretch; justify-content: center; gap: 12px; }
.st-prompt {
  margin: 0; min-height: 96px; padding: 14px 16px; border-radius: 14px;
  background: rgba(0,0,0,.4); border: 1px solid var(--line);
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: 14px; line-height: 1.55; color: var(--text);
}
.st-caret { display: inline-block; width: 8px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--accent); animation: blink 1s steps(1) infinite; }
.st-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.st-tags span {
  padding: 4px 10px; border-radius: 999px; font-size: 12px; color: var(--accent);
  border: 1px solid rgba(200,255,46,.35); background: var(--accent-soft); opacity: 0;
}
.pipe[data-stage="1"] .st-tags span { animation: fadeUp .4s var(--ease) both; }
.pipe[data-stage="1"] .st-tags span:nth-child(1) { animation-delay: 1.9s; }
.pipe[data-stage="1"] .st-tags span:nth-child(2) { animation-delay: 2.05s; }
.pipe[data-stage="1"] .st-tags span:nth-child(3) { animation-delay: 2.2s; }
.pipe[data-stage="1"] .st-tags span:nth-child(4) { animation-delay: 2.35s; }

/* 3. Кадры проявляются из цифрового шума */
.st--frames { flex-direction: column; gap: 10px; }
.st-grid { display: grid; grid-template-columns: repeat(3, 78px); gap: 8px; }
.cell { position: relative; height: 96px; border-radius: 10px; overflow: hidden; padding: 12px 18px; border: 1px solid var(--line); }
.cell svg { filter: blur(8px); opacity: .2; transform: scale(1.15); }
.cell::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .78 0 0 0 0 1 0 0 0 0 .18 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: noise .25s steps(3) infinite;
}
.c1 { background: radial-gradient(circle at 50% 60%, #33500f, #0b0e07 75%); }
.c2 { background: radial-gradient(circle at 40% 40%, #1d2f55, #070910 75%); }
.c3 { background: radial-gradient(circle at 60% 50%, #4a3a12, #0d0a05 75%); }
.c4 { background: radial-gradient(circle at 50% 50%, #2b1d47, #08060e 75%); }
.c5 { background: radial-gradient(circle at 50% 70%, #133e3a, #050d0c 75%); }
.c6 { background: radial-gradient(circle at 30% 50%, #3d4f12, #0a0c05 75%); }
.pipe[data-stage="2"] .cell svg { animation: resolveImg .7s var(--ease) both; }
.pipe[data-stage="2"] .cell::after { animation: noise .25s steps(3) infinite, resolveNoise .7s var(--ease) both; }
/* Кадры проявляются по очереди: задержка своя у каждой ячейки */
.c1 { --rd: .25s; } .c2 { --rd: .65s; } .c3 { --rd: 1.05s; }
.c4 { --rd: 1.45s; } .c5 { --rd: 1.85s; } .c6 { --rd: 2.25s; }
.pipe[data-stage="2"] .cell svg { animation-delay: var(--rd); }
.pipe[data-stage="2"] .cell::after { animation-delay: 0s, var(--rd); }

/* 4. Готовый ролик 9:16 */
.st-phone {
  position: relative; width: 120px; height: 212px; border-radius: 16px; overflow: hidden;
  border: 2px solid rgba(255,255,255,.18); box-shadow: 0 0 30px rgba(200,255,46,.18);
  background: radial-gradient(ellipse at 50% 30%, #23365c, #070910 70%);
}
.st-phone__scene { position: absolute; inset: 22px 26px 34px; }
.pipe[data-stage="3"] .st-phone__scene { animation: dolly 3.2s ease-in-out both; }
.st-phone__scene::before {
  content: ''; position: absolute; inset: -30px -40px; z-index: -1;
  background: radial-gradient(circle at 30% 70%, rgba(120,150,255,.35), transparent 50%), radial-gradient(circle at 75% 35%, rgba(200,255,46,.25), transparent 45%);
  filter: blur(6px);
}
.st-phone__play {
  position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  background: rgba(200,255,46,.92); box-shadow: 0 0 0 0 rgba(200,255,46,.6);
}
.st-phone__play::after {
  content: ''; position: absolute; left: 15px; top: 11px;
  border-style: solid; border-width: 8px 0 8px 12px; border-color: transparent transparent transparent var(--accent-ink);
}
.pipe[data-stage="3"] .st-phone__play { animation: pulse 1.6s ease-out infinite, playOut .5s var(--ease) 1s forwards; }
.st-phone__time { position: absolute; left: 10px; right: 10px; bottom: 12px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.25); overflow: hidden; }
.st-phone__time i { display: block; height: 100%; width: 0; background: var(--accent); }
.pipe[data-stage="3"] .st-phone__time i { animation: timeline 2.2s linear 1s forwards; }

.pipe__foot { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.pipe__model { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.pipe__model i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.pipe__pct { font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; color: var(--accent); font-weight: 600; }

/* Компактная полоска шагов (телефоны и планшеты) */
.pipe-mini {
  position: relative; list-style: none; padding: 0; margin: 26px 0 0; max-width: 420px;
  display: grid; grid-template-columns: repeat(4, 1fr); font-size: 12px; color: var(--muted);
}
/* линия, соединяющая точки шагов */
.pipe-mini::before { content: ''; position: absolute; top: 4px; left: 12.5%; right: 12.5%; height: 1px; background: var(--line); }
.pipe-mini li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; transition: color .3s; }
.pipe-mini i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--muted); background: var(--bg); transition: all .3s; }
.pipe-mini[data-stage="1"] li:nth-child(-n+1) i, .pipe-mini[data-stage="2"] li:nth-child(-n+2) i,
.pipe-mini[data-stage="3"] li:nth-child(-n+3) i { background: rgba(200,255,46,.5); border-color: transparent; }
.pipe-mini[data-stage="0"] li:nth-child(1), .pipe-mini[data-stage="1"] li:nth-child(2),
.pipe-mini[data-stage="2"] li:nth-child(3), .pipe-mini[data-stage="3"] li:nth-child(4) { color: var(--text); }
.pipe-mini[data-stage="0"] li:nth-child(1) i, .pipe-mini[data-stage="1"] li:nth-child(2) i,
.pipe-mini[data-stage="2"] li:nth-child(3) i, .pipe-mini[data-stage="3"] li:nth-child(4) i {
  background: var(--accent); border-color: var(--accent); box-shadow: 0 0 10px var(--accent);
}

/* ===== Блок «Технологии»: ленты нейросетей ===== */
.ai { overflow: hidden; padding-bottom: 8px; }
.ai__head .section__title { margin-bottom: 16px; }
.ai__text { color: var(--muted); max-width: 620px; font-size: clamp(15px, 1.8vw, 17px); margin-bottom: 40px; }
.logos { display: grid; gap: 14px; }
.logos__row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logos__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.logos__row--rev .logos__track { animation-direction: reverse; animation-duration: 70s; }
.logos__row:hover .logos__track { animation-play-state: paused; }
.logos__group { display: flex; gap: 14px; padding-right: 14px; flex: none; }
.logo-pill {
  display: flex; align-items: center; gap: 12px; flex: none;
  padding: 12px 20px 12px 12px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.logo-pill:hover { border-color: var(--accent); box-shadow: 0 0 30px rgba(200,255,46,.2); transform: translateY(-3px); }
.logo-pill__icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, rgba(200,255,46,.22), rgba(200,255,46,.04));
  border: 1px solid rgba(200,255,46,.3); color: var(--accent);
}
.logo-pill__icon svg { width: 22px; height: 22px; }
.logo-pill__icon img { width: 28px; height: 28px; object-fit: contain; }
.logo-pill__text { display: grid; white-space: nowrap; }
.logo-pill__text b { font-family: var(--font-head); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.logo-pill__text small { font-size: 12px; color: var(--muted); }

/* ===== Бегущая строка (лаймовая лента) ===== */
.marquee { overflow: hidden; padding: 56px 0; margin: -28px 0; }   /* запас, чтобы свечение не обрезалось */
.marquee__band {
  margin: 0 -5%; transform: rotate(-1.6deg);
  background: var(--accent); color: var(--accent-ink);
  padding: 14px 0;
  box-shadow: 0 0 36px rgba(200,255,46,.28);
}
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee__group {
  display: flex; align-items: center; flex: none; gap: 28px; padding-right: 28px;
  white-space: nowrap; font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .04em;
}
.marquee__group i { font-style: normal; font-size: 14px; }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section--alt {
  background: linear-gradient(180deg, transparent, rgba(200,255,46,.06) 50%, transparent);
  border-block: 1px solid var(--line);
}
.section__title { font-size: calc(clamp(40px, 8vw, 72px) * var(--head-scale)); max-width: 18ch; margin-bottom: 44px; }

/* Services */
.services { display: grid; gap: 16px; }
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
  transition: border-color .3s, transform .3s var(--ease);
}
.service:hover { border-color: rgba(200,255,46,.55); transform: translateY(-6px); box-shadow: 0 18px 50px rgba(0,0,0,.4), 0 0 40px rgba(200,255,46,.08); }
.service__num { font-family: var(--font-head); font-style: var(--head-style); font-weight: var(--head-weight); font-size: calc(26px * var(--head-scale)); color: var(--accent); }
.service h3 { font-size: calc(32px * var(--head-scale)); margin: 14px 0 12px; }
.service p { color: var(--muted); }
.service ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: 14px; }
.service li { padding-left: 18px; position: relative; }
.service li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Niches */
.tabs {
  display: flex; gap: 8px; overflow-x: auto; margin: 0 -20px 32px; padding: 0 20px 4px;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 500;
  transition: all .2s;
}
.tab:hover { color: var(--text); }
.tab.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.panel { display: none; gap: 32px; }
.panel.is-active { display: grid; animation: fadeUp .5s var(--ease); }
.panel__text h3 { font-size: calc(clamp(34px, 5.5vw, 52px) * var(--head-scale)); margin-bottom: 24px; max-width: 18ch; }
.panel__text .btn { margin-top: 28px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: #e3e9dc; }
.checks li::before {
  content: '✓'; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px;
  background: var(--accent-soft); color: var(--accent);
}
.panel__text { max-width: 760px; }

/* Works → Instagram */
.section--compact { padding: 56px 0; }
/* Портфолио: ролики Instagram + плашка-ссылка */
.works-wrap { display: grid; gap: 24px; }
.works-wrap > .works { order: -1; }          /* на телефоне сначала плашка, потом ролик */
.reels {
  display: flex; gap: 16px; justify-content: safe center;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 40px 20px; margin: -40px -20px;   /* запас, чтобы свечение ролика не обрезалось (не больше отступа контейнера) */
}
.reels::-webkit-scrollbar { display: none; }
/* Instagram-плеер: шапка 54px + видео в пропорции 4:5. Низ (лайки, комментарии) обрезаем */
.reel {
  container-type: inline-size;
  flex: none; width: min(340px, calc(100vw - 42px)); scroll-snap-align: center;
  border-radius: 20px; overflow: hidden; background: #000;
  border: 1px solid rgba(200,255,46,.4);
  box-shadow: 0 0 50px rgba(200,255,46,.16), 0 20px 60px rgba(0,0,0,.5);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.reel:hover { transform: translateY(-4px); box-shadow: 0 0 70px rgba(200,255,46,.28), 0 24px 70px rgba(0,0,0,.55); }
.reel__crop { height: 479px; height: calc(54px + 125cqw); overflow: hidden; }
.reel iframe { display: block; width: 100%; height: 1000px; border: 0; background: #fff; }
/* Плашка-ссылка на Instagram в стиле профиля */
.works {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px 20px;
  padding: 22px; border-radius: 22px;
  border: 1px solid rgba(200,255,46,.28);
  background:
    radial-gradient(ellipse 50% 120% at 0% 50%, rgba(200,255,46,.16), transparent 70%),
    var(--surface);
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.works:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 0 50px rgba(200,255,46,.14); }
.works__avatar {
  position: relative; display: grid; place-items: center;
  width: 72px; height: 72px; border-radius: 50%; color: var(--accent); isolation: isolate;
}
/* Вращающееся кольцо, как у «историй» */
.works__avatar::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%; padding: 3px;
  background: conic-gradient(from 0deg, var(--accent), rgba(200,255,46,.1), var(--accent), rgba(200,255,46,.1), var(--accent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 6s linear infinite;
}
.works__avatar::after {
  content: ''; position: absolute; inset: 6px; border-radius: 50%; z-index: -1;
  background: rgba(200,255,46,.08);
}
.works__body { display: grid; gap: 4px; min-width: 0; }
.works__body .eyebrow { margin-bottom: 2px; }
.works__title {
  display: block; font-family: var(--font-head); font-weight: var(--head-weight);
  font-size: clamp(20px, 2.6vw, 28px); line-height: 1.15; letter-spacing: -0.02em;
}
.works__text { color: var(--muted); font-size: 14px; }
.works__cta { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.works__handle { font-size: 14px; color: var(--muted); }
.works:hover .works__handle { color: var(--accent); }

/* Compare */
.compare { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare__row {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px;
  padding: 16px; border-top: 1px solid var(--line); font-size: 14px; align-items: center;
}
.compare__row:first-child { border-top: 0; }
.compare__row--head { background: var(--surface); font-weight: 600; font-size: 13px; }
.compare__row > span:first-child { color: var(--muted); }
.compare .no { color: #a3aa9b; }
.compare .yes { color: var(--text); }
.compare .yes::before { content: '✓ '; color: var(--accent); }
.is-accent { color: var(--accent); }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: step; }
.step {
  position: relative; padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.step__num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent); font-family: var(--font-head); font-style: var(--head-style); font-weight: var(--head-weight); font-size: calc(22px * var(--head-scale));
  margin-bottom: 16px;
}
.step.is-in .step__num { animation: ring 1.6s ease-out calc(var(--d, 0ms) + .3s); }
.step h3 { font-size: calc(28px * var(--head-scale)); margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }

/* Brief / quiz */
.brief { display: grid; gap: 32px; }
.brief__intro .section__title { margin-bottom: 16px; }
.quiz {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; min-height: 380px; display: flex; flex-direction: column;
}
.quiz__progress { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; margin-bottom: 26px; }
.quiz__progress span { display: block; height: 100%; width: 20%; background: var(--accent); transition: width .4s var(--ease); }
.quiz__step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; flex: 1; }
.quiz__step.is-active { display: block; animation: fadeUp .4s var(--ease); }
.quiz legend {
  font-family: var(--font-head); font-style: var(--head-style); font-weight: var(--head-weight);
  font-size: calc(34px * var(--head-scale)); line-height: 1.1;
  margin-bottom: 22px; padding: 0;
}
.options { display: grid; gap: 10px; }
.options label { position: relative; cursor: pointer; }
.options input { position: absolute; opacity: 0; pointer-events: none; }
.options span {
  display: block; padding: 15px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: rgba(255,255,255,.02);
  transition: border-color .2s, background .2s;
}
.options label:hover span { border-color: rgba(255,255,255,.3); }
.options input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.options input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.field input, .field textarea {
  min-height: 52px; padding: 0 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: rgba(0,0,0,.45); color: var(--text); font: inherit; font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { padding: 14px 16px; min-height: 92px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(200,255,46,.12); }
.field .is-invalid, .field .is-invalid:focus { border-color: #ff6b6b; box-shadow: 0 0 0 4px rgba(255,107,107,.12); }
.quiz__send { display: grid; gap: 10px; margin: 20px 0 14px; }
.quiz__lead { grid-column: 1 / -1; white-space: normal; text-align: center; }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.quiz__nav .btn--text[hidden] { visibility: hidden; display: inline-flex; }
.quiz__count { font-size: 13px; color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-weight: 600; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 300; color: var(--accent); transition: transform .3s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; max-width: 64ch; }

/* Final */
.final {
  padding: 100px 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(200,255,46,.22), transparent 65%);
  text-align: center;
}
.final__inner { display: flex; flex-direction: column; align-items: center; }
.final h2 { font-size: calc(clamp(44px, 9vw, 88px) * var(--head-scale)); max-width: 16ch; margin-bottom: 20px; }
.final .hero__ctas { justify-content: center; }

.contacts {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px;
}
.contacts li { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.contacts span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contacts a { font-size: 20px; font-weight: 600; }
.contacts a:hover, .footer__meta a:hover { color: var(--accent); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0 110px; }
.footer__inner { display: grid; gap: 10px; }
.footer__meta { display: grid; gap: 4px; }
.footer__blog { color: var(--accent); }
.footer__blog:hover { text-decoration: underline; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px; border-radius: 999px;
  background: rgba(20,26,12,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  transform: translateY(140%); transition: transform .35s var(--ease);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { min-height: 46px; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 120;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--text); color: var(--bg); font-size: 14px; font-weight: 600;
  padding: 12px 20px; border-radius: 999px; transition: all .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ===== Окно заявки ===== */
.lead { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px; }
.lead[hidden] { display: none; }
.lead__backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,.72);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .3s;
}
.lead__box {
  position: relative; width: min(520px, 100%); max-height: calc(100svh - 32px); overflow-y: auto;
  padding: 34px 24px 24px; border-radius: 24px;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(200,255,46,.18), transparent 70%), #10150a;
  border: 1px solid rgba(200,255,46,.3);
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 70px rgba(200,255,46,.12);
  opacity: 0; transform: translateY(28px) scale(.97);
  transition: opacity .3s, transform .4s var(--ease);
}
.lead.is-open .lead__backdrop { opacity: 1; }
.lead.is-open .lead__box { opacity: 1; transform: none; }
.lead__close {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%;
  font-size: 24px; line-height: 1; background: rgba(255,255,255,.08); transition: background .2s, transform .3s;
}
.lead__close:hover { background: rgba(200,255,46,.2); transform: rotate(90deg); }
.lead__form { display: grid; gap: 14px; }
.lead__form[hidden], .lead__done[hidden] { display: none; }
.lead__form .eyebrow { margin-bottom: 0; }
.lead__title { font-size: calc(34px * var(--head-scale)); padding-right: 36px; }
.lead__via { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lead__via legend { width: 100%; padding: 0; margin-bottom: 8px; font-size: 14px; color: var(--muted); }
.lead__via label { cursor: pointer; }
.lead__via input { position: absolute; opacity: 0; pointer-events: none; }
.lead__via span {
  display: inline-block; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
  border: 1px solid var(--line); transition: all .2s;
}
.lead__via label:hover span { border-color: rgba(200,255,46,.5); }
.lead__via input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.lead__via input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.lead__submit { width: 100%; margin-top: 4px; }
.lead__consent { font-size: 12px; text-align: center; }
.js-bot[hidden] { display: none !important; }   /* .btn задаёт display — без этого hidden не скрывал бы кнопку */
.bot-cta { margin-top: 24px; }
.lead__bot { display: block; text-align: center; font-size: 14px; font-weight: 600; color: var(--accent); }
.lead__bot:hover { text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead__done { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 24px 0 8px; }
.lead__done .lead__title { padding-right: 0; }
.lead__check {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font-size: 36px; font-weight: 700;
  box-shadow: 0 0 50px rgba(200,255,46,.55);
  animation: pop .6s var(--ease);
}

/* ===== Подсветка карточек за курсором ===== */
.spot {
  background-image: radial-gradient(380px circle at var(--mx, -400px) var(--my, -400px), rgba(200,255,46,.13), transparent 60%);
}

/* ===== Заголовки «пишутся пером» слева направо ===== */
.write {
  -webkit-mask-image: linear-gradient(100deg, #000 45%, transparent 55%);
          mask-image: linear-gradient(100deg, #000 45%, transparent 55%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
}
.write.is-in { animation: write 1.9s cubic-bezier(.45,.05,.3,1) forwards; }
.hero__title.write.is-in { animation-duration: 2.4s; animation-delay: .3s; }
.write.is-written { -webkit-mask: none; mask: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-6%, 5%); } }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-2%, -1%); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes progress { 0% { width: 5%; } 80%, 100% { width: 100%; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes scan { 0% { top: 0; opacity: 1; } 100% { top: 100%; opacity: 1; } }
@keyframes noise { 0% { background-position: 0 0; } 33% { background-position: -30px 20px; } 66% { background-position: 25px -35px; } 100% { background-position: 0 0; } }
@keyframes resolveImg { from { filter: blur(8px); opacity: .2; transform: scale(1.15); } to { filter: blur(0); opacity: 1; transform: none; } }
@keyframes resolveNoise { from { opacity: 1; } to { opacity: 0; } }
@keyframes dolly { from { transform: scale(1) rotate(0); } to { transform: scale(1.22) rotate(-4deg); } }
@keyframes playOut { to { opacity: 0; transform: scale(.6); } }
@keyframes timeline { to { width: 100%; } }

/* Большое окно конвейера — только на широких экранах; компактная полоска — на остальных */
@media (min-width: 1200px) {
  .pipe { display: block; }
  .pipe-mini { display: none; }
  /* .hero повышает приоритет над правилами десктопа ниже по файлу */
  .hero .hero__title { max-width: 600px; }
  .hero .hero__sub { max-width: 470px; }
}
@keyframes shine { 0%, 70% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(200,255,46,.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(200,255,46,0); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(200,255,46,.7); background: rgba(200,255,46,.25); } 100% { box-shadow: 0 0 0 18px rgba(200,255,46,0); background: transparent; } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes write {
  from { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  to   { -webkit-mask-position: 0 0;    mask-position: 0 0; }
}

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

/* Окно заявки на телефоне — выезжает снизу */
@media (max-width: 699px) {
  .lead { place-items: end center; padding: 0; }
  .lead__box {
    width: 100%; max-height: 92svh; border-radius: 24px 24px 0 0;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
    transform: translateY(100%);
  }
  .marquee__group { font-size: 15px; gap: 20px; padding-right: 20px; }
}

/* ===== Tablet ===== */
@media (min-width: 700px) {
  .container { padding: 0 32px; }
  .tabs { margin: 0 0 36px; padding: 0; flex-wrap: wrap; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .works { grid-template-columns: auto 1fr auto; padding: 26px 32px; gap: 28px; }
  .works__cta { grid-column: auto; flex-direction: column; align-items: flex-end; gap: 8px; }
  .works__avatar { width: 84px; height: 84px; }
  .quiz { padding: 36px; }
  .quiz__send { grid-template-columns: 1fr 1fr; }
  .compare__row { padding: 18px 24px; font-size: 15px; }
  .footer__inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
  .footer__meta { text-align: right; }
  .footer { padding-bottom: 32px; }
}

/* ===== Desktop ===== */
@media (min-width: 1000px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .section { padding: 120px 0; }
  .section--compact { padding: 64px 0; }
  .works-wrap { grid-template-columns: auto 1fr; align-items: center; gap: 48px; }
  .works-wrap > .works { order: 0; }
  .reels { max-width: 772px; justify-content: flex-start; }
  /* Рядом с роликом плашка вертикальная */
  .works-wrap .reels + .works { grid-template-columns: auto 1fr; padding: 32px; }
  .works-wrap .reels + .works .works__cta { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .hero { align-items: center; padding-bottom: 0; }
  .hero__media {
    inset: 0 0 0 40%;
    -webkit-mask-image: radial-gradient(ellipse 65% 72% at 58% 50%, #000 40%, transparent 82%);
            mask-image: radial-gradient(ellipse 65% 72% at 58% 50%, #000 40%, transparent 82%);
  }
  .hero__media img { filter: saturate(1) brightness(.95) contrast(1.05); }
  .ai { padding-bottom: 24px; }
  .hero__title { font-size: calc(clamp(60px, 5.6vw, 88px) * var(--head-scale)); max-width: 760px; }
  .hero__sub { max-width: 500px; }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .brief { grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
  .brief__intro { position: sticky; top: 110px; }
  .sticky-cta { display: none; }
}
