/* «Мотор» — ИИ-агентство контента. Стили сайта. */

@font-face {
  font-family: "Bebas Neue Cyrillic";
  src: url("../fonts/bebas-neue-cyrillic.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geologica";
  src: url("../fonts/geologica.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Циклорама: светло-серый фон студии */
  --cyc: #E3E4E6;
  --cyc-hi: #F1F2F3;
  --cyc-lo: #D5D7DA;
  --paper: #F5F5F4;
  /* Текст */
  --ink: #15181C;
  --ink-2: #4A5058;
  --ink-3: #6C727A;
  --line: rgba(21, 24, 28, .15);
  --line-2: rgba(21, 24, 28, .08);
  /* Экран: просмотровый зал */
  --screen: #000;
  --s-ink: #F1F1EF;
  --s-ink-2: #A9ADB3;
  --s-line: rgba(255, 255, 255, .14);
  /* Запись */
  --rec: #FF3B21;
  --rec-btn: #D12A14;
  --rec-btn-hover: #B4220F;
  /* Цвета дорожек монтажного стола */
  --clip-1: #3B6BE0;
  --clip-2: #D2507E;
  --clip-3: #128F7D;
  --clip-4: #E9A43C;
  --clip-5: #3F8A47;
  --clip-6: #56616D;

  --font-d: "Bebas Neue Cyrillic", "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-t: "Geologica", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --pad: clamp(20px, 4vw, 56px);
  --maxw: 1320px;
  --hdr: 68px;
  --r-mon: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body {
  margin: 0;
  font-family: var(--font-t);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cyc);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 1024px) { body { font-size: 18px; } }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--rec); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--pad) * 2); margin: 0 auto; padding-inline: var(--pad); }

/* Типографика */
.h2 {
  font-family: var(--font-d);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(54px, 7.6vw, 118px);
  line-height: .87;
  letter-spacing: 0;
  text-wrap: balance;
}
.h3 {
  font-family: var(--font-d);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: .95;
}
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; max-width: 50ch; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font: 500 16px/1.1 var(--font-t);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--rec { background: var(--rec-btn); color: #fff; }
.btn--rec:hover { background: var(--rec-btn-hover); }
.btn--light { background: var(--s-ink); color: #000; }
.btn--light:hover { background: #fff; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .55; cursor: progress; }
.ico { width: 20px; height: 20px; fill: currentColor; flex: none; }

.rec { width: 10px; height: 10px; border-radius: 50%; background: var(--rec); flex: none; }
.rec--live { animation: rec-blink 1.6s steps(1, end) infinite; }
@keyframes rec-blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .25; } }

/* Шапка */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 60; padding-top: env(safe-area-inset-top, 0px); transition: background-color .25s, box-shadow .25s; }
.hdr.is-solid {
  background: rgba(227, 228, 230, .86);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  backdrop-filter: saturate(1.3) blur(14px);
}
.hdr__in { display: flex; align-items: center; gap: 28px; height: var(--hdr); }
.logo {
  display: inline-flex; align-items: flex-start; gap: .1em;
  font-family: var(--font-d); font-size: 36px; line-height: .9; text-transform: uppercase;
  color: var(--ink); text-decoration: none; letter-spacing: .01em;
}
.logo__dot { width: .24em; height: .24em; border-radius: 50%; background: var(--rec); margin-top: .02em; }
.logo--light { color: var(--s-ink); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.nav a:hover, .nav a.is-current { color: var(--ink); }
.hdr__act { display: flex; align-items: center; gap: 20px; }
.hdr__tel { font-size: 15px; font-weight: 500; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.burger {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--ink); cursor: pointer; position: relative;
}
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--paper); transition: transform .25s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Ползунок прокрутки, как плейхед на таймлайне */
.scrub { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; opacity: 0; transition: opacity .25s; }
.hdr.is-solid .scrub { opacity: 1; }
.scrub__fill { height: 100%; width: calc(var(--p, 0) * 100%); background: var(--ink); }
.scrub__head { position: absolute; top: -4px; left: calc(var(--p, 0) * 100%); width: 3px; height: 10px; margin-left: -1px; background: var(--rec); border-radius: 1px; }

@media (max-width: 1100px) {
  .nav, .hdr__tel { display: none; }
  .hdr__act { margin-left: auto; gap: 12px; }
  .burger { display: inline-block; }
}
@media (max-width: 520px) { .hdr__act .btn { display: none; } }

/* Мобильное меню */
.menu {
  position: fixed; inset: var(--hdr) 0 0 0; z-index: 59;
  background: var(--cyc); padding: 16px var(--pad) 40px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px; overflow: auto;
}
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  font-family: var(--font-d); font-size: clamp(44px, 12vw, 64px); line-height: 1.02; text-transform: uppercase;
  text-decoration: none; padding: 4px 0; border-bottom: 1px solid var(--line-2);
}
.menu__contacts { display: grid; gap: 14px; justify-items: start; }
.menu__tel { font-size: 22px; font-weight: 500; text-decoration: none; font-variant-numeric: tabular-nums; }

/* Первый экран */
.hero {
  position: relative; overflow: clip;
  padding: calc(var(--hdr) + clamp(22px, 5vh, 64px)) 0 clamp(56px, 7vw, 96px);
  background: radial-gradient(80% 75% at 80% 18%, var(--cyc-hi) 0%, rgba(241, 242, 243, 0) 62%), var(--cyc);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(28px, 4vw, 80px); align-items: center; }
.hero__title {
  font-family: var(--font-d); font-weight: 400; text-transform: uppercase;
  font-size: clamp(54px, min(8.4vw, 13.2vh), 150px); line-height: .86; letter-spacing: -.003em;
  margin: 0 0 clamp(24px, 2.6vw, 36px);
}
.hero__line { display: block; white-space: nowrap; }
.w { display: inline-block; padding: 0 .045em; margin: 0 -.045em; border-radius: .05em; transition: background-color .08s, color .08s; }
.w.is-on { background: var(--rec); color: #fff; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; }
.hero__facts span { font-size: 15px; font-weight: 600; padding: 7px 14px; border: 1.5px solid var(--ink); border-radius: 999px; }
.hero__lead { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; max-width: 52ch; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero__note { font-size: 14px; color: var(--ink-2); max-width: 46ch; margin: 0; }
.hero__mon { margin: 0; width: max(230px, min(25.5vw, 372px, (100vh - 170px) * .5625)); }
.hero__cap { font-size: 13px; line-height: 1.45; color: var(--ink-2); margin-top: 18px; max-width: 32ch; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 15.5vw; }
  .hero__mon { width: min(62vw, 300px); margin-top: 44px; justify-self: center; }
  .hero__cap { text-align: center; margin-inline: auto; }
}

/* Монитор — рамка для вертикального видео */
.monitor {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  aspect-ratio: 9 / 16; background: #000; border-radius: var(--r-mon);
}
.monitor__video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.monitor--hero {
  box-shadow: 0 50px 90px -45px rgba(0, 0, 0, .6), 0 18px 36px -18px rgba(0, 0, 0, .35);
  animation: power-on .7s ease-out both;
}
@keyframes power-on { from { filter: brightness(0); transform: scale(.985); } to { filter: none; transform: none; } }
/* Рамки безопасной зоны, как в видоискателе */
.monitor--hero::after {
  content: ""; position: absolute; inset: 14px; pointer-events: none; z-index: 2; opacity: .7;
  --m: 16px;
  background:
    linear-gradient(#fff, #fff) left top / var(--m) 2px no-repeat,
    linear-gradient(#fff, #fff) left top / 2px var(--m) no-repeat,
    linear-gradient(#fff, #fff) right top / var(--m) 2px no-repeat,
    linear-gradient(#fff, #fff) right top / 2px var(--m) no-repeat,
    linear-gradient(#fff, #fff) left bottom / var(--m) 2px no-repeat,
    linear-gradient(#fff, #fff) left bottom / 2px var(--m) no-repeat,
    linear-gradient(#fff, #fff) right bottom / var(--m) 2px no-repeat,
    linear-gradient(#fff, #fff) right bottom / 2px var(--m) no-repeat;
}
.monitor__hud {
  position: absolute; left: 24px; bottom: 24px; z-index: 3;
  display: flex; align-items: center; gap: 8px;
  font: 500 13px/1 var(--font-t); font-variant-numeric: tabular-nums; letter-spacing: .02em;
  color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .7);
}
.monitor__hud .rec { width: 8px; height: 8px; }
.monitor__play {
  position: absolute; inset: auto 16px 64px 16px; z-index: 4;
  min-height: 46px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #000;
  font-weight: 500; cursor: pointer;
}

/* Секции */
.sec { padding: clamp(88px, 11vw, 168px) 0; }
.sec--screen { background: var(--screen); color: var(--s-ink); }
.sec__head { display: grid; gap: 22px; margin-bottom: clamp(44px, 5.4vw, 80px); }
.sec__intro { max-width: 58ch; margin: 0; color: var(--ink-2); }
.sec--screen .sec__intro { color: var(--s-ink-2); }
.sec__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px 40px; flex-wrap: wrap; }
.sec__head--row > div:first-child { display: grid; gap: 22px; }

/* Почему сейчас */
.why__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(36px, 6vw, 112px); margin-top: clamp(36px, 4.4vw, 64px); align-items: start;
}
.why__text p:not(.lead) { max-width: 58ch; color: var(--ink-2); }
.why__text .lead { margin-bottom: 1.1em; }
.facts { margin: 0; border-top: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: clamp(132px, 14.4vw, 212px) 1fr; gap: 6px 20px; align-items: baseline; padding: 20px 0 22px; border-bottom: 1px solid var(--line); }
.fact__num { font-family: var(--font-d); font-size: clamp(46px, 4.4vw, 66px); line-height: .9; white-space: nowrap; }
.fact dd { margin: 0; font-size: 16px; line-height: 1.45; }
.src { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-3); }

.pains { margin-top: clamp(72px, 9vw, 136px); }
.pains__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 88px); }
.pain { padding: 26px 0 30px; border-top: 1px solid var(--line); }
.pain__q { font-family: var(--font-d); text-transform: uppercase; font-size: clamp(32px, 3vw, 42px); line-height: .95; margin: 0 0 12px; }
.pain__a { margin: 0; max-width: 54ch; color: var(--ink-2); }

@media (max-width: 900px) {
  .why__grid { grid-template-columns: 1fr; }
  .pains__list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .fact { grid-template-columns: 1fr; gap: 8px; }
}

/* Работы */
.case {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 96px); align-items: center;
  padding-bottom: clamp(64px, 8vw, 112px); margin-bottom: clamp(56px, 7vw, 104px); border-bottom: 1px solid var(--s-line);
}
.case__client { margin: 0 0 14px; color: var(--s-ink-2); font-size: 15px; }
.case__title { font-family: var(--font-d); text-transform: uppercase; font-size: clamp(46px, 5.4vw, 86px); line-height: .9; margin-bottom: 30px; text-wrap: balance; }
.case__done { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--s-line); }
.case__done li { padding: 13px 0; border-bottom: 1px solid var(--s-line); }
.case__reels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.works { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(14px, 1.8vw, 24px); }
.work { margin: 0; min-width: 0; }
.work__open { display: block; text-decoration: none; color: inherit; border-radius: 18px; }
.monitor--card { border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.monitor--card .monitor__video { transition: transform .5s ease; }
.work__open:hover .monitor__video { transform: scale(1.03); }
.work__play {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .92);
}
.work__play::before {
  content: ""; position: absolute; left: 16px; top: 13px;
  border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #000;
}
.work__title { font: 500 16px/1.3 var(--font-t); margin: 16px 0 4px; text-transform: none; }
.work__fmt { margin: 0; font-size: 14px; line-height: 1.4; color: var(--s-ink-2); }

@media (max-width: 1100px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Услуги: монтажный стол */
.tl {
  position: relative; background: var(--paper); border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -40px rgba(0, 0, 0, .25);
  --name-w: 172px;
}
.tl__scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.tl__inner { position: relative; min-width: 820px; padding: 18px 22px 22px; }
.tl__ruler { display: grid; grid-template-columns: var(--name-w) 1fr; align-items: end; }
.tl__corner { font-size: 13px; color: var(--ink-3); padding-bottom: 8px; }
.tl__weeks { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.tl__weeks span { font-size: 13px; color: var(--ink-3); padding: 0 0 8px 8px; border-left: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.tl__tracks { list-style: none; margin: 0; padding: 0; }
.tl__track { display: grid; grid-template-columns: var(--name-w) 1fr; align-items: center; min-height: 50px; border-bottom: 1px solid var(--line-2); }
.tl__track:last-child { border-bottom: 0; }
.tl__name { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; padding-right: 12px; }
.tl__name::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.tl__lane {
  position: relative; height: 36px;
  background: linear-gradient(90deg, var(--line-2) 1px, transparent 1px) 0 0 / 25% 100%;
}
.clip {
  position: absolute; top: 3px; bottom: 3px;
  left: calc(var(--s) / 4 * 100%); width: calc((var(--e) - var(--s)) / 4 * 100% - 3px);
  border-radius: 5px;
  font-size: 12px; font-weight: 500; line-height: 30px; padding: 0 8px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: color-mix(in srgb, var(--c) 20%, var(--paper)); color: var(--ink-2);
  transition: background-color .3s, color .3s;
}
.clip.is-live { background: var(--c); color: #fff; }
.clip--dark.is-live { color: var(--ink); }
.tl__head {
  position: absolute; top: 12px; bottom: 16px; width: 2px; margin-left: -1px; pointer-events: none;
  left: calc(22px + var(--name-w) + (100% - 44px - var(--name-w)) * var(--t, 0));
  background: var(--rec);
}
.tl__head::before {
  content: ""; position: absolute; top: -4px; left: -5px; width: 12px; height: 12px;
  background: var(--rec); border-radius: 2px 2px 6px 6px;
}
@media (max-width: 900px) {
  .tl__name, .tl__corner {
    position: sticky; left: 0; z-index: 3; align-self: stretch; display: flex; align-items: center;
    background: var(--paper); box-shadow: 8px 0 12px -10px rgba(0, 0, 0, .25);
  }
  .tl__corner { align-items: flex-end; }
}
@media (max-width: 640px) {
  .tl { --name-w: 126px; }
  .tl__inner { min-width: 900px; padding: 14px 14px 16px; }
  .tl__name { font-size: 13px; gap: 8px; }
  .tl__head { left: calc(14px + var(--name-w) + (100% - 28px - var(--name-w)) * var(--t, 0)); }
}
.tl__hint { display: none; margin: 12px 0 0; font-size: 13px; color: var(--ink-3); }
@media (max-width: 900px) { .tl__hint { display: block; } }
.svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px clamp(28px, 3.4vw, 56px); margin-top: clamp(48px, 6vw, 88px); }
.svc__item { border-top: 3px solid var(--c); padding-top: 18px; }
.svc__item--wide { grid-column: 1 / -1; }
.svc__item--wide ul { grid-auto-flow: column; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px clamp(28px, 3.4vw, 56px); }
@media (max-width: 760px) { .svc__item--wide ul { grid-auto-flow: row; grid-template-columns: 1fr; } }
.svc__title { font-family: var(--font-d); text-transform: uppercase; font-size: clamp(30px, 2.6vw, 38px); line-height: .95; margin-bottom: 14px; }
.svc__item ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; color: var(--ink-2); font-size: 16px; line-height: 1.45; }
@media (max-width: 960px) { .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc { grid-template-columns: 1fr; gap: 36px; } }

/* Цены */
.prices { background: var(--paper); }
.period { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--cyc); box-shadow: inset 0 0 0 1px var(--line-2); }
.period button { border: 0; background: transparent; padding: 11px 18px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.period button[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; border-top: 1px solid var(--line); }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 34px clamp(20px, 2.4vw, 38px) 38px; border-right: 1px solid var(--line); }
.plan:last-child { border-right: 0; }
.plan--main {
  background: var(--screen); color: var(--s-ink); border-right: 0; border-radius: 12px;
  margin: -18px 0 -18px; padding-top: 52px; padding-bottom: 56px;
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .55);
}
.plan__badge {
  position: absolute; top: 18px; left: clamp(20px, 2.4vw, 38px);
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  font-size: 13px; font-weight: 500; color: var(--s-ink-2);
}
.plan__badge .rec { width: 8px; height: 8px; }
.plan__name { font-family: var(--font-d); text-transform: uppercase; font-size: clamp(46px, 4.6vw, 70px); line-height: .88; }
.plan__for { margin: 0; color: var(--ink-2); }
.plan--main .plan__for { color: var(--s-ink-2); }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 8px 0 4px; }
.plan__sum { font-family: var(--font-d); font-size: clamp(58px, 5.6vw, 86px); line-height: .88; white-space: nowrap; }
.plan__cur { font-size: 16px; color: var(--ink-2); }
.plan--main .plan__cur { color: var(--s-ink-2); }
.plan__list { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; flex: 1; align-content: start; font-size: 16px; line-height: 1.45; }
.plan__list li { position: relative; padding-left: 22px; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: .66em; width: 11px; height: 3px; border-radius: 2px; background: currentColor; opacity: .45; }
.plan__calc { font-size: 14px; line-height: 1.45; color: var(--ink-2); margin: 8px 0 6px; }
.plan--main .plan__calc { color: var(--s-ink-2); }
.plan .btn { align-self: flex-start; }
.plan--main .btn--rec { background: var(--rec-btn); }

.plan-wide {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) auto auto; align-items: center;
  gap: 20px clamp(24px, 3vw, 48px); margin-top: clamp(48px, 5vw, 72px);
  padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.plan-wide__head { display: grid; gap: 8px; }
.plan-wide__text { margin: 0; color: var(--ink-2); max-width: 52ch; }
.plan-wide .plan__price { margin: 0; }

.offer {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: 16px clamp(24px, 3vw, 48px); margin-top: clamp(40px, 4vw, 56px);
  padding: 28px clamp(22px, 3vw, 40px); background: var(--cyc); border-radius: 12px;
}
.offer__title { font-family: var(--font-d); text-transform: uppercase; font-size: clamp(36px, 3.4vw, 50px); line-height: .92; margin: 0; }
.offer__text { margin: 0; color: var(--ink-2); max-width: 52ch; }

.ala-wrap { margin-top: clamp(72px, 9vw, 128px); }
.ala__note { margin: 12px 0 0; color: var(--ink-2); }
.ala { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px clamp(32px, 6vw, 104px); margin-top: 32px; }
.ala__title { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.ala dl { margin: 0; }
.ala__row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.ala__row dt { font-size: 16px; line-height: 1.4; }
.ala__row dd { margin: 0; font-size: 16px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }

@media (max-width: 1000px) {
  .plans { grid-template-columns: 1fr; border-top: 0; }
  .plan { border-right: 0; border-top: 1px solid var(--line); }
  .plan--main { margin: 8px 0; border-top: 0; }
  .plan-wide { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; justify-items: start; }
  .ala { grid-template-columns: 1fr; }
}

/* Как начать */
.steps {
  list-style: none; padding: 0; margin: clamp(48px, 6vw, 84px) 0 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--ink);
}
.step { position: relative; padding: 26px clamp(14px, 2vw, 28px) 0 0; }
.step::before {
  content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--cyc); box-shadow: inset 0 0 0 2px var(--ink);
}
.step:first-child::before { background: var(--rec); box-shadow: none; }
.step__day { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.step__title { font-family: var(--font-d); text-transform: uppercase; font-size: clamp(30px, 2.6vw, 38px); line-height: .94; margin-bottom: 12px; }
.step__text { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); margin-left: 7px; }
  .step { padding: 0 0 36px 30px; }
  .step:last-child { padding-bottom: 0; }
  .step::before { top: 2px; left: -8px; }
}

/* Вопросы */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(36px, 6vw, 112px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--hdr) + 28px); }
.faq__ask { margin-top: 24px; color: var(--ink-2); max-width: 34ch; }
.faq__ask a { color: var(--ink); white-space: nowrap; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 24px 56px 24px 0; font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; line-height: 1.35;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat;
  box-shadow: inset 0 0 0 1px var(--line);
}
.qa[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat; }
.qa__a { padding: 0 56px 26px 0; color: var(--ink-2); }
.qa__a p { margin: 0; max-width: 64ch; }
@media (max-width: 900px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
}

/* Бриф */
.brief__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.brief__head { position: sticky; top: calc(var(--hdr) + 28px); }
.brief__title { font-size: clamp(76px, 9.6vw, 164px); }
.brief__lead { color: var(--s-ink-2); margin: 28px 0 34px; }
.brief__contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.brief__phone { font-size: 21px; font-weight: 500; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.brief__extra { font-size: 15px; color: var(--s-ink-2); }

.formbox { background: var(--paper); color: var(--ink); border-radius: 16px; padding: clamp(22px, 3vw, 44px); min-height: 520px; }
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--cyc); box-shadow: inset 0 0 0 1px var(--line-2); margin-bottom: 30px; max-width: 100%; }
.tabs button { border: 0; background: transparent; padding: 11px 18px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }

.quiz__bar { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.quiz__bar b { font-weight: 600; color: var(--ink); }
.quiz__progress { flex: 1; height: 4px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.quiz__progress i { display: block; height: 100%; width: calc(var(--qp, .2) * 100%); background: var(--rec); transition: width .3s ease; }
.quiz__plan { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -8px 0 22px; padding: 10px 14px; border-radius: 10px; background: var(--cyc); font-size: 15px; }
.quiz__plan button { border: 0; background: none; color: var(--ink-2); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; font-size: 14px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.quiz__q { font-family: var(--font-d); text-transform: uppercase; font-size: clamp(36px, 3.4vw, 50px); line-height: .92; padding: 0; margin: 0 0 12px; }
.quiz__hint { margin: 0 0 18px; font-size: 15px; color: var(--ink-2); }
.quiz__sub { margin: 18px 0 12px; font-size: 15px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px;
  background: var(--cyc); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 15px; font-weight: 500; line-height: 1.25; cursor: pointer; transition: background-color .15s, color .15s;
}
.chip input:checked + span { background: var(--ink); color: var(--paper); box-shadow: none; }
.chip input:checked + span::before { content: ""; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: var(--rec); flex: none; }
.chip input:focus-visible + span { outline: 2px solid var(--rec); outline-offset: 2px; }
.chips--sm .chip span { min-height: 40px; padding: 0 15px; font-size: 14px; }

.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field > span { font-size: 14px; font-weight: 500; }
.field i { font-style: normal; font-weight: 400; color: var(--ink-3); }
.field input, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--font-t); color: var(--ink);
  padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: transparent; }
.field input[aria-invalid="true"] { border-color: var(--rec-btn); box-shadow: 0 0 0 1px var(--rec-btn); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--ink); }
.consent a { color: var(--ink); }
.consent.is-invalid { color: var(--rec-btn); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.form__err { margin: 14px 0 0; min-height: 1.45em; font-size: 14px; color: var(--rec-btn); }
.quiz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.quiz__nav [data-next], .quiz__nav [data-submit] { margin-left: auto; }
.callform .btn { margin-top: 18px; }

.done { outline: none; }
.done__title { font-family: var(--font-d); text-transform: uppercase; font-size: clamp(44px, 4.4vw, 64px); line-height: .9; margin: 0 0 16px; }
.done__text { color: var(--ink-2); max-width: 52ch; }
.done__copy { width: 100%; min-height: 150px; margin: 4px 0 18px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: 400 14px/1.45 var(--font-t); color: var(--ink); resize: vertical; }
.done__act { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 960px) {
  .brief__grid { grid-template-columns: 1fr; }
  .brief__head { position: static; }
  .brief__title { font-size: clamp(84px, 25vw, 150px); }
}
@media (max-width: 480px) {
  .tabs { display: flex; }
  .tabs button { flex: 1; padding: 11px 10px; }
  .quiz__nav .btn { padding: 0 20px; }
}

/* Подвал */
.ftr { background: var(--screen); color: var(--s-ink); padding: clamp(56px, 6vw, 88px) 0 calc(36px + env(safe-area-inset-bottom)); border-top: 1px solid var(--s-line); }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 3fr); gap: 36px clamp(28px, 4vw, 64px); }
.ftr__brand p { margin: 18px 0 0; max-width: 40ch; color: var(--s-ink-2); font-size: 15px; }
.ftr__nav, .ftr__contacts, .ftr__dev { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.ftr__nav a, .ftr__contacts a, .ftr__dev a { text-decoration: none; color: var(--s-ink); }
.ftr__title { margin: 0 0 4px; font-size: 13px; color: var(--s-ink-2); }
.ftr__nav a:hover, .ftr__contacts a:hover { text-decoration: underline; }
.ftr__contacts a { font-variant-numeric: tabular-nums; }
.ftr__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--s-line); font-size: 13px; color: var(--s-ink-2); }
.ftr__legal p { margin: 0; }
.ftr__docs { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ftr__docs a { color: var(--s-ink-2); }
@media (max-width: 760px) {
  .ftr { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
}

/* Быстрая связь на телефоне */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 55;
  display: none; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px;
  background: rgba(21, 24, 28, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: 999px; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .5);
  transform: translateY(160%); transition: transform .3s ease;
}
.dock a { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 999px; color: #fff; text-decoration: none; font-size: 15px; font-weight: 500; }
.dock a:last-child { background: var(--rec-btn); }
.dock.is-on { transform: none; }
.lb-open .dock { transform: translateY(160%); }
@media (max-width: 760px) { .dock { display: grid; } }

/* Просмотр работы */
.lb {
  position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .95); color: var(--s-ink);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: 0 40px;
  padding: 28px 84px 28px 28px; align-items: center;
}
.lb__stage { height: calc(100vh - 56px); height: calc(100dvh - 56px); display: flex; align-items: center; justify-content: center; min-width: 0; }
.lb__video { max-height: 100%; max-width: 100%; width: auto; height: 100%; border-radius: 16px; background: #000; }
.lb__info { align-self: center; }
.lb__fmt { margin: 0 0 10px; color: var(--s-ink-2); font-size: 15px; }
.lb__title { font-family: var(--font-d); text-transform: uppercase; font-size: clamp(40px, 3.6vw, 58px); line-height: .92; margin-bottom: 26px; }
.lb__label { font-size: 14px; font-weight: 600; margin: 0 0 6px; }
.lb__done { list-style: none; padding: 0; margin: 0 0 28px; border-top: 1px solid var(--s-line); font-size: 16px; }
.lb__done li { padding: 11px 0; border-bottom: 1px solid var(--s-line); }
.lb__btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center;
}
.lb__btn:hover { background: rgba(255, 255, 255, .2); }
.lb__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb__close { top: 20px; right: 20px; }
.lb__prev { right: 20px; top: calc(50% - 56px); }
.lb__next { right: 20px; top: calc(50% + 8px); }
@media (max-width: 860px) {
  .lb { display: block; overflow-y: auto; overscroll-behavior: contain; background: #000; padding: 68px 16px calc(28px + env(safe-area-inset-bottom)); }
  .lb__stage { height: 64vh; height: 64dvh; margin-bottom: 22px; }
  .lb__title { font-size: 40px; margin-bottom: 14px; }
  .lb__done { margin-bottom: 18px; }
  .lb__close { top: 10px; right: 12px; }
  .lb__prev { top: 10px; right: auto; left: 12px; }
  .lb__next { top: 10px; right: auto; left: 68px; }
}

/* Плашка про куки — только если подключена Метрика */
.cookie {
  position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 70; max-width: 440px;
  background: var(--ink); color: var(--paper); border-radius: 14px; padding: 18px 20px;
  display: grid; gap: 14px; font-size: 14px; line-height: 1.45; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5);
}
.cookie p { margin: 0; }
.cookie a { color: var(--paper); }
.cookie__act { display: flex; gap: 10px; }
.cookie .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
@media (max-width: 760px) { .cookie { left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); } }

/* Страницы документов */
.doc { padding: calc(var(--hdr) + 48px) 0 96px; }
.doc__in { max-width: 760px; }
.doc h1 { font-family: var(--font-d); text-transform: uppercase; font-size: clamp(48px, 6vw, 84px); line-height: .9; margin-bottom: 28px; }
.doc h2 { font-size: 21px; font-weight: 600; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 1.2em; }
.doc .doc__meta { color: var(--ink-3); font-size: 15px; }
.doc mark { background: #FFE7A3; color: var(--ink); padding: 0 .2em; border-radius: 3px; }

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

/* Кому подходим */
.fit { border-top: 1px solid var(--line); }
.fit__quote { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.35; max-width: 40ch; margin: 28px 0 clamp(40px, 5vw, 72px); padding-left: 22px; border-left: 4px solid var(--rec); }
.fit__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 88px); }
.fit__head { font-family: var(--font-d); font-weight: 400; text-transform: uppercase; font-size: clamp(32px, 3vw, 42px); line-height: 1; margin: 0 0 14px; }
.fit__col ul { list-style: none; padding: 0; margin: 0; }
.fit__col li { position: relative; padding: 16px 0 16px 34px; border-top: 1px solid var(--line); }
.fit__col li::before { position: absolute; left: 0; top: 14px; font-weight: 700; font-size: 18px; }
.fit__col--yes li::before { content: "✓"; color: var(--ink); }
.fit__col--no li { color: var(--ink-2); }
.fit__col--no li::before { content: "✕"; color: var(--rec-btn); }
@media (max-width: 760px) { .fit__grid { grid-template-columns: 1fr; } }
.plan-wide__badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; margin: 0 0 6px; }
.plans + .plan-wide, .plan-wide + .plans { margin-top: 28px; }

/* Второй кейс: ролики слева, три в ряд */
.case--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.case--flip .case__text { order: 2; }
.case__reels--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .case--flip { grid-template-columns: 1fr; }
  .case--flip .case__text { order: 0; }
}
@media (max-width: 560px) { .case__reels--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }


/* Переключатель версий оформления */
.vsw { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: rgba(21, 24, 28, .07); flex: none; }
.vsw a { padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 500; line-height: 1; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.vsw a[aria-current] { background: var(--ink); color: var(--paper); }
.vsw a:not([aria-current]):hover { color: var(--ink); background: rgba(21, 24, 28, .08); }
@media (max-width: 1280px) { .hdr__tel { display: none; } }
@media (max-width: 1180px) { .nav { gap: 18px; } }
@media (max-width: 420px) { .vsw a { padding: 6px 8px; font-size: 12px; } .logo { font-size: 30px; } }

/* Строка с кейсом под кнопками */
.hero__proof { margin: 14px 0 0; font-size: 14px; }
.hero__proof a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line); }
.hero__proof a:hover { color: var(--ink); border-color: var(--ink); }
.hero__proof b { color: var(--ink); font-weight: 600; }

/* Лента стала витриной — компактная полоса */
.why { padding: clamp(48px, 6vw, 88px) 0; }
.why__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.why__title { margin-bottom: 14px; }
.why__text p { margin: 0; color: var(--ink-2); max-width: 44ch; }
.why .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 0; }
.why .fact { display: block; padding: 6px 0 6px clamp(16px, 2vw, 28px); border-bottom: 0; border-left: 1px solid var(--line); }
.why .fact__num { font-size: clamp(40px, 3.6vw, 56px); margin-bottom: 8px; }
.why .fact dd { font-size: 15px; }
@media (max-width: 900px) {
  .why__row { grid-template-columns: 1fr; }
  .why .facts { grid-template-columns: 1fr; gap: 14px; }
  .why .fact { display: grid; grid-template-columns: 130px 1fr; gap: 14px; align-items: baseline; border-left: 0; padding: 0; }
}

/* Цены: акценты */
.plan__list b { font-weight: 600; }
.plan__calc s { text-decoration-thickness: 1px; }
