/* ==========================================================
   ПроСтрахование — landing
   ========================================================== */

/* Шрифты лежат на сайте (fonts/), без запросов к Google:
   IP посетителей не уходит за рубеж. Вариативные woff2 —
   один файл на набор символов, все начертания внутри. */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(fonts/manrope-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(fonts/manrope-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url(fonts/unbounded-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url(fonts/unbounded-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url(fonts/unbounded-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --ink: #0B1736;
  --ink-2: #13244F;
  --blue: #2F5BFF;
  --blue-soft: #E8EEFF;
  --accent: #C6F24E;
  --accent-ink: #0B1736;
  --bg: #F4F6FB;
  --surface: #FFFFFF;
  --text: #0B1736;
  --muted: #5A6582;
  --line: #E2E7F1;
  --ok: #16A34A;
  --danger: #E5484D;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(11, 23, 54, .04), 0 12px 32px -12px rgba(11, 23, 54, .14);
  --shadow-lg: 0 30px 60px -20px rgba(11, 23, 54, .35);

  --font-head: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 16px; line-height: 1.2; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 11px 20px; font-size: 15px; }
.btn--lg { padding: 18px 30px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { box-shadow: 0 10px 24px -8px rgba(11, 23, 54, .5); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { box-shadow: 0 12px 28px -10px rgba(150, 200, 30, .8); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--tg { background: #2AABEE; color: #fff; }
.btn--tg:hover { background: #1E9AD9; box-shadow: 0 10px 24px -8px rgba(42, 171, 238, .7); }

.link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 246, 251, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 38px; height: 38px; flex: none; }
.logo__text { font-family: var(--font-head); font-weight: 500; font-size: 17px; letter-spacing: -.01em; }
.logo__text b { font-weight: 700; color: var(--blue); }
.logo--light .logo__text { color: #fff; }
.logo--light .logo__text b { color: var(--accent); }

.nav { display: flex; gap: 32px; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.header__actions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 900px) { .nav { display: none; } }
@media (max-width: 520px) {
  .logo__text { font-size: 15px; }
  .header__actions .btn span { display: none; }
  .header__actions .btn { width: 44px; height: 44px; padding: 0; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero__glow {
  position: absolute; inset: -20% -10% auto auto; width: 820px; height: 820px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(47, 91, 255, .20), rgba(47, 91, 255, 0) 62%);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }

.tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 12px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted);
}
.tag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(22, 163, 74, .15); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); } }

.hero__title {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -.035em; line-height: 1.06;
  margin: 24px 0 22px;
}
.hl {
  position: relative; white-space: nowrap; color: var(--blue);
}
.hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .32em;
  background: var(--accent); border-radius: 6px; z-index: -1;
}
.hero__title .hl { z-index: 0; }
.hero__lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.stats {
  list-style: none; padding: 28px 0 0; margin: 40px 0 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, auto); gap: 24px; justify-content: start;
}
.stats li { display: flex; flex-direction: column; padding-right: 24px; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.stats b { white-space: nowrap; font-family: var(--font-head); font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; letter-spacing: -.02em; }
.stats span { font-size: 14px; color: var(--muted); line-height: 1.4; }

/* dashboard mockup */
.hero__visual { position: relative; padding: 24px 0; }
.dash {
  position: relative; background: var(--surface); border-radius: 28px; padding: 24px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  max-width: 440px; margin-left: auto;
  transform: rotate(-1.5deg);
}
.dash__head { display: flex; align-items: center; gap: 12px; }
.dash__avatar { width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: var(--accent); display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.dash__name { font-weight: 800; font-size: 16px; }
.dash__sub { font-size: 13px; color: var(--muted); }
.dash__live { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--ok); background: rgba(22, 163, 74, .1); padding: 4px 10px; border-radius: 999px; }

.dash__balance { margin-top: 22px; padding: 20px; border-radius: 18px; background: var(--ink); color: #fff; display: grid; gap: 2px; }
.dash__balance > span { font-size: 13px; color: rgba(255, 255, 255, .6); }
.dash__balance b { font-family: var(--font-head); font-size: 34px; font-weight: 600; letter-spacing: -.02em; }
.dash__balance em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--accent); }

.dash__chart { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin: 20px 2px 8px; }
.dash__chart i { flex: 1; height: var(--h); border-radius: 6px; background: var(--blue-soft); transform-origin: bottom; animation: grow .9s cubic-bezier(.2, .8, .2, 1) both; }
.dash__chart i:nth-child(2) { animation-delay: .05s; } .dash__chart i:nth-child(3) { animation-delay: .1s; }
.dash__chart i:nth-child(4) { animation-delay: .15s; } .dash__chart i:nth-child(5) { animation-delay: .2s; }
.dash__chart i:nth-child(6) { animation-delay: .25s; } .dash__chart i:nth-child(7) { animation-delay: .3s; }
.dash__chart i:nth-child(8) { animation-delay: .35s; }
.dash__chart i.is-now { background: var(--blue); }
@keyframes grow { from { transform: scaleY(0); } }

.dash__ops { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; }
.dash__ops li { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-top: 1px solid var(--line); }
.dash__ops li:first-child { border-top: 0; }
.dash__ops div { display: grid; line-height: 1.3; }
.dash__ops b { font-size: 14px; }
.dash__ops small { font-size: 12px; color: var(--muted); }
.dash__ops strong { margin-left: auto; font-size: 14px; color: var(--ok); white-space: nowrap; }
.op { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; }
.op--car { background: #FFF2D9; color: #B26B00; }
.op--home { background: var(--blue-soft); color: var(--blue); }
.op--life { background: #FCE7EF; color: #C42A63; }

.float {
  position: absolute; background: var(--surface); border-radius: 16px; padding: 12px 16px;
  box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; align-items: center; gap: 10px;
  animation: floaty 6s ease-in-out infinite;
}
.float b { font-size: 14px; display: block; }
.float small { font-size: 12px; color: var(--muted); }
.float--a { left: -24px; top: 50%; }
.float__icon { width: 32px; height: 32px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-weight: 800; }
.float--b { right: -12px; bottom: 6%; flex-direction: column; align-items: flex-start; gap: 0; background: var(--accent); border-color: transparent; animation-delay: -3s; }
.float--b b { font-family: var(--font-head); font-size: 20px; }
.float--b small { color: var(--ink-2); }
@keyframes floaty { 50% { transform: translateY(-10px); } }

@media (max-width: 960px) {
  .hero { padding: 48px 0 64px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .dash { margin: 0 auto; }
  .float--a { left: 0; }
  .float--b { right: 0; }
}
@media (max-width: 600px) {
  .hero__lead { font-size: 17px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .stats li { padding-right: 10px; }
  .stats li + li { padding-left: 12px; }
  .stats span { font-size: 12.5px; }
  .dash { transform: none; padding: 18px; }
  .dash__balance b { font-size: 28px; }
  .float--a { top: 44%; left: -4px; }
  .float--b { bottom: -10px; right: 4px; }
}

/* ---------- marquee ---------- */
.products { padding: 28px 0; background: var(--surface); border-block: 1px solid var(--line); }
.products__label { text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; padding: 0 16px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span {
  font-family: var(--font-head); font-weight: 500; font-size: 18px; white-space: nowrap;
  padding: 10px 22px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line);
}
.marquee__track span:nth-child(3n+1) { background: var(--blue-soft); border-color: transparent; color: var(--blue); }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* ---------- sections ---------- */
.section { padding: 112px 0; }
.section--tight { padding: 0 0 112px; }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head--left { text-align: left; margin: 0; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}
.eyebrow--light { color: var(--accent); }
.h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(28px, 3.8vw, 44px); letter-spacing: -.03em; }
.section__lead { margin-top: 18px; font-size: 18px; color: var(--muted); }

@media (max-width: 700px) {
  .section { padding: 72px 0; }
  .section--tight { padding: 0 0 72px; }
  .section__head { margin-bottom: 36px; }
  .section__lead { font-size: 16.5px; }
}

/* ---------- cards ---------- */
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 22px; }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: 16px; }
.card--accent { background: var(--ink); border-color: var(--ink); color: #fff; }
.card--accent .card__icon { background: var(--accent); color: var(--ink); }
.card--accent p { color: rgba(255, 255, 255, .7); }

@media (max-width: 960px) { .grid-6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-6 { grid-template-columns: 1fr; gap: 12px; } .card { padding: 24px; } }

/* ---------- calculator ---------- */
.section--dark { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; width: 700px; height: 700px; left: -240px; bottom: -380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 91, 255, .45), transparent 65%); pointer-events: none;
}
.section--dark .section__lead { color: rgba(255, 255, 255, .65); }
.calc { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chip {
  padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: rgba(255, 255, 255, .4); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--ink); }

.calc__panel { background: var(--surface); color: var(--text); border-radius: 28px; padding: 32px; box-shadow: var(--shadow-lg); }
.range { display: block; margin-bottom: 26px; }
.range__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-weight: 600; color: var(--muted); font-size: 15px; }
.range__top output { font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--ink); }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, var(--blue) 0 var(--fill, 50%), var(--line) var(--fill, 50%) 100%);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff;
  border: 6px solid var(--blue); box-shadow: 0 4px 12px rgba(47, 91, 255, .4); transition: transform .15s;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 6px solid var(--blue); }
input[type="range"]:focus-visible { box-shadow: 0 0 0 4px rgba(47, 91, 255, .25); }

.calc__result { margin: 8px 0 20px; padding: 22px 24px; border-radius: 20px; background: var(--accent); display: grid; gap: 2px; }
.calc__result span { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.calc__result b { font-family: var(--font-head); font-size: clamp(34px, 4.4vw, 48px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.calc__result small { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.calc__panel .btn--accent { background: var(--ink); color: #fff; }
.calc__note { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

.rates { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rates li { padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 2px; }
.rates span { font-size: 14px; color: rgba(255, 255, 255, .65); }
.rates b { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--accent); white-space: nowrap; }
.rates b span { color: inherit; font-size: inherit; }
@media (max-width: 960px) { .calc { grid-template-columns: 1fr; gap: 40px; } }
.calc > *, .lead > *, .hero__inner > *, .faq > * { min-width: 0; }
@media (max-width: 600px) { .rates { grid-template-columns: 1fr; } .rates li { grid-template-columns: 1fr auto; align-items: center; } }
@media (max-width: 600px) { .calc__panel { padding: 22px; border-radius: 22px; } .chip { font-size: 14px; padding: 9px 14px; } }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 26px; display: flex; flex-direction: column; }
.step__num { font-family: var(--font-head); font-weight: 700; font-size: 44px; line-height: 1; color: var(--blue-soft); -webkit-text-stroke: 1.5px var(--blue); margin-bottom: 26px; }
.step h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; flex: 1; }
.step__time { margin-top: 20px; align-self: flex-start; font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: 999px; background: var(--bg); color: var(--ink-2); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 50px; right: -16px; width: 12px; height: 12px; z-index: 1;
  border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: rotate(45deg);
}
.step--final { background: var(--blue); border-color: var(--blue); color: #fff; }
.step--final .step__num { color: rgba(255, 255, 255, .15); -webkit-text-stroke-color: #fff; }
.step--final p { color: rgba(255, 255, 255, .8); }
.step--final .step__time { background: var(--accent); color: var(--ink); }

.steps__cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; text-align: center; }
.steps__cta small { color: var(--muted); font-size: 14px; max-width: 420px; }
[hidden] { display: none !important; }
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { padding: 22px; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; }
  .step__num { grid-row: span 3; font-size: 34px; margin: 0; }
  .step__time { margin-top: 12px; justify-self: start; }
}

/* ---------- geo ---------- */
.geo {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center;
  background: var(--ink); color: #fff; border-radius: 32px; padding: 56px; overflow: hidden; position: relative;
}
.geo::after {
  content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 242, 78, .18), transparent 65%); pointer-events: none;
}
.geo__text p { margin: 16px 0 28px; color: rgba(255, 255, 255, .7); font-size: 17px; }
.geo__cities { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.geo__cities span {
  padding: 9px 16px; border-radius: 999px; font-size: 15px; font-weight: 600;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.geo__cities span:nth-child(4n+2) { background: rgba(47, 91, 255, .35); border-color: transparent; }
.geo__cities .more { background: var(--accent) !important; color: var(--ink); border-color: transparent; font-weight: 800; }

@media (max-width: 900px) { .geo { grid-template-columns: 1fr; padding: 36px 24px; gap: 32px; border-radius: 24px; } }
@media (max-width: 600px) { .geo__cities span { font-size: 14px; padding: 7px 12px; } }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; transition: box-shadow .2s; }
.faq__item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative; font-weight: 800; font-size: 17px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 20px; font-weight: 600; transition: transform .2s, background .2s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--accent); color: var(--ink); }
.faq__item p { padding: 0 0 22px; color: var(--muted); }

@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 600px) { .faq__item { padding: 0 18px; } .faq__item summary { font-size: 16px; } }

/* ---------- lead form ---------- */
.section--form { background: linear-gradient(160deg, var(--blue) 0%, #1F3FD1 100%); color: #fff; position: relative; overflow: hidden; }
.section--form::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  pointer-events: none;
}
.lead { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.lead__text > p { margin-top: 16px; font-size: 18px; color: rgba(255, 255, 255, .8); }
.checks { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.checks li::before {
  content: "✓"; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--ink);
  display: grid; place-items: center; font-size: 14px; font-weight: 800; flex: none;
}
.tg-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; padding: 12px 18px; border-radius: 999px; background: rgba(255, 255, 255, .12); transition: background .2s; }
.tg-link:hover { background: rgba(255, 255, 255, .2); }
.tg-link svg { width: 20px; height: 20px; }
.lead__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.lead__note { margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, .7); }

/* telegram channel mockup */
.tgm {
  max-width: 400px; margin-left: auto; width: 100%; border-radius: 28px; overflow: hidden;
  background: #DCE6F2; box-shadow: var(--shadow-lg); color: var(--ink);
  transform: rotate(1.5deg); cursor: pointer; transition: transform .3s ease;
}
.tgm:hover { transform: rotate(0) translateY(-4px); }
.tgm__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #fff; }
.tgm__head b { display: block; font-size: 16px; }
.tgm__head small { font-size: 13px; color: var(--muted); }
.tgm__ava { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; flex: none; }
.tgm__ava svg { width: 30px; height: 30px; }
.tgm__feed {
  padding: 18px 14px 6px; display: grid; gap: 10px;
  background-color: #CFDCEC;
  background-image: radial-gradient(rgba(255, 255, 255, .35) 1.5px, transparent 1.5px); background-size: 18px 18px;
}
.tgm__post { background: #fff; border-radius: 16px 16px 16px 4px; padding: 12px 14px 8px; font-size: 14.5px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.tgm__post b { display: block; margin-bottom: 4px; }
.tgm__post p { margin-bottom: 6px; color: #1f2a44; }
.tgm__meta { display: block; text-align: right; font-size: 12px; color: #8a96ab; }
.tgm__join { margin: 10px 14px 14px; padding: 14px; text-align: center; border-radius: 14px; background: #2AABEE; color: #fff; font-weight: 800; letter-spacing: .02em; }
@media (max-width: 960px) { .tgm { margin: 0 auto; } }

@media (max-width: 960px) { .lead { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 600px) { .lead__text > p { font-size: 16.5px; } .lead__cta .btn { flex: 1 1 100%; } }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .6); padding: 48px 0 56px; font-size: 14px; }
.footer__inner { display: grid; gap: 28px; }
.footer__brand { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__tg { color: #fff; font-weight: 700; }
.footer__tg:hover { color: var(--accent); }
.footer__legal { line-height: 1.7; max-width: 860px; }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s ease; display: none;
}
.sticky-cta .btn { background: var(--accent); }
.sticky-cta.show { transform: none; }
@media (max-width: 760px) {
  .sticky-cta { display: block; }
  .footer { padding-bottom: 110px; }
}

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

[id] { scroll-margin-top: 80px; }

/* ---------- Подвал: документы ---------- */
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__links a { color: rgba(255, 255, 255, .75); text-decoration: underline; text-underline-offset: 3px; }
.footer__links a:hover { color: #fff; }

/* ---------- Баннер согласия на cookie ---------- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70;
  max-width: 760px; margin: 0 auto;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  padding: 18px 20px calc(18px + env(safe-area-inset-bottom));
}
.consent[hidden] { display: none; }
.consent__inner { display: flex; align-items: center; gap: 20px; }
.consent__text { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.consent__actions { display: flex; gap: 10px; flex-shrink: 0; }
@media (max-width: 640px) {
  .consent { left: 8px; right: 8px; bottom: 8px; padding: 16px; }
  .consent__inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .consent__actions .btn { flex: 1; }
}

/* ---------- Страницы документов (privacy.html, consent.html) ---------- */
.doc { background: var(--surface); padding: 48px 0 72px; }
.doc__inner { max-width: 780px; }
.doc__back { display: inline-block; margin-bottom: 28px; color: var(--blue); font-weight: 600; }
.doc h1 { font-family: var(--font-head); font-weight: 600; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.02em; margin-bottom: 12px; }
.doc h2 { font-family: var(--font-head); font-weight: 600; font-size: 20px; margin: 36px 0 12px; }
.doc p, .doc li { color: var(--text); font-size: 16px; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin: 10px 0; }
.doc li + li { margin-top: 6px; }
.doc__meta { color: var(--muted); font-size: 14px; }
.doc__fill { background: #FFF4CC; border-radius: 4px; padding: 0 4px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.doc th { background: var(--bg); font-weight: 700; }
.doc__table { overflow-x: auto; }
