/* Лендинг агентства. Ноль внешних запросов: шрифты системные, иконки — inline SVG. */

:root {
  --ink: #0b1220;
  --ink-2: #1c2635;
  --muted: #5a6779;
  --muted-2: #8b97a8;
  --line: #e6ebf2;
  --line-dark: rgba(255, 255, 255, .12);
  --bg: #ffffff;
  --soft: #f6f8fc;
  --dark: #070b12;
  --brand: #2563eb;
  --brand-2: #7c3aed;
  --brand-soft: #eff4ff;
  --ok: #0f9d6b;
  --warn: #e07b00;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(11, 18, 32, .04), 0 8px 24px rgba(11, 18, 32, .06);
  --shadow-lg: 0 2px 4px rgba(11, 18, 32, .04), 0 24px 60px rgba(11, 18, 32, .12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display",
          "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--brand); text-decoration: none; }
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.14; margin: 0; }
p { margin: 0; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
/* Над hero шапка непрозрачная: размывать ей нечего, за ней белый фон страницы,
   а полупрозрачный тёмный цвет поверх белого даёт грязно-серый. */
.site-header.on-dark {
  background: var(--dark);
  backdrop-filter: none;
  border-bottom-color: transparent;
}
.head { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800;
  font-size: 18px; letter-spacing: -.03em; color: var(--ink); }
.on-dark .brand { color: #fff; }
.brand-logo {
  width: 36px; height: 36px; border-radius: 10px; display: block; flex: none;
  box-shadow: 0 6px 18px rgba(37, 99, 235, .35);
}
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; }
.head-contacts { display: flex; align-items: center; gap: 16px; }
.head-contacts a {
  display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px;
  font-weight: 600; color: var(--ink); white-space: nowrap;
}
.head-contacts svg { opacity: .9; }
.head-contacts a:hover { color: var(--brand); }
.on-dark .head-contacts a { color: #fff; }
.on-dark .head-contacts a:hover { color: #93c5fd; }
.phone-line { display: inline-flex; align-items: center; gap: 10px; }
.phone-num { font-weight: 700; letter-spacing: -.02em; color: inherit; }
.msg-icons { display: inline-flex; align-items: center; gap: 6px; }
.msg-ico-link { display: grid; place-items: center; line-height: 0; border-radius: 8px; }
.msg-ico-link:hover { transform: translateY(-1px); }
img.msg-ico { display: block; width: 28px; height: 28px; object-fit: contain; }
.direct .phone-line b, .direct span .phone-line { font-weight: inherit; }
.direct .phone-num { color: var(--ink); }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--ink); }
.on-dark .nav a { color: rgba(255, 255, 255, .66); }
.on-dark .nav a:hover { color: #fff; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 12px; border: 0; cursor: pointer;
  font: 600 15px/1 var(--font); letter-spacing: -.01em;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; box-shadow: 0 8px 24px rgba(37, 99, 235, .28);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(37, 99, 235, .36); }
.btn:active { transform: translateY(0); }
.btn.ghost {
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.btn.ghost:hover { box-shadow: var(--shadow-lg); }
.btn.on-dark-ghost {
  background: rgba(255, 255, 255, .08); color: #fff;
  border: 1px solid rgba(255, 255, 255, .18); box-shadow: none;
  backdrop-filter: blur(8px);
}
.btn.on-dark-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn.sm { padding: 10px 18px; font-size: 14px; }
.btn.wide { width: 100%; padding: 15px 24px; font-size: 16px; }

/* ---------- hero ---------- */

.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--dark);
  padding: 76px 0 92px;
}
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto -10%; height: 130%;
  background:
    radial-gradient(48% 46% at 18% 16%, rgba(37, 99, 235, .42), transparent 70%),
    radial-gradient(42% 40% at 82% 8%, rgba(124, 58, 237, .34), transparent 70%),
    radial-gradient(38% 40% at 62% 74%, rgba(14, 165, 233, .22), transparent 70%);
  filter: blur(8px);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 40%, transparent 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px;
  padding: 7px 14px 7px 10px; border-radius: 999px; font-size: 13.5px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .88); backdrop-filter: blur(8px);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, .18);
}
.hero h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 800; margin-bottom: 20px; }
.hero h1 .accent {
  background: linear-gradient(100deg, #60a5fa 10%, #a78bfa 60%, #38bdf8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead {
  font-size: clamp(16.5px, 1.6vw, 19.5px); color: rgba(255, 255, 255, .74);
  max-width: 34em; margin-bottom: 30px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note {
  margin-top: 22px; font-size: 14px; color: rgba(255, 255, 255, .58);
  display: flex; flex-wrap: wrap; gap: 8px 20px;
}
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { flex: none; opacity: .8; }

/* ---------- макет телефона с диалогом бота ---------- */

.phone-wrap { display: flex; justify-content: center; }
.phone {
  position: relative; width: 320px; max-width: 100%;
  border-radius: 40px; padding: 12px;
  background: linear-gradient(170deg, #2a3546, #131a26);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone-screen {
  border-radius: 30px; background: #f2f5f9; overflow: hidden;
  display: flex; flex-direction: column; height: 528px;
}
/* Внутри телефона свой светлый мир: иначе текст наследует белый цвет hero. */
.phone-screen, .phone-bar, .chat, .msg.bot { color: var(--ink); }
.phone-bar {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  background: #fff; border-bottom: 1px solid var(--line);
}
.phone-bar .ava {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: transparent; overflow: hidden; flex: none;
}
.phone-bar .ava .brand-logo { width: 34px; height: 34px; border-radius: 10px; box-shadow: none; }
.phone-bar .who { font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.phone-bar .status { font-size: 11.5px; color: var(--ok); }
/* Прижимаем к низу: если диалог не влезёт, обрежется начало, как в живом чате,
   а не концовка с подтверждением записи. */
.chat {
  flex: 1; padding: 16px 14px; display: flex; flex-direction: column; gap: 9px;
  justify-content: flex-end; overflow: hidden;
}
.msg {
  max-width: 84%; padding: 10px 13px; font-size: 13.5px; line-height: 1.45;
  border-radius: 16px; opacity: 0; transform: translateY(8px);
  animation: msg-in .45s cubic-bezier(.22, 1, .36, 1) forwards;
}
.msg.bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px;
  box-shadow: 0 1px 2px rgba(11, 18, 32, .07); }
.msg.me { align-self: flex-end; color: #fff; border-bottom-right-radius: 6px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.msg b { font-weight: 700; }
.msg .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.msg .chip {
  font-size: 12px; padding: 6px 10px; border-radius: 9px;
  background: var(--brand-soft); color: var(--brand); font-weight: 600;
}
.msg:nth-child(1) { animation-delay: .25s; }
.msg:nth-child(2) { animation-delay: .95s; }
.msg:nth-child(3) { animation-delay: 1.5s; }
.msg:nth-child(4) { animation-delay: 2.15s; }
.msg:nth-child(5) { animation-delay: 2.7s; }
@keyframes msg-in { to { opacity: 1; transform: translateY(0); } }
.slide .msg { opacity: 1; transform: none; animation: none; }
.phone-input {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px;
  background: #fff; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted-2);
}
.phone-input .field {
  flex: 1; background: var(--soft); border-radius: 999px; padding: 9px 14px;
}
.phone-input .send {
  width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid;
  place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.phone-tag {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: -16px;
  padding: 7px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: #fff; color: var(--ink); box-shadow: var(--shadow-lg);
  white-space: nowrap;
}
.phone-wrap.compact .phone { width: 280px; }
.phone-wrap.compact .phone-screen { height: 430px; }
.phone-wrap.compact .phone-tag { display: none; }

/* ---------- полоса доверия ---------- */

.trust { background: var(--dark); border-top: 1px solid var(--line-dark); padding: 26px 0; }
.trust-row {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
}
.trust-item .num {
  font-size: 25px; font-weight: 800; letter-spacing: -.03em;
  background: linear-gradient(100deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.trust-item .cap { font-size: 13.5px; color: rgba(255, 255, 255, .6); }

/* ---------- секции ---------- */

section { padding: 84px 0; }
section.soft { background: var(--soft); }
.sec-head { max-width: 680px; margin-bottom: 40px; }
.tag {
  display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
  background: var(--brand-soft); color: var(--brand);
}
.sec-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; margin-bottom: 12px; }
.sec-head p { color: var(--muted); font-size: 17px; }

.grid { display: grid; gap: 20px; }
/* two — ровно две колонки на десктопе: четыре услуги должны лечь 2×2,
   а не тремя в ряд с одинокой карточкой снизу.
   min() обязателен: без него auto-fit не сжимает колонку уже минимума
   и распирает страницу по горизонтали на телефоне. */
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }

.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #d7e0ee; }
.icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  margin-bottom: 16px; color: var(--brand); background: var(--brand-soft);
}
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }

/* услуги */
.svc { position: relative; display: flex; flex-direction: column; }
.svc.best { border-color: rgba(37, 99, 235, .4); box-shadow: 0 0 0 3px rgba(37, 99, 235, .08), var(--shadow); }
.badge {
  position: absolute; top: 18px; right: 18px; padding: 5px 11px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
}
.svc .price { font-size: 23px; font-weight: 800; letter-spacing: -.03em; }
.svc .term { color: var(--muted); font-size: 14px; }
.svc .whom {
  margin: 14px 0; padding: 10px 12px; border-radius: 10px; background: var(--soft);
  color: var(--muted); font-size: 13.5px;
}
ul.ticks { list-style: none; margin: 0 0 18px; padding: 0; }
ul.ticks li { position: relative; padding-left: 27px; margin-bottom: 9px; font-size: 15px; }
ul.ticks li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 17px; height: 17px;
  border-radius: 50%; background: rgba(15, 157, 107, .12);
}
ul.ticks li::after {
  content: ""; position: absolute; left: 5px; top: 11px; width: 7px; height: 4px;
  border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg);
}
.svc .foot { margin-top: auto; }

/* входной продукт: одна широкая карточка под сеткой услуг */
.entry {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px;
  align-items: center; margin-top: 20px; padding: 28px 32px;
  border-radius: var(--radius-lg); background: var(--bg);
  border: 1px dashed #c8d4e6; box-shadow: var(--shadow);
}
.entry h3 { font-size: 21px; font-weight: 700; margin-bottom: 6px; }
.entry-whom { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.entry ul.ticks { margin-bottom: 12px; }
.entry ul.ticks li { font-size: 14.5px; }
/* Ограничение продукта, а не преимущество: без зелёной галочки. */
.entry-limit {
  font-size: 13.5px; color: var(--warn); padding-left: 27px; position: relative;
}
.entry-limit::before {
  content: "!"; position: absolute; left: 0; top: 1px; width: 17px; height: 17px;
  border-radius: 50%; background: rgba(224, 123, 0, .12); color: var(--warn);
  font-size: 12px; font-weight: 800; text-align: center; line-height: 17px;
}
.entry-side { text-align: right; display: grid; gap: 6px; justify-items: end; }
.entry-side .price { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.entry-side .term { color: var(--muted); font-size: 14px; margin-bottom: 10px; }

@media screen and (max-width: 720px) {
  .entry { grid-template-columns: 1fr; gap: 22px; padding: 24px; }
  .entry-side { text-align: left; justify-items: start; }
  .entry-side .btn { width: 100%; }
}

/* ниши */
.chips-row { display: flex; flex-wrap: wrap; gap: 9px; }
.chips-row .chip {
  padding: 9px 15px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  box-shadow: 0 1px 2px rgba(11, 18, 32, .03);
}

/* кейсы */
.case { display: flex; flex-direction: column; }
.case p { color: var(--ink-2); font-size: 15px; }
.case .tech { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 18px; }
.case .tech span {
  font-size: 12.5px; padding: 5px 10px; border-radius: 8px;
  background: var(--soft); color: var(--muted);
}

/* процесс */
.steps { counter-reset: step; position: relative; }
.step-card { position: relative; }
.step-num {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  font-weight: 800; font-size: 16px; margin-bottom: 14px; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 8px 20px rgba(37, 99, 235, .3);
}
.step-card p { color: var(--muted); font-size: 14.5px; }

/* faq */
.faq { max-width: 820px; }
details.qa {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  margin-bottom: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(11, 18, 32, .03);
}
details.qa[open] { border-color: #d7e0ee; box-shadow: var(--shadow); }
details.qa summary {
  cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 650; font-size: 16.5px;
  position: relative; list-style: none;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 11px; height: 11px;
  margin-top: -6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s ease;
}
details.qa[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details.qa .ans { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; }

/* форма */
.lead-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 44px; align-items: start;
}
.lead-side ul.ticks li { font-size: 15.5px; }
.direct-list { display: grid; gap: 10px; margin-top: 26px; }
.direct {
  display: flex; align-items: center; gap: 13px; padding: 15px 17px;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  color: var(--ink); box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.direct:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.direct svg { flex: none; color: var(--brand); }
.direct span { display: grid; font-size: 13px; color: var(--muted); }
.direct b { font-size: 16px; color: var(--ink); letter-spacing: -.01em; }
form.lead {
  display: grid; gap: 14px; padding: 28px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
form.lead label { display: grid; gap: 7px; font-size: 13px; color: var(--muted); font-weight: 600; }
input, textarea, select {
  font: 15.5px/1.5 var(--font); color: var(--ink); width: 100%;
  padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, textarea:focus, select:focus {
  outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}
textarea { min-height: 104px; resize: vertical; }
.consent { font-size: 12.5px; color: var(--muted-2); line-height: 1.5; }
.consent-check {
  display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px;
  line-height: 1.5; color: var(--muted); font-weight: 400; cursor: pointer;
}
.consent-check input {
  width: 17px; height: 17px; flex: none; margin-top: 2px; padding: 0;
  accent-color: var(--brand); cursor: pointer;
}
.consent-check a { text-decoration: underline; }

/* текстовые страницы: политика и подобное */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin-bottom: 18px; }
.doc h2 { font-size: 19px; font-weight: 700; margin: 30px 0 8px; }
.doc p { color: var(--ink-2); font-size: 16px; }
.doc .doc-lead { font-size: 17.5px; color: var(--muted); }
.doc .doc-back { margin-top: 38px; }
.foot-bottom a { margin-left: 14px; text-decoration: underline; }
.sent {
  display: flex; gap: 12px; align-items: flex-start; margin-bottom: 24px;
  padding: 18px 20px; border-radius: var(--radius);
  background: rgba(15, 157, 107, .08); border: 1px solid rgba(15, 157, 107, .28);
  color: #0b6b4a;
}
.sent b { display: block; font-size: 16px; }
.sent.warn {
  background: rgba(224, 123, 0, .08); border-color: rgba(224, 123, 0, .3);
  color: #8a4b00;
}

/* footer */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .62); padding: 54px 0 40px; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer a { color: rgba(255, 255, 255, .84); }
.site-footer a:hover { color: #fff; }
.foot-contacts { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.foot-legal { font-size: 13.5px; color: rgba(255, 255, 255, .42); max-width: 30em; }
.foot-bottom a { color: rgba(255, 255, 255, .7); }

/* Нижняя панель на телефоне: шапка прячет почту, без панели клиенту некуда нажать. */
.sticky-bar { display: none; }
@media screen and (max-width: 960px) {
  body { padding-bottom: 72px; }
  .sticky-bar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: rgba(7, 11, 18, .94); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-dark);
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  }
  .sticky-bar a {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    color: #fff; font-size: 11px; font-weight: 600; padding: 6px 2px;
  }
  .sticky-bar svg { opacity: .9; }
  .sticky-bar img.msg-ico { width: 22px; height: 22px; }
}

/* печатный прайс и презентация */
.doc-page { padding: 48px 0 80px; }
.doc-page h1 { font-size: clamp(28px, 4vw, 40px); margin: 8px 0 12px; }
.doc-lead { color: var(--muted); font-size: 17px; max-width: 42em; margin-bottom: 28px; }
.price-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 8px 0 28px;
}
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 18px; box-shadow: var(--shadow); break-inside: avoid;
}
.price-card.featured { border-color: #bfdbfe; box-shadow: 0 0 0 3px var(--brand-soft); }
.price-badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--brand); background: var(--brand-soft);
  padding: 4px 8px; border-radius: 999px; margin-bottom: 8px;
}
.price-card h3 { font-size: 18px; margin-bottom: 6px; }
.price-card .for { color: var(--muted); font-size: 13.5px; margin-bottom: 10px; }
.price-card .sum { font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.price-card .term { color: var(--muted); font-size: 13px; margin: 2px 0 12px; }
.price-card ul { margin: 0; padding-left: 1.15em; color: var(--ink-2); font-size: 14px; }
.price-card li { margin-bottom: 4px; }
.price-limit { margin-top: 10px; font-size: 13px; color: var(--warn); }
.price-note { margin: 4px 0 28px; color: var(--muted); font-size: 14.5px; }
.doc-contacts {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px;
  padding: 16px 18px; background: var(--soft); border-radius: 14px;
}
.doc-mail { font-weight: 600; color: var(--ink); }
.doc-back { margin-top: 36px; }

/* презентация: один слайд на экран, стрелки листают */
.deck { background: #050814; color: #fff; min-height: 100vh; }
.deck .site-header { background: transparent; border-bottom-color: rgba(255,255,255,.06); }
.deck .phone-num { color: #fff; }
.slide-wrap { max-width: 1180px; margin: 0 auto; padding: 8px 24px 88px; }
.slide {
  display: none;
  min-height: calc(100vh - 150px);
  padding: 44px 48px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(900px 420px at 0% -10%, rgba(37,99,235,.28), transparent 55%),
    radial-gradient(720px 380px at 100% 110%, rgba(124,58,237,.22), transparent 50%),
    #0b1220;
  box-sizing: border-box;
}
.slide.on { display: flex; flex-direction: column; justify-content: center; }
.slide .kicker { color: #93c5fd; font-size: 13px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.slide h1 { font-size: clamp(40px, 5.6vw, 68px); margin-bottom: 16px; }
.slide h2 { font-size: clamp(26px, 3.6vw, 42px); margin-bottom: 22px; max-width: 18em; }
.slide p, .slide li { font-size: 18px; line-height: 1.5; color: rgba(255,255,255,.82); }
.slide ul { margin: 0; padding-left: 1.15em; }
.slide li { margin-bottom: 10px; }
.cover-brand { margin-bottom: 22px; }
.cover-brand .brand-logo { width: 72px; height: 72px; border-radius: 20px; }
.slide.close .cover-brand .brand-logo { width: 64px; height: 64px; border-radius: 18px; }
.cover-lead { max-width: 22em; font-size: 20px !important; margin-bottom: 22px; }
.cover-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 22px; }
.cover-facts span {
  padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  color: #fff;
}
.cover-mail { margin-top: 10px; color: rgba(255,255,255,.72) !important; }
.slide-contact { margin-top: 8px; }
.slide.cover .btn, .slide.close .btn { align-self: flex-start; margin-top: 22px; }
.pitch-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px;
}
.pitch-grid.four { grid-template-columns: repeat(4, 1fr); }
.pitch-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 22px 20px; min-height: 100%;
}
.pitch-ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(37,99,235,.35), rgba(124,58,237,.35));
  margin-bottom: 16px; color: #fff;
}
.pitch-card h3 { font-size: 18px; margin-bottom: 8px; }
.pitch-card p { font-size: 15px !important; color: rgba(255,255,255,.7) !important; }
.slide.product { padding: 28px; }
.slide-split {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 12px; align-items: center;
  min-height: 0;
}
.slide-split.live { background: transparent; }
.slide-split .pane-img {
  display: flex; justify-content: center; align-items: center; padding: 12px 8px;
}
.slide-split .pane-copy { padding: 12px 28px 12px 12px; }
.pitch-offers {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 6px 0 18px;
}
.pitch-offer {
  position: relative;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px; padding: 20px 16px 18px;
}
.pitch-offer-badge {
  display: inline-block; margin-bottom: 10px; padding: 4px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: #2563eb; color: #fff;
}
.pitch-offer h3 { font-size: 16px; margin-bottom: 8px; }
.pitch-offer-for { font-size: 13px !important; color: rgba(255,255,255,.55) !important; min-height: 2.6em; }
.pitch-offer-sum { font-size: 22px !important; font-weight: 800; color: #fff !important; margin: 10px 0 4px; }
.pitch-offer-term { font-size: 13px !important; color: #93c5fd !important; }
.pitch-note { max-width: 46em; }
.case-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.case-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px; padding: 20px 18px;
}
.case-card h3 { font-size: 18px; margin-bottom: 10px; }
.case-card p { font-size: 15px !important; color: rgba(255,255,255,.7) !important; }
.case-card .case-tech {
  font-size: 13px !important; color: rgba(255,255,255,.48) !important;
  margin-top: 12px;
}
.pitch-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 8px 0 18px; }
.pitch-step {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px; padding: 20px 16px;
}
.pitch-num {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 800; margin-bottom: 14px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}
.pitch-step h3 { font-size: 16px; margin-bottom: 8px; }
.pitch-step p { font-size: 14.5px !important; color: rgba(255,255,255,.7) !important; }
.slide-link { color: #93c5fd; }
.deck-nav { position: fixed; right: 18px; bottom: 18px; display: flex; gap: 8px; }
.deck-nav button {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08); color: #fff; font-size: 20px; cursor: pointer;
}
.deck-count { position: fixed; left: 18px; bottom: 28px; font-size: 13px;
  color: rgba(255,255,255,.45); }

@media print {
  @page { size: A4 landscape; margin: 0; }
  .site-header, .sticky-bar, .deck-nav, .deck-count, .doc-back, .btn { display: none !important; }
  html, body { margin: 0; padding: 0; background: #050814; height: auto !important; }
  body { padding-bottom: 0; }
  .doc-page { padding: 0; }
  .price-card { box-shadow: none; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .deck { background: #050814 !important; color: #fff !important;
    min-height: 0 !important; height: auto !important;
    print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .deck .slide-wrap {
    padding: 0 !important; max-width: none !important; margin: 0 !important;
    height: auto !important; overflow: visible;
  }
  /* Чуть короче листа A4, иначе субпиксель выталкивает хвост на следующий лист. */
  .deck .slide, .deck .slide.on {
    display: flex !important; visibility: visible !important; opacity: 1 !important;
    flex-direction: column; justify-content: center;
    position: relative; float: none;
    width: 297mm; height: 209mm; max-height: 209mm; min-height: 209mm !important;
    padding: 12mm 14mm; margin: 0; border-radius: 0; border: 0;
    overflow: hidden !important; box-sizing: border-box;
    page-break-after: always; break-after: page;
    page-break-inside: auto; break-inside: auto;
  }
  .deck .slide + .slide {
    page-break-before: always; break-before: page;
  }
  .deck .slide:last-child { page-break-after: auto; break-after: auto; }
  .slide-split, .slide-split.live {
    grid-template-columns: 180px 1fr !important;
    gap: 16px; align-items: center; min-height: 0 !important;
  }
  .pitch-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .pitch-grid.four, .pitch-offers, .pitch-process { grid-template-columns: repeat(4, 1fr) !important; }
  .case-mosaic { grid-template-columns: repeat(3, 1fr) !important; }
  .phone-wrap.compact { transform: none; }
  .phone-wrap.compact .phone { width: 168px; padding: 8px; border-radius: 28px; }
  .phone-wrap.compact .phone-screen { height: 248px; border-radius: 22px; }
  .phone-wrap.compact .msg { font-size: 11px; padding: 7px 9px; }
  .phone-wrap.compact .phone-bar { padding: 8px 10px; }
  .phone-wrap.compact .phone-input { padding: 7px 10px; }
  .slide.product { padding: 10mm 12mm !important; }
  .slide h1 { font-size: 42px; }
  .slide h2 { font-size: 26px; }
  .slide p, .slide li { font-size: 14px; }
  .slide.cases h2 { font-size: 24px; max-width: none; }
  .slide.cases .case-card { padding: 16px 16px 14px; }
  .slide.cases .case-card h3 { font-size: 16px; margin-bottom: 8px; }
  .slide.cases .case-card p { font-size: 13px !important; line-height: 1.45; }
  .slide.cases .case-card .case-tech { font-size: 11.5px !important; margin-top: 10px; }
}

@media screen and (max-width: 960px) {
  .pitch-grid, .pitch-grid.four, .pitch-offers, .pitch-process, .case-mosaic, .slide-split {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 860px) {
  .price-grid, .case-mosaic, .pitch-prices, .slide-split,
  .pitch-grid, .pitch-grid.four, .pitch-offers, .pitch-process { grid-template-columns: 1fr; }
  .slide { padding: 28px 22px; min-height: calc(100vh - 130px); }
}

/* Появление при прокрутке. Прячем только если скрипт жив и сможет показать
   обратно — иначе без JS страница осталась бы пустой. */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .msg, .reveal, .reveal.in { animation: none !important; transition: none !important;
    opacity: 1 !important; transform: none !important; }
}

@media screen and (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .lead-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav { display: none; }
  /* На телефоне из шапки оставляем только звонок: он важнее пунктов меню. */
  .head-contacts { margin-left: auto; }
  .head-mail { display: none !important; }
  .phone-num { font-size: 13px; }
  .msg-ico { width: 24px; height: 24px; }
  img.msg-ico { width: 24px; height: 24px; }
  section { padding: 62px 0; }
  .hero { padding: 52px 0 72px; }
}

@media screen and (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .head { gap: 12px; }
  .head .btn.sm { padding: 10px 14px; }
  .card { padding: 22px; }
  form.lead { padding: 20px; }
}
