/* ============================================================
   Wolf Consult — Узбекистан. Стили лендинга.
   WDS (палитра, 0px) + Vercel (ритм, тени, плотность).
   Мобильный первым: базовые правила — 390px, дальше @media вверх.
   ============================================================ */


:root {
  --wc-canvas: #fbfbfb;
  --wc-surface: #ffffff;
  --wc-subtle: #f4f4f4;
  --wc-inverse: #161616;
  --wc-inverse-2: #1f1f1f;
  --wc-ink: #161616;
  --wc-ink-2: #525252;
  --wc-ink-3: #8d8d8d;
  --wc-on-dark: #f4f4f4;
  --wc-on-dark-2: #a8a8a8;
  --wc-line: #e0e0e0;
  --wc-line-strong: #c6c6c6;
  --wc-line-dark: #333;
  --wc-blue: #004ccd;
  --wc-blue-hover: #003aa8;
  --wc-vibrant: #0f62fe;
  --wc-blue-light: #d0e2ff;
  --wc-blue-tint: #edf3ff;
  --wc-green: #24a148;

  --sh-1: inset 0 0 0 1px rgba(0,0,0,.09);
  --sh-2: 0 1px 1px rgba(0,0,0,.02), 0 2px 2px rgba(0,0,0,.04), inset 0 0 0 1px rgba(0,0,0,.09);
  --sh-3: 0 2px 2px rgba(0,0,0,.04), 0 8px 8px -8px rgba(0,0,0,.05), inset 0 0 0 1px rgba(0,0,0,.09);
  --sh-4: 0 2px 2px rgba(0,0,0,.04), 0 10px 20px -6px rgba(0,0,0,.10), inset 0 0 0 1px rgba(0,0,0,.10);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 40px; --s8: 56px; --s9: 72px;

  --pad: 16px;
  --band: 56px;
  --max: 1440px;
  --ease: cubic-bezier(.2,0,.38,.9);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--wc-canvas);
  color: var(--wc-ink);
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--wc-vibrant); text-decoration: none; }
a:hover { color: var(--wc-blue-hover); }

/* ---------- Типографика: только IBM Plex Sans ---------- */

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
h1 { font-size: 30px; font-weight: 500; letter-spacing: -.025em; line-height: 1.12; }
h2 { font-size: 24px; letter-spacing: -.02em; }
h3 { font-size: 17px; line-height: 1.35; }
p  { margin: 0; }

.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--wc-blue); margin: 0 0 var(--s3);
}
.num { font-family: 'JetBrains Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.lead { font-size: 16px; color: var(--wc-ink-2); line-height: 1.55; }
.small { font-size: 13px; color: var(--wc-ink-3); line-height: 1.5; }
.note { font-size: 13px; color: var(--wc-ink-3); line-height: 1.5; max-width: 78ch; margin-top: var(--s5); }

/* ---------- Каркас ---------- */

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
section { padding-block: var(--band); }
section[id] { scroll-margin-top: 68px; }
.tint { background: var(--wc-subtle); }
.band-dark { background: var(--wc-inverse); color: var(--wc-on-dark); }
.band-graphite { background: var(--wc-inverse-2); color: var(--wc-on-dark); }
.band-graphite h2, .band-graphite h3 { color: #fff; }
.band-graphite .lead, .band-graphite p:not(.form-hint):not(.small) { color: var(--wc-on-dark-2); }
.band-graphite .small { color: var(--wc-on-dark-2); }
.band-graphite .regalia-lite { border-top-color: var(--wc-line-dark); }
.band-graphite .regalia-lite span { color: var(--wc-on-dark-2); }
.band-graphite .regalia-lite b { color: #fff; }
.band-graphite .form-card .small { color: var(--wc-ink-3); }
.band-graphite .form-card p { color: var(--wc-ink-2); }
.band-graphite .form-card label { color: var(--wc-ink-2); }
.band-graphite .ico { stroke: #7aa5ff; }
.h-accent { color: var(--wc-vibrant) !important; }
.band-dark h1, .band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .eyebrow { color: #7aa5ff; }
.band-dark .lead, .band-dark p { color: var(--wc-on-dark-2); }
.band-dark .note { color: #7d7d7d; }

.head { margin-bottom: var(--s6); max-width: 76ch; }
.head .lead { margin-top: var(--s3); }

.grid { display: grid; gap: var(--s3); }

/* ---------- Иконки ---------- */
.ico { width: 22px; height: 22px; stroke: var(--wc-blue); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.band-dark .ico { stroke: #7aa5ff; }

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 46px; padding: 0 var(--s5);
  font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1;
  border: 1px solid transparent; border-radius: 0; cursor: pointer;
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
  text-align: center;
}
.btn-sm { min-height: 44px; font-size: 14px; padding: 0 var(--s4); }
.btn-primary { background: var(--wc-blue); color: #fff; }
.btn-primary:hover { background: var(--wc-blue-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--wc-ink); border-color: var(--wc-line-strong); }
.btn-ghost:hover { background: var(--wc-subtle); color: var(--wc-ink); }
.btn-on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-on-dark:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-dark { background: var(--wc-inverse); color: #fff; }
.btn-tg { background: transparent; color: var(--wc-ink); border-color: var(--wc-line-strong); }
.btn-tg:hover { background: var(--wc-subtle); color: var(--wc-ink); }
.btn-tg svg { width: 16px; height: 16px; stroke: var(--wc-vibrant); fill: none; stroke-width: 1.8; }
.regalia-lite {
  display: grid; gap: var(--s2);
  margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--wc-line);
}
.regalia-lite span { font-size: 13px; color: var(--wc-ink-3); }
.regalia-lite b { font-family: 'JetBrains Mono', monospace; color: var(--wc-ink); font-weight: 700; }
@media (min-width: 600px) { .regalia-lite { grid-template-columns: 1fr 1fr; gap: var(--s3) var(--s5); } }
.form-hint { font-size: 11px; color: var(--wc-ink-3); margin-top: var(--s3); line-height: 1.5; text-align: center; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-block { display: flex; width: 100%; }

/* ---------- Карточки ---------- */

.card {
  background: var(--wc-surface); box-shadow: var(--sh-2);
  padding: var(--s5) var(--s4);
  transition: box-shadow .18s var(--ease);
}
.card:hover { box-shadow: var(--sh-4); }
.card .ico { margin-bottom: var(--s3); }
.card h3 { margin-bottom: var(--s2); }
.card p { color: var(--wc-ink-2); font-size: 14px; }

.card-dark {
  background: var(--wc-inverse-2); padding: var(--s5) var(--s4);
  box-shadow: inset 0 0 0 1px var(--wc-line-dark);
}
.card-dark .ico { margin-bottom: var(--s3); }
.card-dark h3 { margin-bottom: var(--s2); color: #fff; }
.card-dark p { color: var(--wc-on-dark-2); font-size: 14px; }

/* ---------- Шапка ---------- */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,251,251,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--wc-line);
}
.site-head .wrap { display: flex; align-items: center; gap: var(--s2); min-height: 60px; }
.brand { display: flex; align-items: center; gap: var(--s2); margin-right: auto; }
.brand img { width: 28px; height: 28px; }
.brand span { display: none; font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--wc-ink); white-space: nowrap; }
.nav { display: none; }
.head-tel { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--wc-ink); display: none; white-space: nowrap; }
.head-cta { display: none; }
.tel-icon, .tg-icon, .burger {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; border: 1px solid var(--wc-line-strong);
  background: transparent; color: var(--wc-ink); cursor: pointer; padding: 0; flex: 0 0 auto;
}
.burger, .tg-icon { width: 44px; }
.tel-icon { padding: 0 10px; font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 500; white-space: nowrap; }
.tel-icon svg, .tg-icon svg, .burger svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.tg-icon svg { stroke: var(--wc-vibrant); }
.tel-icon:hover, .tg-icon:hover, .burger:hover { background: var(--wc-subtle); color: var(--wc-ink); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 60; background: var(--wc-inverse); color: #fff;
  padding: var(--s5) var(--pad); display: flex; flex-direction: column; gap: var(--s2);
  overflow-y: auto;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a { color: #fff; font-size: 19px; padding: var(--s3) 0; border-bottom: 1px solid var(--wc-line-dark); }
.mobile-nav .close { align-self: flex-end; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 1px solid var(--wc-line-dark); color: #fff; cursor: pointer; margin-bottom: var(--s3); }
.mobile-nav .close svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* ---------- Герой ---------- */

.hero { position: relative; background: var(--wc-inverse); color: #fff; overflow: hidden; padding-block: var(--s8); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(11,11,11,.96) 0%, rgba(15,15,15,.86) 45%, rgba(20,20,20,.72) 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-split { display: grid; gap: var(--s7); }
.hero .form-card { display: none; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,.78); margin-top: var(--s4); max-width: 54ch; }
.hero-actions { display: flex; flex-direction: column; gap: var(--s3); margin-top: var(--s5); }
.hero .eyebrow { color: #7aa5ff; }

.regalia {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  margin-top: var(--s6); background: rgba(255,255,255,.16);
  box-shadow: 0 0 0 1px rgba(255,255,255,.16);
}
.regalia div { background: #131313; padding: var(--s4) var(--s3); }
.regalia b { display: block; font-family: 'JetBrains Mono', monospace; font-size: 17px; font-weight: 700; color: #fff; line-height: 1.2; }
.regalia span { display: block; font-size: 11px; color: rgba(255,255,255,.62); line-height: 1.35; margin-top: 4px; }

/* ---------- Полоса продукта ---------- */

.shot-band { background: var(--wc-inverse-2); padding-block: var(--s8); }
.shot { box-shadow: 0 20px 40px -20px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.1); }
.shot img { width: 100%; }
.shot-cap { font-size: 12px; color: var(--wc-ink-3); margin-top: var(--s3); }
.shot-media { margin-top: var(--s5); }
.shot-split, .audit-grid { display: grid; }
.shot-split .shot-media, .audit-grid .shot-media { order: 2; }

/* ---------- Полоса доверия ---------- */

.trust { border-bottom: 1px solid var(--wc-line); padding-block: var(--s4); background: var(--wc-surface); }
.trust-scroll { display: flex; gap: var(--s5); overflow-x: auto; scrollbar-width: thin; }
.trust-item { flex: 0 0 auto; font-size: 13px; color: var(--wc-ink-2); white-space: nowrap; }
.trust-item b { font-family: 'JetBrains Mono', monospace; color: var(--wc-ink); }

/* ---------- Пары «сейчас → после» ---------- */

.pairs-head { display: none; }
.pairs { display: grid; gap: 0; }
.pair-now, .pair-next { padding: var(--s3) var(--s4); }
.pair-now { background: var(--wc-subtle); box-shadow: inset 0 0 0 1px var(--wc-line); }
.pair-next { background: var(--wc-surface); box-shadow: var(--sh-2); }
.pair-next + .pair-now { margin-top: var(--s3); }
.pair-now h3, .pair-next h3 { font-size: 15px; margin-bottom: 4px; }
.pair-now p { font-size: 14px; color: var(--wc-ink-3); }
.pair-next p { font-size: 14px; color: var(--wc-ink-2); }
/* «До» на телефоне — одна строка: заголовок уже говорит о проблеме */
.pair-now p { display: none; }
.pair-now h3 { margin-bottom: 0; }
.pair-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; display: block; margin-bottom: 4px;
}
.pair-now .pair-tag { color: var(--wc-ink-3); }
.pair-next .pair-tag { color: var(--wc-blue); }
.pair-next h3::before { content: ''; }

/* ---------- Шаги ---------- */

.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: var(--s4); padding: var(--s4) 0; border-top: 1px solid var(--wc-line); }
.step:last-child { border-bottom: 1px solid var(--wc-line); }
.step-num { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--wc-blue); padding-top: 3px; }
.step h3 { margin-bottom: 2px; }
.step p { color: var(--wc-ink-2); font-size: 14px; }

/* ---------- Пакеты: компактные карточки ---------- */

.packs { display: grid; gap: var(--s3); }
.pack { background: var(--wc-surface); box-shadow: var(--sh-2); padding: var(--s5) var(--s4); display: flex; flex-direction: column; }
.pack.featured { box-shadow: var(--sh-3), 0 0 0 2px var(--wc-blue); }
.pack-top { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); }
.pack-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; background: var(--wc-blue); color: #fff; padding: 3px var(--s2);
}
.pack-price { font-family: 'JetBrains Mono', monospace; font-size: 22px; font-weight: 700; margin: var(--s3) 0 2px; }
.pack-price small { font-size: 12px; font-weight: 400; color: var(--wc-ink-3); }
.pack-for { font-size: 13px; color: var(--wc-ink-3); padding-bottom: var(--s4); border-bottom: 1px solid var(--wc-line); margin-bottom: var(--s4); }
.pack ul { list-style: none; margin: 0 0 var(--s5); padding: 0; display: grid; gap: var(--s2); }
.pack li { position: relative; padding-left: 18px; font-size: 14px; color: var(--wc-ink-2); }
.pack li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 1px; background: var(--wc-blue); }
.pack .btn { margin-top: auto; }

/* Таблица сравнения — есть и на мобильном, скроллится внутри себя */
.compare { margin-top: var(--s7); }
.compare h3 { font-size: 17px; margin-bottom: var(--s4); }
.compare thead th:first-child { color: var(--wc-ink); font-family: 'IBM Plex Sans', sans-serif; font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 600; }
.compare thead th + th { color: var(--wc-ink); font-family: 'IBM Plex Sans', sans-serif; font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 600; }
.compare thead tr { background: var(--wc-subtle); }
.compare thead th { border-bottom: 2px solid var(--wc-line-strong); }
.compare-scroll { overflow-x: auto; box-shadow: var(--sh-2); background: var(--wc-surface); }
.compare table { width: 100%; min-width: 520px; border-collapse: collapse; }
.compare th, .compare td { padding: var(--s3) var(--s4); text-align: left; border-bottom: 1px solid var(--wc-line); font-size: 14px; }
.compare thead th { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--wc-ink-3); font-weight: 500; white-space: nowrap; }
.compare td + td, .compare th + th { text-align: center; font-family: 'JetBrains Mono', monospace; }
.compare tbody tr:nth-child(even) { background: var(--wc-subtle); }
.compare tbody tr:last-child td { border-bottom: 0; }
.scroll-hint { font-size: 12px; color: var(--wc-ink-3); margin-top: var(--s2); }

/* ---------- Тарифы ---------- */

.tariffs { display: grid; gap: var(--s3); }
.tariff { background: var(--wc-surface); box-shadow: var(--sh-2); padding: var(--s5) var(--s4); }
.tariff h3 { margin-bottom: var(--s2); }
.tariff .price { font-family: 'JetBrains Mono', monospace; font-size: 20px; font-weight: 700; }
.tariff .price small { font-size: 12px; font-weight: 400; color: var(--wc-ink-3); }
.tariff .price-year { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--wc-green); margin-top: 2px; }
.tariff .for { font-size: 12px; color: var(--wc-ink-3); margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--wc-line); }

/* ---------- Интеграции ---------- */

.integrations { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--wc-line); box-shadow: 0 0 0 1px var(--wc-line); }
.integration { background: var(--wc-surface); padding: var(--s4) var(--s3); text-align: center; }
.integration b { display: block; font-size: 14px; font-weight: 600; }
.integration span { display: block; font-size: 11px; color: var(--wc-ink-3); margin-top: 2px; line-height: 1.35; }
.integration.lead-item { background: var(--wc-blue-tint); box-shadow: inset 0 0 0 1px var(--wc-blue-light); }

/* ---------- Кейсы ---------- */

.cases { display: grid; gap: var(--s4); }
.case { background: var(--wc-surface); box-shadow: var(--sh-3); overflow: hidden; display: flex; flex-direction: column; }
.case-photo { position: relative; aspect-ratio: 16 / 9; }
.case-photo img { width: 100%; height: 100%; object-fit: cover; }
.case-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,22,22,.05) 35%, rgba(22,22,22,.9) 100%); }
.case-caption { position: absolute; left: var(--s4); right: var(--s4); bottom: var(--s3); z-index: 1; color: #fff; }
.case-caption h3 { color: #fff; margin: 0; }
.case-caption .num { font-size: 11px; color: rgba(255,255,255,.8); display: block; margin-top: 2px; }
.case-body { padding: var(--s4); display: flex; flex-direction: column; flex: 1; }
.case-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); padding-bottom: var(--s4); border-bottom: 1px solid var(--wc-line); }
.case-results b { display: block; font-family: 'JetBrains Mono', monospace; font-size: 20px; font-weight: 700; color: var(--wc-blue); line-height: 1.2; }
.case-results span { font-size: 11px; color: var(--wc-ink-3); line-height: 1.35; display: block; margin-top: 2px; }
.case details { padding-top: var(--s3); margin-top: var(--s3); }
.case summary { cursor: pointer; font-size: 13px; font-weight: 600; list-style: none; color: var(--wc-blue); min-height: 44px; display: flex; align-items: center; }
.case summary::-webkit-details-marker { display: none; }
.case summary::after { content: ' +'; font-family: 'JetBrains Mono', monospace; }
.case details[open] summary::after { content: ' −'; }
.case details p { font-size: 13px; color: var(--wc-ink-2); margin-top: var(--s2); }

/* ---------- Видео ---------- */

.videos { display: grid; gap: var(--s4); }
.video { background: #000; box-shadow: inset 0 0 0 1px var(--wc-line-dark); }
.video-frame { position: relative; aspect-ratio: 16 / 9; cursor: pointer; overflow: hidden; }
.video-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.video-frame:hover img { transform: scale(1.03); opacity: .85; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 60px; height: 60px; background: rgba(0,0,0,.6); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
  display: flex; align-items: center; justify-content: center; pointer-events: none;
}
.play::after { content: ''; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.video-title { padding: var(--s3) var(--s4); font-size: 13px; color: var(--wc-on-dark); background: var(--wc-inverse-2); }

/* ---------- FAQ ---------- */

#faq .head { margin-inline: auto; text-align: center; }
.faq { max-width: 90ch; margin-inline: auto; }


.faq-grid { display: grid; gap: 0; }
.faq details { border-top: 1px solid var(--wc-line); padding: var(--s2) 0 var(--s3); }
.faq details:last-child { border-bottom: 1px solid var(--wc-line); }
.faq summary { cursor: pointer; font-size: 16px; font-weight: 600; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 44px; padding: var(--s2) 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: 'JetBrains Mono', monospace; color: var(--wc-blue); flex: 0 0 auto; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin-top: var(--s3); color: var(--wc-ink-2); font-size: 14px; max-width: 76ch; }

/* ---------- Форма ---------- */

.split { display: grid; gap: var(--s7); }
.form-card { background: var(--wc-surface); box-shadow: var(--sh-4); padding: var(--s5) var(--s4); color: var(--wc-ink); }
.form-card h3 { margin-bottom: var(--s2); }
.form-card .small { margin-bottom: var(--s4); }
.field { display: grid; gap: 5px; margin-bottom: var(--s2); }
.field label { font-size: 12px; font-weight: 600; color: var(--wc-ink-2); }
.field input {
  min-height: 44px; padding: 0 var(--s3); font: inherit; font-size: 16px;
  border: 1px solid var(--wc-line-strong); border-radius: 0; background: #fff; color: var(--wc-ink);
}
.field input::placeholder { color: var(--wc-ink-3); }
.field select {
  min-height: 44px; padding: 0 var(--s3); font: inherit; font-size: 16px;
  border: 1px solid var(--wc-line-strong); border-radius: 0; background: #fff; color: var(--wc-ink);
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--wc-ink-2) 50%), linear-gradient(135deg, var(--wc-ink-2) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.field select:focus { outline: 2px solid var(--wc-blue); outline-offset: -2px; }
.field[hidden] { display: none; }
.field input:focus { outline: 2px solid var(--wc-blue); outline-offset: -2px; border-color: var(--wc-blue); }
.field-row { display: grid; gap: var(--s3); }
.form-actions { display: grid; gap: var(--s2); margin-top: var(--s3); }
.form-tg { font-size: 12px; color: var(--wc-ink-3); margin-top: var(--s3); line-height: 1.5; }
.form-tg svg { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-right: 6px; stroke: var(--wc-vibrant); fill: none; stroke-width: 1.8; }

/* ---------- Подвал ---------- */

.site-foot { background: var(--wc-inverse); color: var(--wc-on-dark-2); padding-block: var(--s8) var(--s9); }
.site-foot a { color: var(--wc-on-dark); }
.site-foot a:hover { color: #fff; }
.foot-grid { display: grid; gap: var(--s6); }
.foot-brand { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s3); }
.foot-brand img { width: 28px; height: 28px; }
.foot-brand span { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 12px; letter-spacing: .1em; color: #fff; }
.foot-col h4 { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--wc-ink-3); margin: 0 0 var(--s3); font-weight: 500; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); font-size: 14px; }
.foot-legal { margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid var(--wc-line-dark); font-size: 11px; color: #6f6f6f; display: grid; gap: 6px; line-height: 1.5; }
.ph { color: #b58a00; }

/* ---------- Липкая полоса ---------- */

.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--wc-line); border-top: 1px solid var(--wc-line);
  transform: translateY(100%); transition: transform .2s var(--ease);
}
.sticky-bar.visible { transform: translateY(0); }
@media (max-width: 959px) { body { padding-bottom: 51px; } }
.sticky-bar .btn { min-height: 50px; }

/* ============================================================ */
@media (min-width: 600px) {
  :root { --pad: 24px; --band: 68px; }
  .brand span { display: block; }
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .regalia { grid-template-columns: repeat(4, 1fr); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .integrations { grid-template-columns: repeat(3, 1fr); }
  .videos { grid-template-columns: repeat(2, 1fr); }
  .tariffs, .packs { grid-template-columns: repeat(2, 1fr); }
  .pairs { grid-template-columns: 1fr 1fr; gap: var(--s3); }
  .pair-now, .pair-next { padding: var(--s4); }
  .pair-next + .pair-now { margin-top: 0; }
  .pair-now p { display: block; }
  .pair-now h3 { margin-bottom: 6px; }
  .pairs-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-bottom: var(--s3); }
  .pairs-head span { font-size: 17px; font-weight: 600; color: var(--wc-ink-3); padding-bottom: var(--s2); border-bottom: 2px solid var(--wc-line); }
  .pairs-head span + span { color: var(--wc-blue); border-bottom-color: var(--wc-blue); }
  .pair-tag { display: none; }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .form-actions { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================ */
@media (min-width: 960px) {
  :root { --pad: 32px; --band: 88px; }
  h1 { font-size: 50px; }
  h2 { font-size: 34px; }
  h3 { font-size: 18px; }
  .lead { font-size: 17px; }

  .nav { display: flex; gap: var(--s5); }
  .nav a { font-size: 14px; color: var(--wc-ink-2); }
  .nav a:hover { color: var(--wc-ink); }
  .head-tel { display: block; margin-inline: var(--s4) var(--s3); }
  .head-cta { display: inline-flex; }
  .burger, .tel-icon, .tg-icon { display: none; }

  .hero { padding-block: var(--s9); }
  .hero-split { grid-template-columns: 1.15fr .85fr; gap: var(--s9); align-items: start; }
  .hero .form-card { display: block; }
  .hero .lead { font-size: 18px; }

  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .tariffs { grid-template-columns: repeat(3, 1fr); }
  .packs { grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
  .cases { grid-template-columns: repeat(3, 1fr); }
  .videos { grid-template-columns: repeat(2, 1fr); gap: var(--s5); }
  .faq-grid { grid-template-columns: 1fr 1fr; gap: 0 var(--s9); }
  .audit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s9); align-items: center; }
  .integrations { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .compare table { min-width: 0; }
  .scroll-hint { display: none; }
  .sticky-bar { display: none; }
  .card { padding: var(--s5); }
  .split { grid-template-columns: 1.25fr .75fr; gap: var(--s9); align-items: start; }
  .form-card { padding: var(--s6); }
  .shot-split { grid-template-columns: 1fr 1fr; gap: var(--s9); align-items: center; }
  .shot-media { margin-top: 0; }
  .shot-split .shot-media, .audit-grid .shot-media { order: 0; }
}

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

/* ---------- Fluent Forms под вид макета ---------- */

.form-card .fluentform { margin: 0; }
.form-card .frm-fluent-form .ff-t-container,
.form-card .frm-fluent-form .ff-t-cell { display: block; padding: 0; }
.form-card .ff-el-group { display: block; margin-bottom: var(--s2); }
.form-card .ff-el-group.ff-el-form-top .ff-el-input--label,
.form-card .ff-el-input--label {
  display: block; width: 100%; float: none; margin: 0 0 5px; padding: 0;
}
.form-card .ff-el-group.ff-el-form-top .ff-el-input--content,
.form-card .ff-el-input--content {
  display: block; width: 100%; float: none; margin: 0;
}
.form-card .ff-el-input--label label {
  font-size: 12px; font-weight: 600; color: var(--wc-ink-2);
  margin: 0; padding: 0; line-height: 1.4;
}
.form-card .ff-el-input--label.ff-el-is-required label:after { color: var(--wc-blue); }
.form-card .ff-el-form-control {
  width: 100%; min-height: 46px; padding: 0 var(--s3);
  font: inherit; font-size: 16px; line-height: 1.4;
  border: 1px solid var(--wc-line-strong); border-radius: 0;
  background: #fff; color: var(--wc-ink); box-shadow: none;
}
.form-card textarea.ff-el-form-control { padding: var(--s3); min-height: 88px; }
.form-card .ff-el-form-control::placeholder { color: var(--wc-ink-3); }
.form-card .ff-el-form-control:focus {
  outline: 2px solid var(--wc-blue); outline-offset: -2px;
  border-color: var(--wc-blue); box-shadow: none;
}
.form-card select.ff-el-form-control {
  appearance: none; -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--wc-ink-2) 50%),
    linear-gradient(135deg, var(--wc-ink-2) 50%, transparent 50%);
  background-position: calc(100% - 18px) 22px, calc(100% - 13px) 22px;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
  padding-right: var(--s7);
}
.form-card .ff_submit_btn_wrapper { margin-top: var(--s3); text-align: left; }
.form-card .ff-btn-submit,
.form-card .frm-fluent-form .ff-btn-submit {
  display: flex; width: 100%; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 var(--s5);
  font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1;
  border: 1px solid transparent; border-radius: 0; cursor: pointer;
  background: var(--wc-blue); color: #fff; box-shadow: none;
  transition: background-color .16s var(--ease);
}
.form-card .ff-btn-submit:hover { background: var(--wc-blue-hover); color: #fff; }
.form-card .ff-el-is-error .ff-el-form-control { border-color: #da1e28; }
.form-card .error.text-danger,
.form-card .ff-el-form-check-label .error {
  font-size: 12px; color: #da1e28; margin-top: 4px;
}
.form-card .ff-message-success {
  border: 1px solid var(--wc-blue-light); background: var(--wc-blue-tint);
  color: var(--wc-ink); padding: var(--s4); font-size: 14px; border-radius: 0;
}
.form-card .ff-errors-in-stack .error {
  font-size: 13px; color: #da1e28;
}
.form-card .form-actions { margin-top: var(--s2); }
@media (min-width: 600px) {
  .form-card .ff-t-cell { display: block; }
}
