/* ===== АвтоПорт — site5 ===== */
:root {
  --bg: #F4F7FB;
  --bg-muted: #E8EEF6;
  --surface: #FFFFFF;
  --ink: #0B1220;
  --ink-soft: #475569;
  --ink-muted: #94A3B8;
  --dark: #0F172A;
  --dark-soft: #1E293B;
  --accent: #0D9488;
  --accent-hover: #0F766E;
  --accent-soft: rgba(13, 148, 136, 0.12);
  --accent-glow: rgba(13, 148, 136, 0.35);
  --violet: #6366F1;
  --violet-soft: rgba(99, 102, 241, 0.12);
  --border: rgba(15, 23, 42, 0.08);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 32px 64px rgba(15, 23, 42, 0.12);
  --container: 1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

[id] { scroll-margin-top: 88px; }

/* Background blobs */
.bg-blobs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.blob--1 {
  width: 480px; height: 480px;
  background: var(--accent-soft);
  top: -120px; right: -80px;
}

.blob--2 {
  width: 360px; height: 360px;
  background: var(--violet-soft);
  bottom: 20%; left: -100px;
}

.blob--3 {
  width: 280px; height: 280px;
  background: rgba(13, 148, 136, 0.08);
  top: 45%; right: 10%;
}

/* Header */
.header {
  position: sticky;
  top: 16px;
  z-index: 100;
  margin: 0 clamp(12px, 3vw, 24px);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px clamp(16px, 3vw, 24px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent), var(--violet));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand__icon--sm { width: 36px; height: 36px; font-size: 10px; }

.brand__text {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 8px;
}

.nav a {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.25s, color 0.25s;
}

.nav a:hover {
  background: var(--bg-muted);
  color: var(--ink);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 0 20px 16px;
}

.mobile-nav a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.mobile-nav.is-open { display: flex; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: transform 0.3s var(--ease), background 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.btn--sm { padding: 10px 20px; font-size: 13px; }
.btn--lg { padding: 16px 32px; font-size: 15px; }
.btn--wide { width: 100%; }

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #0891B2);
  color: #fff;
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--accent-glow);
}

.btn--ghost {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
}

.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn--outline:hover {
  background: var(--accent);
  color: #fff;
}

/* Chips */
.chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.chip--soft { background: var(--accent-soft); color: var(--accent-hover); }
.chip--accent { background: var(--accent); color: #fff; }
.chip--outline { background: var(--surface); border: 1px solid var(--border); color: var(--ink-soft); }
.chip--light { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.15); }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--delay, 0) * 0.12s);
}

.reveal.is-in { opacity: 1; transform: none; }

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: clamp(48px, 8vh, 80px) 0 clamp(32px, 5vh, 48px);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero__title em {
  font-style: italic;
  color: var(--accent);
}

.hero__text {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.hero-card__badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--violet-soft);
  color: var(--violet);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-card__big {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.hero-card__big span {
  font-size: 0.45em;
  font-family: var(--font);
  font-weight: 600;
  color: var(--ink-muted);
}

.hero-card__note {
  margin: 12px 0 24px;
  color: var(--ink-soft);
  font-size: 14px;
}

.hero-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px dashed var(--border);
}

.hero-card__list li {
  font-size: 14px;
  color: var(--ink-soft);
}

.hero-card__list strong {
  color: var(--accent);
  font-weight: 700;
}

/* Lead sections */
.lead-section {
  position: relative;
  z-index: 1;
  padding: clamp(40px, 6vh, 64px) 0;
}

.lead-section--bottom {
  padding-bottom: clamp(64px, 10vh, 100px);
}

.lead-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 48px);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.lead-box__info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 12px;
}

.lead-box__info > p {
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: var(--ink-soft);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px; height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.lead-form {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}

.field { margin-bottom: 16px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.field input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 15px;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.field input.error { border-color: #DC2626; }

.form-msg {
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
  min-height: 18px;
}

.form-msg--ok { color: var(--accent); }
.form-msg--err { color: #DC2626; }

.form-legal {
  margin-top: 12px;
  font-size: 11px;
  color: var(--ink-muted);
  text-align: center;
  line-height: 1.5;
}

.form-legal a { color: var(--accent); text-decoration: underline; }

.lead-compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--dark), var(--dark-soft));
  color: #fff;
}

.lead-compact__text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin-bottom: 8px;
}

.lead-compact__text p { color: rgba(255,255,255,0.65); font-size: 14px; }

.lead-form--inline {
  flex: 1;
  min-width: min(100%, 640px);
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 10px;
  align-items: start;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  padding: 20px;
}

.lead-form--inline .field { margin: 0; }

.lead-form--inline .field input {
  background: rgba(255,255,255,0.95);
  border: none;
}

.lead-form--inline .form-msg {
  grid-column: 1 / -1;
  color: rgba(255,255,255,0.8);
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(64px, 10vh, 96px) 0;
}

.section--muted { background: var(--bg-muted); }
.section--dark { background: var(--dark); color: #fff; }

.section-head { margin-bottom: 40px; max-width: 560px; }

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-head__sub {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 15px;
}

.section-head__sub a { color: var(--accent); }

.section-head--light .section-head__sub { color: rgba(255,255,255,0.55); }
.section-head--light h2 { color: #fff; }

/* Directions */
.dir-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.dir-card {
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.dir-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.dir-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.dir-card__top img {
  border-radius: 6px;
  border: 1px solid var(--border);
}

.dir-card__pill {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
}

.dir-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.dir-card p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.benefit {
  padding: 28px 24px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent-soft), var(--violet-soft));
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.benefit h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Metrics */
.metrics {
  position: relative;
  z-index: 1;
  padding: 48px 0;
  background: linear-gradient(90deg, var(--accent), #0891B2);
}

.metrics__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  color: #fff;
}

.metric__val {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
}

.metric__lbl {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  opacity: 0.85;
}

/* Models */
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.model-card {
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.3s;
}

.model-card:hover { box-shadow: var(--shadow); }

.model-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.model-card__head h3 { font-size: 1.05rem; font-weight: 700; }

.model-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--ink-muted);
  white-space: nowrap;
}

.model-card__tag img { border-radius: 3px; }

.model-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.model-card__specs li {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-muted);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
}

.model-card__price {
  margin-top: auto;
  font-size: 14px;
  color: var(--ink-soft);
}

.model-card__price strong {
  font-size: 1.2rem;
  color: var(--ink);
}

.model-card--cta {
  background: linear-gradient(145deg, var(--violet-soft), var(--accent-soft));
  border-style: dashed;
  justify-content: center;
  text-align: center;
}

.model-card--cta h3 { font-family: var(--font-display); }

.model-card--cta p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* Steps */
.steps-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.step-card {
  padding: 24px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  text-align: center;
}

.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.faq-item {
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 400;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item p {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* Reviews */
.reviews-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.review-card {
  padding: 28px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.review-card__stars {
  color: #F59E0B;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 16px;
}

.review-card footer {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  background: var(--ink);
  color: rgba(255,255,255,0.55);
  padding: 40px 0 32px;
}

.footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__name {
  font-weight: 600;
  color: #fff;
  font-size: 14px;
}

.footer p { font-size: 12px; margin-top: 4px; }

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 13px;
  transition: color 0.25s;
}

.footer__links a:hover { color: var(--accent); }

.footer__copy {
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  text-align: center;
}

/* FAB */
.fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--violet), var(--accent));
  color: #fff;
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.fab:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 48px rgba(99, 102, 241, 0.5);
}

.fab__label {
  font-size: 14px;
  font-weight: 600;
}

.fab-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}

.fab-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.fab-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.55);
  backdrop-filter: blur(6px);
}

.fab-modal__panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.35s var(--ease);
}

.fab-modal.is-open .fab-modal__panel {
  transform: none;
}

.fab-modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-muted);
  color: var(--ink-soft);
}

.fab-modal__panel h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 8px;
  padding-right: 32px;
}

.fab-modal__sub {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.fab-modal .lead-form {
  padding: 0;
  background: none;
  border: none;
}

body.modal-open { overflow: hidden; }

/* Legal / Thank (subpages) */
.page-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  margin: 0 clamp(12px, 3vw, 24px);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  padding: 12px clamp(16px, 3vw, 24px);
}

.page-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

.legal-page, .thank-page {
  position: relative;
  z-index: 1;
  padding: 32px 0 80px;
  min-height: 60vh;
}

.legal-page .container, .thank-page .container {
  max-width: 780px;
}

/* Back link instead of breadcrumbs */
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 14px;
  margin-bottom: 28px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.legal-back:hover {
  color: var(--accent);
  border-color: rgba(13, 148, 136, 0.35);
  transform: translateX(-3px);
}

.legal-back svg { flex-shrink: 0; }

/* Hero banner */
.legal-hero {
  padding: clamp(32px, 5vw, 48px);
  margin-bottom: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--dark) 0%, var(--dark-soft) 55%, #134E4A 100%);
  color: #fff;
  text-align: center;
}

.legal-hero .chip {
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 12px;
}

.legal-hero__sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.62);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Requisites — soft tiles, no side stripe */
.legal-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}

.legal-info-tile {
  padding: 22px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.legal-info-tile__label {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-info-tile p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.legal-info-tile p + p { margin-top: 6px; }

.legal-info-tile a { color: var(--accent); font-weight: 600; }

/* Article body */
.legal-body h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 40px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}

.legal-body h2:first-child { margin-top: 0; }

.legal-body p, .legal-body li {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 10px;
}

.legal-body ul {
  padding-left: 20px;
  list-style: disc;
  margin-bottom: 12px;
}

.legal-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Data cards grid — no bordered table */
.legal-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0 28px;
}

.legal-card {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--bg-muted);
}

.legal-card__tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet);
}

.legal-card p,
.legal-card ul {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
}

.legal-card ul {
  padding-left: 16px;
  list-style: disc;
}

.legal-card li + li { margin-top: 4px; }

.legal-footnote {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--ink-muted);
  text-align: center;
}

.thank-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 12px;
}

.thank-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 120px);
  text-align: center;
}

.thank-mark {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 2rem;
}

.thank-page p {
  color: var(--ink-soft);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid,
  .lead-box,
  .faq-layout { grid-template-columns: 1fr; }
  .dir-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .steps-row { grid-template-columns: repeat(3, 1fr); }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .lead-form--inline {
    grid-template-columns: 1fr 1fr;
  }
  .lead-form--inline .btn { grid-column: 1 / -1; }
  .legal-info-grid { grid-template-columns: 1fr; }
  .legal-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav, .header__row > .btn--primary { display: none; }
  .burger { display: flex; }
  .dir-grid,
  .benefits,
  .metrics__row,
  .reviews-slider,
  .steps-row { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: 1fr; }
  .lead-form--inline { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .fab__label { display: none; }
  .fab { padding: 16px; border-radius: 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
