/*   
Theme Name: Orange
Theme URI: 
Version: 1.0
Tags: 
Description: Шаблон "Orange", под копии брендов
Author: batrakov.d@gmail.com
Author URI: 
*/

:root {
  /* Palette — light tones, warm trust + energy */
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #eef1f8;
  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #64748b;
  --line: #e2e8f0;

  /* Accent — vibrant yellow (CTA) */
  --accent: #fdc009;
  --accent-2: #ffd84d;
  --accent-ink: #0f172a;
  --accent-soft: #fff7d6;

  /* Trust deep navy */
  --navy: #102a55;

  /* States */
  --ok: #16a34a;
  --warn: #f59e0b;
  --err: #dc2626;
  --star: #fbbf24;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
  --shadow-md: 0 8px 24px rgba(15,23,42,.06), 0 2px 6px rgba(15,23,42,.04);
  --shadow-lg: 0 24px 60px rgba(15,23,42,.10), 0 4px 12px rgba(15,23,42,.05);

  /* Container */
  --container: 1280px;
  --gutter: clamp(16px, 3vw, 32px);

  /* Type scale (fluid) */
  --fs-xs: clamp(12px, 0.78vw + 9px, 13px);
  --fs-sm: clamp(13px, 0.4vw + 12px, 14px);
  --fs-base: clamp(15px, 0.4vw + 13px, 16px);
  --fs-md: clamp(16px, 0.5vw + 14px, 18px);
  --fs-lg: clamp(18px, 0.8vw + 14px, 22px);
  --fs-xl: clamp(22px, 1.4vw + 16px, 28px);
  --fs-2xl: clamp(26px, 2vw + 18px, 36px);
  --fs-3xl: clamp(32px, 3vw + 18px, 52px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Geologica", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "ss01", "cv01";
  font-size: var(--fs-base);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }

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

/* Section rhythm */
section { padding-block: clamp(32px, 3.2vw, 48px); }
section.section-alt { background: var(--surface); }
section.section-bg { background: var(--bg); }
section h2 {
  font-size: var(--fs-2xl);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: clamp(24px, 3vw, 40px);
  max-width: 760px;
}
.section-head p {
  margin: 0;
  color: var(--ink-3);
  font-size: var(--fs-md);
}

.section-head-reviews{
  max-width: 1210px;
}

/* ============= Header ============= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -.01em;
}
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.35) 0 6px, transparent 6px 12px),
    linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
  display: grid; place-items: center;
  color: #6b7280;
  font-weight: 800;
  font-size: 0;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.08), inset 0 0 0 1px rgba(0,0,0,.05);
}
.logo-text { font-size: 18px; }
.logo-text small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }

.nav { margin-left: auto; }
.nav-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; align-items: center; gap: 4px;
}
.nav-list a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink-2);
  font-size: var(--fs-sm);
  font-weight: 500;
  min-height: 44px;
  display: inline-flex; align-items: center;
}
.nav-list a:hover { background: var(--surface-2); color: var(--ink); }
.header-cta {
  margin-left: 8px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.header-cta::before,
.shimmer-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: header-cta-shimmer 2.6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.shimmer-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.header-cta > *,
.shimmer-btn > * { position: relative; z-index: 1; }
@keyframes header-cta-shimmer {
  0%   { transform: translateX(-120%); }
  60%  { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}
@media (prefers-reduced-motion: reduce) {
  .header-cta::before,
  .shimmer-btn::before { animation: none; display: none; }
}
.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  margin-left: auto;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.burger.open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity: 0; }
.burger.open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav { position: fixed; inset: 68px 0 auto 0; background: var(--surface); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .25s ease; padding: 12px var(--gutter) 16px; }
  .nav.open { transform: translateY(0); box-shadow: var(--shadow-md); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { padding: 14px 12px; border-radius: 10px; }
  .header-cta { display: none; }
  .burger { display: inline-flex; }
}

/* ============= Buttons ============= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 100%);
  color: var(--accent-ink);
  box-shadow: 0 6px 16px rgba(253,192,9,.35), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover { box-shadow: 0 10px 24px rgba(253,192,9,.45), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-soft {
  background: var(--accent-soft);
  color: var(--accent);
}
.btn-block { width: 100%; }
.btn-lg { min-height: 52px; font-size: var(--fs-md); padding: 14px 24px; }

/* ============= Hero ============= */
.hero {
  padding-block: clamp(32px, 3.2vw, 48px);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255,154,60,.16), transparent 60%),
    radial-gradient(700px 400px at 0% 30%, rgba(16,42,85,.06), transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 480px) 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.hero-grid-flip {
  grid-template-columns: 1fr minmax(0, 480px);
}
@media (max-width: 900px) {
  .hero-grid,
  .hero-grid-flip { grid-template-columns: 1fr; }
}
.hero-copy { order: 2; }
.hero-form { order: 1; }
.hero-grid-flip .hero-copy { order: 1; }
.hero-grid-flip .hero-form { order: 2; }
@media (min-width: 901px) {
  .hero-copy { order: 2; padding-top: 8px; }
  .hero-form { order: 1; }
  .hero-grid-flip .hero-copy { order: 1; padding-top: 8px; }
  .hero-grid-flip .hero-form { order: 2; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(22,163,74,.10); color: #16a34a;
  font-size: var(--fs-xs); font-weight: 600;
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,.18); }
.hero h1 {
  font-size: var(--fs-3xl);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--navy);
  text-wrap: balance;
}
.hero h1 .accent { color: var(--accent); }
.hero-lede {
  font-size: var(--fs-md);
  color: var(--ink-2);
  margin: 0 0 24px;
  max-width: 56ch;
  text-wrap: pretty;
}
.benefits {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
.benefits li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: 500;
}
.benefits li svg { flex: 0 0 20px; color: var(--accent); margin-top: 2px; }
.benefits li h4 { margin: 0 0 4px; font-size: var(--fs-sm); color: var(--navy); font-weight: 700; }
.benefits li p { margin: 0; font-size: var(--fs-xs); color: var(--ink-3); font-weight: 400; line-height: 1.55; }

/* hero login CTA (cabinet page) */
.hero-cta-row { margin-top: 12px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-login { min-width: 240px; }
@media (max-width: 560px) { .hero-login { width: 100%; } }

/* ============= Calculator card ============= */
.calc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(20px, 2.5vw, 28px);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.calc::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  background: linear-gradient(180deg, rgba(253,192,9,.4), transparent 30%);
  z-index: -1; filter: blur(20px); opacity: .4;
}
.calc-row { margin-bottom: 16px; }
.calc-row label { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--fs-sm); color: var(--ink-3); margin-bottom: 8px; }
.calc-row .value { color: var(--navy); font-weight: 700; font-size: var(--fs-lg); }
.range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 999px;
  background: var(--surface-2);
  outline: none;
}
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) var(--p, 0%), var(--surface-2) var(--p, 0%)); }
.range::-moz-range-track { height: 6px; border-radius: 999px; background: var(--surface-2); }
.range::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--accent); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; margin-top: -8px;
  border-radius: 999px;
  background: white;
  border: 3px solid var(--accent);
  box-shadow: 0 4px 10px rgba(253,192,9,.35);
  cursor: grab;
}
.range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 999px;
  background: white; border: 3px solid var(--accent);
  box-shadow: 0 4px 10px rgba(253,192,9,.35); cursor: grab;
}
.range-edges { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--ink-3); margin-top: 6px; }
.calc-return {
  display: flex; justify-content: space-between; align-items: center;
  background: transparent;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  border-radius: 0;
  padding: 10px 0;
  margin: 8px 0 16px;
}
.calc-return .label { color: var(--ink-3); font-size: var(--fs-xs); }
.calc-return .amt { font-weight: 600; font-size: var(--fs-md); color: var(--ink-2); }

.input {
  width: 100%; min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font: inherit;
  background: var(--surface);
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(253,192,9,.18); }
.input-group { width: 100%; margin-bottom: 12px; }

.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 10px; font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.5; }
.consent input { margin-top: 2px; flex: 0 0 auto; accent-color: var(--accent); width: 16px; height: 16px; }
.disclaimer { margin-top: 14px; font-size: var(--fs-xs); color: var(--ink-3); padding: 10px 12px; background: var(--surface-2); border-radius: var(--r-sm); line-height: 1.5; }

/* ============= How-to: steps with big media ============= */
.steps-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 1.6vw, 18px);
  max-width: 1020px;
  margin: 0 auto;
}
.step-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(14px, 1.8vw, 20px);
  box-shadow: var(--shadow-sm);
}
.step-row:nth-child(even) {
  grid-template-columns: 1fr 140px;
}
.step-row:nth-child(even) .step-media { order: 2; }
.step-row:nth-child(even) .step-body { order: 1; }
.step-media {
  position: relative;
  width: 140px;
  height: 140px;
  aspect-ratio: 1 / 1;
  max-height: none;
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 30%, rgba(253,192,9,.18), transparent 60%),
    linear-gradient(135deg, #f1f3f8 0%, #e3e8f1 100%);
  display: grid;
  place-items: center;
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.04);
  overflow: hidden;
}
.step-media svg {
  width: 56%;
  height: 56%;
  position: relative;
  z-index: 1;
  stroke-width: 1.8;
}
.step-num {
  position: absolute;
  top: 8px; left: 12px;
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  color: var(--navy);
  opacity: .25;
  letter-spacing: -.04em;
  z-index: 1;
}
.step-body h3 {
  margin: 0 0 6px;
  font-size: clamp(20px, 2vw, 24px);
  color: var(--navy);
  letter-spacing: -.01em;
}
.step-body p {
  margin: 0;
  color: var(--ink-3);
  font-size: var(--fs-sm);
  line-height: 1.55;
  max-width: 60ch;
}
@media (max-width: 720px) {
  .step-row,
  .step-row:nth-child(even) { grid-template-columns: 100px 1fr; gap: 14px; }
  .step-row:nth-child(even) .step-media { order: 0; }
  .step-row:nth-child(even) .step-body { order: 0; }
  .step-media { width: 100px; height: 100px; }
  .step-media svg { width: 54%; height: 54%; }
}

/* ============= Quiz ============= */
.quiz {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-md);
  max-width: 760px; margin: 0 auto;
}
.quiz-head { text-align: center; margin-bottom: 24px; }
.quiz-head h2 { margin-bottom: 8px; }
.quiz-progress {
  height: 8px; border-radius: 999px; background: var(--surface-2);
  overflow: hidden; margin-top: 16px;
}
.quiz-progress .bar { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); width: 0; transition: width .35s ease; border-radius: 999px; }
.quiz-step-info { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--ink-3); margin-top: 8px; }
.quiz-question { font-size: var(--fs-xl); color: var(--navy); margin: 8px 0 20px; text-align: center; font-weight: 700; }
.quiz-options { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.quiz-option {
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--ink);
  border-radius: var(--r-md);
  padding: 14px 16px;
  min-height: 52px;
  font-weight: 500;
  text-align: center;
  transition: all .15s;
}
.quiz-option:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.quiz-option.selected { border-color: var(--accent); background: var(--accent); color: white; }

/* circular progress */
.circle-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 24px 0;
}
.circle-progress {
  --p: 0;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--surface-2) 0);
  display: grid; place-items: center;
  position: relative;
}
.circle-progress::before {
  content: ""; position: absolute; inset: 12px;
  background: var(--surface); border-radius: 50%;
}
.circle-progress span { position: relative; font-size: 28px; font-weight: 800; color: var(--navy); }

.quiz-result { text-align: center; padding: 16px 0; }
.quiz-result .big { font-size: var(--fs-2xl); color: var(--navy); font-weight: 800; margin: 8px 0; }
.quiz-result .amount { color: var(--accent); font-size: var(--fs-3xl); font-weight: 800; margin: 8px 0 16px; letter-spacing: -.02em; }

/* ============= Tariffs ============= */
.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.tariff {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tariff:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.tariff-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.tariff h3 { margin: 0 0 14px; font-size: var(--fs-lg); color: var(--navy); }
.tariff dl { margin: 0 0 16px; display: grid; gap: 8px; }
.tariff dl > div { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.tariff dl > div:last-child { border-bottom: none; }
.tariff dt { color: var(--ink-3); font-size: var(--fs-xs); }
.tariff dd { margin: 0; color: var(--navy); font-weight: 700; }
.tariff dd.rate-zero { color: var(--ok); }
.tariff .btn { margin-top: auto; }

/* ============= Why-us ============= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 640px) {
  .why-grid { grid-template-columns: 1fr; }
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
  display: flex; gap: 14px; align-items: flex-start;
}
.why-check {
  flex: 0 0 52px; width: 52px; height: 52px;
  border-radius: 14px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
}
.why-card h3 { margin: 0 0 4px; font-size: var(--fs-md); color: var(--navy); }
.why-card p { margin: 0; color: var(--ink-3); font-size: var(--fs-sm); }
.why-foot { margin: clamp(20px, 3vw, 32px) 0 0; color: var(--ink-3); font-size: var(--fs-md); max-width: none; line-height: 1.7; }

/* ============= Quick-form CTA ============= */
.quick-form {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3868 100%);
  color: white;
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 40px);
  position: relative;
  overflow: hidden;
}
.quick-form::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(253,192,9,.35), transparent 60%);
}
.quick-form h2 { color: white; margin: 0 0 8px; }
.quick-form p { color: rgba(255,255,255,.75); margin: 0 0 20px; }
.quick-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 700px) {
  .quick-form-row { grid-template-columns: 1fr; }
}
.quick-form-cta {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.quick-form-cta .btn { min-width: 280px; }
@media (max-width: 700px) {
  .quick-form-cta .btn { width: 100%; min-width: 0; }
}
.quick-form .input {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  color: white;
}
.quick-form .input::placeholder { color: rgba(255,255,255,.55); }
.quick-form .input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(253,192,9,.3); background: rgba(255,255,255,.12); }

/* ============= Reviews ============= */
.reviews-wrap { position: relative; }
.reviews-track {
  display: flex; gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 min(380px, 85%);
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.review-head { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  display: grid; place-items: center; color: white; font-weight: 700;
  flex: 0 0 48px;
  font-size:12px;
}
.review-name { margin: 0; color: var(--navy); font-weight: 700; }
.review-stars { color: var(--star); display: inline-flex; gap: 2px; }
.review-date { display: block; margin-top: 12px; font-size: var(--fs-xs); color: var(--ink-3); text-align: right; }
.review-text { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; }

.slider-controls {
  display: flex; align-items: center; gap: 10px;
  margin-top: 16px; justify-content: center;
}
.slider-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center; color: var(--ink);
}
.slider-btn:hover { border-color: var(--accent); color: var(--accent); }
.slider-dots { display: inline-flex; gap: 6px; }
.slider-dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--line); transition: width .2s, background .2s; cursor: pointer; }
.slider-dots span.active { width: 24px; background: var(--accent); }

/* ============= Partners ============= */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.partner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.partner-head { display: flex; align-items: center; gap: 12px; }
.partner-logo {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: grid; place-items: center;
  color: white; font-weight: 800; font-size: 14px;
  letter-spacing: -.02em;
  flex: 0 0 48px;
}
.partner h3 { margin: 0; font-size: var(--fs-md); color: var(--navy); }
.partner-rating { display: flex; align-items: center; gap: 4px; font-size: var(--fs-xs); color: var(--ink-3); }
.partner-rating .stars { color: var(--star); }
.partner-approval { display: block; font-size: var(--fs-xs); color: var(--ok); font-weight: 600; margin-top: 2px; }
.partner-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: var(--fs-sm);
  margin: 0;
}
.partner-stats > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}
.partner-stats > div:last-child { border-bottom: none; }
.partner-stats dt { color: var(--ink-3); font-size: var(--fs-xs); }
.partner-stats dd { margin: 0; color: var(--navy); font-weight: 700; font-size: var(--fs-sm); }
.partner-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.tag.alt { background: rgba(16,42,85,.08); color: var(--navy); }
.tag.green { background: rgba(22,163,74,.12); color: var(--ok); }
.tag.red { background: rgba(220,38,38,.10); color: #dc2626; }
.tag.blue { background: rgba(59,108,242,.10); color: #2563eb; }
.partner .btn { margin-top: auto; }

/* ============= SEO text ============= */
.seo-text {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 40px);
}
.seo-text h2 { margin-top: 0; }
.seo-text h3 { color: var(--navy); margin-top: 24px; font-size: var(--fs-lg); }
.seo-text p, .seo-text li { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.7; }
.seo-text ul, .seo-text ol { padding-left: 24px; }

/* ============= FAQ ============= */
.faq-list {
  display: grid;
  gap: 8px;
  max-width: 880px;
  margin: 0 auto;
}
details.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0;
  transition: border-color .2s;
}
details.faq-item[open] { border-color: var(--accent); }
details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  font-weight: 600; color: var(--navy);
  font-size: var(--fs-md);
  min-height: 44px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink);
  display: grid; place-items: center;
  font-size: 20px; font-weight: 400;
  transition: transform .25s, background .2s;
  flex: 0 0 32px;
}
details.faq-item[open] summary::after { transform: rotate(45deg); background: var(--accent); color: white; }
details.faq-item .answer { padding: 0 22px 18px; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.7; }

/* ============= App download ============= */
.app-cta {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 56px);
  position: relative;
  overflow: hidden;
}

@media (max-width: 800px) { .app-cta { grid-template-columns: 1fr; } }
.app-cta h2 { margin: 0 0 12px; }
.app-cta p { color: var(--ink-2); margin: 0 0 20px; max-width: 52ch; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--navy);
  color: white;
  text-decoration: none;
  min-height: 56px;
  transition: transform .15s, box-shadow .2s;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store-btn small { display: block; font-size: 11px; opacity: .75; }
.store-btn b { display: block; font-size: 16px; font-weight: 600; }

.app-mock {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  background:
    repeating-linear-gradient(45deg, rgba(253,192,9,.08) 0 8px, transparent 8px 16px),
    var(--surface);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: ui-monospace, "SF Mono", monospace;
  color: var(--ink-3);
  font-size: 12px;
  text-align: center;
  padding: 24px;
}

/* ============= Footer ============= */
.site-footer {
  background: #1f2430;
  color: rgba(255,255,255,.75);
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: 24px;
  margin-top: clamp(48px, 6vw, 80px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  padding-bottom: 24px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-text {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 24px;
}
.footer-text p { font-size:12px; font-weight:200; margin:0; padding-bottom:10px; }
.footer-brand .logo { color: white; }
.footer-brand p { font-size: var(--fs-sm); margin: 16px 0 0; line-height: 1.7; }
.footer-col h4 { color: white; margin: 0 0 14px; font-size: var(--fs-sm); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0px; }
.footer-col a {
  text-decoration: none; color: rgba(255,255,255,.7); font-size: var(--fs-sm);
  display: inline-block; padding: 4px 0; min-height: 28px;
}
.footer-col a:hover { color: var(--accent-2); }
.footer-text { font-size: var(--fs-xs); line-height: 1.7; color: rgba(255,255,255,.6); }
.footer-bottom {
  padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; align-items: center;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.5);
}
.footer-bottom .stores { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-bottom .stores .store-btn { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); min-height: 44px; padding: 8px 14px; }
.footer-bottom .stores .store-btn-img { padding: 6px 12px; min-height: 44px; display: inline-flex; align-items: center; }
.footer-bottom .stores .store-btn-img img { height: 24px; width: auto; display: block; }

/* ============= Helpers ============= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.fade-in { animation: fadeIn .35s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ============= Mobile responsive polish ============= */
@media (max-width: 760px) {
  /* header: not sticky on mobile per spec */
  .site-header { position: static; }

  /* hero */
  #hero { padding-block: 28px; }
  .hero-grid { gap: 20px; }
  .hero h1 { font-size: clamp(28px, 7vw, 38px); line-height: 1.15; }
  .hero-lede { font-size: var(--fs-md); }
  .calc { padding: 18px; }
  .calc h2, .hero-form h2 { font-size: 22px; }

  /* benefits list inside hero copy */
  .hero-copy .benefits { gap: 14px; }
  .hero-copy .benefits li { gap: 10px; }
  .hero-copy .benefits h4 { font-size: 16px; }
  .hero-copy .benefits p { font-size: 14px; line-height: 1.5; }

  /* section heads */
  .section-head { margin-bottom: 16px; }
  .section-head h2 { font-size: clamp(24px, 6.5vw, 32px) !important; }
  .section-head p { font-size: var(--fs-sm); }

  /* steps */
  .step-row { padding: 14px; }
  .step-body h3 { font-size: 18px; }
  .step-body p { font-size: 14px; }

  /* quiz */
  .quiz { padding: 18px; }
  .quiz-head h2 { font-size: 22px !important; }
  .quiz-options { grid-template-columns: 1fr !important; }
  .quiz-option { padding: 14px; }

  /* tariffs */
  .tariffs-grid { grid-template-columns: 1fr; gap: 12px; }
  .tariff { padding: 18px; }

  /* why */
  .why-grid { grid-template-columns: 1fr; gap: 14px; }

  /* quick form CTA */
  .quick-form { padding: 22px 18px !important; }
  .quick-form h2 { font-size: 22px !important; }
  .quick-form p { font-size: 14px; }

  /* reviews */
  .review { min-width: 78vw; padding: 18px; }
  .review-text { font-size: 14px; }

  /* partners */
  .partners-grid { grid-template-columns: 1fr; gap: 12px; }
  .partner { padding: 18px; }
  .partner-head { gap: 12px; }
  .partner h3 { font-size: 18px !important; }

  /* SEO + FAQ */
  .seo-text { font-size: 14px; }
  .seo-text h2 { font-size: clamp(24px, 6.5vw, 32px) !important; }
  .seo-text h3 { font-size: clamp(18px, 5vw, 22px) !important; }
  .faq-item summary { font-size: 15px; padding: 14px 16px; }
  .faq-item .answer { font-size: 14px; padding: 0 16px 14px; }

  /* app cta */
  .app-cta { padding: 22px 18px !important; }
  .app-cta h2 { font-size: 22px !important; }
  .store-buttons { flex-direction: column; align-items: stretch; }
  .store-btn { justify-content: center; }

  /* footer */
  .footer-grid { gap: 24px !important; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* generic: prevent overflow */
  h1, h2, h3 { word-break: break-word; hyphens: auto; }
}

@media (max-width: 420px) {
  :root { --gutter: 14px; }
  .hero h1 { font-size: 26px; }
  .calc { padding: 14px; }
  .step-row,
  .step-row:nth-child(even) { grid-template-columns: 84px 1fr; }
  .step-media { width: 84px; height: 84px; }
  .step-num { font-size: 16px; top: 6px; left: 8px; }
  .review { min-width: 84vw; }
  .header-cta { display: none; } /* burger covers it */
}

/* prevent horizontal scroll without breaking sticky header */
body { overflow-x: clip; }

/* ============= Contacts block ============= */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform .2s, box-shadow .2s;
}
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.contact-icon {
  flex: 0 0 52px; width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
}
.contact-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.contact-label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-3);
  font-weight: 600;
}
.contact-value {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  word-break: break-word;
  line-height: 1.3;
}
a.contact-value:hover { color: var(--accent); }
.contact-note { margin: 4px 0 0; font-size: var(--fs-xs); color: var(--ink-3); }

/* ============= Map placeholder ============= */
.map-placeholder {
  position: relative;
  aspect-ratio: 16 / 7;
  min-height: 320px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #e8eef5;
  box-shadow: var(--shadow-md);
}
.map-grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(102, 122, 158, .12) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(102, 122, 158, .12) 1px, transparent 1px) 0 0 / 40px 40px,
    radial-gradient(circle at 30% 30%, #f1f6fb, #d8e2ee 70%);
}
.map-route {
  position: absolute;
  top: 30%; left: -8%;
  width: 120%; height: 4px;
  background: var(--accent);
  border-radius: 4px;
  transform: rotate(-6deg);
  box-shadow: 0 0 0 6px rgba(253,192,9,.18);
  opacity: .9;
}
.map-route::before,
.map-route::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  opacity: .7;
}
.map-route::before { left: 5%; top: 70px; transform: rotate(18deg); }
.map-route::after { left: 40%; top: 140px; transform: rotate(-8deg); width: 50%; }
.map-pin {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -100%);
  color: var(--accent);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.18));
  z-index: 2;
}
.map-pulse {
  position: absolute;
  left: 50%; bottom: -6px;
  transform: translateX(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(253,192,9,.45);
  animation: map-pulse 1.8s ease-out infinite;
}
@keyframes map-pulse {
  0% { transform: translateX(-50%) scale(.6); opacity: .8; }
  100% { transform: translateX(-50%) scale(2.4); opacity: 0; }
}
.map-badge {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, 24px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 2px;
  z-index: 2;
  white-space: nowrap;
}
.map-badge strong { color: var(--navy); font-size: var(--fs-md); }
.map-badge span { color: var(--ink-3); font-size: var(--fs-xs); }
.map-controls {
  position: absolute;
  right: 16px; top: 16px;
  display: flex; flex-direction: column; gap: 4px;
  background: var(--surface);
  border-radius: 10px;
  padding: 4px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.map-controls button {
  width: 32px; height: 32px;
  border: none; background: transparent;
  color: var(--ink-2); font-size: 18px; font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
}
.map-controls button:hover { background: var(--surface-2); color: var(--accent); }
.map-caption {
  position: absolute;
  left: 16px; bottom: 16px;
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 11px;
  color: var(--ink-3);
  background: rgba(255,255,255,.85);
  border-radius: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
}
@media (max-width: 600px) {
  .map-placeholder { min-height: 260px; }
  .map-badge { padding: 8px 12px; transform: translate(-50%, 18px); }
  .map-controls { right: 10px; top: 10px; }
  .map-caption { left: 10px; bottom: 10px; font-size: 10px; }
}
