/* ============================================
   юристы-дду.рф — премиум-стили (v3, mobile-first ready)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand */
  --brand-50:  #ECFDF5;
  --brand-100: #D1FAE5;
  --brand-200: #A7F3D0;
  --brand-300: #6EE7B7;
  --brand-400: #34D399;
  --brand-500: #10B981;
  --brand-600: #059669;
  --brand-700: #047857;
  --brand-800: #065F46;
  --brand-900: #064E3B;
  --brand-950: #022C22;

  /* Accents */
  --accent: #FBBF24;
  --accent-strong: #F59E0B;

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50:  #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;

  --success: #10B981;
  --danger: #EF4444;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow:    0 4px 14px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 24px 56px rgba(2, 44, 34, 0.18);
  --shadow-glow: 0 0 0 4px rgba(16, 185, 129, 0.16);

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-full: 9999px;

  /* Layout */
  --container: 1200px;
  --header-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--gray-200);
  height: var(--header-h);
  display: flex; align-items: center;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gray-900); min-width: 0; }
.brand__logo {
  width: 38px; height: 38px;
  background: var(--brand-700);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-100);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(6, 95, 70, 0.3);
}
.brand__logo svg { width: 20px; height: 20px; }
.brand__name { font-weight: 800; font-size: 15px; line-height: 1.1; letter-spacing: -0.01em; }
.brand__tagline { font-size: 11px; color: var(--gray-500); margin-top: 2px; font-weight: 500; line-height: 1; }

/* ============================================
   BUTTON
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--r-md);
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.1;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  min-height: 44px;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: var(--gray-900);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.32);
}
.btn--primary:hover { box-shadow: 0 10px 28px rgba(245, 158, 11, 0.42); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.24);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn--large { padding: 16px 28px; font-size: 16px; border-radius: var(--r-lg); min-height: 52px; }
.btn--block { display: flex; width: 100%; }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================
   HERO
   ============================================ */
.hero {
  background:
    radial-gradient(1200px 480px at 80% -10%, rgba(52, 211, 153, 0.20), transparent 65%),
    radial-gradient(900px 420px at -10% 110%, rgba(251, 191, 36, 0.10), transparent 60%),
    linear-gradient(180deg, var(--brand-950) 0%, #0a2419 100%);
  color: var(--white);
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 25% 30%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1px 1px at 75% 50%, rgba(255,255,255,0.18), transparent),
    radial-gradient(1px 1px at 50% 80%, rgba(255,255,255,0.25), transparent);
  background-size: 320px 320px, 220px 220px, 280px 280px;
  opacity: 0.5;
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.32);
  color: var(--brand-200);
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.hero__eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-400);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 2s ease-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.hero__title {
  font-size: clamp(28px, 5.4vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--brand-400) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subtitle {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 26px;
  max-width: 560px;
}
.hero__bullets {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}
.hero__bullets li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}
.hero__bullets li .check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.16);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--brand-300);
}
.hero__bullets li .check svg { width: 12px; height: 12px; }
.hero__cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero__cta-note { font-size: 13px; color: rgba(255, 255, 255, 0.5); }

/* Hero case card */
.case-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-2xl);
  padding: 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  position: relative;
}
.case-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(251, 191, 36, 0.18);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.case-card__amount {
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 6px;
}
.case-card__amount sub {
  font-size: 0.55em;
  vertical-align: baseline;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
  margin-left: 6px;
}
.case-card__label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 22px;
}
.case-card__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.case-card__meta-item .k {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}
.case-card__meta-item .v {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 28px 0;
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}
.stat__value {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-700);
  line-height: 1;
  margin-bottom: 6px;
}
.stat__label { color: var(--gray-600); font-size: 13px; line-height: 1.35; }

/* ============================================
   SECTION (generic)
   ============================================ */
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--gray { background: var(--gray-50); }
.section--dark {
  background: var(--brand-950);
  color: var(--white);
}
.section__head { margin-bottom: 40px; max-width: 760px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-600);
  margin-bottom: 10px;
}
.section--dark .section__eyebrow { color: var(--brand-300); }
.section__title {
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.section__subtitle {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--gray-600);
  line-height: 1.6;
  max-width: 720px;
}
.section--dark .section__subtitle { color: rgba(255, 255, 255, 0.7); }

/* ============================================
   CASE STUDY DETAIL
   ============================================ */
.case-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.case-detail__text h3 {
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 16px;
}
.case-detail__text p {
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.case-detail__text p strong { color: var(--gray-900); font-weight: 700; }
.case-detail__breakdown {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 24px 28px;
  box-shadow: var(--shadow-md);
}
.case-detail__breakdown table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.case-detail__breakdown tr td {
  padding: 12px 0;
  border-bottom: 1px dashed var(--gray-200);
  color: var(--gray-700);
}
.case-detail__breakdown tr td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--gray-900);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding-left: 12px;
}
.case-detail__breakdown tr.total td {
  border-bottom: none;
  border-top: 2px solid var(--brand-700);
  padding-top: 16px;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-800);
}
.case-detail__breakdown tr.total td:last-child {
  color: var(--brand-700);
  font-size: 20px;
}

/* ============================================
   TARIFFS
   ============================================ */
.tariffs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tariff {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.tariff:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-300);
}
.tariff--featured {
  border-color: var(--brand-500);
  box-shadow: 0 12px 36px rgba(16, 185, 129, 0.18);
  background: linear-gradient(180deg, var(--brand-50) 0%, var(--white) 28%);
}
.tariff--featured::before {
  content: "Самый популярный";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-700);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 14px;
  border-radius: var(--r-full);
  white-space: nowrap;
}
.tariff__name {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  margin-bottom: 14px;
}
.tariff--featured .tariff__name { color: var(--brand-700); }
.tariff__split {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-800);
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.tariff__split-label {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 22px;
}
.tariff__split-label strong { color: var(--gray-800); font-weight: 700; }
.tariff__prepay {
  background: var(--gray-50);
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin-bottom: 18px;
}
.tariff__prepay .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  font-weight: 700;
  margin-bottom: 4px;
}
.tariff__prepay .value {
  font-size: 17px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}
.tariff__prepay .value--free { color: var(--brand-700); }
.tariff__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  flex-grow: 1;
}
.tariff__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray-700);
}
.tariff__list li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--brand-600);
  margin-top: 1px;
}
.tariff__cta-note {
  font-size: 12px;
  color: var(--gray-500);
  text-align: center;
  line-height: 1.5;
}

/* ============================================
   CALCULATOR + FORM
   ============================================ */
.calc-shell {
  background: var(--white);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
}
.calc-shell__head {
  background: linear-gradient(135deg, var(--brand-800) 0%, var(--brand-900) 100%);
  color: var(--white);
  padding: 24px 28px;
}
.calc-shell__head h3 {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 10px;
}
.calc-shell__head h3 svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.calc-shell__head p { color: rgba(255, 255, 255, 0.72); font-size: 13px; line-height: 1.5; }
.calc-shell__body { padding: 28px; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 14px; }
.row--3 { grid-template-columns: 1.4fr 1fr 1fr; }
.row--single { grid-template-columns: 1fr; }

.field { display: flex; flex-direction: column; }
.field label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-700);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  line-height: 1.3;
}
.field label .req { color: var(--accent-strong); }
.field label .opt { color: var(--gray-400); font-weight: 600; font-size: 11px; align-self: center; }
.field input[type="text"],
.field input[type="number"],
.field input[type="email"],
.field input[type="date"],
.field input[type="tel"],
.field select,
.field textarea {
  padding: 13px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  font-size: 16px;  /* 16px чтобы iOS не зуммил */
  font-family: inherit;
  background: var(--white);
  color: var(--gray-900);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
  min-height: 46px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: var(--shadow-glow);
}
.field textarea { min-height: 88px; resize: vertical; font-family: inherit; }
.field .hint { font-size: 12px; color: var(--gray-500); margin-top: 6px; line-height: 1.4; }

.toggle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.15s, border-color 0.15s;
}
.toggle:hover { background: var(--gray-100); }
.toggle input { margin-top: 2px; cursor: pointer; accent-color: var(--brand-600); }
.toggle span { font-size: 13px; line-height: 1.5; color: var(--gray-700); }
.toggle span strong { color: var(--gray-900); }

/* Radio group для выбора тарифа */
.tariff-pick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.tariff-pick__option {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  background: var(--white);
  text-align: center;
}
.tariff-pick__option input { position: absolute; opacity: 0; pointer-events: none; }
.tariff-pick__option:hover { border-color: var(--brand-300); }
.tariff-pick__option:has(input:checked) {
  border-color: var(--brand-600);
  background: var(--brand-50);
  box-shadow: var(--shadow-glow);
}
.tariff-pick__option .t {
  font-size: 14px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}
.tariff-pick__option .s {
  font-size: 11px;
  color: var(--gray-500);
  line-height: 1.3;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0 8px;
  cursor: pointer;
}
.consent input { margin-top: 3px; accent-color: var(--brand-600); flex-shrink: 0; }
.consent span { font-size: 13px; line-height: 1.55; color: var(--gray-600); }
.consent a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 2px; }

/* Calculator result */
.calc-result {
  background: linear-gradient(135deg, var(--brand-50) 0%, var(--gray-50) 100%);
  border: 1.5px solid var(--brand-200);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  margin-top: 22px;
  display: none;
  position: relative;
  overflow: hidden;
}
.calc-result::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--brand-500) 0%, var(--accent) 100%);
}
.calc-result.active { display: block; }
.calc-result__title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-700);
  font-weight: 700;
  margin-bottom: 6px;
}
.calc-result__total {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  color: var(--brand-800);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}
.calc-result__breakdown {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 28px;
  margin-bottom: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(6, 95, 70, 0.18);
}
.calc-result__breakdown > div {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray-700);
  padding: 3px 0;
  gap: 8px;
}
.calc-result__breakdown > div span:last-child {
  font-weight: 700;
  color: var(--gray-900);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.calc-result__note {
  font-size: 11px;
  color: var(--gray-500);
  font-style: italic;
  line-height: 1.5;
}

/* Form status */
.form-divider {
  margin: 28px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
  border: none;
}
.form-section-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--gray-900);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.form-section-title svg { width: 18px; height: 18px; color: var(--brand-700); flex-shrink: 0; }
.form-status {
  padding: 12px 16px;
  border-radius: var(--r-md);
  margin-top: 16px;
  display: none;
  font-size: 13px;
  line-height: 1.5;
}
.form-status.success {
  display: block;
  background: var(--brand-50);
  color: var(--brand-800);
  border: 1px solid var(--brand-200);
}
.form-status.error {
  display: block;
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* ============================================
   FEATURES (Why us)
   ============================================ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 28px 26px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-200);
}
.feature-card__icon {
  width: 50px; height: 50px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--brand-100) 0%, var(--brand-200) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-700);
  margin-bottom: 16px;
}
.feature-card__icon svg { width: 26px; height: 26px; }
.feature-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.feature-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================
   TIMELINE (process)
   ============================================ */
.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  position: relative;
}
.timeline__step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  padding: 22px 16px;
  text-align: center;
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.timeline__step:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(52, 211, 153, 0.3);
}
.timeline__step__num {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-700) 100%);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}
.timeline__step h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--white);
  letter-spacing: -0.005em;
}
.timeline__step p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}
.timeline__caption {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.timeline__caption .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-full);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}
.timeline__caption .pill svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }

/* ============================================
   FAQ
   ============================================ */
.faq {
  max-width: 880px;
  margin: 0 auto;
}
.faq__item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  transition: border-color 0.2s ease;
  overflow: hidden;
}
.faq__item[open] { border-color: var(--brand-300); }
.faq__item summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  list-style: none;
  color: var(--gray-900);
  line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  width: 22px; height: 22px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9 L12 15 L18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.25s ease;
}
.faq__item[open] summary::after { transform: rotate(-180deg); }
.faq__item p {
  padding: 0 20px 18px;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.65;
}

/* ============================================
   CTA SECTION (final)
   ============================================ */
.cta-section {
  background:
    radial-gradient(900px 360px at 80% 0%, rgba(52, 211, 153, 0.16), transparent 60%),
    linear-gradient(180deg, var(--brand-900) 0%, var(--brand-950) 100%);
  color: var(--white);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-section .section__title { color: var(--white); }
.cta-section .section__subtitle { color: rgba(255, 255, 255, 0.74); }
.cta-section__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.cta-section__bullets { display: grid; gap: 14px; margin-top: 22px; }
.cta-section__bullets li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}
.cta-section__bullets li .ico {
  width: 34px; height: 34px;
  border-radius: var(--r-md);
  background: rgba(16, 185, 129, 0.16);
  color: var(--brand-300);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cta-section__bullets li .ico svg { width: 16px; height: 16px; }
.cta-section__bullets li b { color: var(--white); display: block; font-weight: 700; margin-bottom: 2px; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--brand-950);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 22px;
  font-size: 14px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}
.footer__col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.footer__col p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 8px;
}
.footer__col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.15s;
}
.footer__col a:hover { color: var(--brand-300); }
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--white);
}
.footer__brand .brand__logo { background: var(--brand-700); }
.footer__brand .brand__name { color: var(--white); }
.footer__brand .brand__tagline { color: rgba(255, 255, 255, 0.6); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 1.55;
}

/* ============================================
   ANIMATIONS — reveal on scroll
   ============================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__eyebrow .pulse { animation: none; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .case-detail { grid-template-columns: 1fr; gap: 28px; }
  .cta-section__inner { grid-template-columns: 1fr; gap: 32px; }
  .tariffs { gap: 14px; }
}

@media (max-width: 880px) {
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }
  .section__head { margin-bottom: 30px; }
  .hero { padding: 44px 0 56px; }
  .hero__grid { gap: 32px; }
  .hero__bullets li { font-size: 14px; }
  .hero__cta-row { width: 100%; }
  .hero__cta-row .btn { width: 100%; }
  .hero__cta-note { width: 100%; text-align: center; margin-top: 4px; }

  .features { grid-template-columns: 1fr; gap: 14px; }
  .feature-card { padding: 24px 22px; }

  .tariffs { grid-template-columns: 1fr; gap: 14px; }
  .tariff--featured { margin-top: 8px; }

  .timeline { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .timeline__step { padding: 18px 12px; }
  .timeline__step h4 { font-size: 13px; }
  .timeline__step p { font-size: 11px; }

  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .stat__label { font-size: 12px; }

  .calc-shell__body { padding: 22px; }
  .calc-shell__head { padding: 20px 22px; }
  .row { grid-template-columns: 1fr; gap: 14px; margin-bottom: 12px; }
  .row--3 { grid-template-columns: 1fr; }

  .tariff-pick { grid-template-columns: 1fr; gap: 8px; }
  .tariff-pick__option { display: flex; gap: 14px; align-items: center; text-align: left; padding: 14px 16px; }
  .tariff-pick__option .t { margin-bottom: 0; }

  .calc-result { padding: 22px 20px; }
  .calc-result__breakdown { grid-template-columns: 1fr; gap: 8px 0; }
  .calc-result__breakdown > div { padding: 6px 0; border-bottom: 1px dotted rgba(6,95,70,0.1); }
  .calc-result__breakdown > div:last-child { border-bottom: none; }

  .footer__grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }

  .case-card { padding: 22px; }
  .case-card__meta { grid-template-columns: 1fr 1fr; gap: 12px; }

  .case-detail__breakdown { padding: 20px 18px; }
  .case-detail__breakdown table { font-size: 13px; }
  .case-detail__breakdown tr td { padding: 10px 0; }

  .timeline__caption { gap: 8px; margin-top: 22px; }
  .timeline__caption .pill { font-size: 12px; padding: 8px 14px; }

  .faq__item summary { padding: 16px 18px; font-size: 14px; gap: 12px; }
  .faq__item p { padding: 0 18px 16px; font-size: 13px; }

  .cta-section { padding: 52px 0; }
  .cta-section__bullets li { font-size: 13px; }
  .cta-section__bullets li .ico { width: 30px; height: 30px; }
}

@media (max-width: 540px) {
  .container { padding: 0 14px; }
  .header { height: 56px; }
  .brand__logo { width: 34px; height: 34px; }
  .brand__name { font-size: 14px; }
  .brand__tagline { display: none; }
  .header .btn { padding: 10px 14px; font-size: 13px; min-height: 40px; }
  .header .btn svg { width: 15px; height: 15px; }

  .hero { padding: 32px 0 44px; }
  .hero__eyebrow { font-size: 11px; padding: 6px 11px; margin-bottom: 16px; }
  .hero__title { line-height: 1.1; }
  .hero__subtitle { margin-bottom: 22px; }

  .case-card { padding: 20px; }
  .case-card__meta { grid-template-columns: 1fr; gap: 12px; }
  .case-card__amount { margin-bottom: 4px; }
  .case-card__label { font-size: 12px; margin-bottom: 18px; }

  .stats-bar { padding: 22px 0; }
  .stats-bar__grid { gap: 18px 16px; }
  .stat__value { font-size: 22px; }
  .stat__label { font-size: 11px; }

  .section { padding: 44px 0; }

  .tariff { padding: 22px 20px; }
  .tariff__split { font-size: 32px; }
  .tariff__prepay { padding: 12px 14px; }

  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline__step__num { width: 30px; height: 30px; font-size: 13px; margin-bottom: 10px; }

  .calc-shell__body { padding: 20px 18px; }
  .calc-shell__head { padding: 18px 20px; }
  .field input,
  .field textarea,
  .field select { padding: 12px 13px; font-size: 16px; }
  .field label { font-size: 12px; }
  .toggle { padding: 11px 13px; }
  .toggle span { font-size: 13px; }

  .calc-result { padding: 20px 18px; }
  .calc-result__total { margin-bottom: 14px; }

  .feature-card { padding: 22px 20px; }
  .feature-card__icon { width: 44px; height: 44px; margin-bottom: 14px; }
  .feature-card__icon svg { width: 22px; height: 22px; }
  .feature-card h3 { font-size: 16px; }
  .feature-card p { font-size: 13px; }

  .cta-section { padding: 44px 0; }
  .cta-section__bullets li { font-size: 13px; gap: 12px; }

  .footer { padding: 36px 0 18px; }
  .footer__col h4 { font-size: 11px; }
  .footer__col p,
  .footer__col a { font-size: 13px; }
  .footer__bottom { font-size: 11px; }
}

@media (max-width: 380px) {
  .container { padding: 0 12px; }
  .hero__title { font-size: 24px; }
  .case-card__amount { font-size: 32px; }
  .stats-bar__grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 6px; }
}

/* ============================================
   STICKY MOBILE CTA
   ============================================ */
.sticky-cta {
  display: none;
}
@media (max-width: 880px) {
  .sticky-cta {
    display: block;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.10);
    z-index: 40;
    transform: translateY(0);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .sticky-cta--hide {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
  }
  body {
    padding-bottom: 76px;
  }
}

/* ============================================
   QUICK FORM (hero, 3 поля)
   ============================================ */
.quick-form {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-lg);
  padding: 18px;
  margin-top: 18px;
  backdrop-filter: blur(8px);
}
.quick-form__title {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.quick-form__sub {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
  line-height: 1.45;
}
.quick-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.quick-form input[type="text"],
.quick-form input[type="tel"] {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.10);
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
  border-radius: var(--r-sm);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.quick-form input::placeholder { color: rgba(255,255,255,0.5); }
.quick-form input:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.16);
}
.quick-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  line-height: 1.45;
  margin: 10px 0 12px;
  cursor: pointer;
}
.quick-form .consent input[type="checkbox"] {
  width: 16px; height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.quick-form .consent a {
  color: var(--accent);
  text-decoration: underline;
}
.quick-form__btn {
  width: 100%;
  min-height: 48px;
}
.quick-form__note {
  margin-top: 8px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
@media (max-width: 880px) {
  .quick-form__row { grid-template-columns: 1fr; }
}

/* ============================================
   HERO TRUST CHIPS
   ============================================ */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  margin-bottom: 4px;
}
.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-full);
  padding: 6px 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
}
.hero__trust-item svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
  opacity: 0.7;
}

/* ============================================
   CASE-CARD: RANGE (sub-якорь для не-seed)
   ============================================ */
.case-card__range {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.case-card__range-label {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.case-card__range-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-100);
  letter-spacing: -0.01em;
}
.case-card__range-source {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
  line-height: 1.45;
}

/* Дисклеймер на кейсе 845к */
.case-card__disclaimer {
  margin-top: 12px;
  padding: 8px 10px;
  background: rgba(0,0,0,0.18);
  border-radius: var(--r-sm);
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  line-height: 1.45;
}

/* ============================================
   QUIZ (4-шаговый)
   ============================================ */
.quiz-section {
  padding: 56px 0 80px;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}
.quiz {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.quiz__head { margin-bottom: 22px; }
.quiz__progress {
  height: 6px;
  background: var(--gray-200);
  border-radius: var(--r-full);
  overflow: hidden;
  margin-bottom: 8px;
}
.quiz__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-600), var(--brand-500));
  border-radius: var(--r-full);
  transition: width 0.35s ease;
}
.quiz__progress-label {
  font-size: 13px;
  color: var(--gray-600);
  font-weight: 600;
}

.quiz__step { display: none; }
.quiz__step--active { display: block; animation: quizFadeIn 0.3s ease; }
@keyframes quizFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz__step-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
  line-height: 1.25;
}
.quiz__step-hint {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 18px;
  line-height: 1.5;
}

.quiz-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.quiz-card {
  position: relative;
  border: 2px solid var(--gray-200);
  background: var(--white);
  border-radius: var(--r-md);
  padding: 18px 16px;
  cursor: pointer;
  min-height: 90px;
  transition: border-color 0.15s, background 0.15s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.quiz-card:hover { border-color: var(--brand-300); }
.quiz-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.quiz-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
}
.quiz-card__sub {
  font-size: 12px;
  color: var(--gray-600);
  line-height: 1.4;
}
.quiz-card input[type="radio"]:checked + .quiz-card__title,
.quiz-card:has(input[type="radio"]:checked) {
  border-color: var(--brand-600);
  background: var(--brand-50);
}

.quiz-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.quiz-chip {
  padding: 10px 14px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.15s;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.quiz-chip:hover { background: var(--brand-50); border-color: var(--brand-300); }
.quiz-chip--active {
  background: var(--brand-600);
  color: var(--white);
  border-color: var(--brand-600);
}

.quiz__field {
  margin-top: 14px;
}
.quiz__field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.quiz__field input[type="text"],
.quiz__field input[type="tel"],
.quiz__field input[type="number"] {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--r-sm);
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
  color: var(--gray-900);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.quiz__field input:focus {
  border-color: var(--brand-600);
  box-shadow: var(--shadow-glow);
}
.quiz__field .hint {
  display: block;
  font-size: 12px;
  color: var(--gray-600);
  margin-top: 4px;
  line-height: 1.4;
}

.quiz__feedback {
  margin-top: 20px;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
  border: 1px solid var(--brand-300);
  border-radius: var(--r-md);
  color: var(--gray-900);
}
.quiz__feedback-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-700);
  margin-bottom: 4px;
}
.quiz__feedback-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-900);
  margin-bottom: 4px;
}
.quiz__feedback-note {
  font-size: 12px;
  color: var(--gray-700);
  line-height: 1.5;
}

.quiz__nav {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  align-items: stretch;
}
.quiz__nav .btn { flex: 1; }
.quiz__nav .btn--ghost {
  background: transparent;
  border: 1px solid var(--gray-300);
  color: var(--gray-700);
  flex: 0 0 auto;
  min-width: 88px;
}
.quiz__nav .btn--ghost:hover { background: var(--gray-100); }

.quiz-summary {
  margin-bottom: 22px;
  padding: 22px;
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
  border: 2px solid var(--brand-300);
  border-radius: var(--r-lg);
}
.quiz-summary__eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-700);
  margin-bottom: 14px;
}
.quiz-summary__main {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}
.quiz-summary__total {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--brand-200);
}
.quiz-summary__total-label {
  font-size: 12px;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}
.quiz-summary__total-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-900);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.quiz-summary__total-sub {
  font-size: 12px;
  color: var(--gray-600);
  margin-top: 2px;
}
.quiz-summary__real {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.quiz-summary__real-label {
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.45;
}
.quiz-summary__real-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-900);
  letter-spacing: -0.01em;
}
.quiz-summary__list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quiz-summary__list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-800);
  line-height: 1.5;
}
.quiz-summary__check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--brand-600);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 1px;
}
.quiz-summary__foot {
  padding: 12px 14px;
  background: rgba(255,255,255,0.6);
  border-radius: var(--r-sm);
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.5;
}

.quiz-summary__breakdown {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--brand-200);
}
.quiz-summary__breakdown-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.quiz-summary__breakdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.quiz-summary__breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--gray-200);
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.45;
}
.quiz-summary__breakdown li:last-child { border-bottom: none; }
.quiz-summary__breakdown li b {
  color: var(--gray-900);
  font-weight: 700;
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}

.quiz-summary__after {
  margin-top: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.6);
  border-radius: var(--r-md);
}
.quiz-summary__after-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-800);
  margin-bottom: 8px;
}
.quiz-summary__after ol {
  padding-left: 20px;
  margin: 0;
  color: var(--gray-800);
  font-size: 13px;
  line-height: 1.65;
}
.quiz-summary__after ol li { padding: 2px 0; }

.quiz__opt {
  color: var(--gray-500);
  font-weight: 500;
  font-size: 12px;
  margin-left: 4px;
}

.quiz__trust {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--brand-50);
  border-left: 3px solid var(--brand-600);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 12px;
  color: var(--gray-700);
  line-height: 1.55;
}

.quiz__consent {
  margin: 16px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.5;
  cursor: pointer;
}
.quiz__consent input { margin-top: 3px; flex-shrink: 0; accent-color: var(--brand-600); }
.quiz__consent a { color: var(--brand-700); text-decoration: underline; }
.quiz__microcopy {
  font-size: 12px;
  color: var(--gray-600);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .quiz { padding: 20px 16px; }
  .quiz__step-title { font-size: 19px; }
  .quiz-cards { grid-template-columns: 1fr; }
  .quiz__nav { flex-direction: column-reverse; }
  .quiz__nav .btn--ghost { width: 100%; }
}

/* ============================================
   CALLBACK FAB (desktop only)
   ============================================ */
.callback-fab {
  display: none;
}
@media (min-width: 881px) and (hover: hover) and (pointer: fine) {
  .callback-fab {
    display: flex;
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 35;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: var(--brand-700);
    color: var(--white);
    border-radius: var(--r-full);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.25s, transform 0.25s, background 0.15s;
    border: none;
    font-family: inherit;
    max-width: 280px;
  }
  .callback-fab--visible {
    opacity: 1;
    transform: translateY(0);
  }
  .callback-fab:hover { background: var(--brand-800); }
  .callback-fab--hide { opacity: 0; transform: translateY(20px); pointer-events: none; }
  .callback-fab__icon {
    width: 22px; height: 22px;
    background: var(--accent);
    color: var(--gray-900);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .callback-fab__icon svg { width: 14px; height: 14px; }
  .callback-fab__text { white-space: nowrap; }
}

/* CALLBACK SHEET — адаптивный (десктоп: правый нижний угол, мобильный: full-width bottom sheet) */
.callback-sheet {
  position: fixed;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
@media (min-width: 881px) {
  .callback-sheet {
    right: 24px;
    bottom: 24px;
    width: 340px;
    border-radius: var(--r-xl);
    padding: 22px;
    transform: translateY(20px);
  }
}
@media (max-width: 880px) {
  .callback-sheet {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    padding: 22px 18px calc(22px + env(safe-area-inset-bottom));
    transform: translateY(100%);
    border-left: none;
    border-right: none;
    border-bottom: none;
  }
}
.callback-sheet--open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.callback-sheet__title {
  font-size: 17px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 4px;
  padding-right: 32px;
}
.callback-sheet__sub {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 14px;
  line-height: 1.5;
}
.callback-sheet input[type="text"],
.callback-sheet input[type="tel"] {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--r-sm);
  font-size: 16px;
  font-family: inherit;
  margin-bottom: 10px;
  outline: none;
}
.callback-sheet input:focus { border-color: var(--brand-600); box-shadow: var(--shadow-glow); }
.callback-sheet__close {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--gray-500);
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}
.callback-sheet__close:hover { color: var(--gray-900); }
.callback-sheet .consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--gray-700);
  line-height: 1.45;
  margin: 6px 0 12px;
  cursor: pointer;
}
.callback-sheet .consent input { margin-top: 3px; accent-color: var(--brand-600); }
.callback-sheet .consent a { color: var(--brand-700); text-decoration: underline; }

/* ============================================
   EXIT POPUP (desktop only)
   ============================================ */
.exit-popup-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 65;
  backdrop-filter: blur(4px);
  animation: exitFadeIn 0.2s ease;
}
.exit-popup-backdrop--open { display: flex; align-items: center; justify-content: center; padding: 20px; }
@keyframes exitFadeIn { from { opacity: 0; } to { opacity: 1; } }

.exit-popup {
  max-width: 440px;
  width: 100%;
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: exitPopupIn 0.25s ease;
}
@keyframes exitPopupIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.exit-popup__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
  line-height: 1.25;
}
.exit-popup__sub {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 18px;
  line-height: 1.5;
}
.exit-popup input[type="text"],
.exit-popup input[type="tel"] {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--r-sm);
  font-size: 15px;
  font-family: inherit;
  margin-bottom: 10px;
  outline: none;
}
.exit-popup input:focus { border-color: var(--brand-600); box-shadow: var(--shadow-glow); }
.exit-popup .consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--gray-700);
  line-height: 1.45;
  margin: 10px 0 16px;
  cursor: pointer;
}
.exit-popup .consent input { margin-top: 3px; accent-color: var(--brand-600); }
.exit-popup .consent a { color: var(--brand-700); text-decoration: underline; }
.exit-popup__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  border: none;
  font-size: 20px;
  color: var(--gray-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.exit-popup__close:hover { background: var(--gray-200); color: var(--gray-900); }
.exit-popup__skip {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  background: none;
  border: none;
  color: var(--gray-600);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
}
.exit-popup__skip:hover { color: var(--gray-900); }

/* На мобиле exit-popup адаптируется: меньше padding, чтобы поля контакта влезали комфортно */
@media (max-width: 600px) {
  .exit-popup { padding: 24px 20px; }
  .exit-popup__title { font-size: 19px; }
  .exit-popup__sub { font-size: 13px; }
}

/* ============================================
   COOKIE BANNER (152-ФЗ)
   ============================================ */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 70;
  background: var(--gray-900);
  color: var(--white);
  padding: 18px 20px calc(18px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
  animation: cookieSlide 0.3s ease;
}
.cookie-banner--visible { display: block; }
@keyframes cookieSlide {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}
.cookie-banner__text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
}
.cookie-banner__text a {
  color: var(--accent);
  text-decoration: underline;
}
.cookie-banner__btns {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-banner__btn {
  padding: 10px 16px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background 0.15s;
  white-space: nowrap;
}
.cookie-banner__btn--primary {
  background: var(--accent);
  color: var(--gray-900);
}
.cookie-banner__btn--primary:hover { background: var(--accent-strong); }
.cookie-banner__btn--ghost {
  background: rgba(255,255,255,0.10);
  color: var(--white);
}
.cookie-banner__btn--ghost:hover { background: rgba(255,255,255,0.16); }

@media (max-width: 720px) {
  .cookie-banner__inner {
    grid-template-columns: 1fr;
  }
  .cookie-banner__btns { width: 100%; }
  .cookie-banner__btn { flex: 1; }
}

/* ============================================
   form-status (compact для попапов)
   ============================================ */
.form-status--compact { font-size: 13px; padding: 10px; }

/* ============================================
   LEAD FORM (секционные простые формы)
   ============================================ */
.section--lead { background: var(--gray-50); }
.lead-form {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}
.lead-form--card {
  margin-top: 32px;
  box-shadow: 0 8px 28px rgba(15,23,42,0.08);
}
.lead-form__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
  line-height: 1.25;
}
.lead-form__sub {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.5;
}
.lead-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.lead-form input[type="text"],
.lead-form input[type="tel"] {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-900);
  font-size: 16px;
  font-family: inherit;
  border-radius: var(--r-sm);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.lead-form input::placeholder { color: var(--gray-400); }
.lead-form input:focus {
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px rgba(4,120,87,0.12);
}
.lead-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 10px 0 14px;
  cursor: pointer;
}
.lead-form .consent input[type="checkbox"] {
  width: 16px; height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--brand-600);
}
.lead-form .consent a { color: var(--brand-700); text-decoration: underline; }
.lead-form__note {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.5;
}
@media (max-width: 880px) {
  .lead-form__row { grid-template-columns: 1fr; }
  .lead-form { padding: 18px; max-width: 100%; }
}

/* В cta-section (финальный блок) — форма на тёмном фоне */
.cta-section .lead-form,
.lead-form--final {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.16);
  box-shadow: none;
  max-width: 100%;
}
.cta-section .lead-form__title { color: var(--white); }
.cta-section .lead-form__sub { color: rgba(255,255,255,0.75); }
.cta-section .lead-form input[type="text"],
.cta-section .lead-form input[type="tel"] {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
  color: var(--white);
}
.cta-section .lead-form input::placeholder { color: rgba(255,255,255,0.55); }
.cta-section .lead-form input:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.16);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.18);
}
.cta-section .lead-form .consent { color: rgba(255,255,255,0.75); }
.cta-section .lead-form .consent a { color: var(--accent); }
.cta-section .lead-form__note { color: rgba(255,255,255,0.6); }
