/* ===== Базовые переменные и сброс ===== */
:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #475569;
  --text-faint: #94a3b8;

  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --accent: #2563eb;

  --navy: #0b1930;
  --navy-light: #142642;
  --navy-border: #24304a;
  --navy-text-muted: #94a3b8;

  --success: #16a34a;
  --success-bg: #f0fdf4;
  --success-border: #bbf7d0;
  --warning: #d97706;
  --warning-bg: #fffbeb;
  --warning-border: #fde68a;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;

  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-btn: 10px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow-md: 0 14px 32px -12px rgba(15, 23, 42, .18);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, .25);
  --shadow-glow: 0 20px 45px -15px rgba(37, 99, 235, .5);

  --glass-bg: linear-gradient(165deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .48));
  --glass-border: rgba(255, 255, 255, .65);
  --glass-shadow: 0 10px 30px -10px rgba(15, 23, 42, .18), inset 0 1px 0 rgba(255, 255, 255, .55);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Хедер: плавающая «жидкостекольная» капсула ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px 20px;
  background: transparent;
  pointer-events: none;
}

.site-header__inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  border-radius: 999px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: box-shadow .25s ease, transform .25s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.01em;
}

.brand__mark {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(37, 99, 235, .55);
  animation: radar-ping 2.6s cubic-bezier(0, 0, .3, 1) infinite;
}

@keyframes radar-ping {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.7); opacity: 0; }
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.header-nav a:hover { color: var(--text); }

/* ===== Мобильное меню (гамбургер) ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin: -10px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle__bar {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.nav-open { overflow: hidden; }

@media (max-width: 720px) {
  .site-header { padding: 10px 14px; }
  .site-header__inner { height: 56px; }
  .brand { font-size: 17.5px; }
  .brand__mark { width: 32px; height: 32px; }

  .nav-toggle { display: flex; }

  .header-nav {
    position: fixed;
    top: 84px;
    left: 14px;
    right: 14px;
    z-index: 39;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-radius: 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height .3s ease, opacity .2s ease, visibility 0s linear .3s;
  }
  .header-nav.is-open {
    max-height: min(400px, calc(100vh - 100px));
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
    transition: max-height .3s ease, opacity .2s ease, visibility 0s;
  }
  .header-nav a {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    font-size: 15.5px;
    color: var(--text);
  }
  .header-nav a:last-child { border-bottom: none; }
}

@media (prefers-reduced-motion: reduce) {
  .header-nav, .nav-toggle__bar { transition: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 76px 0;
  background:
    radial-gradient(900px 500px at 100% -10%, rgba(37, 99, 235, .35), transparent 60%),
    radial-gradient(700px 420px at -10% 100%, rgba(37, 99, 235, .18), transparent 60%),
    var(--navy);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 900px 500px at 70% 0%, #000 40%, transparent 80%);
  mask-image: radial-gradient(ellipse 900px 500px at 70% 0%, #000 40%, transparent 80%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 460px;
  height: 460px;
  right: -140px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, .35), transparent 70%);
  filter: blur(10px);
  animation: drift 14s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-30px, 30px) scale(1.08); }
}

/* ===== Радар-пульсация в hero — расходящиеся кольца ===== */
.hero__radar {
  position: absolute;
  z-index: 0;
  width: 420px;
  height: 420px;
  right: -110px;
  top: -130px;
  pointer-events: none;
}
.hero__radar span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(147, 197, 253, .4);
  transform: scale(.15);
  opacity: 0;
  animation: radar-ping-lg 4.2s cubic-bezier(0, 0, .3, 1) infinite;
}
.hero__radar span:nth-child(2) { animation-delay: 1.4s; }
.hero__radar span:nth-child(3) { animation-delay: 2.8s; }

@keyframes radar-ping-lg {
  0% { transform: scale(.15); opacity: .85; }
  100% { transform: scale(1); opacity: 0; }
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.hero__copy { max-width: 560px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 16px;
  font-weight: 800;
  color: #fff;
}

.hero h1 span {
  background: linear-gradient(100deg, #60a5fa, #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 17px;
  color: #cbd5e1;
  margin: 0 0 32px;
  max-width: 480px;
}

/* ===== Форма поиска ===== */
.search-card {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 10px;
  max-width: 560px;
}

.search-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.search-form input[type="text"] {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 17px;
  padding: 16px 18px;
  color: var(--text);
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: .02em;
}

.search-form input[type="text"]::placeholder {
  text-transform: none;
  color: var(--text-faint);
  letter-spacing: normal;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-btn);
  padding: 15px 26px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, opacity .15s ease;
  white-space: nowrap;
}

.btn:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(37, 99, 235, .5);
}
.btn-primary:hover { box-shadow: 0 14px 30px -8px rgba(37, 99, 235, .6); }

.btn-secondary {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.btn-secondary:hover { background: #dbeafe; }

.btn-dark {
  background: var(--navy);
  color: #fff;
}
.btn-dark:hover { background: var(--navy-light); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--text-faint); color: var(--text); }

.btn:disabled { opacity: .6; cursor: progress; }
.btn-block { width: 100%; }

.hero-hints {
  margin-top: 16px;
  font-size: 13px;
  color: #94a3b8;
}
.hero-hints code {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #dbeafe;
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 12.5px;
}

/* ===== Превью-карточка в hero (пример отчёта) ===== */
.hero__preview { position: relative; z-index: 1; }
.preview-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 24px;
  color: var(--text);
  max-width: 400px;
  margin: 0 auto;
}
.preview-card__label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.preview-row:last-child { border-bottom: none; }
.preview-row .value { font-weight: 700; font-size: 13px; }
.preview-row {
  opacity: 0;
  transform: translateX(8px);
  animation: preview-in .5s ease forwards;
  animation-delay: calc(.55s + var(--i, 0) * .08s);
}
@keyframes preview-in {
  to { opacity: 1; transform: none; }
}

/* ===== Секции лендинга ===== */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}
.section-head h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  letter-spacing: -.01em;
  margin: 0 0 12px;
}
.section-head p { color: var(--text-muted); margin: 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-num {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; margin-bottom: 18px;
  box-shadow: 0 8px 18px -6px rgba(37, 99, 235, .5);
}
.step h3 { font-size: 16.5px; margin: 0 0 6px; }
.step p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ===== Нумерованные ценностные пункты (01–04) ===== */
.value-props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 4px 40px;
}
.value-prop {
  display: flex;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.value-prop__icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: var(--primary-light);
  color: var(--primary-dark);
}
.value-prop__icon--danger { background: var(--danger-bg); color: var(--danger); }
.value-prop__icon--warning { background: var(--warning-bg); color: var(--warning); }
.value-prop__icon--success { background: var(--success-bg); color: var(--success); }
.value-prop__icon--info { background: var(--primary-light); color: var(--primary-dark); }
.value-prop h3 { font-size: 17px; margin: 0 0 6px; letter-spacing: -.01em; }
.value-prop p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.6; }
.value-prop { transition: transform .2s ease; }
.value-prop:hover { transform: translateX(4px); }
.value-prop:hover .value-prop__icon { transform: scale(1.08); }
.value-prop__icon { transition: transform .2s ease; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.feature-pill {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 15px 17px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.feature-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.feature-pill__icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: var(--success-bg);
  color: var(--success);
}

/* ===== Флеши ===== */
.flash-wrap { max-width: 620px; margin: 0 auto 20px; position: relative; z-index: 2; }
.flash {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 10px;
  border: 1px solid;
}
.flash-error { background: var(--danger-bg); color: var(--danger); border-color: var(--danger-border); }
.flash-success { background: var(--success-bg); color: var(--success); border-color: var(--success-border); }

/* ===== Отчёт ===== */
.report-header {
  display: flex;
  gap: 24px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.report-header__photo {
  width: 96px; height: 96px;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.report-header__photo-placeholder {
  width: 96px; height: 96px;
  border-radius: var(--radius);
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.report-header__title { font-size: 22px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 6px; text-transform: capitalize; }
.report-header__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--text-muted); }
.report-header__meta b { color: var(--text); font-weight: 600; }

.vin-chip {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 10px;
  letter-spacing: .04em;
  font-size: 13px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, .18);
}

@media (min-width: 760px) {
  .card--wide { grid-column: span 2; }
}

/* ===== Компактная таблица данных (внутри карточек с длинными списками) ===== */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -2px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.data-table th {
  text-align: left; font-weight: 600; color: var(--text-muted);
  padding: 6px 10px 8px 0; border-bottom: 1px solid var(--border);
}
.data-table td { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table td:last-child, .data-table th:last-child { padding-right: 0; }

.mileage-cell { display: flex; flex-direction: column; gap: 5px; min-width: 140px; }
.mileage-bar { position: relative; height: 6px; background: var(--surface-alt); border-radius: 999px; overflow: hidden; }
.mileage-bar__fill {
  position: absolute; inset: 0 auto 0 0; height: 100%;
  background: linear-gradient(90deg, var(--primary), #60a5fa);
  border-radius: 999px;
  transition: width .6s ease;
}

.card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.card__icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: var(--primary-light);
  color: var(--primary-dark);
}
.card__icon--danger { background: var(--danger-bg); color: var(--danger); }
.card__icon--warning { background: var(--warning-bg); color: var(--warning); }
.card__icon--success { background: var(--success-bg); color: var(--success); }

.card__title { font-weight: 700; font-size: 15px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-left: auto;
}
.badge-ok { background: var(--success-bg); color: var(--success); box-shadow: inset 0 0 0 1px var(--success-border); }
.badge-warn { background: var(--warning-bg); color: var(--warning); box-shadow: inset 0 0 0 1px var(--warning-border); }
.badge-bad { background: var(--danger-bg); color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger-border); }
.badge-muted { background: var(--surface-alt); color: var(--text-faint); border: 1px solid var(--border); }

.stat-big {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.stat-sub { color: var(--text-muted); font-size: 13.5px; margin-top: 2px; }

.kv-block { display: flex; flex-direction: column; gap: 8px; }
.kv-block--divided { padding-top: 14px; margin-top: 14px; border-top: 1px dashed var(--border); }
.kv-row { display: flex; justify-content: space-between; gap: 14px; font-size: 13.5px; }
.kv-label { color: var(--text-muted); flex-shrink: 0; }
.kv-value { text-align: right; font-weight: 600; word-break: break-word; }

.muted { color: var(--text-faint); font-size: 13.5px; }

.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  position: relative;
  padding: 0 0 18px 22px;
  border-left: 2px solid var(--border);
}
.timeline-item:last-child { border-color: transparent; padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute; left: -6px; top: 2px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--primary);
}
.timeline-item b { display: block; font-size: 13.5px; }
.timeline-item span { font-size: 13px; color: var(--text-muted); }

.photo-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.photo-strip img {
  width: 88px; height: 88px; object-fit: cover;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  flex-shrink: 0;
}

/* ===== Объявления о продаже ===== */
.offer-list { display: flex; flex-direction: column; gap: 14px; }
.offer-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: var(--surface-alt);
}
.offer-item__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.offer-item__title-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.offer-item__title { font-weight: 700; font-size: 14.5px; text-transform: capitalize; }
.offer-item__link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 600; color: var(--primary-dark);
  white-space: nowrap;
}
.offer-item__link:hover { text-decoration: underline; }
.offer-item__meta {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  font-size: 13.5px; color: var(--text-muted);
}
.offer-item__meta b { color: var(--text); }
.offer-item__flags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.offer-item__desc {
  margin: 10px 0 0; font-size: 13.5px; color: var(--text-muted); line-height: 1.55;
}

/* ===== Блок "полный отчёт" ===== */
.full-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg);
  padding: 30px;
  color: #fff;
  text-align: center;
  margin: 32px 0;
  box-shadow: var(--shadow-glow);
}
.full-cta h3 { margin: 0 0 8px; font-size: 20px; }
.full-cta p { margin: 0 0 20px; opacity: .85; font-size: 14px; }
.full-cta .btn-primary { background: #fff; color: var(--primary-dark); box-shadow: none; }
.full-cta .btn-primary:hover { background: #f4f4ff; }

.section-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 40px 0 20px;
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.section-divider::before, .section-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}

/* ===== Picker (неоднозначный номер) ===== */
.candidates { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin: 0 auto; }
.candidate {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px;
  cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.candidate:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.candidate img { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; background: var(--surface-alt); }
.candidate-photo-placeholder { width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--primary-light); flex-shrink: 0; }
.candidate__title { font-weight: 700; font-size: 15px; }
.candidate__meta { font-size: 13px; color: var(--text-muted); }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  color: var(--text-faint);
  font-size: 13px;
}
.site-footer__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer__links { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer__links a:hover { color: var(--primary); }
.site-footer__requisites { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-faint); }

/* ===== Спиннер ===== */
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Auth (админка) ===== */
.auth-shell {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at top, #e2e8f0, var(--bg));
  padding: 24px;
}
.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px;
  width: 100%; max-width: 380px;
}
.auth-card h1 { font-size: 20px; margin: 0 0 26px; text-align: center; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text-muted); }
.field input {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14.5px; font-family: var(--font);
  outline: none; transition: border-color .15s;
}
.field input:focus { border-color: var(--primary); }

/* ===== Админ-дашборд ===== */
.admin-shell { max-width: 1180px; margin: 0 auto; padding: 32px 24px 60px; }
.admin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.admin-top h1 { font-size: 22px; margin: 0; }

.stat-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.stat-tile {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.stat-tile .label { font-size: 12.5px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.stat-tile .value { font-size: 26px; font-weight: 800; margin-top: 6px; letter-spacing: -.02em; }
.stat-tile .hint { font-size: 12.5px; color: var(--text-faint); margin-top: 4px; }

.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px;
  overflow-x: auto;
}
.panel h2 { font-size: 16px; margin: 0 0 16px; }

table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th { text-align: left; color: var(--text-muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 10px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
tr:last-child td { border-bottom: none; }

.status-pill { padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.status-resolved, .status-done { background: var(--success-bg); color: var(--success); }
.status-ambiguous { background: var(--warning-bg); color: var(--warning); }
.status-not_found, .status-error { background: var(--danger-bg); color: var(--danger); }
.status-pending { background: var(--surface-alt); color: var(--text-faint); }

/* ===== 404 / 500 ===== */
.error-shell { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; }
.error-shell .code { font-size: 72px; font-weight: 800; color: var(--primary); letter-spacing: -.03em; }
.error-shell p { color: var(--text-muted); margin: 10px 0 26px; }

/* ===== Утилиты ===== */
.mt-0 { margin-top: 0; }
.center { text-align: center; }

/* ===== Обложки-градиенты (без внешних картинок) ===== */
.cover-a { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.cover-b { background: linear-gradient(135deg, var(--success), var(--primary)); }
.cover-c { background: linear-gradient(135deg, #f59e0b, var(--primary)); }

/* ===== Блог ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card__cover { height: 120px; }
.blog-card__body { padding: 20px; }
.blog-card__meta { font-size: 12.5px; color: var(--text-faint); margin-bottom: 8px; }
.blog-card__body h3 { font-size: 17px; margin: 0 0 8px; letter-spacing: -.01em; }
.blog-card__body p { font-size: 14px; color: var(--text-muted); margin: 0; }

.pagination {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin-top: 36px;
}

.breadcrumbs {
  font-size: 13px; color: var(--text-faint);
  display: flex; gap: 8px; margin-bottom: 20px;
}
.breadcrumbs a:hover { color: var(--primary); }

.blog-post__cover {
  height: 180px;
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
}
.blog-post__title { font-size: clamp(26px, 4vw, 36px); letter-spacing: -.02em; margin: 0 0 10px; }
.blog-post__meta { color: var(--text-faint); font-size: 13.5px; margin-bottom: 32px; }

.blog-post__body { font-size: 16px; line-height: 1.75; }
.blog-post__body h2 { font-size: 22px; margin: 36px 0 14px; letter-spacing: -.01em; }
.blog-post__body h3 { font-size: 18px; margin: 28px 0 12px; }
.blog-post__body p { margin: 0 0 18px; }
.blog-post__body ul, .blog-post__body ol { margin: 0 0 18px; padding-left: 22px; }
.blog-post__body li { margin-bottom: 8px; }
.blog-post__body strong { color: var(--text); }
.blog-post__body blockquote {
  margin: 0 0 18px; padding: 14px 20px;
  border-left: 3px solid var(--primary);
  background: var(--primary-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
}
.blog-post__body code {
  background: var(--surface-alt); border: 1px solid var(--border);
  border-radius: 5px; padding: 1px 6px; font-size: 13.5px;
}

/* ===== FAQ ===== */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer; font-weight: 700; font-size: 15px;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--primary); font-weight: 400; transition: transform .2s ease; }
.faq-item[open] summary::after { content: "+"; transform: rotate(45deg); }
.faq-item p { margin: 14px 0 0; color: var(--text-muted); font-size: 14.5px; }
.faq-item { transition: border-color .15s ease, box-shadow .15s ease; }
.faq-item:hover { border-color: var(--primary-light); }

/* ===== Подчёркивание пунктов меню ===== */
.header-nav a {
  position: relative;
  padding-bottom: 2px;
}
.header-nav a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; border-radius: 2px;
  background: var(--primary);
  transition: right .2s ease;
}
.header-nav a:hover::after { right: 0; }

/* ===== Появление элементов при прокрутке ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
  transition-delay: calc(var(--i, 0) * .07s);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::after { animation: none; }
  .preview-row { opacity: 1; transform: none; animation: none; }
  .hero__radar span, .brand__mark::after { animation: none; opacity: 0; }
  * { scroll-behavior: auto !important; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__copy { max-width: none; text-align: center; margin: 0 auto; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .search-card { margin: 0 auto; }
  .hero__preview { order: -1; }
  .preview-card { max-width: 440px; }
}

@media (max-width: 640px) {
  .search-form { flex-direction: column; align-items: stretch; }
  .search-form .btn { width: 100%; }
  .report-header { flex-direction: column; text-align: center; padding: 18px; }
  .report-header__meta { justify-content: center; }
  .report-header__photo, .report-header__photo-placeholder { width: 72px; height: 72px; }
  .report-header__title { font-size: 19px; }

  .cards-grid { gap: 14px; }
  .card { padding: 16px; }
  .card__title { font-size: 14px; }

  .kv-row { flex-wrap: wrap; gap: 2px 10px; }
  .kv-value { text-align: left; }

  .offer-item { padding: 12px; }
  .offer-item__top { flex-direction: column; align-items: flex-start; gap: 6px; }

  .data-table { font-size: 12.5px; }
  .data-table th, .data-table td { padding-right: 8px; white-space: nowrap; }
  .mileage-cell { min-width: 110px; }

  .full-cta { padding: 22px 18px; }
  .section-divider { margin: 28px 0 16px; }
}
