/* MediaLead — дизайн-система главной
   Основа: IT-Agency (белый, крупный гротеск, красный акцент)
   Приёмы AGIMA: цифры, модули, инфографика, скругления */

@font-face {
  font-family: "Onest";
  src: url("../fonts/onest.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --paper: #f3f3f1;
  --paper-2: #ebebe8;
  --ink: #0d0d0f;
  --ink-2: #4f5056;
  --ink-3: #8a8b91;
  --line: #e3e3df;
  --accent: #e2412e;
  --accent-ink: #ffffff;
  --accent-soft: #fdeceA;
  --dark: #0e0e10;
  --dark-2: #19191c;
  --dark-3: #26262a;
  --dark-ink-2: #a7a7ad;
  --good: #1f9d55;
  --warn: #f2a33a;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;

  --wrap: 1360px;
  --gutter: 40px;
  --section: 150px;

  --h1: clamp(46px, 8.6vw, 136px);
  --h2: clamp(34px, 4.4vw, 66px);
  --h2m: clamp(32px, 3.7vw, 56px);
  --h3: clamp(22px, 2vw, 30px);
  --lead: clamp(18px, 1.45vw, 22px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 30px 60px -30px rgba(13, 13, 15, .25), 0 10px 20px -12px rgba(13, 13, 15, .12);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--dark); color: #fff; }
.section--tight { padding-top: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- типографика ---------- */
.h1 {
  font-size: var(--h1);
  line-height: .94;
  letter-spacing: -.048em;
  font-weight: 500;
}
.h2 {
  font-size: var(--h2);
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 500;
  text-wrap: balance;
}
.h2--m { font-size: var(--h2m); }
.h3 {
  font-size: var(--h3);
  line-height: 1.12;
  letter-spacing: -.025em;
  font-weight: 500;
}
.lead { font-size: var(--lead); line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.section--dark .lead { color: var(--dark-ink-2); }
.muted { color: var(--ink-2); }
.section--dark .muted { color: var(--dark-ink-2); }
.small { font-size: 14px; line-height: 1.45; }
.mute-3 { color: var(--ink-3); }
.accent { color: var(--accent); }
.nowrap { white-space: nowrap; }
.gray-word { color: var(--ink-3); }
.section--dark .gray-word { color: #6e6e75; }

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--ink);
}
.label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.section--dark .label { color: #fff; }

/* заголовок секции: метка слева, заголовок, пояснение справа */
.s-head {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 400px);
  gap: 32px 64px;
  align-items: end;
  margin-bottom: 64px;
}
.s-head .label { grid-column: 1 / -1; margin-bottom: -8px; }
.s-head .lead { padding-bottom: 6px; }
.s-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.s-head--center .h2 { max-width: 1000px; }
.s-head--center .lead { max-width: 640px; }

/* защита сеток от распирания содержимым */
.price > *, .choice > *, .ltop > *, .proc > *, .faq > *, .lead-box > *, .manifest > *, .aes__top > *, .gravity > *, .offers > * { min-width: 0; }

/* тёмные контейнеры внутри светлых секций */
.heat .seg { background: var(--dark-2); box-shadow: 0 0 0 1px var(--dark-3); }
.heat .seg button { color: #fff; }
.heat .seg__thumb { background: #fff; }
.heat .seg button[aria-pressed="true"] { color: var(--ink); }
.lead-box .label { color: #fff; }
.lead-box .lead { color: var(--dark-ink-2); }

/* ---------- кнопки ---------- */
.btn {
  --h: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: var(--h);
  padding: 0 10px 0 28px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .35s var(--ease), background-color .25s, color .25s, box-shadow .35s var(--ease);
  position: relative;
  isolation: isolate;
}
.btn .ico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  transition: transform .35s var(--ease);
}
.btn .ico svg { width: 18px; height: 18px; }
.btn:hover .ico { transform: rotate(-45deg); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 14px 30px -14px rgba(226, 65, 46, .7); }
.btn--primary .ico { background: rgba(255, 255, 255, .18); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -14px rgba(226, 65, 46, .8); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark .ico { background: rgba(255, 255, 255, .12); }
.btn--dark:hover { transform: translateY(-2px); }
.btn--ghost { background: var(--paper); color: var(--ink); }
.btn--ghost .ico { background: #fff; }
.btn--ghost:hover { background: var(--paper-2); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white .ico { background: var(--paper); }
.btn--line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.btn--line .ico { background: rgba(255, 255, 255, .1); }
.btn--line:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.btn--sm { --h: 48px; font-size: 15px; padding-left: 22px; padding-right: 6px; gap: 10px; }
.btn--sm .ico { width: 36px; height: 36px; }
.btn--block { width: 100%; }
.btn .tag-free {
  font-size: 12px;
  font-weight: 600;
  background: #fff;
  color: var(--accent);
  border-radius: 999px;
  padding: 3px 9px;
  letter-spacing: 0;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: gap .3s var(--ease), color .2s;
}
.link-arrow:hover { gap: 16px; color: var(--accent); }
.link-arrow svg { width: 16px; height: 16px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.chip img { width: 22px; height: 22px; border-radius: 50%; }
.chip--sm { height: 30px; padding: 0 12px; font-size: 13px; }
.chip--line { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.section--dark .chip { background: var(--dark-3); color: #fff; }

/* ---------- шапка ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, transform .4s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__in {
  height: 84px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  font-size: 22px;
  letter-spacing: -.035em;
  font-weight: 400;
  display: inline-flex;
  align-items: baseline;
  flex: none;
}
.logo b { font-weight: 800; }
.logo i { font-style: normal; color: var(--accent); font-weight: 800; }
.nav { display: flex; gap: 6px; margin: 0 auto; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background-color .2s;
}
.nav a:hover { background: var(--paper); }
.header__right { display: flex; align-items: center; gap: 20px; flex: none; }
.header__phone { font-weight: 500; font-size: 15px; line-height: 1.2; text-align: right; }
.header__phone span { display: block; font-size: 12px; color: var(--ink-3); font-weight: 400; }
.burger {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--paper);
  position: relative;
}
.burger span {
  position: absolute;
  left: 15px;
  right: 15px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 27px; }
.menu-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 23px; transform: rotate(-45deg); }
.header__call { display: none; }

/* мобильное меню */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: #fff;
  padding: 100px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.menu-open .mmenu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu-open { overflow: hidden; }
@media (min-width: 1025px) { .mmenu { display: none; } .menu-open { overflow: auto; } }
.mmenu__nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -.035em;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.mmenu__nav a small { font-size: 13px; color: var(--ink-3); letter-spacing: 0; font-weight: 500; }
.mmenu__offers { display: grid; gap: 10px; }
.mmenu__offer {
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--paper);
  font-weight: 500;
}
.mmenu__offer small { display: block; color: var(--ink-2); font-weight: 400; font-size: 14px; }
.mmenu__offer--accent { background: var(--accent); color: #fff; }
.mmenu__offer--accent small { color: rgba(255, 255, 255, .8); }
.mmenu__contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.mmenu__contacts a { padding: 16px; border-radius: var(--r-md); background: var(--paper); font-weight: 500; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.mmenu__contacts a:first-child { grid-column: 1 / -1; font-size: 20px; }

/* ---------- иконки площадок ---------- */
.pf {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 10px 22px -14px rgba(0, 0, 0, .3);
  flex: none;
  position: relative;
}
.pf img, .pf svg { width: 30px; height: 30px; }
.pf--ml { width: 84px; height: 84px; background: var(--accent); box-shadow: 0 16px 34px -14px rgba(226, 65, 46, .8); color: #fff; font-weight: 700; font-size: 28px; letter-spacing: -.06em; }
.pf--soft { background: var(--paper); box-shadow: none; }
.pf-row { display: flex; align-items: center; justify-content: center; }
.pf-row > * + * { margin-left: -10px; }
.pf-row .pf { border: 4px solid #fff; box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .3); }
.pf-row .pf--ml { z-index: 2; }

/* ---------- HERO ---------- */
.hero { padding: 150px 0 0; text-align: center; position: relative; }
.hero__eyebrow { font-size: clamp(18px, 1.6vw, 24px); font-weight: 500; letter-spacing: -.02em; line-height: 1.22; margin-bottom: 26px; }
.hero .pf-row { margin-bottom: 36px; }
.hero__title { margin: 0 auto 30px; max-width: 1240px; }
.hero__title .line { display: block; }
.hero__lead { max-width: 720px; margin: 0 auto 40px; }
.hero__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hero__micro { font-size: 14px; color: var(--ink-3); display: flex; justify-content: center; gap: 8px 22px; flex-wrap: wrap; }
.hero__micro span { display: inline-flex; align-items: center; gap: 8px; }
.hero__micro span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); }

/* блок цифр в стиле AGIMA */
.stats {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  margin-top: 110px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.stat { padding: 32px 32px 8px 0; position: relative; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat__num {
  font-size: clamp(46px, 5.4vw, 88px);
  line-height: 1;
  font-weight: 350;
  letter-spacing: -.05em;
  margin-bottom: 16px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.stat__num sup { font-size: .36em; vertical-align: top; position: relative; top: .3em; margin-left: .18em; letter-spacing: -.02em; }
.stat__txt { font-size: 15px; line-height: 1.4; color: var(--ink-2); max-width: 230px; }
.stat__src { font-size: 12px; color: var(--ink-3); margin-top: 10px; }

.clients { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 40px; padding-bottom: 20px; }
.clients__lbl { font-size: 14px; color: var(--ink-3); margin-right: 8px; }
.client {
  height: 52px;
  padding: 0 20px 0 8px;
  border-radius: 999px;
  background: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 15px;
}
.client i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.04em;
}
.client--more { padding: 0 20px; color: var(--ink-2); }

/* ---------- Момент выбора ---------- */
.choice { display: grid; grid-template-columns: 1.02fr 1fr; gap: 80px; align-items: center; }
.choice__text .h2 { margin: 24px 0 28px; }
.choice__steps { margin-top: 48px; border-top: 1px solid var(--line); }
.choice__step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.choice__step b { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.choice__step span { grid-column: 2; color: var(--ink-2); font-size: 16px; }
.choice__step em { font-style: normal; font-size: 14px; color: var(--accent); font-weight: 600; padding-top: 6px; grid-row: span 2; }

.serp {
  background: var(--paper);
  border-radius: var(--r-xl);
  padding: 28px;
  position: relative;
}
.serp__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.seg {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  position: relative;
}
.seg button {
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  z-index: 1;
  transition: color .3s;
  white-space: nowrap;
}
.seg button[aria-pressed="true"] { color: #fff; }
.seg__thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform .45s var(--ease), width .45s var(--ease);
}
.section--dark .seg { background: var(--dark-2); box-shadow: 0 0 0 1px var(--dark-3); }
.section--dark .seg__thumb { background: #fff; }
.section--dark .seg button[aria-pressed="true"] { color: var(--ink); }

.serp__phone {
  background: #fff;
  border-radius: 26px;
  padding: 16px;
  box-shadow: var(--shadow);
  max-width: 470px;
  margin: 0 auto;
}
.serp__search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  border-radius: 14px;
  background: var(--paper);
  padding: 0 14px;
  font-size: 15px;
  margin-bottom: 12px;
}
.serp__search img { width: 20px; height: 20px; }
.serp__list { position: relative; display: flex; flex-direction: column; gap: 8px; }
.biz {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow .4s, background-color .4s;
  will-change: transform;
}
.biz__img { width: 64px; height: 64px; border-radius: 12px; background: var(--paper-2); overflow: hidden; }
.biz__img img { width: 100%; height: 100%; object-fit: cover; }
.biz__name { font-weight: 600; font-size: 15px; line-height: 1.2; }
.biz__meta { font-size: 13px; color: var(--ink-3); margin-top: 3px; }
.biz__meta b { color: var(--ink); font-weight: 600; }
.biz__pos { font-size: 13px; font-weight: 600; color: var(--ink-3); width: 30px; text-align: right; }
.biz__extra { display: none; grid-column: 1 / -1; gap: 6px; }
.biz--you { box-shadow: 0 0 0 2px var(--accent); }
.biz--you .biz__pos { color: var(--accent); }
.serp[data-state="after"] .biz--you { box-shadow: 0 0 0 2px var(--accent), 0 18px 34px -16px rgba(226, 65, 46, .45); }
.serp[data-state="after"] .biz--you .biz__extra { display: flex; }
.biz__extra span { flex: 1; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 13px; font-weight: 600; background: var(--paper); }
.biz__extra span:first-child { background: #3a7bf6; color: #fff; }
.biz__extra span:last-child { background: #3fb950; color: #fff; }
.biz__badge { display: none; font-size: 12px; font-weight: 600; color: #b67b00; margin-top: 4px; }
.serp[data-state="after"] .biz--you .biz__badge { display: block; }
.serp[data-state="before"] .biz--you .biz__img img { filter: grayscale(1) brightness(.75) blur(1px); }
.serp__note { font-size: 13px; color: var(--ink-3); text-align: center; margin-top: 16px; }
.serp__legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.serp__legend div { background: #fff; border-radius: 14px; padding: 12px 14px; font-size: 13px; color: var(--ink-2); line-height: 1.3; }
.serp__legend b { display: block; font-size: 22px; color: var(--ink); font-weight: 500; letter-spacing: -.03em; transition: color .3s; }
.serp[data-state="after"] .serp__legend b { color: var(--accent); }

/* ---------- Система Gravity ---------- */
.gravity { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gcard {
  border-radius: var(--r-xl);
  padding: 34px;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease);
}
.gcard:hover { transform: translateY(-4px); }
.gcard--dark { background: var(--dark); color: #fff; }
.gcard__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.gcard__tag { font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-3); }
.gcard--dark .gcard__tag { color: var(--dark-ink-2); }
.gcard__num { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.gcard__title { font-size: clamp(30px, 2.8vw, 44px); line-height: 1; letter-spacing: -.04em; font-weight: 500; margin-bottom: 18px; }
.gcard__title span { color: var(--ink-3); }
.gcard--dark .gcard__title span { color: #77777e; }
.gcard__text { color: var(--ink-2); font-size: 16px; }
.gcard--dark .gcard__text { color: var(--dark-ink-2); }
.gcard__visual { margin-top: auto; padding-top: 30px; }
.gcard__proof {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 26px;
  font-size: 14px;
  color: var(--ink-2);
}
.gcard--dark .gcard__proof { border-color: var(--dark-3); color: var(--dark-ink-2); }
.gcard__proof b { font-size: 26px; letter-spacing: -.04em; font-weight: 500; color: var(--ink); white-space: nowrap; }
.gcard--dark .gcard__proof b { color: #fff; }

.rank { display: grid; gap: 8px; }
.rank__row {
  display: grid;
  grid-template-columns: 26px 1fr 92px;
  gap: 12px;
  align-items: center;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--dark-2);
  font-size: 14px;
  color: var(--dark-ink-2);
}
.rank__row b { color: #fff; font-weight: 500; }
.rank__row small { text-align: right; font-size: 12px; }
.rank__row--you { background: var(--accent); color: #fff; }
.rank__row--you small { color: #fff; }
.rank__bar { height: 4px; background: var(--dark-3); border-radius: 4px; overflow: hidden; }
.rank__bar i { display: block; height: 100%; background: #55555c; border-radius: 4px; }
.rank__row--you .rank__bar { background: rgba(255, 255, 255, .3); }
.rank__row--you .rank__bar i { background: #fff; }

.collage { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 130px 130px; gap: 8px; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.collage img:first-child { grid-row: span 2; }

.spark { background: var(--paper); border-radius: 18px; padding: 18px; }
.spark__top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--ink-2); }
.spark__top b { font-size: 28px; color: var(--ink); font-weight: 500; letter-spacing: -.04em; }
.spark svg { width: 100%; height: 130px; margin-top: 10px; overflow: visible; }
.spark__ai { display: flex; gap: 10px; align-items: flex-start; background: #fff; border-radius: 12px; padding: 12px; font-size: 13px; line-height: 1.4; margin-top: 10px; color: var(--ink-2); }
.spark__ai i { flex: none; width: 24px; height: 24px; border-radius: 8px; background: var(--ink); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; display: grid; place-items: center; }

.gravity__team {
  grid-column: 1 / -1;
  border-radius: var(--r-xl);
  background: #fff;
  padding: 26px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.gravity__team p { font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.gravity__team p span { color: var(--ink-3); }
.avatars { display: flex; }
.avatars i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid #fff;
  margin-left: -10px;
  background: linear-gradient(140deg, #d9d6d0, #b9b5ad);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.avatars i:first-child { margin-left: 0; }
.gravity__team-l { display: flex; align-items: center; gap: 20px; }

/* ---------- LOCAL TOP: тепловая карта ---------- */
.ltop { display: grid; grid-template-columns: 1fr 1.08fr; gap: 80px; align-items: center; }
.ltop .h2 { margin: 24px 0 24px; }
.mech { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.mech__item b { display: block; font-weight: 500; font-size: 18px; letter-spacing: -.015em; margin-bottom: 6px; }
.mech__item p { font-size: 15px; color: var(--ink-2); }
.mech__item i { display: block; width: 32px; height: 2px; background: var(--accent); margin-bottom: 16px; }
.ltop__cta { display: flex; align-items: center; gap: 24px; margin-top: 44px; flex-wrap: wrap; }
.ltop__facts { display: flex; gap: 28px; }
.ltop__facts div { font-size: 13px; color: var(--ink-2); line-height: 1.35; }
.ltop__facts b { display: block; font-size: 26px; font-weight: 500; color: var(--ink); letter-spacing: -.04em; }

.heat {
  background: var(--dark);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 26px;
  position: relative;
}
.heat__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.heat__q { font-size: 14px; color: var(--dark-ink-2); }
.heat__q b { color: #fff; font-weight: 500; display: block; font-size: 17px; }
.heat__map {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, .05), transparent 40%),
    #151518;
  aspect-ratio: 1 / 1;
}
.heat__map svg.streets { position: absolute; inset: 0; width: 100%; height: 100%; }
.heat__grid {
  position: absolute;
  inset: 6%;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}
.heat__cell { display: grid; place-items: center; }
.heat__cell span {
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: clamp(11px, 1vw, 15px);
  font-weight: 600;
  color: #fff;
  transition: background-color .7s var(--ease), transform .7s var(--ease), color .4s;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .7);
}
.heat__cell span.p-top { background: #1f9d55; }
.heat__cell span.p-mid { background: #e6a23c; color: #1a1a1a; }
.heat__cell span.p-low { background: #d0412f; }
.heat__cell span.p-out { background: #3a3a40; color: #9a9aa1; }
.heat__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 15%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: clamp(13px, 1.3vw, 18px);
  letter-spacing: -.05em;
  box-shadow: 0 0 0 8px rgba(226, 65, 46, .25), 0 0 0 18px rgba(226, 65, 46, .12);
  z-index: 2;
}
.heat__foot { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-top: 14px; align-items: stretch; }
.heat__kpi { background: var(--dark-2); border-radius: 14px; padding: 12px 14px; font-size: 12px; color: var(--dark-ink-2); }
.heat__kpi b { display: block; font-size: 24px; font-weight: 500; color: #fff; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.heat__legend { display: flex; flex-direction: column; justify-content: center; gap: 6px; font-size: 12px; color: var(--dark-ink-2); padding: 0 6px; }
.heat__legend span { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.heat__legend i { width: 10px; height: 10px; border-radius: 50%; }
.heat__note { font-size: 12px; color: #6e6e75; margin-top: 12px; }

/* ---------- кейсы ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filters button {
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 15px;
  font-weight: 500;
  transition: background-color .25s, color .25s;
}
.filters button:hover { background: var(--paper-2); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.filters button sup { font-size: 11px; margin-left: 4px; opacity: .6; }

.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case {
  border-radius: var(--r-lg);
  background: var(--paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), opacity .4s;
}
.case:hover { transform: translateY(-4px); }
.case[hidden] { display: none; }
.case__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--dark); }
.case__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform 1.2s var(--ease); }
.case:hover .case__img img { transform: scale(1.04); }
.case__niche {
  position: absolute;
  left: 14px;
  top: 14px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}
.case__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.case__name { font-size: 22px; font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.case__desc { font-size: 14px; color: var(--ink-2); margin-top: 6px; line-height: 1.45; }
.case__main { display: flex; align-items: baseline; gap: 12px; margin-top: 22px; }
.case__main b { font-size: 54px; line-height: 1; font-weight: 350; letter-spacing: -.055em; white-space: nowrap; }
.case__main span { font-size: 14px; color: var(--ink-2); line-height: 1.3; }
.case__more { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 18px; border-top: 1px solid var(--line); }
.case__more div { padding-top: 14px; font-size: 13px; color: var(--ink-2); line-height: 1.3; }
.case__more div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.case__more b { display: block; font-size: 22px; font-weight: 500; color: var(--ink); letter-spacing: -.03em; margin-bottom: 2px; white-space: nowrap; }
.case__foot { margin-top: auto; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.case__tools { font-size: 12px; color: var(--ink-3); line-height: 1.4; }
.case__go {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  transition: background-color .25s, color .25s, transform .35s var(--ease);
}
.case__go svg { width: 16px; height: 16px; }
.case:hover .case__go { background: var(--accent); color: #fff; transform: rotate(-45deg); }

.case--feature { grid-column: span 2; flex-direction: row; background: var(--dark); color: #fff; }
.case--feature .case__img { aspect-ratio: auto; width: 50%; flex: none; }
.case--feature .case__img img { object-position: center; }
.case--feature .case__body { padding: 34px; }
.case--feature .case__name { font-size: 34px; letter-spacing: -.035em; }
.case--feature .case__desc { color: var(--dark-ink-2); font-size: 16px; }
.case--feature .case__main b { font-size: 84px; }
.case--feature .case__main span, .case--feature .case__more div { color: var(--dark-ink-2); }
.case--feature .case__more { border-color: var(--dark-3); }
.case--feature .case__more div + div { border-color: var(--dark-3); }
.case--feature .case__more b { color: #fff; }
.case--feature .case__go { background: var(--accent); color: #fff; }

.cases__more { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 32px; flex-wrap: wrap; }
.cases__note { font-size: 13px; color: var(--ink-3); max-width: 560px; }
.cases__swipe { display: none; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.cases__swipe i { width: 26px; height: 4px; border-radius: 4px; background: var(--paper-2); position: relative; overflow: hidden; }
.cases__swipe i::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--ink); border-radius: 4px; animation: swipeHint 1.8s ease-in-out infinite; }
@keyframes swipeHint { 0%,100% { transform: translateX(0); } 50% { transform: translateX(150%); } }

/* ---------- эстетика ---------- */
.aes { position: relative; overflow: hidden; }
.aes::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(226, 65, 46, .22), transparent 62%); pointer-events: none; }
.aes .wrap { position: relative; }
.aes__top { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: end; padding-bottom: 64px; }
.aes__head .h2 { margin: 26px 0 30px; }
.aes__head .lead { max-width: 620px; color: #d4d4d8; }
.aes__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.aes__photos figure { margin: 0; position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 9 / 16; max-height: 480px; }
.aes__photos figure:nth-child(2) { transform: translateY(-36px); }
.aes__photos img { width: 100%; height: 100%; object-fit: cover; }
.aes__photos figcaption { position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(13, 13, 15, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.aes__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.atile {
  border-radius: var(--r-lg);
  background: rgba(25, 25, 28, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 26px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
}
.atile__n { font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 44px; }
.atile b { display: block; font-size: 21px; font-weight: 500; letter-spacing: -.02em; margin: 0 0 10px; }
.atile p { font-size: 15px; color: var(--dark-ink-2); line-height: 1.5; }

.review { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; margin-top: 16px; }
.review__intro { border-radius: var(--r-lg); background: var(--dark-2); padding: 34px; display: flex; flex-direction: column; }
.review__intro .h3 { margin: 18px 0 14px; }
.review__intro p { color: var(--dark-ink-2); font-size: 16px; }
.review__intro .seg { margin-top: auto; align-self: flex-start; }
.review__card { border-radius: var(--r-lg); background: #fff; color: var(--ink); padding: 30px; }
.review__user { display: flex; align-items: center; gap: 12px; }
.review__user i { width: 42px; height: 42px; border-radius: 50%; background: #e9d8cf; display: grid; place-items: center; font-style: normal; font-weight: 600; color: #8a5a43; }
.review__user b { font-weight: 600; display: block; font-size: 15px; }
.review__user small { color: var(--ink-3); font-size: 13px; }
.stars { color: #f5a623; letter-spacing: 2px; font-size: 15px; }
.stars span { color: #d8d8d8; }
.review__text { margin: 14px 0 20px; font-size: 16px; line-height: 1.55; }
.review__answer { border-radius: 18px; background: var(--paper); padding: 20px 22px; position: relative; }
.review__answer-h { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.review__answer-h i { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-style: normal; display: grid; place-items: center; font-size: 11px; }
.review__answer p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.review__answer [data-ans] { transition: opacity .4s; }
.review__verdict { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.review__verdict span { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.v-bad { background: #fde9e6; color: #b3321f; }
.v-good { background: #e3f4ea; color: #1a7a43; }

/* ---------- процесс ---------- */
.proc { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.proc .h2 { margin: 24px 0 26px; }
.cycle { position: relative; aspect-ratio: 1; max-width: 600px; margin-left: auto; width: 100%; }
.cycle svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cycle__center {
  position: absolute;
  inset: 31%;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px;
}
.cycle__center b { display: block; font-size: clamp(18px, 1.8vw, 26px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.cycle__center span { display: block; font-size: 13px; color: var(--dark-ink-2); margin-top: 6px; }
.cycle__step {
  position: absolute;
  width: 31%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.cycle__step i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 8px 18px -10px rgba(0, 0, 0, .3);
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  transition: background-color .4s, color .4s, transform .4s var(--ease);
}
.cycle__step b { display: block; font-size: 15px; font-weight: 600; line-height: 1.2; }
.cycle__step span { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.3; margin-top: 3px; }
.cycle__step.is-on i { background: var(--accent); color: #fff; transform: scale(1.12); box-shadow: 0 10px 22px -10px rgba(226, 65, 46, .8); }

.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.role { border-radius: var(--r-lg); padding: 26px; background: var(--paper); }
.role--we { background: var(--ink); color: #fff; }
.role h4 { font-size: 18px; font-weight: 500; letter-spacing: -.015em; margin-bottom: 16px; }
.role h4 small { display: block; font-size: 13px; color: var(--ink-3); font-weight: 500; margin-top: 2px; }
.role--we h4 small { color: var(--dark-ink-2); }
.role li { font-size: 15px; padding: 10px 0; border-top: 1px solid var(--line); display: flex; gap: 10px; line-height: 1.4; }
.role--we li { border-color: var(--dark-3); color: #e4e4e7; }
.role li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 8px; }
.rhythm { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

/* ---------- Pulse ---------- */
.pulse__flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 16px; }
.pflow { border-radius: var(--r-lg); background: #fff; padding: 24px; position: relative; }
.pflow__n { font-size: 13px; color: var(--accent); font-weight: 600; }
.pflow b { display: block; font-size: 21px; font-weight: 500; letter-spacing: -.02em; margin: 16px 0 8px; }
.pflow p { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.pflow__src { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.pflow__src span { font-size: 12px; padding: 4px 9px; border-radius: 999px; background: var(--paper); font-weight: 500; }
.pflow:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -13px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--ink-3);
  border-right: 2px solid var(--ink-3);
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
}

.dash { border-radius: var(--r-xl); background: #fff; padding: 28px; display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px; }
.dash__head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.dash__brand { display: flex; align-items: center; gap: 12px; }
.dash__brand i { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 14px; letter-spacing: -.04em; }
.dash__brand b { display: block; font-weight: 600; font-size: 16px; }
.dash__brand small { color: var(--ink-3); font-size: 13px; }
.dash__kpis { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { background: var(--paper); border-radius: 16px; padding: 16px 18px; }
.kpi small { font-size: 13px; color: var(--ink-2); }
.kpi b { display: block; font-size: clamp(26px, 2.3vw, 36px); font-weight: 400; letter-spacing: -.045em; line-height: 1.1; margin-top: 6px; font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--good); }
.chart { background: var(--paper); border-radius: 18px; padding: 20px; }
.chart__h { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; gap: 10px; flex-wrap: wrap; }
.chart__h b { color: var(--ink); font-weight: 600; }
.chart__legend { display: flex; gap: 14px; font-size: 12px; }
.chart__legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart__legend i { width: 14px; height: 3px; border-radius: 3px; background: var(--ink); }
.chart__legend i.f { background: repeating-linear-gradient(90deg, var(--accent) 0 4px, transparent 4px 7px); }
.chart svg { width: 100%; height: auto; overflow: visible; display: block; }
.chart .ln { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart .fc { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 6 6; stroke-linecap: round; }
.chart .ar { fill: url(#gArea); }
.chart .gl { stroke: #dcdcd8; stroke-width: 1; }
.chart .tx { font-size: 11px; fill: var(--ink-3); font-family: inherit; }
.chart .dt { fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
.dash__side { display: flex; flex-direction: column; gap: 10px; }
.src { background: var(--paper); border-radius: 18px; padding: 18px 20px; }
.src__h { font-size: 14px; color: var(--ink-2); margin-bottom: 12px; }
.src__row { display: grid; grid-template-columns: 22px 1fr 42px; gap: 10px; align-items: center; font-size: 13px; padding: 6px 0; }
.src__row img { width: 22px; height: 22px; border-radius: 6px; }
.src__bar { height: 8px; border-radius: 8px; background: #e2e2de; overflow: hidden; }
.src__bar i { display: block; height: 100%; border-radius: 8px; background: var(--ink); width: 0; transition: width 1.2s var(--ease); }
.src__row b { text-align: right; font-weight: 600; }
.insight { border-radius: 18px; padding: 16px 18px; background: var(--ink); color: #fff; display: flex; gap: 12px; }
.insight + .insight { background: var(--paper); color: var(--ink); }
.insight i { flex: none; width: 28px; height: 28px; border-radius: 9px; background: var(--accent); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.insight p { font-size: 14px; line-height: 1.45; }
.insight small { display: block; font-size: 12px; opacity: .6; margin-bottom: 3px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.dash__note { grid-column: 1 / -1; font-size: 12px; color: var(--ink-3); }

.report-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin-top: 56px; }
.report-list li { padding: 18px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 34px 1fr; font-size: 16px; line-height: 1.4; }
.report-list li span { color: var(--accent); font-size: 13px; font-weight: 600; padding-top: 2px; }

/* ---------- услуги ---------- */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc__card {
  border-radius: var(--r-lg);
  background: var(--paper);
  padding: 28px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  transition: background-color .3s, transform .5s var(--ease);
}
.svc__card:hover { background: var(--paper-2); transform: translateY(-3px); }
.svc__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; gap: 10px; }
.svc__icon { width: 56px; height: 56px; border-radius: 16px; background: #fff; display: grid; place-items: center; }
.svc__icon img, .svc__icon svg { width: 28px; height: 28px; }
.svc__price { font-size: 13px; color: var(--ink-2); text-align: right; line-height: 1.3; }
.svc__price b { display: block; font-size: 17px; color: var(--ink); font-weight: 600; }
.svc__card h3 { font-size: 24px; font-weight: 500; letter-spacing: -.025em; line-height: 1.12; margin: 40px 0 10px; }
.svc__card p { font-size: 15px; color: var(--ink-2); }
.svc__card--dark { background: var(--ink); color: #fff; }
.svc__card--dark:hover { background: #1c1c20; }
.svc__card--dark p, .svc__card--dark .svc__price { color: var(--dark-ink-2); }
.svc__card--dark .svc__price b { color: #fff; }
.svc__card--dark .svc__icon { background: var(--dark-3); color: #fff; }

.extra { margin-top: 56px; display: grid; grid-template-columns: 320px 1fr; gap: 40px; }
.extra h3 { font-size: 28px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.extra h3 + p { color: var(--ink-2); margin-top: 12px; font-size: 15px; }
.extra__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.extra__item { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 18px 0; border-top: 1px solid var(--line); align-items: baseline; }
.extra__item b { font-weight: 500; font-size: 17px; }
.extra__item small { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.extra__item p { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); }

/* ---------- офферы ---------- */
.offers { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.offer {
  border-radius: var(--r-xl);
  padding: 34px;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  position: relative;
  overflow: hidden;
}
.offer--main { background: var(--accent); color: #fff; }
.offer__tag { display: inline-flex; align-self: flex-start; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--paper); font-size: 13px; font-weight: 600; align-items: center; }
.offer--main .offer__tag { background: #fff; color: var(--accent); }
.offer h3 { font-size: clamp(30px, 2.6vw, 42px); font-weight: 500; letter-spacing: -.04em; line-height: 1.02; margin: 28px 0 16px; }
.offer > p { color: var(--ink-2); font-size: 16px; }
.offer--main > p { color: rgba(255, 255, 255, .86); }
.offer ul { margin: 26px 0 30px; }
.offer li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.4; }
.offer--main li { border-color: rgba(255, 255, 255, .22); }
.offer li svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.offer--main li svg { color: #fff; }
.offer .btn { margin-top: auto; }
.offer__big { font-size: 96px; line-height: .85; font-weight: 400; letter-spacing: -.07em; position: absolute; right: 26px; top: 22px; opacity: .14; pointer-events: none; }
.gift {
  grid-column: 1 / -1;
  border-radius: var(--r-xl);
  background: var(--ink);
  color: #fff;
  padding: 30px 34px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  align-items: center;
}
.gift h4 { font-size: 24px; font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.gift h4 + p { font-size: 14px; color: var(--dark-ink-2); margin-top: 8px; }
.gift__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gift__list div { border-radius: 16px; background: var(--dark-2); padding: 16px; font-size: 14px; line-height: 1.35; color: #e4e4e7; }
.gift__list b { display: block; color: var(--accent); font-size: 13px; margin-bottom: 8px; font-weight: 600; }

/* ---------- тарифы ---------- */
.price { display: grid; grid-template-columns: 1.45fr 1fr; gap: 16px; align-items: start; }
.ptable { border-radius: var(--r-xl); background: var(--paper); padding: 10px; }
.ptabs { padding: 16px 16px 6px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ptabs__hint { font-size: 13px; color: var(--ink-3); }
.prow {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 16px;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  padding: 18px 22px;
  margin-top: 8px;
}
.prow__name { display: flex; gap: 14px; align-items: center; }
.prow__name img { width: 34px; height: 34px; flex: none; }
.prow__name b { display: block; font-weight: 600; font-size: 16px; line-height: 1.25; }
.prow__name small { display: block; color: var(--ink-3); font-size: 13px; line-height: 1.3; }
.prow__p small { display: block; font-size: 12px; color: var(--ink-3); }
.prow__p b { font-size: 20px; font-weight: 500; letter-spacing: -.03em; white-space: nowrap; }
.prow__p b em { font-style: normal; font-size: 13px; color: var(--ink-3); font-weight: 400; letter-spacing: 0; }
.prow--head { background: none; padding-top: 4px; padding-bottom: 0; font-size: 13px; color: var(--ink-3); }
.ltop-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; letter-spacing: -.02em; flex: none; line-height: 1; text-align: center; }
.ptable__foot { padding: 16px 18px 10px; font-size: 13px; color: var(--ink-2); display: flex; gap: 6px 22px; flex-wrap: wrap; }
.ptable__foot span::before { content: "·"; margin-right: 8px; color: var(--accent); font-weight: 700; }

.calc { border-radius: var(--r-xl); background: var(--ink); color: #fff; padding: 30px; position: sticky; top: 104px; }
.calc h3 { font-size: 26px; font-weight: 500; letter-spacing: -.03em; }
.calc > p { font-size: 14px; color: var(--dark-ink-2); margin-top: 6px; }
.calc__row { margin-top: 24px; }
.calc__lbl { font-size: 13px; color: var(--dark-ink-2); margin-bottom: 10px; display: flex; justify-content: space-between; }
.stepper { display: flex; align-items: center; justify-content: space-between; background: var(--dark-2); border-radius: 999px; padding: 6px; }
.stepper button { width: 46px; height: 46px; border-radius: 50%; background: var(--dark-3); font-size: 22px; display: grid; place-items: center; transition: background-color .2s; }
.stepper button:hover { background: #333338; }
.stepper output { font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; }
.stepper output small { font-size: 14px; color: var(--dark-ink-2); font-weight: 400; margin-left: 4px; }
.toggles { display: grid; gap: 8px; }
.tog {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--dark-2);
  cursor: pointer;
  font-size: 15px;
  user-select: none;
  transition: background-color .2s;
}
.tog input { position: absolute; opacity: 0; pointer-events: none; }
.tog img, .tog .ltop-ico { width: 26px; height: 26px; border-radius: 8px; font-size: 8px; }
.tog .ltop-ico { background: var(--dark-3); }
.tog > span:not(.ltop-ico) { flex: 1; }
.tog .ltop-ico { flex: none; }
.tog small { color: var(--dark-ink-2); font-size: 13px; white-space: nowrap; }
.tog i {
  width: 40px;
  height: 24px;
  border-radius: 999px;
  background: var(--dark-3);
  position: relative;
  flex: none;
  transition: background-color .3s;
}
.tog i::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform .35s var(--ease);
}
.tog input:checked ~ i { background: var(--accent); }
.tog input:checked ~ i::after { transform: translateX(16px); }
.tog input:focus-visible ~ i { outline: 2px solid #fff; outline-offset: 2px; }
.calc__total { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--dark-3); }
.calc__total small { font-size: 13px; color: var(--dark-ink-2); display: block; }
.calc__sum { font-size: 52px; font-weight: 400; letter-spacing: -.055em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.calc__sum em { font-style: normal; font-size: 18px; color: var(--dark-ink-2); letter-spacing: -.01em; }
.calc__old { font-size: 15px; color: #6e6e75; text-decoration: line-through; margin-left: 10px; letter-spacing: -.01em; }
.calc__start { font-size: 14px; color: var(--dark-ink-2); margin-top: 6px; }
.calc .btn { margin-top: 22px; }

/* ---------- манифест ---------- */
.manifest { display: grid; grid-template-columns: 420px 1fr; gap: 80px; align-items: center; }
.portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 80% at 50% 0%, #3a3a40 0%, #19191c 60%);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: end center;
}
.portrait > svg { width: 78%; height: auto; opacity: .9; }
.portrait__cap {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 14px;
}
.portrait__cap b { font-weight: 600; display: block; }
.portrait__cap small { color: var(--dark-ink-2); }
.portrait__ph { position: absolute; top: 16px; left: 16px; font-size: 12px; color: #8b8b92; border: 1px dashed #55555c; border-radius: 999px; padding: 5px 10px; }
.quote { font-size: clamp(36px, 4.4vw, 70px); line-height: 1.02; letter-spacing: -.045em; font-weight: 500; text-wrap: balance; }
.quote em { font-style: normal; color: var(--accent); }
.manifest__txt { font-size: 18px; color: var(--ink-2); margin-top: 28px; max-width: 640px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.principles div { border-top: 2px solid var(--ink); padding-top: 16px; }
.principles b { display: block; font-size: 18px; font-weight: 500; letter-spacing: -.015em; margin-bottom: 6px; }
.principles p { font-size: 14px; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
.faq__aside .h2 { margin: 24px 0 24px; }
.faq__help { margin-top: 36px; border-radius: var(--r-lg); background: var(--paper); padding: 22px; display: flex; gap: 16px; align-items: center; }
.faq__help p { font-size: 15px; line-height: 1.4; }
.faq__help p a { color: var(--accent); font-weight: 500; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  position: relative;
  transition: background-color .3s, transform .45s var(--ease);
}
.qa summary i::before,
.qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); transition: background-color .3s; }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] summary i { background: var(--accent); transform: rotate(45deg); }
.qa[open] summary i::before, .qa[open] summary i::after { background: #fff; }
.qa__a { padding: 0 64px 28px 0; color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.qa__a p + p { margin-top: 10px; }

/* ---------- форма ---------- */
.lead-sec { padding-bottom: 40px; }
.lead-box { border-radius: 40px; background: var(--dark); color: #fff; padding: 64px; display: grid; grid-template-columns: 1fr 1.08fr; gap: 64px; }
.lead-box .h2 { margin: 24px 0 24px; }
.manager { display: flex; gap: 16px; align-items: center; margin-top: 40px; padding: 18px; border-radius: 22px; background: var(--dark-2); }
.manager__ph {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  flex: none;
  background: radial-gradient(circle at 50% 35%, #5a5a62, #2a2a2f 70%);
  position: relative;
  overflow: hidden;
}
.manager__ph svg { position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); width: 82%; }
.manager__ph::after { content: ""; position: absolute; right: 4px; bottom: 4px; width: 14px; height: 14px; border-radius: 50%; background: #3fb950; border: 3px solid var(--dark-2); }
.manager b { display: block; font-weight: 600; font-size: 17px; }
.manager small { display: block; color: var(--dark-ink-2); font-size: 14px; line-height: 1.4; }
.manager__q { font-size: 15px; color: #e4e4e7; margin-top: 6px; font-style: italic; }
.next-steps { margin-top: 28px; display: grid; gap: 0; }
.next-steps li { display: grid; grid-template-columns: 40px 1fr; padding: 14px 0; border-top: 1px solid var(--dark-3); font-size: 15px; color: #d4d4d8; }
.next-steps li span { color: var(--accent); font-weight: 600; font-size: 13px; padding-top: 2px; }
.alt-contacts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.alt-contacts a { height: 44px; padding: 0 16px; border-radius: 999px; background: var(--dark-2); display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; transition: background-color .2s; }
.alt-contacts a:hover { background: var(--dark-3); }
.alt-contacts svg { width: 18px; height: 18px; }

.form { background: #fff; color: var(--ink); border-radius: 28px; padding: 30px; position: relative; overflow: hidden; }
.form__prog { display: flex; gap: 6px; margin-bottom: 26px; }
.form__prog i { flex: 1; height: 4px; border-radius: 4px; background: var(--paper-2); overflow: hidden; position: relative; }
.form__prog i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.form__prog i.is-done::after { transform: scaleX(1); }
.form__stepinfo { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-3); margin-bottom: 8px; }
.fstep { display: none; }
.fstep.is-active { display: block; animation: stepIn .55s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.fstep h3 { font-size: 26px; font-weight: 500; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 20px; }
.opts { display: grid; gap: 8px; }
.opts--2 { grid-template-columns: 1fr 1fr; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--paper);
  font-weight: 500;
  font-size: 16px;
  transition: background-color .25s, box-shadow .25s, color .25s;
  line-height: 1.3;
}
.opt span small { font-weight: 400; color: var(--ink-2); font-size: 13px; }
.opt:hover span { background: var(--paper-2); }
.opt input:checked + span { background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.opt input:focus-visible + span { box-shadow: inset 0 0 0 2px var(--accent); }
.opt--pill span { flex-direction: row; align-items: center; justify-content: center; gap: 8px; padding: 13px 10px; font-size: 15px; text-align: center; }
.opt--pill span svg { width: 18px; height: 18px; flex: none; }
.chips-in { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-in .opt span { padding: 11px 16px; border-radius: 999px; font-size: 15px; }

.field { position: relative; margin-top: 12px; }
.field input, .field textarea {
  width: 100%;
  height: 64px;
  border: 0;
  border-radius: 16px;
  background: var(--paper);
  padding: 26px 18px 8px;
  font-size: 17px;
  outline: none;
  transition: background-color .25s, box-shadow .25s;
}
.field textarea { height: 96px; resize: none; padding-top: 30px; }
.field label { position: absolute; left: 18px; top: 21px; font-size: 16px; color: var(--ink-3); pointer-events: none; transition: top .25s var(--ease), font-size .25s var(--ease); }
.field input:focus, .field textarea:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 10px; font-size: 12px; }
.field.is-ok input { box-shadow: inset 0 0 0 2px var(--good); background: #fff; }
.field.is-err input { box-shadow: inset 0 0 0 2px var(--accent); background: #fff; }
.field__ok { position: absolute; right: 16px; top: 50%; transform: translateY(-50%) scale(.4); width: 28px; height: 28px; border-radius: 50%; background: var(--good); color: #fff; display: grid; place-items: center; opacity: 0; transition: opacity .3s, transform .45s var(--ease); }
.field__ok svg { width: 14px; height: 14px; }
.field.is-ok .field__ok { opacity: 1; transform: translateY(-50%) scale(1); }
.field__err { font-size: 13px; color: var(--accent); margin-top: 6px; display: none; }
.field.is-err .field__err { display: block; }

/* телефон: живая маска + демонстрация ввода */
.phone { position: relative; }
.phone input { letter-spacing: .02em; font-variant-numeric: tabular-nums; caret-color: var(--accent); padding: 28px 52px 14px 18px; line-height: 22px; }
.field.phone label { top: 10px; font-size: 12px; }
.phone__ghost {
  position: absolute;
  left: 18px;
  top: 28px;
  line-height: 22px;
  font-size: 17px;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
  pointer-events: none;
  white-space: pre;
}
.phone__ghost .t { color: var(--ink); opacity: .35; }
.phone__ghost .c { display: inline-block; width: 2px; height: 1.05em; background: var(--accent); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
.phone.has-value .phone__ghost, .phone.is-focus .phone__ghost { display: none; }
.phone__mask { position: absolute; left: 18px; top: 28px; line-height: 22px; font-size: 17px; letter-spacing: .02em; font-variant-numeric: tabular-nums; color: transparent; pointer-events: none; white-space: pre; }
.phone__mask .rest { color: #c4c4c0; }
.phone.is-focus .phone__mask, .phone.has-value .phone__mask { display: block; }
.phone__mask { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.digit-pop { animation: pop .35s var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.015); } 100% { transform: scale(1); } }

.form__nav { display: flex; gap: 10px; margin-top: 22px; align-items: center; }
.form__back { height: 60px; padding: 0 20px; border-radius: 999px; background: var(--paper); font-weight: 500; font-size: 15px; }
.form__nav .btn { flex: 1; }
.btn[disabled] { opacity: .45; pointer-events: none; box-shadow: none; }
.form__legal { font-size: 12px; color: var(--ink-3); margin-top: 14px; line-height: 1.45; }
.form__legal a { text-decoration: underline; }
.form__time { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.form__sub { font-size: 14px; color: var(--ink-2); margin: -10px 0 16px; }

.done { display: none; text-align: center; padding: 30px 6px 10px; }
.form.is-done .done { display: block; animation: stepIn .6s var(--ease); }
.form.is-done .fstep, .form.is-done .form__prog, .form.is-done .form__stepinfo { display: none; }
.done__ic { width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin: 0 auto 22px; box-shadow: 0 0 0 12px var(--accent-soft); }
.done__ic svg { width: 36px; height: 36px; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .7s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h3 { font-size: 30px; font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.done p { color: var(--ink-2); margin-top: 12px; }
.done__steps { text-align: left; margin-top: 24px; background: var(--paper); border-radius: 18px; padding: 6px 18px; }
.done__steps li { padding: 12px 0; display: grid; grid-template-columns: 30px 1fr; font-size: 15px; }
.done__steps li + li { border-top: 1px solid var(--line); }
.done__steps span { color: var(--accent); font-weight: 600; font-size: 13px; padding-top: 2px; }
.mock-note { font-size: 12px; color: var(--ink-3); margin-top: 16px; }

/* модальное окно */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal__bg { position: absolute; inset: 0; background: rgba(13, 13, 15, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.modal__box { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 40px); overflow-y: auto; border-radius: 30px; transform: translateY(30px) scale(.98); opacity: 0; transition: transform .5s var(--ease), opacity .35s; background: #fff; }
.modal.is-open { visibility: visible; }
.modal.is-open .modal__bg { opacity: 1; }
.modal.is-open .modal__box { transform: none; opacity: 1; }
.modal__close { position: absolute; right: 18px; top: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); z-index: 3; display: grid; place-items: center; }
.modal__close svg { width: 16px; height: 16px; }
.modal__head { display: flex; gap: 14px; align-items: center; padding: 26px 30px 0; }
.modal__head .manager__ph { width: 52px; height: 52px; }
.modal__head .manager__ph::after { border-color: #fff; width: 12px; height: 12px; right: 1px; bottom: 1px; }
.modal__head b { display: block; font-weight: 600; }
.modal__head small { color: var(--ink-2); font-size: 14px; }
.modal .form { padding-top: 22px; border-radius: 0; }

/* плавающая кнопка */
.dock {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 40;
  transform: translate(-50%, 140%);
  transition: transform .6s var(--ease);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(13, 13, 15, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5);
}
.dock.is-on { transform: translate(-50%, 0); }
.dock__mgr { display: flex; align-items: center; gap: 10px; padding: 0 14px 0 4px; font-size: 14px; line-height: 1.2; }
.dock__mgr .manager__ph { width: 40px; height: 40px; }
.dock__mgr .manager__ph::after { width: 10px; height: 10px; border-width: 2px; border-color: #0d0d0f; right: 0; bottom: 0; }
.dock__mgr small { display: block; color: var(--dark-ink-2); font-size: 12px; }
.dock .btn { --h: 48px; }
.dock__tg { width: 48px; height: 48px; border-radius: 50%; background: var(--dark-3); display: grid; place-items: center; }
.dock__tg svg { width: 20px; height: 20px; }

/* ---------- подвал ---------- */
.footer { padding: 100px 0 40px; }
.footer__big { font-size: clamp(64px, 15.5vw, 250px); line-height: .8; letter-spacing: -.07em; font-weight: 400; margin-bottom: 60px; white-space: nowrap; }
.footer__big b { font-weight: 800; }
.footer__big i { font-style: normal; color: var(--accent); font-weight: 800; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; border-top: 1px solid var(--line); padding-top: 36px; }
.footer__grid h4 { font-size: 13px; color: var(--ink-3); font-weight: 500; margin-bottom: 14px; }
.footer__grid li { padding: 4px 0; font-size: 15px; }
.footer__grid li a:hover { color: var(--accent); }
.footer__phone { font-size: 30px; font-weight: 500; letter-spacing: -.035em; }
.footer__legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 50px; font-size: 13px; color: var(--ink-3); }

/* ---------- появление ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.rv.is-in { opacity: 1; transform: none; }
.hero .line { overflow: hidden; padding-bottom: .04em; }
.hero .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.is-ready .hero .line > span { transform: none; }
.no-js .rv { opacity: 1; transform: none; }
.no-js .hero .line > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; }
  .hero .line > span { transform: none; }
}

/* ---------- адаптив ---------- */
@media (max-width: 1240px) {
  :root { --gutter: 32px; --section: 120px; }
  .nav a { padding: 10px 10px; font-size: 14px; }
  .header__phone { display: none; }
  .gcard { min-height: 560px; padding: 28px; }
  .aes__grid { grid-template-columns: 1fr 1fr; }
  .offers { grid-template-columns: 1fr 1fr; }
  .offer--main { grid-column: 1 / -1; min-height: 0; }
  .gift { grid-template-columns: 1fr; }
  .manifest { grid-template-columns: 340px 1fr; gap: 56px; }
  .lead-box { padding: 48px; gap: 48px; }
}

@media (max-width: 1024px) {
  :root { --section: 100px; }
  .nav { display: none; }
  .burger { display: block; }
  .header__right .btn { display: none; }
  .header__call { display: grid; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; place-items: center; }
  .header__call svg { width: 20px; height: 20px; }
  .header__in { justify-content: space-between; }
  .header__right { gap: 8px; }
  .s-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; }
  .s-head .label { margin-bottom: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .choice, .ltop, .proc, .faq { grid-template-columns: 1fr; gap: 56px; }
  .cycle { margin: 0 auto; }
  .gravity { grid-template-columns: 1fr; }
  .gcard { min-height: 0; }
  .gcard__visual { padding-top: 34px; }
  .cases { grid-template-columns: 1fr 1fr; }
  .case--feature { grid-column: 1 / -1; }
  .svc { grid-template-columns: 1fr 1fr; }
  .extra { grid-template-columns: 1fr; gap: 24px; }
  .pulse__flow { grid-template-columns: 1fr 1fr; }
  .pflow:nth-child(2)::after { display: none; }
  .dash { grid-template-columns: 1fr; }
  .report-list { grid-template-columns: 1fr 1fr; }
  .price { grid-template-columns: 1fr; }
  .calc { position: static; }
  .manifest { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
  .lead-box { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .review { grid-template-columns: 1fr; }
  .aes__top { grid-template-columns: 1fr; }
  .aes__photos { max-width: 640px; }
  .dock__mgr { display: none; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; --section: 80px; }
  body { font-size: 16px; }
  .header__in { height: 68px; }
  .logo { font-size: 20px; }
  .btn { --h: 56px; font-size: 16px; padding-left: 22px; }
  .btn .ico { width: 40px; height: 40px; }
  .hero { padding-top: 104px; }
  .hero__eyebrow { margin-bottom: 20px; font-size: 17px; }
  .hero .pf-row { margin-bottom: 26px; }
  .pf { width: 50px; height: 50px; }
  .pf img, .pf svg { width: 24px; height: 24px; }
  .pf--ml { width: 64px; height: 64px; font-size: 22px; }
  .hero__title { font-size: clamp(40px, 11.6vw, 64px); letter-spacing: -.05em; }
  .hero__lead { margin-bottom: 28px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__micro { flex-direction: column; align-items: center; gap: 4px; }
  .stats { margin-top: 64px; }
  .stat { padding: 24px 12px 20px 0; }
  .stat + .stat { padding-left: 16px; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat__num { font-size: 40px; }
  .stat__txt { font-size: 13px; }
  .clients { flex-wrap: nowrap; overflow-x: auto; margin: 28px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 10px; scrollbar-width: none; }
  .clients::-webkit-scrollbar { display: none; }
  .clients__lbl { display: none; }
  .client { flex: none; }
  .serp { padding: 14px; border-radius: 24px; }
  .serp__bar { flex-direction: column; align-items: stretch; }
  .serp__bar .seg { align-self: stretch; }
  .serp__bar .seg button { flex: 1; }
  .serp__legend { grid-template-columns: 1fr 1fr 1fr; }
  .serp__legend div { padding: 10px; font-size: 12px; }
  .serp__legend b { font-size: 18px; }
  .biz { grid-template-columns: 52px 1fr auto; gap: 10px; }
  .biz__img { width: 52px; height: 52px; }
  .gcard { padding: 24px; border-radius: 24px; }
  .gravity__team { flex-direction: column; align-items: flex-start; padding: 24px; }
  .mech { grid-template-columns: 1fr; gap: 22px; }
  .heat { padding: 14px; border-radius: 24px; }
  .heat__foot { grid-template-columns: 1fr 1fr; }
  .heat__legend { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 6px 14px; padding: 4px 2px; }
  .ltop__facts { gap: 20px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 22px; padding: 0 var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }
  .ptabs .seg { width: 100%; }
  .ptabs .seg button { flex: 1; padding: 0 8px; font-size: 13px; }
  .ptabs__hint { display: none; }
  .cases { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .cases::-webkit-scrollbar { display: none; }
  .case, .case--feature { flex: 0 0 86%; scroll-snap-align: center; }
  #cases-more { display: none; }
  .cases__swipe { display: flex; }
  .link-arrow { padding-top: 10px; }
  .case--feature { flex-direction: column; }
  .case--feature .case__img { width: 100%; aspect-ratio: 16 / 11; }
  .case--feature .case__body { padding: 24px; }
  .case--feature .case__name { font-size: 26px; }
  .case--feature .case__main b { font-size: 60px; }
  .case__main b { font-size: 48px; }
  .aes__bg { height: 700px; }
  .aes__head { padding: 0 0 40px; }
  .aes__grid { grid-template-columns: 1fr; }
  .atile { min-height: 0; }
  .atile b { margin-top: 18px; }
  .review__intro, .review__card { padding: 22px; }
  .review__intro .seg { margin-top: 24px; align-self: stretch; }
  .review__intro .seg button { flex: 1; }
  .cycle__step { width: 34%; }
  .cycle__step b { font-size: 12px; }
  .cycle__step span { display: none; }
  .cycle__step i { width: 36px; height: 36px; font-size: 12px; margin-bottom: 4px; }
  .cycle__center span { display: none; }
  .cycle { width: 76%; }
  .aes__top { grid-template-columns: 1fr; gap: 36px; }
  .aes__photos figure:nth-child(2) { transform: none; }
  .roles { grid-template-columns: 1fr; }
  .pulse__flow { grid-template-columns: 1fr; }
  .pflow::after { display: none; }
  .dash { padding: 14px; border-radius: 24px; }
  .dash__kpis { grid-template-columns: 1fr 1fr; }
  .report-list { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; }
  .svc__card { min-height: 0; padding: 24px; }
  .svc__card h3 { margin-top: 28px; }
  .extra__list { grid-template-columns: 1fr; }
  .offers { grid-template-columns: 1fr; }
  .offer { min-height: 0; padding: 26px; border-radius: 26px; }
  .offer .btn { margin-top: 8px; }
  .gift { padding: 24px; }
  .gift__list { grid-template-columns: 1fr 1fr; }
  .ptable { padding: 6px; border-radius: 24px; }
  .prow { grid-template-columns: 1fr 1fr; gap: 10px 14px; padding: 16px; }
  .prow__name { grid-column: 1 / -1; }
  .prow--head { display: none; }
  .calc { padding: 22px; border-radius: 24px; }
  .calc__sum { font-size: 42px; }
  .principles { grid-template-columns: 1fr; gap: 18px; }
  .qa summary { font-size: 18px; padding: 20px 0; }
  .qa__a { padding-right: 0; font-size: 16px; }
  .lead-box { padding: 26px 16px; border-radius: 28px; margin: 0 calc(var(--gutter) * -1 + 6px); }
  .form { padding: 22px 18px; border-radius: 22px; }
  .opts--2 { grid-template-columns: 1fr; }
  .modal { padding: 0; place-items: end center; }
  .modal__box { border-radius: 26px 26px 0 0; max-height: 92vh; }
  .modal__head { padding: 22px 20px 0; }
  .footer { padding-top: 60px; padding-bottom: 110px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .dock { left: 12px; right: 12px; bottom: 12px; transform: translateY(150%); }
  .dock.is-on { transform: none; }
  .dock .btn { flex: 1; }
}
