/* ============ DESIGN TOKENS ============ */
:root {
  --c-bg: #ffffff;
  --c-bg-soft: #fafafb;
  --c-bg-warm: #fff5f2;
  --c-bg-warm-2: #ffeae3;
  --c-ink: #0f0f12;
  --c-ink-2: #2a2a30;
  --c-muted: #6b6b72;
  --c-muted-2: #93939c;
  --c-border: #ededf0;
  --c-border-soft: #f4f4f6;
  --c-brand: #f14635;
  --c-brand-dark: #d83423;
  --c-brand-soft: #ffe9e5;
  --c-success: #15b364;
  --c-yellow: #ffb800;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 15, 18, 0.04), 0 1px 1px rgba(15, 15, 18, 0.03);
  --shadow-md: 0 6px 24px rgba(15, 15, 18, 0.06), 0 2px 8px rgba(15, 15, 18, 0.04);
  --shadow-lg: 0 24px 60px -20px rgba(241, 70, 53, 0.25), 0 16px 32px -16px rgba(15, 15, 18, 0.12);
  --shadow-brand: 0 12px 30px -12px rgba(241, 70, 53, 0.5);

  --container: 1200px;
  --pad: clamp(16px, 4vw, 32px);

  --t: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;     /* всегда резервирует место под scrollbar */
}

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;             /* отсекает любой случайный горизонтальный вынос */
  min-width: 320px;             /* минимум для самых маленьких экранов */
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; }

[hidden] { display: none !important; }

input, select, textarea, button { font-family: inherit; }

.skip-link {
  position: absolute; top: -100px; left: 0;
  background: var(--c-ink); color: #fff;
  padding: 12px 16px; z-index: 1000;
}
.skip-link:focus { top: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--c-brand); color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover { background: var(--c-brand-dark); }

.btn--ghost {
  background: #fff; color: var(--c-ink);
  border-color: var(--c-border);
}
.btn--ghost:hover { border-color: var(--c-ink); }

.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-border-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px; gap: 24px;
}
.nav__logo { display: inline-flex; align-items: center; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  line-height: 1;
}
.brand__mark { display: inline-flex; flex-shrink: 0; }
.brand__mark svg { display: block; width: 32px; height: 32px; }
.brand__text { font-family: 'Manrope', sans-serif; }
.brand--light { color: #fff; }
.nav__menu {
  display: flex; gap: 28px; flex: 1; justify-content: center;
  font-weight: 500; font-size: 15px; color: var(--c-ink-2);
}
.nav__menu a { transition: color var(--t); }
.nav__menu a:hover { color: var(--c-brand); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__wa {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--r-pill);
  background: #25d36622; color: #128c47;
  transition: background var(--t);
}
.nav__wa:hover { background: #25d36633; }

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  background: var(--c-bg-soft); border: 1px solid var(--c-border);
  border-radius: 10px;
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.nav__burger span {
  display: block; width: 18px; height: 2px;
  background: var(--c-ink); border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column; gap: 8px;
  padding: 16px var(--pad) 24px;
  border-bottom: 1px solid var(--c-border-soft);
  background: #fff;
}
@media (max-width: 720px) {
  .mobile-menu:not([hidden]) { display: flex; }
}
.mobile-menu a {
  padding: 14px 16px;
  border-radius: var(--r-md);
  font-weight: 600;
}
.mobile-menu a:not(.btn):hover { background: var(--c-bg-soft); }
.mobile-menu__wa { color: #128c47; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 110px) 0 clamp(48px, 6vw, 80px);
  overflow: hidden;
  background: #fff;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(241,70,53,0.07), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--c-bg-soft) 100%);
  z-index: -1;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero__content { display: flex; flex-direction: column; justify-content: center; max-width: 620px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600;
  color: var(--c-ink-2);
  box-shadow: var(--shadow-sm);
  width: fit-content;
}
.badge__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-brand);
  box-shadow: 0 0 0 4px rgba(241, 70, 53, 0.18);
  animation: badgePulse 2s infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(241, 70, 53, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(241, 70, 53, 0.08); }
}

.hero__title {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 18px 0 18px;
}
.hero__title .accent { color: var(--c-brand); position: relative; white-space: nowrap; }
.hero__title .accent::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -2px; height: 6px;
  background: var(--c-brand-soft);
  z-index: -1; border-radius: 4px;
}

.hero__sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--c-muted);
  max-width: 540px;
  margin: 0 0 28px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }

.hero__stats {
  list-style: none; padding: 24px 0 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 36px);
  border-top: 1px solid var(--c-border);
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800; letter-spacing: -0.02em;
  color: var(--c-ink);
}
.hero__stats span { font-size: 13px; color: var(--c-muted); }

/* phone demo */
.phone-demo {
  position: relative;
  display: flex; justify-content: center;
  isolation: isolate;
}
.phone {
  width: clamp(280px, 32vw, 340px);
  background: linear-gradient(180deg, #1a1a1f, #0d0d10);
  border-radius: 44px;
  padding: 10px;
  box-shadow:
    0 60px 100px -40px rgba(15, 15, 18, 0.45),
    0 0 0 1.5px rgba(255,255,255,0.06) inset,
    0 30px 60px -30px rgba(241, 70, 53, 0.25);
  position: relative;
}
.phone__notch {
  position: absolute;
  top: 20px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px;
  background: #0d0d10;
  border-radius: 14px;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.04);
}
.phone__screen {
  background: #f4f5f8;
  border-radius: 34px;
  overflow: hidden;
  height: 560px;
  position: relative;
}
.kaspi {
  display: flex; flex-direction: column;
  height: 100%;
  font-size: 12px;
  color: #1a1a1f;
  font-family: 'Manrope', sans-serif;
}
.kaspi__statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 28px 4px;
  font-weight: 700; font-size: 13px;
  background: #fff;
}
.kaspi__sb-right { display: inline-flex; align-items: center; gap: 5px; }
.kaspi__battery {
  display: inline-block; width: 20px; height: 10px;
  border: 1.2px solid currentColor; border-radius: 3px;
  padding: 1px; position: relative;
}
.kaspi__battery::after {
  content: ''; position: absolute; right: -2.5px; top: 2.5px;
  width: 1.5px; height: 3px; background: currentColor; border-radius: 0 1px 1px 0;
}
.kaspi__battery i {
  display: block; width: 70%; height: 100%; background: currentColor; border-radius: 1px;
}
.kaspi__nav {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px 10px;
  background: #fff;
}
.kaspi__nav button {
  background: none; border: 0; padding: 6px; color: #1a1a1f;
  display: inline-flex;
}
.kaspi__close {
  background: #e8eaee !important;
  width: 28px; height: 28px;
  border-radius: 50% !important;
  font-size: 16px; line-height: 1;
  display: inline-flex !important; align-items: center; justify-content: center;
  color: #5a5f66 !important;
}
.kaspi__search {
  flex: 1;
  display: flex; align-items: center; gap: 8px;
  background: #e8eaee;
  border-radius: 12px;
  padding: 8px 12px;
  color: #9aa0a6;
  font-size: 13px;
}
.kaspi__tabs {
  display: flex; gap: 16px;
  padding: 0 14px;
  background: #fff;
  border-bottom: 1px solid #e8eaee;
  font-size: 12.5px; font-weight: 600;
  color: #5a5f66;
}
.kaspi__tabs span {
  padding: 12px 0;
  position: relative;
  white-space: nowrap;
}
.kaspi__tabs span:last-child { display: none; }
.kaspi__tabs .is-active {
  color: #1a1a1f;
}
.kaspi__tabs .is-active::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2.5px;
  background: #F14635;
  border-radius: 2px 2px 0 0;
}
.kaspi__sellers-head {
  padding: 10px 14px 6px;
  font-weight: 800; font-size: 14px;
}
.kaspi__sellers {
  list-style: none; padding: 0 10px 12px; margin: 0;
  flex: 1; overflow: hidden;
  position: relative;
}

.seller {
  background: #fff;
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 5px;
  font-size: 11px;
  position: relative;
  will-change: transform;
  border: 1.5px solid transparent;
  transition: border-color 300ms;
}
.seller--our { border-color: var(--c-brand); background: linear-gradient(180deg, #fff 0%, #fff5f2 100%); }
.seller--our::before {
  content: 'ВАШ МАГАЗИН';
  display: inline-block;
  background: var(--c-brand);
  color: #fff;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 8.5px; font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  line-height: 1;
}
.seller.is-updating { background: linear-gradient(180deg, #fff5f2 0%, #ffe1d8 100%); }
.seller.is-updating .seller__price strong {
  color: var(--c-brand);
  animation: priceFlash 600ms;
}
.seller.is-attacker { background: linear-gradient(180deg, #fff 0%, #fff7e0 100%); }
.seller.is-attacker .seller__price strong {
  color: #c89400;
  animation: priceFlash 600ms;
}
@keyframes priceFlash {
  0% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.seller__head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px;
}
.seller__name {
  font-weight: 800; font-size: 12px;
  color: #1a1a1f;
  letter-spacing: -0.01em;
}
.seller__btns {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 3px;
}
.seller__btn {
  background: #1f75fe;
  color: #fff;
  padding: 4px 14px;
  border-radius: 12px;
  font-size: 10.5px; font-weight: 700;
  display: inline-flex;
  white-space: nowrap;
}
.seller__credit {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 9.5px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.seller__credit b {
  background: #ffd54a;
  color: #1a1a1f;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 800;
}
.seller__credit em { font-style: normal; color: #5a5f66; font-weight: 600; }
.seller__rating {
  display: inline-flex; align-items: center; gap: 3px;
  background: #f0f1f3;
  padding: 1px 6px;
  border-radius: 7px;
  font-size: 9.5px;
  color: #5a5f66;
  margin: 3px 0 4px;
}
.seller__rating::before {
  content: '★'; color: #4cd964;
}
.seller__price strong {
  font-size: 14px; font-weight: 800;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.seller__bonus {
  display: inline-block;
  background: #e3f5d8;
  color: #16793e;
  padding: 2px 7px;
  border-radius: 7px;
  font-size: 9.5px;
  font-weight: 600;
  margin-top: 3px;
}

.phone-demo__badge {
  position: absolute;
  bottom: 24px; left: -16px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 20px 40px -10px rgba(15, 15, 18, 0.18);
  font-size: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 300ms, transform 300ms;
  z-index: 3;
  max-width: 230px;
}
.phone-demo__badge.is-active {
  opacity: 1; transform: none;
}
.phone-demo__pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--c-brand);
  box-shadow: 0 0 0 4px rgba(241, 70, 53, 0.2);
  animation: pulseRing 1.4s infinite;
  flex-shrink: 0;
}
@keyframes pulseRing {
  0%, 100% { box-shadow: 0 0 0 4px rgba(241, 70, 53, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(241, 70, 53, 0); }
}
.phone-demo__badge strong { display: block; font-weight: 700; font-size: 12px; color: var(--c-ink); }
.phone-demo__badge em { display: block; font-style: normal; font-size: 11px; color: var(--c-muted); margin-top: 2px; }


/* ============ SECTIONS ============ */
section { padding: clamp(60px, 8vw, 110px) 0; }

.section__head { text-align: center; margin: 0 auto clamp(36px, 5vw, 64px); max-width: 720px; }
.section__head--left { text-align: left; max-width: 380px; margin-inline: 0; }
.section__eyebrow {
  display: inline-block;
  padding: 6px 12px;
  background: var(--c-brand-soft);
  color: var(--c-brand-dark);
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.section__title {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1; letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 14px;
  text-wrap: balance;
}
.hero__title { text-wrap: balance; }
.section__title--fixed {
  text-wrap: nowrap;
  max-width: none;
}
.compare .section__head { max-width: 920px; }
@media (max-width: 900px) {
  .section__title--fixed { text-wrap: balance; }
  .section__title--fixed br { display: none; }
}
.lead__content h2,
.support__content h2 { text-wrap: balance; }
.section__sub {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--c-muted); margin: 0;
}

/* ============ TRUST ============ */
.trust {
  padding: 28px 0;
  border-block: 1px solid var(--c-border-soft);
  background: var(--c-bg-soft);
}
.trust__wrap {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 28px);
}
.trust__check {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--c-brand-soft);
  color: var(--c-brand);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.trust__text {
  display: flex; flex-direction: column;
  gap: 2px;
  max-width: 380px;
}
.trust__text strong {
  font-size: 16px; font-weight: 800;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}
.trust__text span {
  font-size: 13px;
  color: var(--c-muted);
}
.trust__logo {
  padding-left: clamp(16px, 3vw, 28px);
  border-left: 1px solid var(--c-border);
}
.trust__logo img { height: 38px; width: auto; display: block; }
@media (max-width: 720px) {
  .trust__logo { padding-left: 0; border-left: 0; padding-top: 12px; border-top: 1px solid var(--c-border); }
}

/* ============ COMPARE ============ */
.compare {
  background: linear-gradient(180deg, #fff 0%, var(--c-bg-soft) 100%);
}
.compare__table {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.compare__row {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  align-items: center;
  border-bottom: 1px solid var(--c-border-soft);
}
.compare__row:last-child { border-bottom: 0; }
.compare__row > div {
  padding: 18px 20px; font-size: 15px;
  color: var(--c-muted);
}
.compare__row--head { background: var(--c-bg-soft); }
.compare__row--head > div {
  font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--c-muted-2);
  background: transparent;
}
.compare__row--head > div:first-child { border-bottom: 0; }
.compare__metric { color: var(--c-ink) !important; font-weight: 600; }
.compare__col--us {
  background: linear-gradient(180deg, var(--c-brand-soft), #fff5f2);
  color: var(--c-ink) !important;
  position: relative;
}
.compare__row--head .compare__col--us {
  background: var(--c-brand) !important; color: #fff !important;
}
.compare__row--head .compare__col--us::before {
  content: '★ '; font-size: 12px;
}
.x { color: var(--c-muted-2); }

/* ============ HOW ============ */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 28px);
  counter-reset: step;
}
.step {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-brand-soft);
}
.step__num {
  font-size: 13px; font-weight: 800;
  color: var(--c-brand);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin: 0 0 8px; font-weight: 700; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--c-muted); font-size: 14px; }

/* ============ FEATURES ============ */
.features { background: var(--c-bg-soft); }
.features__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.feature {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-brand-soft);
}
.feature__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--c-brand-soft); color: var(--c-brand);
  margin-bottom: 16px;
}
.feature h3 { font-size: 18px; margin: 0 0 8px; font-weight: 700; }
.feature p { margin: 0; color: var(--c-muted); font-size: 14.5px; }

/* ============ CALC ============ */
.calc__card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  overflow: hidden;
}
.calc__inputs { padding: clamp(24px, 4vw, 40px); }
.calc__field { margin-bottom: 28px; }
.calc__field label {
  display: block; font-weight: 600; font-size: 14px;
  color: var(--c-ink-2);
  margin-bottom: 12px;
}
.calc__valbox {
  display: inline-block;
  padding: 6px 14px;
  background: var(--c-brand-soft);
  color: var(--c-brand-dark);
  font-weight: 700; font-size: 17px;
  border-radius: var(--r-pill);
  margin-bottom: 14px;
}
.calc__field input[type="range"] {
  width: 100%; height: 6px;
  background: var(--c-border-soft);
  border-radius: 3px;
  -webkit-appearance: none; appearance: none;
  outline: none;
}
.calc__field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-brand);
  box-shadow: 0 4px 12px rgba(241, 70, 53, 0.4);
  cursor: grab;
  border: 3px solid #fff;
}
.calc__field input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-brand);
  box-shadow: 0 4px 12px rgba(241, 70, 53, 0.4);
  border: 3px solid #fff; cursor: grab;
}
.calc__ticks {
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--c-muted-2);
  margin-top: 6px;
}
.calc__radio {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.calc__radio label {
  flex: 1; min-width: 70px;
  margin: 0;
}
.calc__radio input { position: absolute; opacity: 0; pointer-events: none; }
.calc__radio span {
  display: block; text-align: center;
  padding: 10px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  font-weight: 600; font-size: 14px;
  cursor: pointer;
  transition: all var(--t);
}
.calc__radio input:checked + span {
  background: var(--c-brand); color: #fff; border-color: var(--c-brand);
}
.calc__result {
  background: linear-gradient(165deg, var(--c-brand) 0%, #c92315 100%);
  color: #fff;
  padding: clamp(24px, 4vw, 40px);
  display: flex; flex-direction: column; gap: 12px;
}
.calc__resCard {
  background: rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center;
  backdrop-filter: blur(8px);
}
.calc__resCard span { font-size: 13px; opacity: 0.85; }
.calc__resCard strong { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.calc__resCard--accent { background: #fff; color: var(--c-ink); }
.calc__resCard--accent strong { color: var(--c-brand); font-size: 22px; }
.calc__resCard.is-negative { background: rgba(255,255,255,0.95); }
.calc__resCard.is-negative strong { color: #6b6b72; }
.calc__warn {
  background: rgba(0,0,0,0.18);
  border-radius: var(--r-md);
  padding: 12px 14px;
  margin: 4px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #fff;
}
.calc__result .btn { margin-top: 6px; background: #fff; color: var(--c-brand); }
.calc__result .btn:hover { background: var(--c-ink); color: #fff; }
.calc__note { font-size: 12px; opacity: 0.75; margin: 4px 0 0; }

/* ============ ANALYTICS ============ */
.analytics { background: linear-gradient(180deg, #fff 0%, var(--c-bg-soft) 100%); }
.analytics__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 22px);
}
.analytics__card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.analytics__card--lg { grid-column: span 2; grid-row: span 1; }
.analytics__card--wide { grid-column: span 2; }
.analytics__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.analytics__head h3 { font-size: 16px; margin: 0; font-weight: 700; }
.analytics__pill {
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--c-bg-soft); color: var(--c-muted);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.analytics__chart { width: 100%; height: 160px; }
.analytics__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--c-border-soft);
}
.analytics__stats > div span { display: block; font-size: 11px; color: var(--c-muted); }
.analytics__stats > div strong { display: block; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.analytics__stats > div em { font-style: normal; font-size: 11px; font-weight: 600; }
.up { color: var(--c-success); }

.bars { list-style: none; padding: 0; margin: 0; }
.bars li {
  display: grid; grid-template-columns: 1fr 80px auto; gap: 10px;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
}
.bars li i {
  display: block; height: 8px;
  background: linear-gradient(90deg, var(--c-brand), #ff7059);
  border-radius: 4px;
  width: var(--w);
}
.bars li b { font-size: 13px; font-weight: 700; text-align: right; }

.donut {
  position: relative; width: 140px; height: 140px;
  margin: 8px auto 8px;
}
.donut svg { width: 100%; height: 100%; }
.donut__center {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.donut__center strong {
  font-size: 30px; font-weight: 800; letter-spacing: -0.02em;
  line-height: 1;
}
.donut__caption {
  text-align: center;
  font-size: 12px; color: var(--c-muted);
  margin-bottom: 14px;
}
.legend { list-style: none; padding: 0; margin: 0; }
.legend li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; padding: 4px 0;
}
.legend li i {
  width: 10px; height: 10px; border-radius: 3px;
}
.legend li b { margin-left: auto; font-weight: 700; }

.analytics__pill--live {
  background: rgba(21, 179, 100, 0.12) !important;
  color: #128c47 !important;
  display: inline-flex; align-items: center; gap: 6px;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #15b364;
  box-shadow: 0 0 0 4px rgba(21, 179, 100, 0.18);
  animation: pulseGreen 1.6s infinite;
}
@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 0 0 4px rgba(21, 179, 100, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(21, 179, 100, 0); }
}
.bot-card { display: flex; flex-direction: column; }
.bot-stat {
  display: flex; align-items: baseline; gap: 10px;
  margin: 8px 0 14px;
}
.bot-stat strong {
  font-size: clamp(36px, 4vw, 46px);
  font-weight: 800; letter-spacing: -0.025em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.bot-stat span { font-size: 13px; color: var(--c-muted); }
.bot-bars { width: 100%; height: 60px; margin-bottom: 14px; }
.bot-foot {
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--c-border-soft);
  font-size: 12px; color: var(--c-muted);
}
.bot-foot b {
  color: var(--c-ink); font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.cities { display: flex; flex-direction: column; gap: 10px; }
.city {
  display: grid; grid-template-columns: 100px 1fr 50px; gap: 12px;
  align-items: center; font-size: 13px;
}
.city i {
  height: 10px; border-radius: 5px;
  background: linear-gradient(90deg, var(--c-brand), #ffa394);
  width: var(--w);
}
.city b { font-weight: 700; text-align: right; }

/* ============ PRICING ============ */
.pricing__toggle {
  display: inline-flex;
  gap: 4px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  padding: 4px;
  margin: 0 auto clamp(28px, 4vw, 40px);
  position: relative;
  z-index: 1;
}
.pricing .section__head { margin-bottom: clamp(16px, 2vw, 24px); }
.pricing__toggle-wrap {
  text-align: center;
}
.pricing__toggle-btn {
  background: transparent;
  border: 0;
  padding: 10px 22px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 14px;
  color: var(--c-muted);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background var(--t), color var(--t);
}
.pricing__toggle-btn.is-active {
  background: var(--c-ink);
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 15, 18, 0.18);
}
.pricing__toggle-save {
  background: var(--c-brand);
  color: #fff;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.pricing__toggle-btn:not(.is-active) .pricing__toggle-save {
  background: var(--c-brand-soft);
  color: var(--c-brand-dark);
}

.pricing__head--center { text-align: center; }

.plan__save {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-brand);
  margin: -6px 0 12px;
  background: var(--c-brand-soft);
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
}
.plan--popular .plan__save {
  background: rgba(241,70,53,0.18);
  color: #ff7a6b;
}
.plan__amount {
  display: inline-block;
  transition: opacity 180ms;
}
.plan__amount.is-changing { opacity: 0.3; }

.pricing__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 20px);
}
.plan {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  position: relative;
  transition: transform var(--t), box-shadow var(--t);
  display: flex; flex-direction: column;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan__name { font-size: 18px; margin: 0; font-weight: 700; }
.plan__price {
  display: flex; align-items: baseline; gap: 6px;
  margin: 16px 0 8px;
}
.plan__price strong {
  font-size: 36px; font-weight: 800; letter-spacing: -0.02em;
}
.plan__price span { font-size: 14px; color: var(--c-muted); font-weight: 500; }
.plan__hint { color: var(--c-muted); font-size: 13px; margin: 0 0 20px; }
.plan__list { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan__list li {
  position: relative; padding-left: 26px;
  font-size: 14px; margin-bottom: 10px;
  color: var(--c-ink-2);
}
.plan__list li::before {
  content: '';
  position: absolute; left: 0; top: 5px;
  width: 16px; height: 16px;
  background: var(--c-brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23f14635' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center / 10px no-repeat;
  border-radius: 50%;
}
.plan--popular {
  background: linear-gradient(180deg, #1a1a1f 0%, #0f0f12 100%);
  color: #fff;
  border-color: var(--c-ink);
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}
.plan--popular .plan__price span,
.plan--popular .plan__hint { color: rgba(255,255,255,0.7); }
.plan--popular .plan__list li { color: rgba(255,255,255,0.9); }
.plan--popular .plan__list li::before {
  background-color: var(--c-brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}
.plan__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--c-brand); color: #fff;
  padding: 4px 14px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.pricing__note {
  text-align: center; font-size: 13px;
  color: var(--c-muted); margin-top: 28px;
}

/* ============ REVIEWS ============ */
.reviews { background: var(--c-bg-soft); }
.reviews__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.review {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column;
}
.review__stars {
  color: var(--c-yellow);
  font-size: 16px; letter-spacing: 2px;
  margin-bottom: 14px;
}
.review p { font-size: 15px; line-height: 1.6; margin: 0 0 24px; flex: 1; }
.review__author { display: flex; align-items: center; gap: 12px; }
.review__ava {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-brand), #ff7059);
  color: #fff; font-weight: 700;
  display: grid; place-items: center;
  font-size: 15px;
}
.review__author strong { display: block; font-size: 14px; }
.review__author span { display: block; font-size: 12px; color: var(--c-muted); }

/* ============ SUPPORT ============ */
.support__card {
  background: linear-gradient(135deg, #0f0f12 0%, #1a1a22 100%);
  color: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr;
  align-items: center;
  position: relative;
}
.support__card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: radial-gradient(500px 300px at 100% 0%, rgba(241,70,53,0.25), transparent);
  pointer-events: none;
}
.support__content {
  padding: clamp(32px, 5vw, 64px);
  position: relative;
}
.support__content .section__eyebrow {
  background: rgba(241,70,53,0.2); color: #ff8474;
}
.support__content h2 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1; letter-spacing: -0.02em;
  font-weight: 800;
  margin: 14px 0 14px;
}
.support__content p { color: rgba(255,255,255,0.7); margin-bottom: 28px; }
.support__list { list-style: none; padding: 0; margin: 0 0 32px; }
.support__list li {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0;
  font-size: 15px;
}
.support__list li svg { color: var(--c-brand); flex-shrink: 0; }
.support__visual {
  padding: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) 0;
  position: relative;
}
.chat {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 20px;
  color: var(--c-ink);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  display: flex; flex-direction: column; gap: 10px;
}
.chat__msg { max-width: 80%; }
.chat__msg span {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.4;
}
.chat__msg--in span {
  background: var(--c-bg-soft);
  border-bottom-left-radius: 4px;
}
.chat__msg--out { align-self: flex-end; }
.chat__msg--out span {
  background: var(--c-brand); color: #fff;
  border-bottom-right-radius: 4px;
}
.chat__typing {
  display: inline-flex; gap: 4px;
  background: var(--c-bg-soft);
  padding: 12px 16px;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  width: fit-content;
}
.chat__typing span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-muted-2);
  animation: typing 1.4s infinite;
}
.chat__typing span:nth-child(2) { animation-delay: 0.2s; }
.chat__typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* WhatsApp alt variant */
.support--alt { padding-top: 0; }
.alt-label {
  text-align: center;
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--c-muted);
  letter-spacing: 0.04em;
}
.btn--wa {
  background: #25d366; color: #fff;
  box-shadow: 0 12px 30px -12px rgba(37, 211, 102, 0.5);
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn--wa:hover { background: #1ebd5b; }

.wa {
  background: #0b141a;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.04);
  display: flex; flex-direction: column;
  width: 100%;
  max-width: 360px;
  height: 560px;
  margin: 0 auto;
}
.wa__head {
  background: #202c33;
  color: #e9edef;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
}
.wa__back {
  background: none; border: 0; color: inherit;
  padding: 4px; display: inline-flex;
}
.wa__ava {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f14635, #ff7059);
  color: #fff; font-weight: 800;
  display: grid; place-items: center;
  font-size: 15px;
}
.wa__title { flex: 1; min-width: 0; }
.wa__title strong {
  display: block;
  font-weight: 600; font-size: 14px;
  color: #e9edef;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wa__title span {
  display: block;
  font-size: 11.5px;
  color: #8696a0;
}
.wa__icons { display: inline-flex; gap: 18px; color: #aebac1; }

.wa__body {
  background-color: #0b141a;
  background-image:
    radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 24px 24px, 16px 16px;
  background-position: 0 0, 8px 8px;
  padding: 14px 12px;
  flex: 1;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 6px;
}
.wa__date {
  align-self: center;
  background: #182229;
  color: #8696a0;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 6px;
}
.wa__msg {
  max-width: 78%;
  position: relative;
  padding: 6px 56px 6px 10px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 1px 0.5px rgba(0,0,0,0.13);
}
.wa__msg p { margin: 0; color: #e9edef; }
.wa__msg time {
  position: absolute;
  bottom: 4px; right: 8px;
  font-size: 10.5px;
  color: rgba(233, 237, 239, 0.55);
  display: inline-flex; align-items: center; gap: 3px;
  white-space: nowrap;
}
.wa__msg--in {
  background: #202c33;
  align-self: flex-start;
  border-radius: 12px;
  border-top-left-radius: 4px;
}
.wa__msg--out {
  background: #005c4b;
  align-self: flex-end;
  border-radius: 12px;
  border-top-right-radius: 4px;
}
.wa__msg--out time i { color: #53bdeb; font-style: normal; font-size: 12px; }

.wa__msg--typing {
  padding: 10px 14px;
  display: inline-flex; gap: 4px;
  width: fit-content;
}
.wa__msg--typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #8696a0;
  animation: typing 1.4s infinite;
}
.wa__msg--typing span:nth-child(2) { animation-delay: 0.2s; }
.wa__msg--typing span:nth-child(3) { animation-delay: 0.4s; }

.wa__input {
  background: #202c33;
  padding: 8px 12px;
  display: flex; align-items: center; gap: 8px;
}
.wa__input-field {
  flex: 1;
  background: #2a3942;
  border-radius: 18px;
  padding: 8px 14px;
  color: #8696a0;
  font-size: 13px;
}
.wa__send {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #00a884;
  color: #fff;
  border: 0;
  display: grid; place-items: center;
}

.support__card--wa { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; }
.support__card--wa .support__visual {
  padding: clamp(24px, 3vw, 36px) clamp(24px, 4vw, 48px);
  display: flex; justify-content: center;
}

/* ============ FAQ ============ */
.faq__wrap {
  display: grid; grid-template-columns: 380px 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t);
}
.faq__item[open] { border-color: var(--c-brand-soft); }
.faq__item summary {
  padding: 20px 24px;
  font-weight: 600; font-size: 16px;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none;
  gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-size: 22px; font-weight: 400; color: var(--c-brand);
  transition: transform var(--t);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  margin: 0; padding: 0 24px 22px;
  color: var(--c-muted); font-size: 15px;
}

/* ============ MINI CTA ============ */
.mini-cta {
  padding: 0 0 clamp(40px, 6vw, 72px);
}
/* Секцию ПЕРЕД mini-cta тоже поджимаем чтобы зазор был минимальный */
.calc, .pricing            { padding-bottom: clamp(12px, 2vw, 28px); }
section:has(+ .mini-cta)   { padding-bottom: clamp(12px, 2vw, 28px); }
.mini-cta__card {
  background: linear-gradient(135deg, #0f0f12 0%, #1a1a22 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(20px, 3vw, 32px) clamp(20px, 3vw, 36px);
  display: grid;
  grid-template-columns: 1.4fr auto auto;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px -20px rgba(241,70,53,0.25);
}
.mini-cta__card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(500px 240px at 100% 0%, rgba(241,70,53,0.22), transparent 70%);
  pointer-events: none;
}
.mini-cta__card > * { position: relative; z-index: 1; }
.mini-cta__text strong {
  display: block;
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.mini-cta__text span {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 13.5px;
  margin-top: 4px;
}
.mini-cta__card input[type="tel"] {
  background: #fff;
  border: 1.5px solid transparent;
  padding: 13px 18px;
  border-radius: var(--r-pill);
  font-size: 15px;
  min-width: 230px;
  color: var(--c-ink);
  transition: border-color var(--t), box-shadow var(--t);
}
.mini-cta__card input[type="tel"]:focus {
  outline: none;
  border-color: var(--c-brand);
  box-shadow: 0 0 0 4px rgba(241, 70, 53, 0.25);
}
.mini-cta__card input.is-invalid {
  border-color: var(--c-brand);
  box-shadow: 0 0 0 4px rgba(241, 70, 53, 0.25);
}
.mini-cta__done {
  text-align: center;
  font-weight: 700;
  color: #4ddb9a;
  font-size: 16px;
  padding: 12px 0;
}
@media (max-width: 720px) {
  .mini-cta__card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .mini-cta__card input[type="tel"] { min-width: 0; width: 100%; }
}

/* ============ LEAD ============ */
.lead {
  background: linear-gradient(180deg, var(--c-bg-soft) 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}
.lead > .container { position: relative; z-index: 1; }
.hero > .container { position: relative; z-index: 1; }
.lead__wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.lead__content h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1; letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 16px;
}
.lead__content > p { color: var(--c-muted); margin: 0 0 28px; font-size: 16px; }
.lead__benefits { list-style: none; padding: 0; margin: 0 0 32px; }
.lead__benefits li {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0; font-size: 15px;
}
.lead__benefits svg { color: var(--c-brand); }
.lead__contacts {
  display: flex; gap: 16px; flex-wrap: wrap;
  padding: 20px 0; border-top: 1px solid var(--c-border);
}
.lead__contacts a {
  font-weight: 700; font-size: 18px;
  display: inline-flex; align-items: center; gap: 8px;
}
.lead__wa { color: #128c47 !important; }

.lead__form {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow-lg);
  position: relative;
  scroll-margin-top: 84px;
}
.lead__form h3 {
  font-size: 22px; font-weight: 800;
  margin: 0 0 24px; letter-spacing: -0.01em;
}
.lead__form label { display: block; margin-bottom: 16px; }
.lead__form label span {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--c-ink-2); margin-bottom: 8px;
}
.lead__form input,
.lead__form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: #fff;
  font-size: 15px;
  transition: border-color var(--t), box-shadow var(--t);
}
.lead__form input:focus,
.lead__form select:focus {
  outline: none;
  border-color: var(--c-brand);
  box-shadow: 0 0 0 4px rgba(241, 70, 53, 0.15);
}
.lead__form input.is-invalid {
  border-color: var(--c-brand);
  box-shadow: 0 0 0 4px rgba(241, 70, 53, 0.15);
}
.lead__policy {
  font-size: 12px; color: var(--c-muted);
  margin: 14px 0 0; text-align: center;
}
.lead__policy a { text-decoration: underline; }
.lead__success {
  position: absolute; inset: 0;
  background: #fff;
  border-radius: var(--r-xl);
  display: grid; place-items: center;
  text-align: center; padding: 32px;
}
.lead__success strong {
  display: block; font-size: 22px; color: var(--c-brand);
  margin-bottom: 10px;
}

/* ============ FOOTER ============ */
.footer {
  background: #0f0f12;
  color: rgba(255,255,255,0.7);
  padding: clamp(56px, 7vw, 80px) 0 24px;
}
.footer__grid {
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(24px, 4vw, 60px);
  margin-bottom: 48px;
}
.footer__brand p { font-size: 14px; max-width: 320px; margin-top: 16px; color: rgba(255,255,255,0.6); }
.footer__logo { opacity: 0.95; }
.footer__social {
  display: flex; gap: 10px;
  margin-top: 18px;
}
.footer__social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  display: grid; place-items: center;
  transition: background var(--t), color var(--t), transform var(--t);
}
.footer__social a:hover {
  background: var(--c-brand);
  color: #fff;
  transform: translateY(-2px);
}
.footer h4 {
  color: #fff; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin: 0 0 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { padding: 4px 0; font-size: 14px; }
.footer ul a { transition: color var(--t); }
.footer ul a:hover { color: #fff; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px; flex-wrap: wrap;
}

/* ============ EXIT POPUP ============ */
.exit-popup {
  position: fixed; inset: 0;
  z-index: 200;
}
.exit-popup__overlay {
  position: absolute; inset: 0;
  background: rgba(15, 15, 18, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 300ms;
}
.exit-popup__card {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -45%) scale(0.95);
  width: min(440px, calc(100vw - 32px));
  background: #fff;
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 40px 80px -20px rgba(15, 15, 18, 0.4);
  text-align: center;
  opacity: 0;
  transition: opacity 300ms, transform 320ms cubic-bezier(0.2, 0.9, 0.2, 1.05);
}
.exit-popup.is-visible .exit-popup__overlay { opacity: 1; }
.exit-popup.is-visible .exit-popup__card    { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.exit-popup__close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--c-bg-soft);
  border: 0;
  font-size: 22px; line-height: 1;
  color: var(--c-muted);
  cursor: pointer;
  display: grid; place-items: center;
  transition: background var(--t), color var(--t);
}
.exit-popup__close:hover { background: var(--c-brand-soft); color: var(--c-brand); }

.exit-popup__emoji {
  font-size: 44px;
  line-height: 1;
  margin-bottom: 14px;
}
.exit-popup__card h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.exit-popup__card > p {
  color: var(--c-muted);
  font-size: 15px;
  margin: 0 0 24px;
  line-height: 1.55;
}
.exit-popup__form {
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 20px;
}
.exit-popup__form button[type="submit"] { margin-top: 4px; }
.exit-popup__form input[type="tel"] {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-pill);
  font-size: 16px;
  text-align: center;
}
.exit-popup__form input[type="tel"]:focus {
  outline: none;
  border-color: var(--c-brand);
  box-shadow: 0 0 0 4px rgba(241, 70, 53, 0.15);
}
.exit-popup__form input.is-invalid {
  border-color: var(--c-brand);
  box-shadow: 0 0 0 4px rgba(241, 70, 53, 0.15);
}
.exit-popup__policy {
  font-size: 12px;
  color: var(--c-muted-2);
  margin: 28px 0 0;
  line-height: 1.5;
}

/* ============ STICKY MOBILE CTA ============ */
.sticky-cta {
  position: fixed; bottom: 16px; left: 16px; right: 16px;
  z-index: 40;
  display: none;
  padding: 16px;
  background: var(--c-brand); color: #fff;
  text-align: center;
  border-radius: var(--r-pill);
  font-weight: 700; font-size: 15px;
  box-shadow: var(--shadow-lg);
}

/* ============ MEDIA QUERIES ============ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { max-width: none; }
  .phone-demo__badge { display: none; }
  .features__grid,
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .analytics__grid { grid-template-columns: repeat(2, 1fr); }
  .analytics__card--lg, .analytics__card--wide { grid-column: span 2; }
  .calc__card { grid-template-columns: 1fr; }
  .compare__row { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; font-size: 14px; }
  .support__card { grid-template-columns: 1fr; }
  .support__visual { padding: 0 clamp(24px, 4vw, 48px) clamp(32px, 5vw, 48px); }
  .lead__wrap { grid-template-columns: 1fr; }
  .faq__wrap { grid-template-columns: 1fr; }
  .section__head--left { text-align: center; max-width: 720px; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .plan--popular { transform: scale(1); }
}

@media (max-width: 720px) {
  .nav__menu { display: none; }
  .nav__burger { display: flex; }
  .nav__actions .btn { display: none; }
  .nav__actions .nav__wa { display: none; }
  .features__grid,
  .reviews__grid,
  .steps,
  .pricing__grid,
  .analytics__grid { grid-template-columns: 1fr; }
  .analytics__card--lg, .analytics__card--wide { grid-column: span 1; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 16px; padding-top: 20px; }
  .hero__stats strong { font-size: 22px; }
  .phone { width: 280px; }
  .phone__screen { height: 500px; }
  .compare__table { overflow-x: auto; }
  .compare__row { min-width: 560px; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .sticky-cta { display: block; }
  body { padding-bottom: 80px; }
  .lead__form { padding: 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ============ Прогресс чтения ============ */
.read-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 100;
  pointer-events: none;
  background: transparent;
}
.read-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--c-brand), #ff7059);
  transform-origin: left;
  will-change: width;
  box-shadow: 0 0 8px rgba(241, 70, 53, 0.5);
}

/* ============ Кастомный курсор: точка + круг ============ */
.cursor {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate3d(-100px, -100px, 0);
  display: none;
  will-change: transform;
}
.cursor--dot {
  width: 6px; height: 6px;
  background: var(--c-brand);
  border-radius: 50%;
  margin: -3px 0 0 -3px;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.4);
}
.cursor--ring {
  width: 36px; height: 36px;
  border: 1.5px solid var(--c-brand);
  border-radius: 50%;
  margin: -18px 0 0 -18px;
  transition:
    width  250ms cubic-bezier(0.34, 1.56, 0.64, 1),
    height 250ms cubic-bezier(0.34, 1.56, 0.64, 1),
    margin 250ms cubic-bezier(0.34, 1.56, 0.64, 1),
    background 200ms, border-color 200ms, opacity 200ms;
}
.cursor--ring.is-hover {
  width: 54px; height: 54px;
  margin: -27px 0 0 -27px;
  background: rgba(241, 70, 53, 0.12);
  border-color: rgba(241, 70, 53, 0.45);
}
.cursor--ring.is-hidden {
  opacity: 0;
}
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .cursor { display: block; }
  html.has-cursor, html.has-cursor * { cursor: none !important; }
}

/* ============ Background blobs (мягкие градиентные пятна) ============ */
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  animation: blobFloat 24s ease-in-out infinite;
}
.bg-blob--red    { background: radial-gradient(circle, rgba(241,70,53,0.5), transparent 70%); }
.bg-blob--orange { background: radial-gradient(circle, rgba(255,140,90,0.4), transparent 70%); animation-duration: 32s; animation-direction: reverse; }
.bg-blob--soft   { background: radial-gradient(circle, rgba(255,196,187,0.35), transparent 70%); animation-duration: 28s; }
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.1); }
  66% { transform: translate(-40px, 60px) scale(0.95); }
}

/* ============ Hover tilt подготовка ============ */
.feature, .plan, .review, .step {
  transform-style: preserve-3d;
  will-change: transform;
}
.feature.is-tilting,
.plan.is-tilting,
.review.is-tilting,
.step.is-tilting {
  transition: none;
}

/* ============ Skeleton для seller-карточек ============ */
.seller--skeleton {
  background: #fff;
  padding: 10px 12px;
  margin-bottom: 5px;
  border-radius: 12px;
  pointer-events: none;
}
.skel-bar {
  height: 10px;
  background: linear-gradient(90deg, #ececef 0%, #f7f7f9 50%, #ececef 100%);
  background-size: 200% 100%;
  border-radius: 4px;
  margin: 6px 0;
  animation: shimmer 1.4s infinite linear;
}
.skel-bar--lg { height: 16px; width: 60%; }
.skel-bar--md { width: 40%; }
.skel-bar--sm { width: 30%; }
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .bg-blob, .read-progress, .cursor-follower { display: none !important; }
}
