/* МОСТ — сайт. Светлая фирменная тема: белый лист, чернила с фиолетовым оттенком,
   градиент #662D91 → #DA1C5C из логотипа, волны из брендбука как подпись. */
:root {
  --paper: #ffffff;
  --mist: #f7f4fb;
  --ink: #1d1530;
  --ink-2: #4c4462;
  --muted: #6d6582;
  --line: #e8e2f0;
  --plum: #662d91;
  --rose: #da1c5c;
  --grad: linear-gradient(115deg, var(--plum) 0%, #a3237a 55%, var(--rose) 100%);
  --wa: #1fa463;
  --font: "Montserrat", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgba(29, 21, 48, .04), 0 12px 32px -12px rgba(102, 45, 145, .18);
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 32px);
  --sec: clamp(64px, 9vw, 112px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 500 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--plum) 55%, transparent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-text { max-width: calc(760px + 2 * var(--gut)); }
.selectable { user-select: all; }
.hp { position: absolute; left: -9999px; }

/* Типографика */
.h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.06; font-weight: 800; letter-spacing: -.025em; margin: 0 0 22px; text-wrap: balance; }
.h1-page { font-size: clamp(32px, 4.6vw, 52px); max-width: 20ch; }
.h1-article { font-size: clamp(30px, 4vw, 44px); max-width: none; }
.h2 { font-size: clamp(26px, 3.3vw, 40px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; margin: 0 0 18px; text-wrap: balance; }
.h3 { font-size: 22px; line-height: 1.25; font-weight: 700; margin: 0 0 10px; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 60ch; margin: 0 0 8px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); margin: 0 0 14px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Кнопки */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 0 26px; border-radius: 999px; border: 0;
  font: 700 15px/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn-primary { background: var(--grad); background-size: 140% 100%; color: #fff; box-shadow: 0 10px 24px -10px rgba(218, 28, 92, .6); }
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 14px 30px -10px rgba(218, 28, 92, .7); }
.btn-primary:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--plum); }
.btn-light:hover { transform: translateY(-2px); }
.btn-text { background: none; color: var(--muted); padding: 0 8px; }
.btn-text:hover { color: var(--ink); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 700; color: var(--plum); text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* Шапка */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; color: var(--ink); }
.logo-mark { width: 96px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { padding: 10px 12px; border-radius: 10px; text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-2); transition: color .2s, background-color .2s; }
.nav a:not(.btn):hover { color: var(--ink); background: var(--mist); }
.nav a[aria-current="page"]:not(.btn) { color: var(--plum); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--mist); border-radius: 12px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, top .25s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gut) 20px; background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(29, 21, 48, .25);
    display: none;
  }
  .nav-open .nav { display: flex; }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 17px; }
  .nav-cta { margin: 10px 0 0; }
}

/* Секции */
.section { padding-block: var(--sec); }
.section-tight { padding-block: 24px var(--sec); }
.tint { background: var(--mist); }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 40px; }
.split-head > div { flex: 1 1 420px; min-width: 0; }
.split-head .h2 { margin: 0; }
.split-head .lead { flex: 1 1 360px; margin: 0; }
.also { margin: 28px 0 0; color: var(--muted); font-size: 15px; }

/* Hero */
.hero { position: relative; padding-block: clamp(40px, 6vw, 80px) 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, rgba(218, 28, 92, .10), rgba(102, 45, 145, .06) 55%, transparent 72%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { min-width: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.partner-pill {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 0 0 24px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.partner-pill .amo { background: #0d3a6b; color: #fff; padding: 4px 10px; border-radius: 999px; font-weight: 800; font-style: italic; letter-spacing: -.01em; }
.hero .waves { margin-top: clamp(40px, 6vw, 72px); }

.waves { display: block; width: 100%; height: clamp(56px, 7vw, 96px); }
.waves-move { animation: wave-drift 9s linear infinite; }
@keyframes wave-drift { to { transform: translateX(-160px); } }

/* Иллюстрация: чат → воронка */
.hero-visual { position: relative; display: grid; gap: 14px; min-width: 0; }
.chat, .board { background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.chat { padding: 14px; width: min(100%, 360px); justify-self: start; display: grid; gap: 8px; animation: rise .7s .1s both cubic-bezier(.2, .8, .2, 1); }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.chat-head div { display: grid; line-height: 1.25; flex: 1; min-width: 0; }
.chat-head b { font-size: 14px; }
.chat-head small { font-size: 12px; color: var(--muted); }
.chat-ava { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.chat-wa { font-size: 11px; font-weight: 700; color: var(--wa); background: color-mix(in srgb, var(--wa) 12%, transparent); padding: 3px 8px; border-radius: 999px; }
.bubble { margin: 0; padding: 8px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.4; max-width: 86%; }
.bubble.in { background: var(--mist); border-top-left-radius: 4px; justify-self: start; }
.bubble.out { background: #e3f6ea; border-top-right-radius: 4px; justify-self: end; }
.typing { display: inline-flex; gap: 4px; padding: 11px 12px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }

.bridge { position: absolute; left: 40px; top: 150px; width: 2px; height: 70px; background: linear-gradient(var(--line), var(--line)); }
.bridge span { position: absolute; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); animation: travel 2.4s ease-in-out infinite; }
@keyframes travel { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 62px; opacity: 0; } }

.board { padding: 16px; width: min(100%, 520px); justify-self: end; animation: rise .7s .3s both cubic-bezier(.2, .8, .2, 1); }
.board-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 14px; }
.board-head span { font-size: 11px; font-weight: 800; font-style: italic; color: #0d3a6b; background: #e6eef8; padding: 3px 8px; border-radius: 999px; }
.board-cols { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.col { background: var(--mist); border-radius: 12px; padding: 8px; min-height: 132px; display: flex; flex-direction: column; gap: 6px; }
.col-h { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 2px 2px 4px; }
.deal { background: var(--paper); border-radius: 9px; padding: 8px 9px; font-size: 12px; line-height: 1.3; box-shadow: inset 0 0 0 1px var(--line); }
.deal.ghost { color: var(--muted); margin-top: auto; }
.deal.paid { color: var(--ink-2); box-shadow: inset 3px 0 0 var(--wa), inset 0 0 0 1px var(--line); }
.deal.moving {
  position: absolute; top: 34px; left: 8px; width: calc((100% - 16px) / 3 - 16px);
  display: grid; gap: 2px; box-shadow: 0 10px 22px -10px rgba(102, 45, 145, .5), inset 0 0 0 1.5px var(--plum);
  animation: move-deal 9s cubic-bezier(.65, 0, .35, 1) infinite;
}
.deal.moving b { font-size: 12.5px; }
.deal.moving small { color: var(--muted); font-size: 11px; }
.deal-dot { position: absolute; top: 9px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); animation: dot-color 9s infinite; }
@keyframes move-deal {
  0%, 22% { left: 8px; }
  33%, 55% { left: calc((100% - 16px) / 3 + 16px); }
  66%, 92% { left: calc((100% - 16px) / 3 * 2 + 24px); }
  100% { left: calc((100% - 16px) / 3 * 2 + 24px); opacity: 0; }
}
@keyframes dot-color { 0%, 60% { background: var(--rose); } 66%, 100% { background: var(--wa); } }
.board-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.board-foot b { color: var(--wa); font-size: 14px; }
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .chat { justify-self: start; }
  .board { justify-self: stretch; width: 100%; }
}

/* Боли / пункты */
.pains { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.pains-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pains li { background: var(--paper); padding: 28px 24px 30px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.pains b { font-size: 18px; line-height: 1.3; font-weight: 700; }
.pains span { color: var(--ink-2); font-size: 15px; }
.tint .pains li { background: var(--paper); }
.results b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 20px; }
@media (max-width: 960px) { .pains, .pains-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pains, .pains-3 { grid-template-columns: minmax(0, 1fr); } }

/* Услуги */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.services-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; min-width: 0;
  background: var(--paper); border-radius: var(--r); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
a.service:hover { transform: translateY(-4px); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.service-lg { padding: 34px; min-height: 280px; }
.service h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; font-weight: 800; letter-spacing: -.015em; margin: 0; }
.service p { margin: 0; color: var(--ink-2); }
.service-tag { align-self: flex-start; font-size: 12.5px; font-weight: 700; color: var(--plum); background: color-mix(in srgb, var(--plum) 9%, transparent); padding: 5px 11px; border-radius: 999px; }
.service-more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--rose); }
.service-more::after { content: " →"; transition: margin .2s; }
a.service:hover .service-more::after { margin-left: 5px; }
.service-lg::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; border-radius: var(--r) var(--r) 0 0; background: var(--grad); }
@media (max-width: 860px) { .services, .services-3 { grid-template-columns: minmax(0, 1fr); } .service-lg { min-height: 0; } }

/* Партнёр amoCRM */
.partner-proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cert { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.cert img { width: 100%; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 28px 0 0; }
.facts div { padding: 14px 16px; border-radius: var(--r-sm); background: var(--mist); }
.facts dt { font-size: 12px; color: var(--muted); font-weight: 600; }
.facts dd { margin: 2px 0 0; font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .partner-proof { grid-template-columns: minmax(0, 1fr); } }

/* Шаги: реальная последовательность */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; display: grid; gap: 8px; align-content: start; padding: 26px 24px; background: var(--paper); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); font-size: 13px; font-weight: 800; color: var(--rose); letter-spacing: .06em; }
.steps b { font-size: 18px; line-height: 1.3; }
.steps span { color: var(--ink-2); font-size: 15px; }
.steps-vertical { grid-template-columns: minmax(0, 1fr); margin-top: 28px; gap: 10px; }
.steps-vertical li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: 22px 24px; }
.steps-vertical li::before { grid-row: span 2; padding-top: 3px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Кейсы */
.cases { display: grid; gap: 16px; margin-top: 36px; }
.case { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.tint .case { box-shadow: var(--shadow); }
.case h3 { font-size: 26px; font-weight: 800; margin: 14px 0 8px; }
.case-problem { color: var(--muted); margin: 0 0 10px; }
.case-body p { margin: 0; color: var(--ink-2); }
.case-metrics { display: grid; gap: 12px; align-content: center; }
.case-metrics div { padding: 20px 22px; border-radius: var(--r); background: var(--mist); display: grid; }
.case-metrics b { font-size: clamp(38px, 5vw, 56px); line-height: 1; font-weight: 800; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.case-metrics span { color: var(--ink-2); font-weight: 600; margin-top: 6px; }
@media (max-width: 760px) { .case { grid-template-columns: minmax(0, 1fr); } }

/* Полоса аудита */
.audit-band {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 40px;
  padding: clamp(32px, 5vw, 60px); border-radius: var(--r-lg); background: var(--ink); color: #fff;
}
.audit-band::before { content: ""; position: absolute; inset: -40% -10% auto 45%; height: 180%; background: radial-gradient(closest-side, rgba(218, 28, 92, .55), rgba(102, 45, 145, .35) 50%, transparent 75%); pointer-events: none; }
.audit-band > * { position: relative; }
.audit-band > div { flex: 1 1 420px; min-width: 0; }
.audit-band p { color: rgba(255, 255, 255, .78); max-width: 56ch; margin: 0; }
.eyebrow-light { color: #ff8fb4; }

/* Партнёры */
.partners-teaser { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.partners-teaser .btn { margin-top: 20px; }
.payout { background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); padding: 8px 24px; }
.payout-row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; font-size: 17px; }
.payout-row:last-child { border-bottom: 0; }
.payout-row.head { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-block: 14px 10px; }
.payout-row b { color: var(--wa); font-weight: 800; }
@media (max-width: 860px) { .partners-teaser { grid-template-columns: minmax(0, 1fr); } }

/* Блог: карточки */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.post-card { min-width: 0; }
.post-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; border-radius: var(--r); overflow: hidden; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s, box-shadow .25s; }
.post-card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.post-cover { aspect-ratio: 16 / 9; width: 100%; max-width: 100%; object-fit: cover; }
.post-cover-auto { position: relative; display: flex; align-items: flex-end; padding: 18px; color: #fff; font-weight: 800; font-size: 15px; background: var(--grad); overflow: hidden; }
.post-cover-auto::before { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 110% -10%, transparent 0 22px, rgba(255, 255, 255, .13) 22px 24px); }
.post-cover-auto span { position: relative; }
.post-cover-auto.cat-amocrm { background: linear-gradient(120deg, #2d1f57, var(--plum)); }
.post-cover-auto.cat-reklama { background: linear-gradient(120deg, var(--rose), #f05a3c); }
.post-card-body { padding: 20px 22px 24px; display: grid; gap: 8px; }
.post-card h3 { font-size: 19px; line-height: 1.3; margin: 0; font-weight: 700; }
.post-card p { margin: 0; color: var(--ink-2); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px !important; font-weight: 600; color: var(--muted) !important; }
.post-meta span::before { content: "·"; margin-right: 14px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: minmax(0, 1fr); } }

/* Внутренние страницы */
.page-hero { position: relative; padding-block: clamp(40px, 6vw, 80px); background: radial-gradient(ellipse 70% 90% at 100% 0%, rgba(218, 28, 92, .08), transparent 60%), radial-gradient(ellipse 50% 70% at 0% 100%, rgba(102, 45, 145, .06), transparent 60%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--plum); }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.align-center { align-items: center; }
.panel { background: var(--paper); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.panel h3 { font-size: 22px; margin: 0 0 16px; font-weight: 800; }
.two-col + .two-col { margin-top: 0; }
.tint .two-col { margin-top: 32px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; color: var(--ink-2); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); }
.checklist li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 860px) { .two-col { grid-template-columns: minmax(0, 1fr); } }

.table-wrap { overflow-x: auto; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child > * { border-bottom: 0; }
.compare thead th { font-size: 13px; font-weight: 700; color: var(--muted); background: var(--mist); }
.compare thead th.hl { color: #fff; background: var(--grad); }
.compare tbody th { font-weight: 700; width: 26%; }
.compare td { color: var(--ink-2); }
.compare td.hl { color: var(--ink); font-weight: 600; background: color-mix(in srgb, var(--plum) 4%, transparent); }

.msg-types { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.msg-types li { display: grid; gap: 2px; padding: 16px 20px; border-radius: var(--r-sm); background: var(--mist); }
.msg-types li:first-child { background: color-mix(in srgb, var(--wa) 10%, transparent); }
.msg-types b { font-size: 16px; }
.msg-types span { color: var(--ink-2); font-size: 14.5px; }

.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.with-aside aside { position: sticky; top: 96px; }
.feature-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.feature-groups > div { background: var(--paper); border-radius: var(--r); padding: 24px; box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.feature-groups h3 { margin: 0 0 14px; font-size: 18px; font-weight: 800; }
.price-card { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 28px; position: relative; overflow: hidden; }
.price-card::before { content: ""; position: absolute; inset: -50% -40% auto auto; width: 120%; height: 120%; background: radial-gradient(closest-side, rgba(218, 28, 92, .45), transparent 70%); }
.price-card > * { position: relative; }
.price-card .eyebrow { color: #ff8fb4; }
.price-main { font-size: 36px; font-weight: 800; letter-spacing: -.02em; margin: 0; line-height: 1.1; }
.price-alt { margin: 6px 0 16px; color: rgba(255, 255, 255, .7); font-weight: 600; }
.price-note { margin: 0 0 22px; color: rgba(255, 255, 255, .78); font-size: 14.5px; }
@media (max-width: 960px) { .with-aside { grid-template-columns: minmax(0, 1fr); } .with-aside aside { position: static; } }
@media (max-width: 600px) { .feature-groups { grid-template-columns: minmax(0, 1fr); } }

.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.flow > div { position: relative; padding: 30px 28px 30px 32px; min-width: 0; }
.flow > div + div { border-left: 1px solid var(--line); }
.flow > div + div::before { content: ""; position: absolute; left: -9px; top: 36px; width: 16px; height: 16px; background: var(--paper); border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: rotate(45deg); }
.flow-k { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.flow > div:last-child .flow-k { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.flow p { margin: 8px 0 0; color: var(--ink-2); }
@media (max-width: 760px) { .flow { grid-template-columns: minmax(0, 1fr); } .flow > div + div { border-left: 0; border-top: 1px solid var(--line); } .flow > div + div::before { left: 32px; top: -9px; transform: rotate(135deg); } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 64px); }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r); background: var(--mist); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border: solid var(--plum); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { margin: 0 0 20px; color: var(--ink-2); max-width: 64ch; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } }

/* Партнёрская страница */
.partners-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 40px; align-items: center; }
.big-20 { display: grid; justify-items: center; text-align: center; }
.big-20 span { font-size: clamp(96px, 16vw, 200px); font-weight: 800; line-height: .9; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-20 small { font-size: 15px; font-weight: 700; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.who { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.who li { display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.who b { font-size: 18px; }
.who span { color: var(--ink-2); font-size: 15px; }
.payout-lg .payout-row { font-size: 19px; padding-block: 18px; }
.service.static { min-height: 0; }
@media (max-width: 960px) { .who { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .partners-hero { grid-template-columns: minmax(0, 1fr); } .big-20 { justify-items: start; text-align: left; } }
@media (max-width: 560px) { .who { grid-template-columns: minmax(0, 1fr); } }

/* Формы */
.contact { background: var(--mist); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-direct { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.contact-direct li { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.contact-direct li > span:first-child { width: 90px; font-size: 13px; color: var(--muted); font-weight: 600; }
.contact-direct a, .contact-direct .selectable { font-weight: 700; text-decoration: none; }
.contact-direct a:hover { color: var(--plum); }
.form { display: grid; gap: 16px; }
.card-form { background: var(--paper); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.field { display: grid; gap: 7px; }
.field label, .field .label { font-size: 14px; font-weight: 700; }
.opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink);
  font: 500 16px/1.4 var(--font); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px color-mix(in srgb, var(--plum) 14%, transparent); }
.form-note { margin: 0; font-size: 12.5px; color: var(--muted); }
.form-status { margin: 0; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: 14.5px; background: color-mix(in srgb, var(--wa) 12%, transparent); color: #11683d; }
.form-status.err { background: color-mix(in srgb, var(--rose) 10%, transparent); color: #9b1242; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* Квиз */
.audit-page { padding-block: clamp(36px, 5vw, 72px) var(--sec); background: radial-gradient(ellipse 60% 70% at 100% 0%, rgba(218, 28, 92, .08), transparent 60%); }
.audit-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.audit-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.audit-points li { padding-left: 26px; position: relative; color: var(--ink-2); font-weight: 600; }
.audit-points li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--grad); }
.quiz { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); padding: clamp(22px, 3.5vw, 40px); }
.quiz-progress { height: 6px; border-radius: 6px; background: var(--mist); overflow: hidden; }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 6px; transition: width .4s cubic-bezier(.2, .8, .2, 1); }
.quiz-count { font-size: 13px; color: var(--muted); font-weight: 600; margin: 12px 0 18px; }
.quiz-step { border: 0; margin: 0; padding: 0; min-width: 0; animation: step-in .35s ease both; }
@keyframes step-in { from { transform: translateX(12px); } to { transform: none; } }
.quiz-step legend, .legend { font-size: clamp(21px, 2.4vw, 26px); font-weight: 800; line-height: 1.25; letter-spacing: -.01em; padding: 0; margin-bottom: 20px; display: block; }
.quiz-options { display: grid; gap: 10px; }
.quiz-option { display: block; cursor: pointer; position: relative; }
.quiz-option input, .segmented input { position: absolute; opacity: 0; pointer-events: none; }
.quiz-option span { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; transition: box-shadow .2s, background-color .2s; }
.quiz-option span::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); transition: box-shadow .2s, background .2s; }
.quiz-option:hover span { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--plum) 40%, var(--line)); }
.quiz-option input:checked + span { background: color-mix(in srgb, var(--plum) 6%, transparent); box-shadow: inset 0 0 0 2px var(--plum); }
.quiz-option input:checked + span::before { background: var(--plum); box-shadow: inset 0 0 0 5px #fff, 0 0 0 2px var(--plum); }
.quiz-option input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--plum) 45%, transparent); outline-offset: 2px; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.segmented { display: flex; gap: 8px; }
.segmented label { flex: 1; cursor: pointer; position: relative; }
.segmented span { display: block; text-align: center; padding: 13px; border-radius: 12px; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--line); }
.segmented input:checked + span { box-shadow: inset 0 0 0 2px var(--plum); color: var(--plum); background: color-mix(in srgb, var(--plum) 6%, transparent); }
.quiz-result { animation: step-in .35s ease both; }
.quiz-result p { color: var(--ink-2); }
.quiz-sent { padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--wa) 10%, transparent); color: #11683d !important; font-weight: 600; font-size: 14.5px; }
@media (max-width: 900px) { .audit-grid { grid-template-columns: minmax(0, 1fr); } }

/* Блог: рубрики и статья */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips a { text-decoration: none; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, color .2s; }
.chips a:hover { box-shadow: inset 0 0 0 1.5px var(--plum); }
.chips a[aria-current="page"] { background: var(--ink); color: #fff; box-shadow: none; }
.chips small { opacity: .6; margin-left: 2px; }
.empty { padding: 48px; border-radius: var(--r-lg); background: var(--mist); text-align: center; }
.article-head { padding-block: clamp(36px, 5vw, 64px) 12px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-weight: 600; font-size: 14px; margin: 0; }
.article-cover { margin-block: 28px 0; }
.article-cover img { border-radius: var(--r-lg); width: 100%; }
.prose { padding-block: 28px 8px; font-size: 18px; line-height: 1.75; color: #2b2340; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose ul, .prose ol { margin-block: 0; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; font-weight: 800; letter-spacing: -.015em; margin: 1.9em 0 .2em; color: var(--ink); text-wrap: balance; }
.prose h3 { font-size: 21px; margin: 1.5em 0 .2em; color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--plum); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { color: var(--rose); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--rose); font-weight: 700; }
.prose blockquote { margin-inline: 0; padding: 18px 22px; border-radius: var(--r); background: var(--mist); font-weight: 600; }
.prose img { border-radius: var(--r); }
.prose .table-wrap { margin-block: 1.4em; }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--mist); font-size: 13.5px; }
.prose tr:last-child td { border-bottom: 0; }
.article-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 28px; margin: 40px 0 var(--sec); padding: 28px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.article-cta div { display: grid; gap: 4px; flex: 1 1 320px; min-width: 0; }
.article-cta b { font-size: 19px; }
.article-cta span { color: rgba(255, 255, 255, .75); font-size: 15px; }

/* Подвал */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .78); padding-bottom: 28px; }
.site-footer .waves { background: var(--paper); height: clamp(48px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 56px 40px; }
.footer-brand p { max-width: 38ch; font-size: 15px; }
.brand-light { color: #fff; }
.partner-line { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.partner-line .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); }
.footer-h { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin: 0 0 16px; font-weight: 700; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; }
.footer-bottom a { text-decoration: none; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* Плавающая кнопка WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 12px 28px -8px rgba(31, 164, 99, .6);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(31, 164, 99, .5); animation: pulse 2.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 164, 99, .45); } 70%, 100% { box-shadow: 0 0 0 16px rgba(31, 164, 99, 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .deal.moving { left: calc((100% - 16px) / 3 * 2 + 24px); }
}

@media (max-width: 520px) {
  .board { padding: 12px; }
  .col { min-height: 112px; padding: 6px; }
  .col-h { font-size: 9.5px; letter-spacing: .02em; }
  .deal { font-size: 11px; padding: 7px; }
  .deal.moving { top: 30px; left: 6px; width: calc((100% - 16px) / 3 - 12px); }
  .deal.moving small { display: none; }
  .deal-dot { top: 7px; right: 7px; }
  .partner-pill { font-size: 12px; }
}

/* Квиз: сетка ниш и результат */
.quiz-options-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.quiz-options-grid .quiz-option span { padding: 13px 14px; font-size: 15px; }
@media (max-width: 420px) { .quiz-options-grid .quiz-option span { padding: 12px; gap: 10px; font-size: 14px; } }
.res-chips { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.res-chips li { display: grid; padding: 8px 12px; border-radius: 12px; background: var(--mist); line-height: 1.3; }
.res-chips small { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.res-chips span { font-weight: 700; font-size: 14px; }
.res-intro { color: var(--ink-2); margin: 0 0 22px; }
.res-cards { list-style: none; margin: 18px 0 20px; padding: 0; display: grid; gap: 10px; counter-reset: rc; }
.res-card { counter-increment: rc; position: relative; padding: 16px 18px 16px 56px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line); display: grid; gap: 4px; }
.res-card::before { content: counter(rc); position: absolute; left: 16px; top: 16px; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.res-card b { font-size: 17px; }
.res-card p { margin: 0; font-size: 14.5px; }
.res-type { font-size: 12px; font-weight: 700; color: var(--plum); }
.res-case { background: var(--mist); box-shadow: none; }
.res-case::before { content: "★"; background: var(--ink); }
.res-metrics { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--ink-2); }
.res-metrics strong { color: var(--rose); font-weight: 800; }

/* Кейсы */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case-card { min-width: 0; }
.case-card-link { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 26px; border-radius: var(--r); text-decoration: none; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s, box-shadow .25s; }
.case-card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.case-card h3 { font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; margin: 6px 0 0; }
.case-client { margin: 0; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.case-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 8px 0 0; }
.case-nums div { padding: 12px 14px; border-radius: 12px; background: var(--mist); display: flex; flex-direction: column-reverse; gap: 2px; }
.case-nums dt { font-size: 12.5px; color: var(--ink-2); font-weight: 600; line-height: 1.3; }
.case-nums dd { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.case-card .service-more { margin-top: auto; }
.case { scroll-margin-top: 96px; }
.case-h { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; margin: 14px 0 4px; }
.case-problem b { color: var(--ink); }
.case .case-problem { color: var(--ink-2); margin: 12px 0; }
.prose-sm ul { margin: 0 0 12px; padding-left: 1.2em; color: var(--ink-2); display: grid; gap: 4px; }
.prose-sm li::marker { color: var(--rose); }
.prose-sm p { margin: 0 0 14px; color: var(--ink-2); }
.case-metrics b { font-size: clamp(32px, 4vw, 48px); }
@media (max-width: 960px) { .case-grid { grid-template-columns: minmax(0, 1fr); } }

/* Калькулятор партнёра */
.calc { background: var(--paper); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); display: grid; gap: 20px; min-width: 0; }
.calc-h { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.calc-field { display: grid; gap: 10px; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc-row label, .calc-label { font-size: 14px; font-weight: 700; }
.calc-row output { font-size: 26px; font-weight: 800; color: var(--plum); font-variant-numeric: tabular-nums; }
.calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--plum) 0, var(--rose) var(--fill, 11%), var(--mist) var(--fill, 11%)); outline: none; }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--rose), 0 4px 10px rgba(29, 21, 48, .25); cursor: pointer; }
.calc input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--rose); cursor: pointer; }
.calc input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--rose), 0 0 0 7px color-mix(in srgb, var(--plum) 25%, transparent); }
.calc-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.calc-chips label { position: relative; cursor: pointer; }
.calc-chips input { position: absolute; opacity: 0; pointer-events: none; }
.calc-chips span { display: grid; gap: 2px; padding: 11px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; font-size: 14px; line-height: 1.25; transition: box-shadow .2s, background-color .2s; }
.calc-chips small { font-weight: 600; color: var(--muted); font-size: 12px; }
.calc-chips input:checked + span { box-shadow: inset 0 0 0 2px var(--plum); background: color-mix(in srgb, var(--plum) 6%, transparent); }
.calc-chips input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--plum) 45%, transparent); outline-offset: 2px; }
.calc-result { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 18px; border-radius: var(--r); background: var(--ink); color: #fff; }
.calc-result div { display: grid; gap: 2px; min-width: 0; }
.calc-result small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.calc-result b { font-size: clamp(20px, 2.3vw, 26px); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-result div + div b { color: #ff8fb4; }
.calc-result b.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.06); } }
.calc-note { margin: -6px 0 0; font-size: 12.5px; color: var(--muted); }
.partners-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
@media (max-width: 420px) { .calc-chips { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .calc-result { grid-template-columns: minmax(0, 1fr); } }

/* ===== Посадочные страницы услуг ===== */
.center { text-align: center; margin-inline: auto; }
.lp-hero { position: relative; padding-block: clamp(24px, 4vw, 56px) clamp(48px, 6vw, 88px); overflow: hidden; background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(218, 28, 92, .10), transparent 60%), radial-gradient(ellipse 50% 60% at 0% 100%, rgba(102, 45, 145, .07), transparent 60%); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.lp-h1 { font-size: clamp(32px, 4.6vw, 54px); }
.price-chip { display: inline-flex; align-items: center; min-height: 54px; padding: 0 20px; border-radius: 999px; font-weight: 800; font-size: 16px; color: var(--plum); background: color-mix(in srgb, var(--plum) 8%, var(--paper)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--plum) 25%, transparent); }
.lp-trust { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.lp-trust li { position: relative; padding-left: 26px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.lp-trust li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--wa); }
.lp-trust li::after { content: ""; position: absolute; left: 6px; top: 6px; width: 5px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.lp-visual { position: relative; margin: 0; }
.lp-visual img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow), 0 30px 60px -30px rgba(102, 45, 145, .35); animation: rise .8s .1s both cubic-bezier(.2, .8, .2, 1); }
.lp-badge { position: absolute; display: grid; gap: 0; padding: 12px 16px; border-radius: 16px; background: var(--paper); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); line-height: 1.2; animation: float 6s ease-in-out infinite; }
.lp-badge b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-badge span { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.lp-badge-1 { left: -18px; bottom: 18%; }
.lp-badge-2 { right: -14px; top: -18px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 900px) {
  .lp-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-badge-1 { left: 8px; bottom: -18px; }
  .lp-badge-2 { right: 8px; top: -14px; }
  .lp-visual { margin-top: 12px; }
}

.lp-pains-sec { padding-block: clamp(48px, 6vw, 80px); }
.lp-pains { list-style: none; margin: 32px auto 0; padding: 0; max-width: 980px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.lp-pains li:nth-child(even) { transform: translateY(14px); }
.lp-bubble { position: relative; display: inline-block; padding: 16px 20px; border-radius: 20px 20px 20px 6px; background: var(--mist); font-weight: 700; font-size: clamp(15px, 1.5vw, 17px); box-shadow: inset 0 0 0 1px var(--line); }
.lp-bubble::before { content: "“"; position: absolute; left: -6px; top: -14px; font-size: 44px; line-height: 1; font-weight: 800; color: var(--rose); }
.lp-pains-answer { text-align: center; margin: 44px 0 0; font-size: 20px; font-weight: 800; }
.lp-pains-answer::after { content: ""; display: block; width: 2px; height: 36px; margin: 12px auto 0; background: linear-gradient(var(--rose), transparent); }

.lp-gains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.lp-gain { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s, box-shadow .25s; min-width: 0; }
.lp-gain:hover { transform: translateY(-4px); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.lp-gain img { width: 100%; aspect-ratio: 1125 / 600; object-fit: cover; }
.lp-gain div { padding: 18px 22px 22px; }
.lp-gain h3 { margin: 0 0 4px; font-size: 19px; font-weight: 800; }
.lp-gain p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 720px) { .lp-gains { grid-template-columns: minmax(0, 1fr); } }

.lp-ba { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px; align-items: stretch; margin-top: 32px; }
.lp-ba-col { border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); min-width: 0; }
.lp-ba-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lp-ba-col li { position: relative; padding-left: 32px; font-weight: 600; font-size: 16.5px; }
.lp-ba-h { margin: 0 0 18px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.lp-before { background: var(--mist); color: var(--ink-2); }
.lp-before .lp-ba-h { color: var(--muted); }
.lp-before li { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--rose) 55%, transparent); text-decoration-thickness: 2px; }
.lp-before li::before { content: "×"; position: absolute; left: 0; top: -2px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--rose); background: color-mix(in srgb, var(--rose) 12%, transparent); }
.lp-after { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.lp-after::before { content: ""; position: absolute; inset: -40% -30% auto auto; width: 90%; height: 120%; background: radial-gradient(closest-side, rgba(218, 28, 92, .45), transparent 70%); }
.lp-after > * { position: relative; }
.lp-after .lp-ba-h { color: #ff8fb4; }
.lp-after li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--wa); }
.lp-after li::after { content: ""; position: absolute; left: 8px; top: 5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.lp-ba-arrow { align-self: center; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 24px; font-weight: 800; box-shadow: 0 10px 24px -10px rgba(218, 28, 92, .6); }
@media (max-width: 760px) { .lp-ba { grid-template-columns: minmax(0, 1fr); } .lp-ba-arrow { justify-self: center; transform: rotate(90deg); } }

.lp-case-sec { padding-block: 0; }
.lp-case { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.lp-case img { width: 100%; border-radius: var(--r); }
.lp-case .h2 { color: #fff; }
.lp-case-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 8px 0 22px; }
.lp-case-nums div { display: grid; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .07); }
.lp-case-nums b { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.02em; color: #ff8fb4; font-variant-numeric: tabular-nums; }
.lp-case-nums span { font-size: 13px; color: rgba(255, 255, 255, .72); font-weight: 600; }
.link-light { color: #fff; }
@media (max-width: 860px) { .lp-case { grid-template-columns: minmax(0, 1fr); } }

.lp-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.lp-steps::before { content: ""; position: absolute; left: 12px; right: 12px; top: 11px; height: 2px; background: linear-gradient(90deg, var(--plum), var(--rose)); }
.lp-steps li { position: relative; display: grid; gap: 4px; padding: 38px 18px 0 0; min-width: 0; }
.lp-steps li::before { content: ""; position: absolute; left: 4px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 3px var(--rose); }
.lp-when { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--rose); }
.lp-steps b { font-size: 18px; }
.lp-steps li > span:last-child { color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) {
  .lp-steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .lp-steps::before { left: 12px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(var(--plum), var(--rose)); }
  .lp-steps li { padding: 0 0 0 40px; }
  .lp-steps li::before { top: 2px; }
}

.lp-offer { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.lp-offer-list { padding: clamp(24px, 4vw, 44px); }
.checklist-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin-top: 20px; }
.lp-offer-price { position: relative; overflow: hidden; padding: clamp(24px, 4vw, 44px); background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.lp-offer-price::before { content: ""; position: absolute; inset: -40% -40% auto auto; width: 120%; height: 120%; background: radial-gradient(closest-side, rgba(218, 28, 92, .5), transparent 70%); }
.lp-offer-price > * { position: relative; }
.lp-offer-price .price-main { font-size: clamp(34px, 4vw, 46px); }
.lp-quiz-link { margin-top: 14px; text-align: center; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .8); }
@media (max-width: 860px) { .lp-offer { grid-template-columns: minmax(0, 1fr); } .checklist-2 { grid-template-columns: minmax(0, 1fr); } }

.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 45; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: 0 18px 40px -12px rgba(29, 21, 48, .6); transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.sticky-cta span { display: grid; line-height: 1.2; min-width: 0; }
.sticky-cta small { color: rgba(255, 255, 255, .65); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta.show { transform: none; }
@media (max-width: 760px) { .sticky-cta { display: flex; } .landing .wa-float { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }

/* 404 */
.nf { padding-block: clamp(48px, 8vw, 120px); text-align: center; overflow: hidden; }
.nf-bridge { width: min(520px, 100%); margin: 0 auto 24px; display: block; }
.nf-code { font-size: clamp(90px, 18vw, 180px); line-height: .9; font-weight: 800; letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; }
.nf .lead { margin-inline: auto; }
.nf .hero-actions { justify-content: center; }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.nf-links a { padding: 9px 16px; border-radius: 999px; background: var(--mist); text-decoration: none; font-weight: 600; font-size: 14px; }
.nf-links a:hover { background: color-mix(in srgb, var(--plum) 10%, var(--mist)); }
.nf-gap { animation: gap 3s ease-in-out infinite; transform-origin: center; }
@keyframes gap { 50% { transform: translateY(6px) rotate(3deg); } }

/* Квиз: картинки карточек в результате */
.res-card-img .res-thumb { width: 100%; border-radius: 10px; margin-bottom: 8px; }
.res-card.res-card-img { padding-top: 14px; }
.lp-case-solo { grid-template-columns: minmax(0, 1fr); padding: clamp(28px, 5vw, 56px); }
.lp-case-solo .lp-case-nums { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

/* ======== v2: главная ======== */
.center-x { text-align: center; }
.section-flush { padding-block: 0; }
.hx { position: relative; overflow: hidden; padding-block: clamp(32px, 5vw, 72px) clamp(48px, 6vw, 88px); }
.hx::before { content: ""; position: absolute; inset: -30% -20% auto 40%; height: 120%; background: radial-gradient(closest-side, rgba(218, 28, 92, .09), rgba(102, 45, 145, .05) 55%, transparent 75%); pointer-events: none; }
.hx-grid { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hx-h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1.02; }
.hot { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 14px 18px; border-radius: 18px; text-decoration: none; background: var(--paper); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--wa) 35%, var(--line)); transition: transform .2s, box-shadow .2s; max-width: 560px; }
.hot:hover { transform: translateY(-2px); box-shadow: var(--shadow), inset 0 0 0 1.5px var(--wa); }
.hot-tag { flex: none; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--wa); padding: 6px 10px; border-radius: 999px; position: relative; }
.hot-tag::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31, 164, 99, .5); animation: pulse 2.4s infinite; }
.hot-text { font-size: 14.5px; color: var(--ink-2); line-height: 1.35; min-width: 0; }
.hot-text b { display: block; color: var(--ink); font-size: 15.5px; }
.hot-arrow { margin-left: auto; font-size: 20px; font-weight: 800; color: var(--wa); }
@media (max-width: 960px) { .hx-grid { grid-template-columns: minmax(0, 1fr); } }

.bridge-viz { position: relative; min-width: 0; padding: 64px 0 8px; }
.bv-svg { width: 100%; height: auto; display: block; overflow: visible; }
.bv-arc { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s .2s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.bv-waves path { animation: bv-drift 7s linear infinite; }
.bv-waves path:nth-child(2) { animation-duration: 9s; }
@keyframes bv-drift { to { transform: translateX(-100px); } }
.bv-in, .bv-out { list-style: none; margin: 0; padding: 0; position: absolute; display: grid; gap: 8px; z-index: 2; }
.bv-in { left: 0; top: 0; grid-template-columns: repeat(2, auto); }
.bv-in li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 700; animation: rise .6s both; }
.bv-in li:nth-child(2) { animation-delay: .1s; } .bv-in li:nth-child(3) { animation-delay: .2s; } .bv-in li:nth-child(4) { animation-delay: .3s; }
.bv-ico { width: 22px; height: 22px; border-radius: 50%; display: block; }
.bv-ico.wa { background: var(--wa); }
.bv-ico.ig { background: linear-gradient(135deg, #f9a03f, #d62976 55%, #962fbf); }
.bv-ico.ad { background: #1877f2; }
.bv-ico.web { background: var(--ink); }
.bv-out { right: 0; bottom: 30%; }
.bv-out li { display: grid; padding: 10px 14px; border-radius: 14px; background: var(--paper); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); line-height: 1.25; }
.bv-out li.paid { box-shadow: var(--shadow), inset 3px 0 0 var(--wa), inset 0 0 0 1px var(--line); }
.bv-out b { font-size: 14px; }
.bv-out span { font-size: 12px; color: var(--muted); font-weight: 600; }
.bv-center { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); display: grid; text-align: center; padding: 10px 16px; border-radius: 16px; background: var(--ink); color: #fff; line-height: 1.25; box-shadow: 0 16px 34px -14px rgba(29, 21, 48, .55); }
.bv-center b { font-size: 15px; }
.bv-center span { font-size: 11.5px; color: rgba(255, 255, 255, .7); }
@media (max-width: 560px) {
  .bridge-viz { padding-top: 92px; }
  .bv-in { grid-template-columns: repeat(2, auto); }
  .bv-out { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 6px; }
  .bv-center { top: 50%; }
  .bv-center span { display: none; }
}

/* сценарий */
.story-sec .h2 { max-width: 22ch; }
.story { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px; margin-top: 36px; align-items: start; }
.story-col { border-radius: var(--r-lg); padding: clamp(18px, 2.6vw, 28px); min-width: 0; }
.story-bad { background: var(--mist); }
.story-good { background: #eef8f2; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--wa) 30%, transparent); }
.story-h { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.story-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--rose); }
.story-good .story-dot { background: var(--wa); }
.story-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.story-feed li { display: grid; gap: 3px; max-width: 88%; }
.story-feed time { font-size: 11.5px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.story-feed span { padding: 10px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.4; }
.msg.in { justify-self: start; }
.msg.in span { background: var(--paper); border-top-left-radius: 4px; box-shadow: inset 0 0 0 1px var(--line); }
.msg.out { justify-self: end; text-align: right; }
.msg.out span { background: #dcf3e4; border-top-right-radius: 4px; text-align: left; }
.msg.out.late span { background: #f3e3e8; }
.msg.out.auto span::before { content: "Автоответ"; display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--wa); margin-bottom: 2px; }
.evt { justify-self: center; max-width: 100% !important; text-align: center; }
.evt span { font-size: 13px; font-weight: 600; border-radius: 999px; padding: 7px 14px; }
.evt.warn span { background: color-mix(in srgb, var(--rose) 12%, transparent); color: #9b1242; }
.evt.ok span { background: color-mix(in srgb, var(--plum) 10%, transparent); color: var(--plum); }
.story-total { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 12px; margin: 18px 0 0; padding: 14px 16px; border-radius: 16px; }
.story-total span { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.story-total b { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.story-total small { grid-column: 2; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.story-total.bad { background: var(--paper); }
.story-total.bad b { color: var(--rose); }
.story-total.good { background: var(--paper); }
.story-total.good b { color: var(--wa); }
.story-vs { align-self: center; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; }
.js-story.play .story-feed li, .js-story.play .story-total { animation: pop .45s both cubic-bezier(.2, .8, .2, 1); }
@keyframes pop { from { transform: translateY(8px) scale(.98); } }
@media (max-width: 860px) { .story { grid-template-columns: minmax(0, 1fr); } .story-vs { justify-self: center; } }

/* калькулятор потерь */
.loss { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.loss-copy .btn { margin-top: 22px; }
.loss-calc { background: var(--paper); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); display: grid; gap: 18px; min-width: 0; }
.loss-calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--plum) 0, var(--rose) var(--fill, 20%), var(--mist) var(--fill, 20%)); }
.loss-calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--rose), 0 4px 10px rgba(29, 21, 48, .25); cursor: pointer; }
.loss-calc input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--rose); cursor: pointer; }
.loss-calc .calc-row output { font-size: 22px; }
.loss-input { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); font: 700 17px/1.2 var(--font); color: var(--ink); background: var(--paper); font-variant-numeric: tabular-nums; }
.loss-input:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px color-mix(in srgb, var(--plum) 14%, transparent); }
.loss-result { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 18px; border-radius: var(--r); background: var(--ink); color: #fff; }
.loss-result div { display: grid; gap: 2px; min-width: 0; }
.loss-result small { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .65); }
.loss-result b { font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.loss-year { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .12); }
.loss-year b { font-size: clamp(30px, 4vw, 44px); color: #ff8fb4; }
@media (max-width: 900px) { .loss { grid-template-columns: minmax(0, 1fr); } }

/* хаб услуг */
.hub { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 16px; margin-top: 32px; }
.hub-core { grid-row: span 2; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--grad); color: #fff; text-decoration: none; min-height: 320px; transition: transform .25s; }
.hub-core::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 50%; border: 28px solid rgba(255, 255, 255, .08); }
.hub-core:hover { transform: translateY(-4px); }
.hub-core h3 { font-size: clamp(28px, 3vw, 38px); line-height: 1.05; margin: 0; font-weight: 800; letter-spacing: -.02em; }
.hub-core p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 40ch; }
.hub-core .hub-k { color: rgba(255, 255, 255, .75); }
.hub-core .service-more { color: #fff; }
.hub-price { display: inline-flex; align-self: flex-start; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-weight: 700; font-size: 14px; }
.hub-k { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rose); }
.hub-sat { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--r); background: var(--paper); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s, box-shadow .25s; min-width: 0; }
.hub-sat:hover { transform: translateY(-3px); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.hub-sat h3 { margin: 0; font-size: 19px; font-weight: 800; }
.hub-sat p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.hot-sat { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--wa) 40%, var(--line)); }
.hot-sat .hub-k { color: var(--wa); }
@media (max-width: 960px) { .hub { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hub-core { grid-column: 1 / -1; grid-row: auto; min-height: 0; } }
@media (max-width: 560px) { .hub { grid-template-columns: minmax(0, 1fr); } }

/* гарантии */
.guarantee { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.g-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.g-list li { display: grid; gap: 4px; padding: 18px; border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.g-list b { font-size: 16.5px; }
.g-list span { font-size: 14px; color: var(--ink-2); }
.partner-line-dark { display: flex; align-items: center; gap: 8px; margin: 20px 0 0; font-weight: 700; font-size: 14px; }
.partner-line-dark .dot, .header-partner .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); }
@media (max-width: 900px) { .guarantee { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .g-list { grid-template-columns: minmax(0, 1fr); } }

.dev-band { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-lg); text-decoration: none; color: #fff; background: linear-gradient(120deg, #23173f, #3b1f5e 55%, #6b1d4b); }
.dev-band::before { content: ""; position: absolute; right: -10%; bottom: -60%; width: 60%; height: 160%; background: repeating-radial-gradient(circle at 100% 100%, transparent 0 26px, rgba(255, 255, 255, .06) 26px 28px); }
.dev-band > * { position: relative; }
.dev-band > div { flex: 1 1 420px; }
.dev-band p { color: rgba(255, 255, 255, .8); margin: 0; max-width: 56ch; }

/* ======== v2: посадочная с квизом ======== */
.header-min { display: flex; align-items: center; gap: 16px; }
.header-partner { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
@media (max-width: 560px) { .header-partner { display: none; } }
.site-footer-min { padding: 20px 0 calc(20px + env(safe-area-inset-bottom, 0px)); }
.site-footer-min .footer-bottom { border-top: 0; padding-top: 0; }
.tl-hero { padding-block: clamp(24px, 4vw, 56px) clamp(48px, 6vw, 80px); background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(218, 28, 92, .10), transparent 60%), radial-gradient(ellipse 50% 60% at 0% 100%, rgba(102, 45, 145, .07), transparent 60%); }
.tl-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.tl-h1 { font-size: clamp(36px, 5vw, 60px); }
.tl-get { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.tl-get li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.tl-get li span { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 13px; }
.tl-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 28px; }
.tl-proof div { display: grid; padding: 12px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); line-height: 1.25; min-width: 0; }
.tl-proof b { font-size: 18px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tl-proof span { font-size: 12px; color: var(--muted); font-weight: 600; }
.tl-sample { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.tl-sample figure { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.tl-sample figcaption { display: grid; gap: 2px; padding: 14px 16px 18px; font-size: 14px; color: var(--ink-2); }
.tl-sample figcaption b { color: var(--ink); font-size: 16px; }
.tl-again { margin-top: 28px; }
.tl-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tl-trust div { display: grid; gap: 4px; padding: 20px; border-radius: var(--r); background: var(--mist); }
.tl-trust span { color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 960px) { .tl-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .tl-sample, .tl-trust { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .tl-proof { grid-template-columns: minmax(0, 1fr); } }

/* ======== v2: застройщики ======== */
.dv-hero { padding-block: clamp(24px, 4vw, 56px) clamp(48px, 6vw, 80px); background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(218, 28, 92, .10), transparent 60%); }
.dv-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.dv-h1 { font-size: clamp(36px, 5.4vw, 64px); }
.dv-days { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; }
.dv-days::before { content: ""; position: absolute; left: 27px; top: 20px; bottom: 20px; width: 3px; border-radius: 3px; background: linear-gradient(var(--plum), var(--rose)); }
.dv-days li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; padding: 16px 18px 16px 0; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); animation: rise .6s both; }
.dv-days li:nth-child(2) { animation-delay: .12s; } .dv-days li:nth-child(3) { animation-delay: .24s; }
.dv-day { grid-row: span 2; align-self: center; justify-self: center; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 0; position: relative; z-index: 1; }
.dv-days li:nth-child(1) .dv-day::before { content: "1"; font-size: 16px; font-weight: 800; }
.dv-days li:nth-child(2) .dv-day::before { content: "2"; font-size: 16px; font-weight: 800; }
.dv-days li:nth-child(3) .dv-day::before { content: "3"; font-size: 16px; font-weight: 800; }
.dv-days b { font-size: 18px; }
.dv-days small { color: var(--ink-2); font-size: 14px; }
@media (max-width: 900px) { .dv-grid { grid-template-columns: minmax(0, 1fr); } }

.journey { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: clamp(28px, 5vw, 56px); position: relative; }
.j-step { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.j-step:nth-child(even) .j-copy { order: 2; }
.j-n { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.j-copy h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; margin: 10px 0 10px; font-weight: 800; }
.j-copy p { color: var(--ink-2); margin: 0 0 12px; max-width: 48ch; }
.j-vis { position: relative; border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); background: var(--mist); min-width: 0; }
.demo-tag { position: absolute; right: 14px; top: 12px; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.j-ads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 36px; }
.ad { display: grid; gap: 6px; padding: 10px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; }
.ad-img { aspect-ratio: 4 / 5; border-radius: 10px; display: block; }
.ad-img.a1 { background: linear-gradient(160deg, #662D91, #DA1C5C); }
.ad-img.a2 { background: linear-gradient(160deg, #3b2a6b, #7a5bb5); }
.ad-img.a3 { background: linear-gradient(160deg, #b9b2c9, #e8e2f0); }
.ad small { color: var(--muted); font-weight: 600; }
.bar { display: block; height: 6px; border-radius: 6px; background: var(--mist); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; background: var(--grad); }
.j-phone { display: grid; place-items: center; background: linear-gradient(160deg, var(--mist), #f1e8f5); }
.phone { width: min(280px, 100%); display: grid; gap: 12px; padding: 22px 16px; border-radius: 34px; background: var(--paper); box-shadow: 0 0 0 8px #1d1530, var(--shadow); }
.ph-tag { font-size: 11px; font-weight: 700; color: var(--muted); }
.ph-h { font-size: 20px; line-height: 1.15; }
.ph-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ph-plans span { display: grid; padding: 8px 4px; border-radius: 10px; background: var(--mist); text-align: center; font-weight: 800; font-size: 13px; line-height: 1.2; }
.ph-plans span:first-child { background: var(--ink); color: #fff; }
.ph-plans small { font-weight: 600; font-size: 10.5px; opacity: .75; }
.ph-calc { display: grid; gap: 6px; padding: 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.ph-calc small { font-size: 11px; color: var(--muted); font-weight: 700; }
.ph-calc b { font-size: 18px; color: var(--plum); }
.ph-btn { display: block; text-align: center; padding: 12px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 800; font-size: 14px; }
.j-deal { background: var(--paper); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.deal-h { margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rose); }
.j-deal dl { margin: 0; display: grid; gap: 0; }
.j-deal dl div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.j-deal dl div:last-child { border-bottom: 0; }
.j-deal dt { color: var(--muted); font-size: 14px; font-weight: 600; }
.j-deal dd { margin: 0; font-weight: 700; font-size: 14.5px; }
.j-auto { display: flex; flex-wrap: wrap; gap: 10px; align-content: center; min-height: 200px; }
.chip-a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: 14.5px; }
.chip-a::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); }
.j-funnel { display: grid; gap: 8px; padding-top: 38px; }
.j-funnel div { width: var(--w); min-width: 120px; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: var(--grad); color: #fff; margin-inline: auto; }
.j-funnel div:nth-child(n+3) { background: linear-gradient(115deg, #3b2a6b, var(--plum)); }
.j-funnel b { font-size: 14px; }
.j-funnel span { font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .j-step { grid-template-columns: minmax(0, 1fr); } .j-step:nth-child(even) .j-copy { order: 0; } }

.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; align-items: stretch; }
.pack { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.pack h3 { margin: 0; font-size: 26px; font-weight: 800; }
.pack-sub { margin: 0 0 6px; color: var(--muted); font-weight: 600; }
.pack .checklist { margin-bottom: 8px; }
.pack-time { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 800; color: var(--plum); }
.pack-main { background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.pack-main .pack-sub { color: rgba(255, 255, 255, .65); }
.pack-main .checklist li { color: rgba(255, 255, 255, .85); }
.pack-main .pack-time { color: #ff8fb4; border-color: rgba(255, 255, 255, .15); }
.pack-badge { position: absolute; top: -12px; right: 20px; padding: 5px 12px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; }
@media (max-width: 900px) { .packs { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) { .bv-dots { display: none; } .bv-arc { stroke-dashoffset: 0; } }

/* мост: раскладка в три колонки */
.bridge-viz { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 0; }
.bv-in, .bv-out { position: static; }
.bv-in { grid-template-columns: 1fr; }
.bv-out { gap: 10px; }
.bv-mid { position: relative; min-width: 0; padding-top: 8px; }
.bv-center { top: 22%; }
@media (max-width: 760px) {
  .bridge-viz { grid-template-columns: minmax(0, 1fr); }
  .bv-in { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
  .bv-out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bv-center { top: 18%; }
}
@media (max-width: 560px) { .bridge-viz { padding-top: 0; } }
.hx-grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.bv-in li { padding: 6px 10px 6px 6px; font-size: 12.5px; }
.bv-ico { width: 18px; height: 18px; }
.bv-out li { padding: 8px 12px; }
.bv-center { top: 0; transform: translate(-50%, -40%); padding: 8px 14px; white-space: nowrap; }
.bv-center span { display: none; }
.bv-mid { padding-top: 34px; }
@media (max-width: 960px) { .hx-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .hot { flex-wrap: wrap; }
  .hot-tag { order: 0; }
  .hot-text { flex: 1 1 100%; order: 1; }
  .hot-arrow { position: absolute; right: 16px; top: 14px; }
  .hot { position: relative; }
}

/* Реквизиты в подвале */
.legal { display: grid; gap: 2px; padding-block: 20px 4px; margin-top: 8px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, .6); }
.legal p { margin: 0; }
.legal-h { font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; color: rgba(255, 255, 255, .45); margin-bottom: 4px !important; }
.legal a { color: rgba(255, 255, 255, .85); }
.site-footer-min .legal { margin-top: 12px; }
.form-note a { color: inherit; }
.legal { border-top: 0; margin-top: 0; padding-top: 4px; padding-bottom: 18px; }
@media (max-width: 760px) { .site-footer { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); } }
