/* ===== TOKENS ===== */
:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --cyan: #06b6d4;
  --ink: #0f172a;
  --ink-soft: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f1f5f9;
  --bg-soft: #f8fafc;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md: 0 10px 30px -12px rgba(15,23,42,.18);
  --shadow-lg: 0 24px 60px -20px rgba(37,99,235,.35);
  --grad: linear-gradient(120deg, var(--blue), var(--cyan));
  --max: 1160px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, select { font: inherit; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 16px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
  white-space: nowrap; cursor: pointer; line-height: 1;
}
.btn--primary { background: var(--grad); color: var(--white); box-shadow: 0 8px 20px -8px rgba(37,99,235,.6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(37,99,235,.7); }
.btn--ghost { background: var(--white); color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--blue); transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 15px; }
.btn--block { width: 100%; }

/* ===== HEADER ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.8);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -.5px; }
.logo__accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo--light .logo__text { color: var(--white); }
.logo--light .logo__accent { -webkit-text-fill-color: transparent; }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav__link { color: var(--ink-soft); font-weight: 600; font-size: 15px; position: relative; transition: color .2s; }
.nav__link::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--grad); transition: width .25s var(--ease); }
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone { font-weight: 700; font-size: 16px; color: var(--ink); white-space: nowrap; }
.header__phone:hover { color: var(--blue); }

.burger { display: none; flex-direction: column; gap: 5px; width: 28px; padding: 4px; }
.burger span { display: block; height: 2.5px; width: 100%; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== HERO ===== */
.hero { position: relative; padding: 72px 0 64px; overflow: hidden; background: radial-gradient(1200px 600px at 80% -10%, rgba(6,182,212,.10), transparent 60%), radial-gradient(900px 500px at 0% 0%, rgba(37,99,235,.10), transparent 55%); }
.hero__glow { position: absolute; top: -120px; right: -120px; width: 520px; height: 520px; background: var(--grad); filter: blur(120px); opacity: .14; border-radius: 50%; pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero__content { max-width: 620px; }

.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(37,99,235,.08); color: var(--blue-dark); font-weight: 700; font-size: 13.5px; margin-bottom: 22px; }
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(34,197,94,.5)} 70%{box-shadow:0 0 0 9px rgba(34,197,94,0)} 100%{box-shadow:0 0 0 0 rgba(34,197,94,0)} }

.hero__title { font-size: clamp(34px, 5vw, 54px); line-height: 1.07; font-weight: 800; letter-spacing: -1.5px; }
.hero__lead { margin-top: 22px; font-size: clamp(16px, 2vw, 19px); color: var(--ink-soft); max-width: 540px; }
.hero__cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.hero__stats { display: flex; gap: 36px; margin-top: 42px; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 26px; font-weight: 800; letter-spacing: -.5px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__stats span { font-size: 13.5px; color: var(--muted); font-weight: 600; }

.hero__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-lg); }
.hero__card-title { font-size: 22px; font-weight: 800; }
.hero__card-sub { color: var(--muted); font-size: 14.5px; margin-top: 6px; margin-bottom: 20px; }

/* ===== FORMS ===== */
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.field input, .field select {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--bg-soft); color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.form__note { font-size: 11.5px; color: var(--muted); text-align: center; line-height: 1.45; }

/* ===== TRUST BAR ===== */
.trustbar { background: var(--ink); color: var(--white); }
.trustbar__inner { display: flex; justify-content: space-between; gap: 24px; padding: 22px 24px; flex-wrap: wrap; }
.trustbar__item { font-size: 14.5px; color: #cbd5e1; }
.trustbar__item strong { color: var(--white); font-weight: 800; }

/* ===== SECTION ===== */
.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.section__title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; }
.section__sub { margin-top: 14px; color: var(--ink-soft); font-size: 17px; }

/* ===== CARDS GRID ===== */
.cards { display: grid; gap: 22px; }
.cards--services { grid-template-columns: repeat(3, 1fr); }
.cards--why { grid-template-columns: repeat(3, 1fr); }
.cards--reviews { grid-template-columns: repeat(3, 1fr); }
.cards--tariffs { grid-template-columns: repeat(5, 1fr); align-items: stretch; }

/* Service card */
.scard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.scard__icon { width: 54px; height: 54px; display: grid; place-items: center; font-size: 26px; border-radius: 14px; background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(6,182,212,.12)); margin-bottom: 18px; }
.scard__title { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.scard__text { color: var(--ink-soft); font-size: 15px; }

/* Tariff card */
.tcard { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tcard--featured { border: none; background: linear-gradient(160deg, #0b2a6b, #0e3a8a); color: var(--white); box-shadow: var(--shadow-lg); }
.tcard--featured .tcard__list li { color: #dbe7ff; }
.tcard--featured .tcard__list li::before { background: var(--cyan); }
.tcard__badge { position: absolute; top: 16px; right: 16px; background: var(--cyan); color: #06283a; font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .5px; }
.tcard__name { font-size: 15px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.tcard--featured .tcard__name { color: #9dc1ff; }
.tcard__price { font-size: 36px; font-weight: 800; letter-spacing: -1px; margin: 8px 0 18px; }
.tcard__price span { font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.tcard--featured .tcard__price span { color: #9dc1ff; }
.tcard__list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.tcard__list li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--ink-soft); }
.tcard__list li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 16px; height: 16px; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--white); background: var(--blue); border-radius: 50%; }

/* Business block */
.biz { margin-top: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.biz__title { font-size: 26px; font-weight: 800; letter-spacing: -.5px; margin: 6px 0 12px; }
.biz__text p { color: var(--ink-soft); }
.biz__plans { display: flex; flex-direction: column; gap: 12px; }
.biz__plan { display: flex; flex-direction: column; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--bg-soft); border: 1.5px solid var(--line); }
.biz__plan--pro { border-color: var(--blue); background: rgba(37,99,235,.05); }
.biz__plan-name { font-weight: 700; font-size: 14px; color: var(--muted); }
.biz__plan-price { font-size: 26px; font-weight: 800; letter-spacing: -.5px; }
.biz__plan-price small { font-size: 13px; font-weight: 600; color: var(--muted); }
.biz__plan-desc { font-size: 13.5px; color: var(--ink-soft); }

.tariffs__note { margin-top: 26px; text-align: center; font-size: 13.5px; color: var(--muted); max-width: 760px; margin-left: auto; margin-right: auto; }

/* ===== STEPS ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step__num { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--grad); color: var(--white); font-weight: 800; font-size: 19px; margin-bottom: 16px; }
.step__title { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.step__text { color: var(--ink-soft); font-size: 14.5px; }

/* ===== WHY ===== */
.wcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.wcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.wcard__ic { font-size: 28px; margin-bottom: 14px; }
.wcard h3 { font-size: 17px; font-weight: 700; margin-bottom: 7px; }
.wcard p { color: var(--ink-soft); font-size: 14.5px; }

/* ===== REVIEWS ===== */
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.review__stars { color: #f59e0b; letter-spacing: 2px; font-size: 16px; }
.review blockquote { font-size: 15.5px; color: var(--ink); line-height: 1.6; }
.review figcaption { font-size: 14px; color: var(--muted); }
.review figcaption strong { color: var(--ink); }

/* ===== COVERAGE ===== */
.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.coverage__text .section__title { text-align: left; }
.coverage__text p { color: var(--ink-soft); margin: 14px 0 22px; }
.coverage__regions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.coverage__regions li { padding: 8px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; }
.coverage__map { position: relative; aspect-ratio: 4/3; background: radial-gradient(circle at center, rgba(37,99,235,.05), var(--white) 70%); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
@keyframes pulse-pin { 0%{box-shadow:0 0 0 0 rgba(37,99,235,.45)} 70%{box-shadow:0 0 0 16px rgba(37,99,235,0)} 100%{box-shadow:0 0 0 0 rgba(37,99,235,0)} }

/* Радар */
.radar { position: absolute; inset: 0; display: grid; place-items: center; }
.radar__scene { position: relative; height: 92%; aspect-ratio: 1; max-width: 100%; }
.radar__grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.radar__sweep {
  position: absolute; top: 50%; left: 50%; width: 86%; height: 86%;
  border-radius: 50%; transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg, transparent 0deg 250deg, rgba(6,182,212,.10) 320deg, rgba(6,182,212,.38) 360deg);
  -webkit-mask: radial-gradient(circle, #000 99%, transparent 100%);
          mask: radial-gradient(circle, #000 99%, transparent 100%);
  transform-origin: center; animation: radar-spin 4.5s linear infinite;
}
@keyframes radar-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.radar__ping {
  position: absolute; top: 50%; left: 50%; width: 86%; height: 86%;
  border-radius: 50%; border: 1.5px solid rgba(37,99,235,.45);
  transform: translate(-50%, -50%) scale(0); animation: radar-ping 3.4s ease-out infinite;
}
.radar__ping--2 { animation-delay: 1.7s; }
@keyframes radar-ping {
  0% { transform: translate(-50%, -50%) scale(0); opacity: .7; }
  80% { opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}
.radar__node { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 5px; z-index: 2; }
.radar__node--center { top: 50%; left: 50%; }
.radar__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.14); }
.radar__label { font-size: 11.5px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; background: rgba(255,255,255,.82); padding: 1px 7px; border-radius: 7px; }
.radar__node--center .radar__dot { width: 15px; height: 15px; background: var(--grad); box-shadow: 0 0 0 6px rgba(6,182,212,.16); }
.radar__node--center .radar__label { color: var(--ink); font-weight: 800; }
.radar__node--mo .radar__dot { background: var(--cyan); box-shadow: 0 0 0 4px rgba(6,182,212,.16); }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 22px; transition: box-shadow .2s; }
.faq__item[open] { box-shadow: var(--shadow-sm); }
.faq__item summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; font-size: 24px; font-weight: 400; color: var(--blue); transition: transform .25s var(--ease); flex-shrink: 0; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--ink-soft); font-size: 15px; padding: 0 0 18px; }

/* ===== LEAD ===== */
.lead { padding: 84px 0; background: linear-gradient(160deg, #0b1f4d, #0e3a8a 60%, #0a5a73); color: var(--white); }
.lead__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lead__title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; }
.lead__sub { margin-top: 14px; color: #c7d6f5; font-size: 17px; }
.lead__contacts { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.lead__contacts li { display: flex; flex-direction: column; }
.lead__contacts span { font-size: 13px; color: #93acdf; font-weight: 600; }
.lead__contacts a { font-size: 19px; font-weight: 700; }
.lead__contacts a:hover { color: var(--cyan); }
.form--card { background: var(--white); color: var(--ink); padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ===== FOOTER ===== */
.footer { background: var(--ink); color: #cbd5e1; padding: 60px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__col h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; font-weight: 700; }
.footer__col a { display: block; color: #94a3b8; font-size: 14.5px; padding: 5px 0; transition: color .2s; }
.footer__col a:hover { color: var(--white); }
.footer__col--brand .logo { margin-bottom: 16px; }
.footer__tagline { font-size: 14.5px; color: #94a3b8; max-width: 320px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 20px; padding: 20px 24px; flex-wrap: wrap; font-size: 12.5px; color: #64748b; }

/* ===== FAB ===== */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; box-shadow: var(--shadow-lg); animation: pulse-pin 2.6s infinite; transition: transform .2s var(--ease); }
.fab:hover { transform: scale(1.08); }

/* ===== TOAST ===== */
.toast { position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 120%); z-index: 80; background: var(--ink); color: var(--white); padding: 15px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; box-shadow: var(--shadow-lg); transition: transform .4s var(--ease); max-width: 90vw; text-align: center; }
.toast.is-visible { transform: translate(-50%, 0); }

/* ===== REVEAL ANIM ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  .cards--services, .cards--why, .cards--reviews { grid-template-columns: repeat(2, 1fr); }
  .cards--tariffs { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__card { max-width: 460px; }
  .biz, .coverage, .lead__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 12px 24px 20px; transform: translateY(-130%); transition: transform .35s var(--ease); box-shadow: var(--shadow-md); margin-left: 0; }
  .nav.is-open { transform: translateY(0); }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav__link::after { display: none; }
  .burger { display: flex; }
  .header__phone { display: none; }
  .section { padding: 60px 0; }
  .lead { padding: 60px 0; }
  .trustbar__inner { gap: 14px 24px; }
  .trustbar__item { flex: 1 1 40%; }
}
@media (max-width: 540px) {
  .cards--services, .cards--why, .cards--reviews, .cards--tariffs, .steps { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__stats { gap: 24px; }
  .container { padding: 0 18px; }
  .btn { width: 100%; }
  .hero__cta { flex-direction: column; }
}

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