:root {
  --green: #0a8f3c;
  --green-dark: #06702e;
  --green-soft: #ecf6ef;
  --ink: #0e1311;
  --text: #2b3633;
  --muted: #6a7570;
  --line: #e3eae6;
  --bg: #ffffff;
  --soft: #f6f9f7;
  --accent: #f2b705;

  --r: 16px;
  --r-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(14, 19, 17, .04), 0 4px 14px rgba(14, 19, 17, .05);
  --shadow: 0 8px 24px rgba(14, 19, 17, .07), 0 24px 60px rgba(14, 19, 17, .08);
  --shadow-green: 0 10px 24px rgba(10, 143, 60, .22);

  --font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-family: var(--font);
  font-feature-settings: "ss01", "cv01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.011em;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2.5px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--green); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 230px 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 74px;
  padding: 14px clamp(28px, 5vw, 54px);
  background: rgba(255, 255, 255, .82);
  border-bottom: 1px solid rgba(227, 234, 230, .9);
  backdrop-filter: saturate(180%) blur(18px);
}

.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand-icon { position: relative; width: 34px; height: 34px; color: var(--green); }
.brand-icon::before,
.brand-icon::after,
.brand-icon span::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 3px solid currentColor;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-45deg);
}
.brand-icon::after { inset: 12px; }
.brand-icon span::before { inset: 18px; background: currentColor; border: 0; }
.brand strong { display: block; font-size: 17px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.1; }

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 34px);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}
.main-nav a { position: relative; padding: 4px 0; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--r-sm);
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-green);
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.header-cta:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 14px 30px rgba(10, 143, 60, .3); }
.header-cta:active { transform: translateY(0); }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  font-size: clamp(44px, 5.4vw, 72px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  padding: 96px clamp(28px, 5vw, 54px) 116px;
  background: var(--bg);
}
.hero-bg { position: absolute; inset: 0 0 0 32%; z-index: 0; }
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.96) 18%, rgba(255,255,255,.2) 46%, rgba(255,255,255,0) 74%),
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.08));
}
.hero-bg::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 24%;
  top: 96px;
  width: 120px;
  height: 120px;
  border: 12px solid rgba(10, 143, 60, .6);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-28deg);
  filter: drop-shadow(0 12px 18px rgba(10, 143, 60, .18));
  animation: sweep 4.5s ease-in-out infinite;
}
@keyframes sweep {
  0%, 100% { transform: rotate(-32deg) scale(1); opacity: .85; }
  50% { transform: rotate(-20deg) scale(1.04); opacity: 1; }
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }

.hero-content { position: relative; z-index: 2; width: min(540px, 100%); }

/* staggered entrance */
.hero-content > * { animation: rise .7s cubic-bezier(.2,.7,.3,1) both; }
.hero-content > h1 { animation-delay: .05s; }
.hero-content > .hero-list { animation-delay: .15s; }
.hero-content > .check-card { animation-delay: .25s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-list {
  display: grid;
  gap: 13px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  color: var(--text);
  font-size: 18px;
}
.hero-list li { position: relative; padding-left: 36px; }
.hero-list li::before,
.after-card li::before,
.tariff-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--green-soft);
  border: 1.5px solid var(--green);
}
.hero-list li::after,
.after-card li::after,
.tariff-grid li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

/* ---------- Forms ---------- */
.check-card {
  width: min(430px, 100%);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow);
}
.field { display: block; }
.field + .field { margin-top: 14px; }
.field > span {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

input {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition: border-color .18s ease, box-shadow .18s ease;
}
input::placeholder { color: #aab4b0; }
input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(10, 143, 60, .12); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: var(--shadow-green);
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(10, 143, 60, .3); }
.button:active { transform: translateY(0); }
.check-card .button { margin-top: 16px; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.consent input { width: 17px; height: 17px; min-width: 17px; margin-top: 1px; accent-color: var(--green); }
.consent a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 2px; }

.under-note { margin: 12px 0 0; color: var(--muted); text-align: center; font-size: 12px; }
.form-note { margin: 12px 0 0; color: var(--green-dark); font-size: 14px; font-weight: 600; }

/* ---------- Speed panel ---------- */
.speed-panel {
  position: absolute;
  z-index: 3;
  right: clamp(48px, 7vw, 96px);
  bottom: 138px;
  display: grid;
  grid-template-columns: 1.2fr .8fr .65fr;
  width: min(620px, 52vw);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: var(--r);
  background: rgba(14,19,17,.8);
  color: #fff;
  box-shadow: 0 22px 50px rgba(14,19,17,.3);
  backdrop-filter: blur(12px);
}
.speed-panel div { padding: 18px 24px; border-left: 1px solid rgba(255,255,255,.16); }
.speed-panel div:first-child { border-left: 0; }
.speed-panel span { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; opacity: .82; }
.speed-panel strong { display: block; font-size: 38px; font-weight: 800; line-height: 1; color: var(--accent); letter-spacing: -0.03em; }
.speed-panel strong small { font-size: 15px; font-weight: 600; color: #fff; }

/* ---------- Proof row ---------- */
.proof-row {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  width: min(1280px, calc(100% - 56px));
  margin: -64px auto 0;
  padding: 20px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow);
}
.proof-row article {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 14px;
  align-items: center;
  min-height: 70px;
}
.proof-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 18px;
}
.proof-row strong { color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.proof-row small { color: var(--muted); font-size: 12px; line-height: 1.25; }

/* ---------- Sections ---------- */
.section {
  width: min(1280px, calc(100% - 56px));
  margin: 0 auto;
  padding: 80px 0;
}
.section h2 {
  margin-bottom: 32px;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Steps ---------- */
.steps { text-align: center; }
.steps-line { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; text-align: left; }
.steps-line article { position: relative; padding-top: 16px; }
.steps-line article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 52px;
  right: -30px;
  width: 48px;
  border-top: 2px dashed #c3cdc8;
}
.steps-line article > span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.step-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 22px 0 16px; color: var(--green); font-size: 38px; }
.steps-line h3 { margin: 0 0 10px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.steps-line p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Packages ---------- */
.section-title-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-title-row strong { color: var(--green); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }

.packages { padding: 36px 30px 30px; border: 1px solid var(--line); border-radius: var(--r); background: var(--soft); }
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.package-card {
  display: flex;
  flex-direction: column;
  min-height: 315px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.package-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe0d6; }
.package-card img {
  width: 100%; height: 120px;
  object-fit: contain; object-position: center;
  margin-bottom: 14px;
  border-radius: var(--r-sm);
  background: var(--green-soft);
}
.package-card h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.package-card > p { margin: 3px 0 14px; color: var(--muted); font-size: 14px; }
.package-card ul { margin: 0 0 18px; padding-left: 18px; color: var(--text); font-size: 13px; }
.package-card li { margin: 4px 0; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.card-bottom strong {
  display: grid;
  gap: 2px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.old-price {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: line-through;
  letter-spacing: 0;
}
.card-bottom a {
  min-width: 102px;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--green-dark);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  transition: border-color .18s ease, background .18s ease;
}
.card-bottom a:hover { border-color: var(--green); background: var(--green-soft); }
.package-card-wide { grid-column: span 3; }
.package-card-wide img { height: 150px; }

.help-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.help-strip a { color: var(--green-dark); font-weight: 700; }
.help-strip a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Result ---------- */
.result-grid { display: grid; grid-template-columns: 1fr 1fr 1.7fr; gap: 24px; align-items: stretch; }
.before-card, .after-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); }
.after-card { border-color: #cce8d6; }
.before-card > span, .after-card > span {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 15px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.before-card > span { background: #98a09d; }
.after-card > span { background: var(--green); }
.before-card > p, .after-card > p { color: var(--text); font-size: 15px; font-weight: 600; }
.before-card ul, .after-card ul, .tariff-grid ul { margin: 16px 0; padding: 0; list-style: none; }
.before-card li, .after-card li, .tariff-grid li {
  position: relative;
  margin: 10px 0;
  padding-left: 26px;
  color: var(--text);
  font-size: 14px;
}
.before-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fbeaea;
  border: 1.5px solid #e24444;
}
.before-card li::after {
  content: "";
  position: absolute;
  left: 5px; top: 8px;
  width: 7px; height: 7px;
  border-top: 2px solid #e24444;
  transform: rotate(45deg);
}
.after-card li::before, .tariff-grid li::before { width: 17px; height: 17px; top: 3px; }
.after-card li::after, .tariff-grid li::after { left: 5px; top: 7px; }
.before-card div, .after-card div { display: inline-grid; margin: 14px 22px 0 0; }
.before-card small, .after-card small { color: var(--muted); font-size: 13px; }
.before-card strong, .after-card strong { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.after-card strong { color: var(--green-dark); }
.result-grid img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow-sm); }

/* ---------- Operators ---------- */
.tariffs h2 { text-align: center; }
.tariff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tariff-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tariff-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.operator-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 18px;
  border-radius: 22px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: 0 18px 36px rgba(15, 23, 42, .14);
}
.tariff-grid h3 { margin: 0; font-size: 25px; font-weight: 800; letter-spacing: -0.03em; }
.tariff-grid > article > p { margin: 5px 0 16px; color: var(--muted); font-weight: 500; }
.tariff-grid article > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: auto;
  padding: 10px 20px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--green-dark);
  font-weight: 600;
  transition: border-color .18s ease, background .18s ease;
}
.tariff-grid article > a:hover { border-color: var(--green); background: var(--green-soft); }
.operator-mts .operator-icon { background: #e30613; }
.operator-megafon .operator-icon { background: linear-gradient(135deg, #00a650, #7ac143); }
.operator-beeline .operator-icon { background: linear-gradient(135deg, #f7c600 0 34%, #111 34% 66%, #f7c600 66%); }
.operator-tele2 .operator-icon { background: #111; }
.operator-yota .operator-icon { background: #00a3e0; }
.operator-wifire .operator-icon { background: linear-gradient(135deg, #ff6a00, #e6007e); }
.tariff-note { margin: 22px 0 0; color: var(--muted); text-align: center; }

/* ---------- Area / map ---------- */
.area { display: grid; grid-template-columns: .65fr 1fr; gap: 40px; align-items: center; }
.area p { color: var(--muted); max-width: 430px; font-size: 17px; }
.area-stats { display: flex; gap: 40px; margin-top: 32px; }
.area-stats strong { color: var(--ink); font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.area-stats strong:first-child { color: var(--green); }
.area-stats small { display: block; margin-top: 4px; max-width: 118px; color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.25; }
.map-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--green-soft);
  box-shadow: var(--shadow-sm);
}
.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* ---------- FAQ ---------- */
.faq h2 { margin-bottom: 28px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 26px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: #cfe0d6; box-shadow: var(--shadow-sm); }
.faq summary {
  position: relative;
  padding: 18px 48px 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: translateY(-65%) rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-35%) rotate(-135deg); }
.faq p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- Bottom CTA ---------- */
.bottom-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(320px, .58fr) minmax(360px, .6fr);
  gap: 28px;
  align-items: center;
  min-height: 280px;
  padding: 56px clamp(28px, 5vw, 54px);
  overflow: hidden;
  background: linear-gradient(90deg, var(--green-soft) 0%, #fff 58%, rgba(255,255,255,.18) 100%);
}
.bottom-cta::after {
  content: "";
  position: absolute;
  inset: 0 0 0 76%;
  background: url("assets/hero-country-internet.png") center right / cover no-repeat;
  z-index: 0;
}
.bottom-cta > * { position: relative; z-index: 1; }
.bottom-cta h2 { margin-bottom: 10px; font-size: clamp(30px, 4vw, 48px); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; }
.bottom-cta p { color: var(--text); font-size: 18px; }
.bottom-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  grid-column: 2;
  width: min(100%, 560px);
  justify-self: end;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
}
.bottom-form .button,
.bottom-form .consent,
.bottom-form .form-note { grid-column: 1 / -1; }
.bottom-form .consent { margin-top: 2px; }

/* ---------- Quiz ---------- */
.quiz-section h2 { text-align: center; }
.quiz-card {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 32px clamp(20px, 4vw, 40px) 28px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow);
}
.quiz-head { margin-bottom: 24px; }
.quiz-head [data-step-label] {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.quiz-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--green-soft);
  overflow: hidden;
}
.quiz-progress i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--green);
  transition: width .35s cubic-bezier(.2,.7,.3,1);
}
.quiz-step { animation: rise .4s ease both; }
.quiz-step[hidden] { display: none; }
.quiz-step h3 {
  margin: 0 0 18px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.quiz-options { display: grid; gap: 11px; }
.quiz-options button {
  display: block;
  width: 100%;
  padding: 17px 20px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .12s ease;
}
.quiz-options button:hover { border-color: var(--green); background: var(--green-soft); transform: translateX(3px); }
.quiz-result { animation: rise .45s ease both; }
.quiz-result h3 { margin: 0 0 10px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; letter-spacing: -0.02em; }
.quiz-result h3 strong { color: var(--green-dark); }
.quiz-result p { color: var(--muted); font-size: 16px; margin: 0 0 20px; }
.quiz-result .button { width: auto; min-width: 240px; }
.quiz-restart {
  display: block;
  margin: 18px auto 0;
  padding: 6px 4px;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.quiz-restart:hover { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 48px clamp(28px, 5vw, 54px);
  border-top: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  font-size: 13px;
}
.footer-inner {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.footer-inner strong { display: block; color: var(--ink); font-size: 16px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.02em; }
.footer-inner a { color: var(--green-dark); }
.footer-inner a:hover { text-decoration: underline; text-underline-offset: 2px; }
.footer-inner p { margin: 4px 0; line-height: 1.5; }
.mobile-cta { display: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .main-nav { gap: 14px; font-size: 14px; }
  .speed-panel { right: 30px; width: 55vw; }
  .proof-row, .package-grid, .tariff-grid { grid-template-columns: repeat(2, 1fr); }
  .package-card-wide { grid-column: span 2; }
  .result-grid { grid-template-columns: 1fr 1fr; }
  .result-grid img { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header {
    grid-template-columns: 1fr auto auto;
    min-height: 62px;
    padding: 10px 16px;
  }
  .main-nav { display: none; }
  .header-cta { padding: 10px 16px; font-size: 13px; }
  .burger {
    display: block;
    justify-self: end;
  }
  .mobile-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--shadow);
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a {
    padding: 13px 14px;
    border-radius: var(--r-sm);
    color: var(--text);
    font-weight: 600;
  }
  .mobile-menu a:hover {
    background: var(--green-soft);
    color: var(--green-dark);
  }
  .mobile-menu .mobile-menu-cta {
    margin-top: 4px;
    background: var(--green);
    color: #fff;
    text-align: center;
  }

  .hero { display: flex; flex-direction: column; min-height: auto; padding: 40px 16px 28px; }
  .hero-bg { position: relative; inset: auto; height: 250px; margin: 22px -16px 0; order: 2; border-radius: var(--r); overflow: hidden; }
  .hero-bg::before { background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 28%); }
  .hero-content { width: 100%; }
  .hero-bg::after { right: 18%; top: 34px; width: 72px; height: 72px; border-width: 8px; }
  h1 { font-size: 39px; }
  .check-card { width: 100%; padding: 18px; }
  .speed-panel { position: relative; right: auto; bottom: auto; width: 100%; grid-template-columns: 1fr; margin-top: 18px; }
  .speed-panel div { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .speed-panel div:first-child { border-top: 0; }

  .proof-row { width: calc(100% - 32px); margin: 18px auto 0; grid-template-columns: 1fr; padding: 16px; }
  .section { width: calc(100% - 32px); padding: 56px 0; }
  .steps-line, .package-grid, .tariff-grid, .area, .faq-grid, .bottom-cta, .bottom-form { grid-template-columns: 1fr; }
  .package-card-wide { grid-column: auto; }
  .steps { text-align: left; }
  .steps-line { gap: 18px; }
  .steps-line article:not(:last-child)::after { display: none; }
  .section-title-row { display: block; }
  .section-title-row strong { display: block; margin-top: 8px; }
  .packages { padding: 24px 16px; }
  .result-grid { grid-template-columns: 1fr; }
  .area-stats { flex-direction: column; gap: 18px; }
  .bottom-cta { padding: 42px 16px 92px; }
  .bottom-cta::after { display: none; }
  .bottom-form {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }
  .footer-inner { grid-template-columns: 1fr; }
  .mobile-cta {
    position: fixed;
    z-index: 40;
    left: 14px; right: 14px; bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    border-radius: var(--r-sm);
    background: var(--green);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 18px 42px rgba(10,143,60,.32);
  }
}
