/* ============================================================
   СВИКИ — Лендинг партнёрской программы для юристов.
   Стили: дизайн-система, компоненты, секции, адаптив.
   Всё через CSS-переменные в :root.
============================================================ */

:root {
  /* Базовые */
  --color-bg:            #F4F6FA;
  --color-surface:       #FFFFFF;
  --color-surface-soft:  #F8FAFF;
  --color-surface-dark:  #0B1530;

  /* Текст */
  --color-text:          #0F172A;
  --color-text-muted:    #64748B;
  --color-text-soft:     #94A3B8;
  --color-text-on-dark:  #E6ECFA;

  /* Первичный акцент */
  --color-primary:       #1E40F3;
  --color-primary-hover: #1833C7;
  --color-primary-soft:  #E0E9FF;

  /* Вторичный акцент — зелёный */
  --color-accent:        #22C55E;
  --color-accent-hover:  #16A34A;
  --color-accent-soft:   #DCFCE7;

  /* Графит */
  --color-graphite:      #1E293B;
  --color-graphite-soft: #334155;

  /* Системные */
  --color-border:        #E5E9F2;
  --color-border-soft:   #EEF1F7;
  --color-danger:        #EF4444;
  --color-warning:       #F59E0B;

  /* Радиусы */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Тени */
  --shadow-card:  0 2px 12px rgba(15, 23, 42, 0.06);
  --shadow-soft:  0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 8px 28px rgba(30, 64, 243, 0.14);
  --shadow-lg:    0 20px 60px rgba(15, 23, 42, 0.12);

  /* Типографика */
  --font-sans: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Контейнер */
  --container-max: 1200px;
  --container-narrow: 820px;
  --gutter: 24px;
}

/* ============================================================
   RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

:target, [id] { scroll-margin-top: 84px; }

/* ============================================================
   CONTAINER
============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

/* ============================================================
   COMMON
============================================================ */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
  padding: 6px 12px;
  background: var(--color-primary-soft);
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.eyebrow--on-dark {
  color: #fff;
  background: rgba(30, 64, 243, 0.28);
  box-shadow: inset 0 0 0 1px rgba(224, 233, 255, 0.18);
}

.section { padding: 96px 0; }
.section--soft { background: var(--color-surface-soft); }

.section__head {
  max-width: 820px;
  margin: 0 0 48px;
}
.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 16px;
}
.section__subtitle {
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-text-muted);
}
.section__footnote {
  margin-top: 32px;
  font-size: 14px;
  color: var(--color-text-soft);
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ============================================================
   CHECK (зелёная галочка)
============================================================ */
.check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  margin-right: 12px;
  position: relative;
}
.check::after {
  content: "";
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--color-accent-hover);
  border-bottom: 2px solid var(--color-accent-hover);
  transform: rotate(-45deg) translate(1px, -1px);
}

/* Точка «не подходит» */
.dot {
  flex-shrink: 0;
  display: inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.2);
  margin-right: 12px;
  position: relative;
}
.dot::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 2px;
  background: var(--color-text-soft);
  transform: translate(-50%, -50%);
  border-radius: 2px;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(30, 64, 243, 0.25);
}
.btn--primary:hover { background: var(--color-primary-hover); box-shadow: 0 6px 20px rgba(30, 64, 243, 0.35); }

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--ghost:hover { background: var(--color-surface); border-color: var(--color-primary); color: var(--color-primary); }

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover { background: var(--color-primary-soft); }

/* Тёмный ghost — для тёмного hero/final */
.btn--dark {
  background: transparent;
  color: #fff;
  border-color: rgba(230, 236, 250, 0.35);
}
.btn--dark:hover {
  background: rgba(230, 236, 250, 0.08);
  border-color: rgba(230, 236, 250, 0.65);
  color: #fff;
}

.btn--lg { padding: 14px 28px; font-size: 16px; }
.btn--full { width: 100%; }

/* ============================================================
   HEADER
============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border-soft);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.header--scrolled {
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.07);
  border-bottom-color: transparent;
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}
.header__logo { display: flex; align-items: center; flex-shrink: 0; }
.header__logo img { height: 34px; width: auto; display: block; border-radius: 4px; }

.header__nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 12px;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}
.header__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color .2s ease;
  white-space: nowrap;
}
.header__nav a:hover { color: var(--color-primary); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}
.header__actions .btn { padding: 9px 16px; font-size: 14px; }

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  transition: color .2s ease;
  white-space: nowrap;
}
.header__phone:hover { color: var(--color-primary); }
.header__phone svg { color: var(--color-primary); }

.header__burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.header__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--color-surface);
  padding: 24px;
  overflow-y: auto;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-menu__nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__nav a {
  padding: 14px 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border-soft);
}
.mobile-menu__actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }

/* ============================================================
   HERO (тёмный)
============================================================ */
.hero {
  position: relative;
  padding: 80px 0 96px;
  overflow: hidden;
}
.hero--dark {
  background:
    radial-gradient(1000px 600px at 85% -20%, rgba(30, 64, 243, 0.35), transparent 60%),
    linear-gradient(160deg, #0B1530 0%, #132349 60%, #0B1530 100%);
  color: var(--color-text-on-dark);
}
.hero__glow {
  position: absolute;
  top: -120px;
  right: -10%;
  width: 720px;
  height: 720px;
  background: radial-gradient(closest-side, rgba(34, 197, 94, 0.12), transparent);
  pointer-events: none;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}
.hero__content { max-width: 640px; }
.hero--dark .hero__title { color: #fff; }
.hero__title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.hero__subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}
.hero--dark .hero__subtitle { color: rgba(230, 236, 250, 0.78); }

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero__bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero__bullets li {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: var(--color-text);
}
.hero__bullets--on-dark li { color: rgba(230, 236, 250, 0.88); }

/* ============================================================
   LEAD FORM
============================================================ */
.hero__form-wrap,
.final-cta__form-wrap {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  border: 1px solid var(--color-border-soft);
  color: var(--color-text);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lead-form__header { margin-bottom: 4px; }
.lead-form__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--color-text);
}
.lead-form__subtitle {
  font-size: 14px;
  color: var(--color-text-muted);
}
.lead-form__legal {
  font-size: 12px;
  color: var(--color-text-soft);
  line-height: 1.5;
}
.lead-form__legal a { color: var(--color-primary); text-decoration: underline; }

.lead-form--compact { gap: 14px; }

/* Field */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}
.field__opt {
  font-weight: 400;
  color: var(--color-text-soft);
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field textarea,
.field select {
  width: 100%;
  padding: 13px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 64px; line-height: 1.5; }
.field input:hover,
.field textarea:hover,
.field select:hover { border-color: var(--color-text-soft); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(30,64,243,0.12);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--color-text-soft); }

/* Кастомная стрелка селекта */
.select {
  position: relative;
}
.select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px; height: 8px;
  border-right: 2px solid var(--color-text-soft);
  border-bottom: 2px solid var(--color-text-soft);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field .select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.field--error input,
.field--error textarea,
.field--error select { border-color: var(--color-danger) !important; }
.field__error {
  min-height: 0;
  font-size: 12px;
  color: var(--color-danger);
  line-height: 1.3;
}
.field__error:empty { min-height: 0; }

.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.45;
  cursor: pointer;
}
.field--check input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
}
.field--check a { color: var(--color-primary); text-decoration: underline; }

/* Сетка 2 колонки для полей формы */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Success */
.lead-success {
  text-align: center;
  padding: 32px 16px;
}
.lead-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent-hover);
  margin-bottom: 16px;
}
.lead-success h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.lead-success p { color: var(--color-text-muted); }

/* ============================================================
   GRIDS
============================================================ */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ============================================================
   TILES — блок «Для кого»
============================================================ */
.tile {
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--color-primary-soft);
}
.tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
  color: var(--color-primary);
}
.tile p { font-size: 15px; line-height: 1.5; color: var(--color-text); }

/* ============================================================
   STEPS
============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 7%;
  right: 7%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary-soft), var(--color-primary-soft));
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  background: var(--color-surface-soft);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(30,64,243,0.3);
}
.step__title { font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--color-text); }
.step__text { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; }

/* ============================================================
   CLIENTS — «Какие клиенты»
============================================================ */
.clients-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
.clients-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}
.clients-card--accent {
  background: linear-gradient(160deg, var(--color-surface) 0%, var(--color-primary-soft) 100%);
  border-color: var(--color-primary-soft);
}
.clients-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(30, 64, 243, 0.12);
  color: var(--color-primary);
  margin-bottom: 16px;
}
.clients-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
}
.clients-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.clients-card__list li {
  display: flex;
  align-items: flex-start;
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.5;
}
.clients-card__list li .check { margin-top: 1px; }
.clients-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 12px;
}
.clients-card__text:last-child { margin-bottom: 0; color: var(--color-text-muted); }

/* Callout (плашка про банкротство) */
.callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.55;
}
.callout--warning {
  background: #FFF8EB;
  border-color: #FDE6B8;
  color: var(--color-text);
}
.callout__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FEF3C7;
  color: var(--color-warning);
}

/* ============================================================
   CABINET (стек скринов)
============================================================ */
.cabinet {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.cabinet__text .section__title { font-size: 36px; margin-top: 0; }
.cabinet__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
}
.cabinet__list li {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: var(--color-text);
}

.cabinet__visual {
  position: relative;
  min-height: 420px;
}
.cabinet__glow {
  position: absolute;
  top: 5%;
  left: -5%;
  width: 70%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(30,64,243,0.20), transparent);
  pointer-events: none;
  z-index: 0;
}

.browser-frame {
  position: relative;
  z-index: 1;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}
.browser-frame__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--color-surface-soft);
  border-bottom: 1px solid var(--color-border-soft);
  position: relative;
}
.browser-frame__bar > span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d4d9e3;
}
.browser-frame__bar > span:nth-child(1) { background: #ff5f57; }
.browser-frame__bar > span:nth-child(2) { background: #febc2e; }
.browser-frame__bar > span:nth-child(3) { background: #28c840; }
.browser-frame__url {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  max-width: 72%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-frame img { width: 100%; height: auto; display: block; }

/* Стек: передний + задний */
.cabinet-stack__front {
  position: relative;
  z-index: 2;
}
.cabinet-stack__back {
  position: absolute;
  top: 18%;
  right: -6%;
  width: 78%;
  z-index: 1;
  opacity: 0.96;
  transform: rotate(2deg);
}

/* ============================================================
   AI SECTION + MOCKUP
============================================================ */
.section--ai {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(30,64,243,0.08), transparent 60%),
    var(--color-surface-soft);
  position: relative;
}

.ai-block {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: start;
}

/* Колонка A — возможности */
.ai-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.ai-feature {
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ai-feature:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary-soft);
  box-shadow: var(--shadow-card);
}
.ai-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
  color: var(--color-primary);
}
.ai-feature h3 { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--color-text); }
.ai-feature p { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; }

/* Колонка Б — мокап */
.ai-mockup {
  position: relative;
}
.ai-mockup__glow {
  position: absolute;
  inset: -20px -30px -30px -10px;
  background: radial-gradient(closest-side, rgba(30,64,243,0.22), transparent 75%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.ai-mockup__frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
}
.ai-mockup__body {
  display: grid;
  grid-template-columns: 170px 1fr;
  grid-template-rows: 1fr auto;
  min-height: 440px;
  background: var(--color-surface);
}
.ai-mockup__side {
  grid-row: 1 / 3;
  background: var(--color-surface-soft);
  border-right: 1px solid var(--color-border-soft);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ai-mockup__side-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border-soft);
}
.ai-mockup__ai-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary), #6F86FF);
  color: #fff;
}
.ai-mockup__side-title { font-size: 13px; font-weight: 700; color: var(--color-text); line-height: 1.2; }
.ai-mockup__side-sub { font-size: 11px; color: var(--color-text-muted); }
.ai-mockup__threads {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ai-mockup__threads li {
  font-size: 12px;
  color: var(--color-text-muted);
  padding: 8px 10px;
  border-radius: 8px;
  line-height: 1.3;
  cursor: default;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ai-mockup__threads li.is-active {
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-weight: 600;
}

.ai-mockup__chat {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.ai-msg {
  display: flex;
  gap: 10px;
  max-width: 90%;
}
.ai-msg--user { align-self: flex-end; }
.ai-msg--bot { align-self: flex-start; }

.ai-msg__avatar {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), #6F86FF);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

.ai-msg__bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  position: relative;
}
.ai-msg--user .ai-msg__bubble {
  background: var(--color-primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.ai-msg--bot .ai-msg__bubble {
  background: var(--color-surface-soft);
  color: var(--color-text);
  border: 1px solid var(--color-border-soft);
  border-bottom-left-radius: 4px;
}

/* Typing dots */
.ai-typing {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 4px;
  vertical-align: middle;
}
.ai-typing i {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.3;
  animation: aiTyping 1.2s infinite ease-in-out;
}
.ai-typing i:nth-child(2) { animation-delay: 0.15s; }
.ai-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes aiTyping {
  0%, 60%, 100% { opacity: 0.25; transform: translateY(0); }
  30%            { opacity: 1;    transform: translateY(-3px); }
}

/* Карточка документа */
.ai-doc-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-soft);
  max-width: 340px;
}
.ai-doc-card__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.ai-doc-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
}
.ai-doc-card__title { font-size: 13px; font-weight: 700; color: var(--color-text); }
.ai-doc-card__sub { font-size: 11px; color: var(--color-text-muted); }

.ai-chip {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-accent-hover);
  background: var(--color-accent-soft);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.ai-doc-card__preview {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.55;
  background: var(--color-surface-soft);
  padding: 10px 12px;
  border-radius: 8px;
}
.ai-doc-card__preview p { margin-bottom: 4px; }
.ai-doc-card__preview p:last-child { margin-bottom: 0; }

/* Composer (поле ввода-заглушка) */
.ai-mockup__composer {
  grid-column: 2 / 3;
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--color-border-soft);
  background: var(--color-surface);
}
.ai-mockup__composer input {
  flex-grow: 1;
  padding: 10px 12px;
  font-size: 13px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface-soft);
  color: var(--color-text);
  pointer-events: none;
}
.ai-mockup__composer .btn {
  padding: 10px 16px;
  font-size: 13px;
  pointer-events: none;
}

.ai-disclaimer {
  max-width: 820px;
  margin: 36px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  padding: 16px 22px;
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
}

/* ============================================================
   PROGRAMS / PRICING
============================================================ */
.programs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 28px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary-soft);
}

/* Featured — градиентная рамка синий → графит */
.program-card--featured {
  background: var(--color-surface);
  border: 1.5px solid transparent;
  background-image:
    linear-gradient(var(--color-surface), var(--color-surface)),
    linear-gradient(135deg, var(--color-primary) 0%, var(--color-graphite) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 10px 32px rgba(30, 64, 243, 0.2);
  transform: translateY(-6px);
}
.program-card--featured:hover { transform: translateY(-10px); }

.program-card__badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-graphite));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(30,64,243,0.35);
}

.program-card__head h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; color: var(--color-text); }
.program-card__pos { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; }

.program-card__trial {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 5px 12px;
  background: var(--color-accent-soft);
  color: var(--color-accent-hover);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.program-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--color-border);
}
.program-card__price-value {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  color: var(--color-text);
  letter-spacing: -0.02em;
}
.program-card__price-term {
  font-size: 14px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.program-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}
.program-card__features li {
  display: flex;
  align-items: flex-start;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.5;
}
.program-card__features li .check { margin-top: 1px; }
.program-card__features li strong { color: var(--color-text); font-weight: 700; }

.programs__legal {
  margin-top: 32px;
  font-size: 13px;
  color: var(--color-text-soft);
  text-align: center;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.programs__legal a { color: var(--color-primary); text-decoration: underline; }

/* ============================================================
   INCLUDES (что входит) — повторно используем похожий стиль
============================================================ */
.includes { gap: 20px; }
.include {
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-soft);
}
.include__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  margin-bottom: 4px;
}
.include h3 { font-size: 17px; font-weight: 700; color: var(--color-text); }
.include p { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; }

/* ============================================================
   POSITIONING (кому подходит / не подходит)
============================================================ */
.positioning {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.positioning__col {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-soft);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}
.positioning__col--ok {
  background: linear-gradient(160deg, var(--color-surface) 0%, var(--color-accent-soft) 170%);
}
.positioning__col--no {
  background: var(--color-surface);
}
.positioning__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.positioning__head h3 { font-size: 20px; font-weight: 700; color: var(--color-text); }
.positioning__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.positioning__icon--ok { background: var(--color-accent-soft); color: var(--color-accent-hover); }
.positioning__icon--no { background: rgba(148, 163, 184, 0.18); color: var(--color-text-soft); }

.positioning__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.positioning__list li {
  display: flex;
  align-items: flex-start;
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.5;
}
.positioning__list li .check,
.positioning__list li .dot { margin-top: 1px; }
.positioning__list--muted li { color: var(--color-text-muted); }

/* ============================================================
   FAQ
============================================================ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq__item[open] { border-color: var(--color-primary-soft); }
.faq__item summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--color-text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: transform .25s ease, background-color .2s ease;
}
.faq__item[open] summary::after {
  content: "−";
  background: var(--color-primary);
  color: #fff;
}
.faq__answer {
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* ============================================================
   FINAL CTA (тёмный)
============================================================ */
.final-cta {
  position: relative;
  padding: 96px 0;
  background:
    radial-gradient(900px 600px at 0% 0%, rgba(30,64,243,0.28), transparent 60%),
    radial-gradient(600px 400px at 100% 100%, rgba(34,197,94,0.12), transparent 70%),
    linear-gradient(160deg, #0B1530 0%, #132349 100%);
  color: var(--color-text-on-dark);
  overflow: hidden;
}
.final-cta__glow {
  position: absolute;
  bottom: -200px;
  right: -100px;
  width: 560px; height: 560px;
  background: radial-gradient(closest-side, rgba(30,64,243,0.35), transparent);
  filter: blur(40px);
  pointer-events: none;
}
.final-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.final-cta__text .section__title {
  color: #fff;
  font-size: 40px;
  margin-bottom: 18px;
}
.final-cta__text .section__subtitle { color: rgba(230,236,250,0.78); }
.final-cta__bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.final-cta__bullets li {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: rgba(230,236,250,0.9);
}

.final-cta__form-wrap { padding: 28px; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: #0A1128;
  color: #cbd5e1;
  padding: 64px 0 28px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr;
  gap: 40px;
}
.footer__logo {
  display: inline-block;
  background: #FFFFFF;
  padding: 10px 16px;
  border-radius: 14px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.footer__logo img {
  height: 36px;
  width: auto;
  display: block;
  border-radius: 4px;
}
.footer__tagline {
  font-size: 12px;
  color: #22C55E;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.footer__desc { font-size: 14px; color: #94a3b8; line-height: 1.6; }

.footer__title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer__list { display: flex; flex-direction: column; gap: 10px; }
.footer__list a {
  font-size: 14px;
  color: #94a3b8;
  transition: color .2s ease;
}
.footer__list a:hover { color: #fff; }

.footer__info {
  font-style: normal;
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.7;
}
.footer__info p { margin-bottom: 4px; }
.footer__info a { color: #cbd5e1; }
.footer__info a:hover { color: #fff; }
.footer__info strong { color: #fff; }

.footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__copy { font-size: 13px; color: #64748b; }
.footer__disclaimer {
  font-size: 12px;
  color: #64748b;
  max-width: 640px;
  line-height: 1.5;
}

/* ============================================================
   COOKIE BANNER
============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 200;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 720px;
  margin: 0 auto;
  animation: cookieSlide .35s ease-out;
}
@keyframes cookieSlide {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 20px 24px;
  align-items: center;
}
.cookie-banner__text p:first-child { margin-bottom: 4px; font-weight: 600; color: var(--color-text); }
.cookie-banner__text p { font-size: 13px; color: var(--color-text-muted); line-height: 1.5; }
.cookie-banner__text a { color: var(--color-primary); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner__actions .btn { padding: 10px 18px; font-size: 14px; }

/* ============================================================
   MODAL
============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn .2s ease;
}
@keyframes fadeIn { from {opacity:0} to {opacity:1} }
.modal__dialog {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  animation: modalSlide .25s ease-out;
}
@keyframes modalSlide {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border-soft);
  gap: 16px;
}
.modal__header h2 { font-size: 18px; font-weight: 700; line-height: 1.3; }
.modal__close {
  background: transparent;
  border: none;
  padding: 6px;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  transition: background-color .2s ease, color .2s ease;
}
.modal__close:hover { background: var(--color-surface-soft); color: var(--color-text); }

.modal__body {
  overflow-y: auto;
  padding: 24px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text);
  flex-grow: 1;
}
.modal__body h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 20px 0 10px;
  color: var(--color-text);
}
.modal__body p { margin-bottom: 10px; color: var(--color-text-muted); }
.modal__body ul { padding-left: 18px; margin-bottom: 12px; list-style: disc; }
.modal__body ul li { color: var(--color-text-muted); margin-bottom: 4px; }
.modal__body a { color: var(--color-primary); text-decoration: underline; }
.modal__body code {
  font-size: 12px;
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border-soft);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.modal__footer {
  padding: 16px 24px;
  border-top: 1px solid var(--color-border-soft);
  display: flex;
  justify-content: flex-end;
}

body.modal-open { overflow: hidden; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1200px) {
  .header__nav a { font-size: 13px; }
  .header__nav { gap: 18px; margin-left: 8px; }
  .header__actions .btn { padding: 8px 14px; font-size: 13px; }
}
@media (max-width: 1100px) {
  .header__nav { display: none; }
}

@media (max-width: 1024px) {
  .section { padding: 80px 0; }
  .section__title { font-size: 32px; }

  .hero { padding: 56px 0 80px; }
  .hero__title { font-size: 44px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__form-wrap { padding: 28px; }

  .cabinet { grid-template-columns: 1fr; gap: 40px; }
  .cabinet__visual { min-height: 0; }
  .cabinet-stack__back {
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
    margin-top: 16px;
    transform: rotate(0deg);
  }

  .ai-block { grid-template-columns: 1fr; gap: 32px; }

  .final-cta__inner { grid-template-columns: 1fr; gap: 40px; }
  .final-cta { padding: 80px 0; }
  .final-cta__text .section__title { font-size: 32px; }

  .grid--3 { grid-template-columns: repeat(2, 1fr); }

  .programs { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .program-card--featured { transform: none; }
  .program-card--featured:hover { transform: translateY(-4px); }

  .steps { grid-template-columns: repeat(5, minmax(160px, 1fr)); overflow-x: auto; padding-bottom: 8px; }

  .clients-grid { grid-template-columns: 1fr; }
  .positioning { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }
  .section { padding: 56px 0; }
  .section__title { font-size: 28px; }
  .section__subtitle { font-size: 16px; }

  :target, [id] { scroll-margin-top: 76px; }

  .header__inner { height: 56px; gap: 10px; }
  .header__logo img { height: 28px; }
  .header__phone { display: none; }
  .header__actions .btn--ghost { display: none; }
  .header__actions { gap: 8px; }
  .header__burger { display: flex; }
  .header__actions .btn { padding: 9px 14px; font-size: 13px; }
  .mobile-menu { top: 56px; }

  .hero { padding: 32px 0 56px; }
  .hero__title { font-size: 34px; }
  .hero__subtitle { font-size: 16px; margin-bottom: 24px; }
  .hero__cta { margin-bottom: 28px; }
  .hero__cta .btn { flex: 1; min-width: 0; }
  .hero__form-wrap { padding: 20px; }

  .grid--3 { grid-template-columns: 1fr; }

  .steps {
    grid-template-columns: 1fr;
    gap: 14px;
    overflow: visible;
  }
  .steps::before { display: none; }
  .step {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-soft);
  }
  .step__num { flex-shrink: 0; width: 36px; height: 36px; font-size: 14px; }
  .step > :not(.step__num) { flex-grow: 1; }

  .clients-card { padding: 24px; }
  .positioning__col { padding: 24px; }

  .cabinet__text .section__title { font-size: 28px; }

  .ai-features { grid-template-columns: 1fr; }
  .ai-mockup__body {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .ai-mockup__side {
    grid-row: auto;
    border-right: none;
    border-bottom: 1px solid var(--color-border-soft);
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 14px;
  }
  .ai-mockup__side-head { border-bottom: none; padding-bottom: 0; }
  .ai-mockup__threads { flex-direction: row; flex-wrap: wrap; gap: 4px; margin-left: auto; }
  .ai-mockup__threads li { font-size: 11px; padding: 5px 8px; }
  .ai-mockup__threads li:not(.is-active) { display: none; }
  .ai-mockup__composer { grid-column: auto; }

  .final-cta { padding: 56px 0; }
  .final-cta__text .section__title { font-size: 26px; }
  .final-cta__form-wrap { padding: 20px; }
  .lead-form--compact { gap: 12px; }
  .grid-2 { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; }

  .cookie-banner { left: 12px; right: 12px; bottom: 12px; border-radius: var(--radius-md); }
  .cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 18px;
  }
  .cookie-banner__actions { flex-direction: column-reverse; }
  .cookie-banner__actions .btn { width: 100%; }

  .modal { padding: 0; }
  .modal__dialog {
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
  }

  .program-card { padding: 28px 22px; }
  .program-card__price-value { font-size: 32px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 28px; }
  .section__title { font-size: 24px; }
  .lead-form__title { font-size: 18px; }
  .final-cta__text .section__title { font-size: 22px; }
  .container { padding: 0 16px; }
}

@media (max-width: 360px) {
  .hero__title { font-size: 24px; }
  .program-card__price-value { font-size: 28px; }
}

/* ============================================================
   A11Y & PRINT
============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
