/* ===================================================================
   ВладАвто — design tokens
   Palette: blueprint technical-drawing world (GAZ/Luidor industrial heritage)
   Display: Big Shoulders Display · Body: IBM Plex Sans · Data: IBM Plex Mono
   =================================================================== */

:root {
  --blueprint: #0E2F4D;
  --blueprint-deep: #0A2439;
  --blueprint-line: #5B8FB9;
  --paper: #F1F2F0;
  --paper-raised: #FFFFFF;
  --ink: #15181B;
  --signal-orange: #E8530A;
  --signal-orange-dark: #C4460A;
  --steel: #6B7680;
  --steel-light: #A7B0B8;
  --safety-yellow: #F2B705;
  --stock-green: #2E8B4D;
  --stock-green-dark: #256B3E;
  --line: #DADDD9;

  --font-display: "Big Shoulders Display", sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Единая сетка: шире прежних 1400px, но не на весь viewport */
  --wrap-max: 1540px;
  --wrap-gutter: clamp(18px, 2.2vw, 32px);
  --wrap: var(--wrap-max);
  --radius: 10px;
  --radius-sm: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body > main { flex: 1 0 auto; display: flex; flex-direction: column; }
body > main > .page-body:last-child { flex: 1 0 auto; }
body > footer { flex: 0 0 auto; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--wrap-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--wrap-gutter);
  padding-right: var(--wrap-gutter);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--signal-orange);
  color: #fff;
  padding: 12px 18px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2.5px solid var(--signal-orange);
  outline-offset: 2px;
}

/* ---------- typography primitives ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal-orange-dark);
  margin: 0 0 14px;
  font-weight: 500;
}
.eyebrow-light { color: var(--safety-yellow); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--ink);
}
.section-title-light { color: var(--paper); }

.section-lead {
  font-size: 17px;
  color: var(--steel);
  max-width: 640px;
  margin: 0 0 40px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--signal-orange);
  color: #fff;
}
.btn-primary:hover { background: var(--signal-orange-dark); }
.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-light {
  background: transparent;
  border-color: rgba(246,244,239,0.5);
  color: var(--paper);
}
.btn-ghost-light:hover { background: rgba(246,244,239,0.12); border-color: var(--paper); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ===================================================================
   HEADER
   =================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper-raised);
  border-bottom: 1px solid var(--line);
}

.utility-bar {
  background: var(--blueprint);
  font-size: 12.5px;
}
.utility-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 36px;
}
.utility-links { display: flex; align-items: center; gap: 22px; }
.utility-links a { color: rgba(246,244,239,0.78); font-weight: 500; white-space: nowrap; }
.utility-links a:hover { color: var(--paper); }
.utility-row .header-phone { color: rgba(246,244,239,0.9); font-size: 12.5px; }

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-logo { height: 36px; width: auto; display: block; flex: none; }
.brand-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--steel);
  letter-spacing: 0.02em;
}

.main-nav { display: flex; gap: 22px; }
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
  white-space: nowrap;
}
.main-nav a:hover { border-color: var(--signal-orange); }

.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 2px solid transparent;
}
.nav-dropdown-btn:hover,
.nav-dropdown.is-open .nav-dropdown-btn { border-color: var(--signal-orange); }
.nav-dropdown.is-open .nav-dropdown-btn svg { transform: rotate(180deg); }
.nav-dropdown-btn svg { transition: transform 0.15s ease; }

.nav-megamenu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(14,47,77,0.14);
  padding: 14px;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  z-index: 50;
}
.nav-dropdown.is-open .nav-megamenu { display: grid; }
.nav-megamenu a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 10px 6px;
  border-radius: var(--radius-sm);
}
.nav-megamenu a:hover { background: var(--paper); }
.nav-megamenu img { width: 100%; max-width: 72px; height: auto; }
.nav-megamenu span { font-size: 11.5px; font-weight: 500; color: var(--ink); line-height: 1.25; }

.nav-megamenu--services {
  width: 220px;
  grid-template-columns: 1fr;
  padding: 8px;
  left: 50%;
  transform: translateX(-50%);
}
.nav-megamenu--services a {
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  gap: 0;
  padding: 10px 12px;
}
.nav-megamenu--services a:hover { background: var(--paper); color: inherit; }
.nav-megamenu--services span { font-size: 13px; }

.mobile-nav-sub { padding-left: 18px !important; font-size: 14px !important; font-weight: 500 !important; color: var(--steel) !important; }

.header-actions { display: flex; align-items: center; gap: 16px; flex: none; }
.header-phone {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14.5px;
  white-space: nowrap;
  flex: none;
}
.header-actions .btn { flex: none; }

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 6px;
}
.burger span { width: 22px; height: 2px; background: var(--ink); display: block; }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 10px 28px 20px;
  border-top: 1px solid var(--line);
}
.mobile-nav a { padding: 10px 0; font-size: 15px; font-weight: 500; }
.mobile-nav.is-open { display: flex; }

/* ===================================================================
   HERO
   =================================================================== */

.hero {
  position: relative;
  background: var(--blueprint-deep);
  overflow: hidden;
}

/* ---- slider mechanics ---- */
.hero-viewport { position: relative; overflow: hidden; }
.hero-track { display: flex; transition: transform 0.45s ease; }
.hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  height: clamp(640px, 38vw, 760px);
  overflow: hidden;
  background: var(--blueprint-deep);
}
.hero-slide > .wrap { position: relative; z-index: 2; width: 100%; }
.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% center;
  z-index: 0;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10,28,46,0.55) 0%, rgba(10,28,46,0.4) 30%, rgba(10,28,46,0.12) 48%, rgba(10,28,46,0) 62%);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(246,244,239,0.3);
  background: rgba(14,47,77,0.5);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.hero-arrow:hover { border-color: var(--signal-orange); background: rgba(232,83,10,0.18); }
.hero-arrow-prev { left: 14px; }
.hero-arrow-next { right: 14px; }

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  margin: 0;
  z-index: 6;
  pointer-events: auto;
}
.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(246,244,239,0.3);
  padding: 0;
}
.hero-dots button.is-active { background: var(--signal-orange); width: 22px; border-radius: 4px; transition: width 0.15s ease; }

/* ---- slide layout ---- */
.hero-row { position: relative; padding-top: 56px; padding-bottom: 56px; }
.hero-copy { max-width: 480px; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 0 0 20px;
}

.hero-sub {
  font-size: 17.5px;
  color: rgba(246,244,239,0.82);
  max-width: 520px;
  margin: 0 0 32px;
}
@media (max-width: 920px) {
  .hero-sub-br-desktop { display: none; }
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 0; }

.hero-brands {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(246,244,239,0.14);
}
.hero-brands-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 52px;
  z-index: 7;
  pointer-events: none;
}
.hero-brands-bar .wrap {
  pointer-events: auto;
}
.hero-brands-bar .hero-brands {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hero-brands a {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
}
.hero-brands a:hover { opacity: 1; }
.hero-brands img { height: 16px; width: auto; max-width: 44px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.8; }
.hero-brands span { font-size: 12px; font-weight: 500; color: rgba(246,244,239,0.75); }

.hero-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 56px 0 0;
  background: rgba(10,28,46,0.55);
  border: 1px solid rgba(246,244,239,0.12);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.hero-badges li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(246,244,239,0.85);
  padding: 16px 18px;
  border-left: 1px solid rgba(246,244,239,0.12);
}
.hero-badges li:first-child { border-left: none; }
.hero-badge-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(232,83,10,0.2);
  color: var(--signal-orange);
}
.hero-badge-icon svg { width: 12px; height: 12px; }

/* ===================================================================
   MODEL SELECTOR (по семейству / по назначению)
   =================================================================== */

.model-selector { background: var(--blueprint-deep); }
.ms-tabs { display: flex; }
.ms-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 20px 0;
  margin-right: 36px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: rgba(246,244,239,0.5);
}
.ms-tab.is-active { color: var(--paper); border-color: var(--signal-orange); }
.ms-tab:hover { color: var(--paper); }

.ms-track-wrap { border-top: 1px solid rgba(246,244,239,0.12); }
.ms-row {
  display: flex;
  gap: 12px;
  padding: 32px 0;
}
.ms-row[hidden] { display: none; }
.ms-row a {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 18px 8px 16px;
  background: rgba(246,244,239,0.04);
  border: 1px solid rgba(246,244,239,0.1);
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.ms-row a:hover { background: rgba(246,244,239,0.09); border-color: rgba(246,244,239,0.22); transform: translateY(-2px); }
.ms-row .ms-icon { display: flex; align-items: flex-end; justify-content: center; height: 56px; }
.ms-row img { width: 100%; max-width: 100px; height: auto; display: block; }
.ms-row span { font-size: 12.5px; font-weight: 500; color: rgba(246,244,239,0.85); line-height: 1.3; }

/* ===================================================================
   CATALOG
   =================================================================== */

.catalog { padding: 96px 0 76px; background: var(--paper-raised); }

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (min-width: 1320px) {
  .model-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.catalog-foot { display: flex; justify-content: center; margin-top: 40px; }

.model-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.model-card:hover { border-color: var(--signal-orange); transform: translateY(-2px); }

.model-art {
  margin: -4px -4px 8px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: calc(var(--radius) - 4px);
}
a.model-art {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.model-art:focus-visible {
  outline: 2px solid var(--signal-orange);
  outline-offset: 2px;
}
.model-art img {
  width: 100%;
  max-width: 320px;
  height: 100%;
  object-fit: contain;
  display: block;
}
.model-art--dark {
  background: var(--paper);
}

.model-tag {
  font-size: 12.5px;
  color: var(--steel);
  margin: 0 0 6px;
}
.model-card h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.model-spec {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--steel);
  margin: 0 0 18px;
}

.model-foot { margin-top: auto; }
.model-price {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 12px;
}
.model-cta-row { display: flex; gap: 8px; }
.model-cta-row .btn { flex: 1; }

.catalog-note {
  margin-top: 36px;
  font-size: 14.5px;
  color: var(--steel);
}
.catalog-note a { color: var(--signal-orange-dark); font-weight: 600; }

/* ===================================================================
   АВТОМОБИЛИ НЕДЕЛИ
   =================================================================== */

.week-cars { padding: 88px 0; background: var(--paper-raised); }
.week-cars-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.week-cars-head .section-title { margin-bottom: 0; }
.week-cars-head .btn { flex: none; }

.week-cars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.week-car {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.week-car-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  background: var(--stock-green);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.week-car-art {
  margin-bottom: 8px;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border-radius: calc(var(--radius) - 4px);
}
.week-car-art:focus-visible {
  outline: 2px solid var(--signal-orange);
  outline-offset: 2px;
}
.week-car-art img { width: 100%; max-width: 280px; height: auto; display: block; margin: 0 auto; }
.week-car h3 { font-family: var(--font-body); font-weight: 700; font-size: 17px; margin: 0 0 6px; }
.week-car-text { font-size: 13.5px; color: var(--steel); margin: 0 0 16px; flex: 1; }

/* ===================================================================
   FINANCE TILES
   =================================================================== */

.finance { padding: 96px 0; }

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.tile {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(232,83,10,0.1);
  color: var(--signal-orange);
  margin-bottom: 18px;
}
.tile-icon svg { width: 26px; height: 26px; }
.tile h3 { font-family: var(--font-display); font-size: 19px; margin: 0 0 8px; }
.tile p { font-size: 14px; color: var(--steel); margin: 0 0 14px; line-height: 1.45; }
.tile a { font-weight: 600; font-size: 13.5px; color: var(--signal-orange-dark); }

/* ===================================================================
   DORABOTKA
   =================================================================== */

.dorabotka {
  position: relative;
  background: var(--blueprint-deep);
  padding: 80px 0;
  overflow: hidden;
}
.dorabotka-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 76% 92%;
  z-index: 0;
}
.dorabotka::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10,28,46,0.97) 0%, rgba(10,28,46,0.94) 38%, rgba(10,28,46,0.7) 54%, rgba(10,28,46,0.28) 70%, rgba(10,28,46,0) 86%);
}
.dorabotka-row { position: relative; z-index: 2; }
.dorabotka-copy { max-width: 560px; }
.dorabotka-text {
  color: rgba(246,244,239,0.78);
  font-size: 16px;
  margin: 0 0 22px;
}
.dorabotka-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.dorabotka-tags li {
  border: 1px solid rgba(246,244,239,0.3);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  color: var(--paper);
}

/* ===================================================================
   ТЕХЦЕНТР / СТО
   =================================================================== */

.service-cta { padding: 80px 0; background: var(--paper-raised); }
.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: 48px;
}
.service-row .section-title { margin-bottom: 8px; }
.section-lead-tight { font-size: 15.5px; color: var(--steel); max-width: 480px; margin: 0 0 20px; }
.service-list { margin: 0 0 28px; }
.service-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 14.5px;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  background: var(--signal-orange);
  border-radius: 1px;
  transform: rotate(45deg);
}

.service-plate {
  background: var(--blueprint);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  color: var(--paper);
}
.service-plate-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(232,83,10,0.14);
  color: var(--signal-orange);
  margin-bottom: 18px;
}
.service-plate-row {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.4;
}
.service-plate-row:last-child { margin-bottom: 0; }
.service-plate-row span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(246,244,239,0.55);
  margin-bottom: 3px;
}

/* ===================================================================
   DEALER ABOUT (before news)
   =================================================================== */

.dealer-about {
  padding: 56px 0 52px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.dealer-about-layout {
  display: grid;
  grid-template-columns: minmax(168px, 240px) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
  max-width: 1080px;
}
.dealer-about-emblem {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}
.dealer-about-emblem img {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
}
.dealer-about-copy {
  min-width: 0;
}
.dealer-about-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: none;
  margin: 0 0 28px;
  color: var(--ink);
}
.dealer-about-lead {
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 22px;
}
.dealer-about-inner > p:not(.dealer-about-lead):not(.dealer-about-highlight),
.dealer-about-copy > p:not(.dealer-about-lead):not(.dealer-about-highlight) {
  font-size: 16px;
  line-height: 1.65;
  color: var(--steel);
  margin: 0 0 18px;
}
.dealer-about-inner > p:last-child,
.dealer-about-copy > p:last-child { margin-bottom: 0; }
.dealer-about-highlight {
  margin: 26px 0 24px;
  padding: 20px 22px 20px 24px;
  border-left: 4px solid var(--signal-orange);
  background: var(--paper-raised);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}

/* ===================================================================
   NEWS
   =================================================================== */

.news { padding: 64px 0; background: var(--paper-raised); }
.news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.news-head .section-title { margin-bottom: 0; }
.news-all { font-weight: 600; font-size: 14px; color: var(--signal-orange-dark); white-space: nowrap; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.news-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.news-card:hover { border-color: var(--line-strong, var(--steel)); box-shadow: 0 8px 22px rgba(14,47,77,0.08); }
.news-card-link { display: block; color: inherit; text-decoration: none; }
.news-card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.news-card-link:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 18px 20px 22px; }
.news-date {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--steel);
  margin-bottom: 10px;
}
.news-card h3 { font-size: 15.5px; font-weight: 600; line-height: 1.4; margin: 0; }

/* Главная: 4 компактные плашки */
.news-grid--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.news-grid--compact .news-card-body { padding: 11px 13px 14px; }
.news-grid--compact .news-date { font-size: 10.5px; margin-bottom: 6px; }
.news-grid--compact .news-card h3 {
  font-size: 13px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-grid--compact .news-card-img { aspect-ratio: 16 / 9; }

/* Главная и лента новостей: горизонтальный слайдер на мобилке */
@media (max-width: 640px) {
  section.news {
    overflow: hidden;
  }
  section.news .news-grid,
  section.news .news-grid--compact {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 0 -18px;
    padding: 2px 18px 12px;
    grid-template-columns: unset;
    mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 16px,
      #000 calc(100% - 32px),
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 16px,
      #000 calc(100% - 32px),
      transparent 100%
    );
  }
  section.news .news-grid::-webkit-scrollbar,
  section.news .news-grid--compact::-webkit-scrollbar {
    display: none;
  }
  section.news .news-grid > .news-card,
  section.news .news-grid--compact > .news-card {
    flex: 0 0 min(84vw, 304px);
    scroll-snap-align: start;
    min-width: 0;
  }
  .page-body > .wrap > .news-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 0 -18px 8px;
    padding: 2px 18px 14px;
    grid-template-columns: unset;
    mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 16px,
      #000 calc(100% - 32px),
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 16px,
      #000 calc(100% - 32px),
      transparent 100%
    );
  }
  .page-body > .wrap > .news-grid::-webkit-scrollbar {
    display: none;
  }
  .page-body > .wrap > .news-grid > .news-card {
    flex: 0 0 min(84vw, 304px);
    scroll-snap-align: start;
    min-width: 0;
  }
}

/* ===================================================================
   MULTIBRAND HUB
   =================================================================== */

.multibrand { padding: 72px 0 56px; background: var(--paper-raised); }

.hub {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 40px;
  margin-bottom: 56px;
  padding: 44px;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.hub-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
}
.hub-center-logo { width: 128px; height: auto; display: block; }
.hub-center-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

.hub-spokes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hub-spoke {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.hub-spoke:hover { border-color: var(--signal-orange); transform: translateY(-2px); }
.hub-spoke-logo { height: 28px; width: auto; max-width: 84px; object-fit: contain; object-position: left; margin-bottom: 8px; }
.hub-spoke-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.hub-spoke-note { font-family: var(--font-mono); font-size: 11px; color: var(--steel); }

.network-map {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.network-map-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 24px;
}
.network-map-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.network-map-svg {
  width: 100%;
  height: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.network-callout {
  background: linear-gradient(160deg, var(--blueprint) 0%, var(--blueprint-deep) 100%);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.network-callout-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(232,83,10,0.18);
  color: var(--signal-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.network-callout-icon svg { width: 22px; height: 22px; }
.network-callout-title { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin: 0 0 16px; }
.network-callout-row {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(246,244,239,0.8);
  margin: 0 0 7px;
}
.network-callout-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(246,244,239,0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.network-callout-hours {
  font-size: 13px;
  color: rgba(246,244,239,0.65);
  line-height: 1.6;
}
.network-callout .btn { flex-shrink: 0; }
.network-map-note { font-size: 13.5px; color: var(--steel); margin: 20px 0 0; }

.network-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin: 32px 0 0;
  text-align: left;
}
.network-stat {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 168px;
  padding: 18px 18px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--blueprint-deep);
}
.network-stat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--stat-photo);
  background-size: cover;
  background-position: center;
  transition: transform .5s ease;
}
.network-stat::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(195deg, rgba(10,24,41,.32) 0%, rgba(8,18,31,.9) 100%);
}
.network-stat:hover::before { transform: scale(1.05); }
.network-stats dt {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 26px;
  color: var(--paper);
}
.network-stats dd { margin: 4px 0 0; font-size: 12.5px; color: rgba(246,244,239,0.78); line-height: 1.4; }

/* ===================================================================
   REVIEWS (dispatch log)
   =================================================================== */

.reviews { padding: 96px 0; }

.video-reviews {
  display: flex;
  gap: 22px;
}
.video-review {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--blueprint-deep);
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,36,57,0) 55%, rgba(10,36,57,0.55) 100%);
}
.video-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.video-play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--signal-orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}
.video-thumb:hover .video-play { transform: translate(-50%, -50%) scale(1.08); }
.video-review .video-title {
  margin: 18px 20px 6px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}
.video-review .log-author { margin: 0 20px 18px; font-size: 13px; color: var(--steel); font-weight: 500; }

/* ---- card slider (video reviews, written reviews) ---- */
.card-slider { position: relative; min-width: 0; width: 100%; }
.card-slider-viewport { overflow: hidden; min-width: 0; width: 100%; }
.card-slider-track { display: flex; transition: transform 0.35s ease; }
.card-slider-track > * { flex: 0 0 calc((100% - 44px) / 3); min-width: 0; }
@media (min-width: 1320px) {
  .card-slider-track > * { flex: 0 0 calc((100% - 66px) / 4); }
}
.card-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(10,36,57,0.12);
  z-index: 2;
  transition: opacity 0.2s ease, color 0.15s ease;
}
.card-slider-arrow:hover { color: var(--signal-orange); }
.card-slider-arrow:disabled { opacity: 0; pointer-events: none; }
.card-slider-prev { left: -20px; }
.card-slider-next { right: -20px; }
.card-slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.card-slider-dots button { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: var(--line); cursor: pointer; transition: all 0.2s ease; }
.card-slider-dots button.is-active { width: 22px; border-radius: 5px; background: var(--signal-orange); }

@media (max-width: 920px) {
  .card-slider-track > * { flex: 0 0 100%; }
  .card-slider-prev, .card-slider-next { display: none; }
}

/* ===================================================================
   FINAL CTA / LEAD FORM
   =================================================================== */

.final-cta {
  background: linear-gradient(180deg, var(--blueprint) 0%, var(--blueprint-deep) 100%);
  padding: 100px 0;
}
.final-cta-row {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: start;
}
.final-cta-text {
  color: rgba(246,244,239,0.8);
  font-size: 16px;
  max-width: 480px;
  margin: 0 0 28px;
}
.final-cta-trust li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: rgba(246,244,239,0.85);
  font-size: 14px;
}
.final-cta-trust li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--safety-yellow);
  font-weight: 700;
}

.lead-form {
  background: var(--paper-raised);
  border-radius: var(--radius);
  padding: 32px;
}
.lead-form h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 20px;
}
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 14.5px;
  background: var(--paper);
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 96px; font-family: inherit; line-height: 1.45; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--signal-orange); outline: none; }
.field-legal { font-size: 11.5px; color: var(--steel); margin: 14px 0 0; }
.field-legal a { text-decoration: underline; }

.form-success {
  display: none;
  padding: 20px;
  background: rgba(232,83,10,0.08);
  border: 1px solid var(--signal-orange);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
}
.form-success.is-visible { display: block; }

/* ===================================================================
   FOOTER
   =================================================================== */

.site-footer { background: var(--ink); color: rgba(246,244,239,0.75); }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(246,244,239,0.12);
}
.footer-brand-logo { height: 40px; width: auto; display: block; }
.footer-brand p { font-size: 13.5px; margin: 14px 0; line-height: 1.5; }
.footer-address { font-size: 13.5px; color: rgba(246,244,239,0.82); margin: 0 0 14px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(246,244,239,0.5);
  margin: 0 0 16px;
}
.footer-col a { display: block; font-size: 14px; margin-bottom: 11px; color: rgba(246,244,239,0.82); }
.footer-col a:hover { color: var(--signal-orange); }
.footer-all-brands { color: var(--safety-yellow) !important; font-weight: 600; margin-top: 6px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-size: 12.5px;
  flex-wrap: wrap;
}
.footer-legal a { text-decoration: underline; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */

@media (max-width: 1080px) {
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .week-cars-grid { grid-template-columns: repeat(2, 1fr); }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .news-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1300px) {
  .hero-copy { max-width: 460px; }
  .hero-slide::after { background: linear-gradient(90deg, rgba(10,28,46,0.7) 0%, rgba(10,28,46,0.5) 40%, rgba(10,28,46,0.15) 56%, rgba(10,28,46,0) 70%); }
}

@media (max-width: 920px) {
  :root {
    --header-h: 72px;
    --sticky-h: 52px;
    --hero-viewport-h: calc(100dvh - var(--header-h) - var(--sticky-h));
    /* высота «полосы» с машиной — текст начинается ниже */
    --hero-photo-band: clamp(190px, 36svh, 278px);
    /* фикс. ось стрелок — не % от viewport (высота меняется между слайдами) */
    --hero-arrow-y: calc(clamp(220px, 39svh, 286px) + 72px);
    /* место под полоску марок + точки слайдера (контент не заезжает под них) */
    --hero-chrome-bottom: 118px;
  }
  .utility-bar { display: none; }
  .main-nav { display: none; }
  .burger { display: flex; }
  .header-actions .btn-primary { display: none; }

  .hero {
    padding: 0;
    margin: 0;
    overflow: visible;
  }
  .hero-viewport {
    min-height: calc(100svh - var(--header-h) - var(--sticky-h));
    min-height: var(--hero-viewport-h);
    height: var(--hero-viewport-h);
    overflow: hidden;
    box-sizing: border-box;
    touch-action: pan-y pinch-zoom;
  }
  .hero-track {
    align-items: flex-start;
    height: auto;
  }
  .hero-slide > picture {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    pointer-events: none;
  }
  .hero-slide {
    min-height: var(--hero-viewport-h);
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
  }
  .hero-slide--intro {
    --hero-intro-nudge: 44px;
    --hero-intro-lift: calc(56px + var(--hero-intro-nudge));
  }
  .hero-slide--intro > picture {
    inset: auto;
    top: calc(-1 * var(--hero-intro-lift));
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100% + var(--hero-intro-lift));
  }
  .hero-slide--intro .hero-slide-bg {
    object-position: 50% 36% !important;
  }
  .hero-slide:not(.hero-slide--intro) {
    --hero-photo-band: clamp(220px, 39svh, 286px);
  }
  .hero-slide:not(.hero-slide--intro) .hero-row {
    padding-top: 26px;
  }
  .hero-slide::after { background: linear-gradient(180deg, rgba(10,28,46,0.08) 0%, rgba(10,28,46,0.2) 32%, rgba(10,28,46,0.93) 60%, rgba(10,28,46,1) 100%); }
  .hero-slide-bg { object-fit: cover !important; object-position: center top !important; }
  .hero-slide > .wrap {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    min-height: 0;
    height: auto;
    box-sizing: border-box;
    padding: 0 34px var(--hero-chrome-bottom);
    overflow: visible;
  }
  .hero-slide--intro > .wrap,
  .hero-slide:first-child > .wrap {
    min-height: var(--hero-viewport-h);
  }
  .hero-slide > .wrap::before {
    content: "";
    display: block;
    width: 100%;
    height: var(--hero-photo-band);
    flex: 0 0 var(--hero-photo-band);
    pointer-events: none;
  }
  /* intro: текст внизу слайда (после общих правил .wrap / .hero-row) */
  .hero-slide.hero-slide--intro > .wrap.hero-row {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    align-self: stretch;
    min-height: var(--hero-viewport-h);
    margin-top: calc(-1 * var(--hero-intro-nudge, 44px));
    padding-top: 0;
    justify-content: flex-end;
  }
  .hero-slide.hero-slide--intro > .wrap::before {
    flex: 1 1 auto;
    height: auto;
    min-height: clamp(104px, 30svh, 224px);
  }
  .hero-slide.hero-slide--intro .hero-copy {
    flex: 0 0 auto;
    padding-top: 0;
  }
  .hero-copy { max-width: none; text-align: center; margin: 0 auto; width: 100%; }
  .hero-row {
    padding: 40px 0 0;
    margin: 0;
    width: 100%;
    min-height: 0;
    display: block;
  }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }
  .hero-brands {
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 12px;
  }
  .hero-brands-bar {
    bottom: 44px;
  }
  .hero-arrow {
    width: auto;
    height: auto;
    top: var(--hero-arrow-y);
    transform: translateY(-50%);
    border: none;
    background: none;
    border-radius: 0;
    color: rgba(246,244,239,0.85);
  }
  .hero-arrow-prev { left: 2px; }
  .hero-arrow-next { right: 2px; }
  .hero-arrow:hover { border-color: transparent; background: none; color: var(--signal-orange); }
  .hero-arrow svg { width: 26px; height: 26px; }
  .hero-dots {
    bottom: 12px;
    z-index: 8;
  }
  .hero-badges { margin-top: 16px; }
  .route-grid { grid-template-columns: 1fr; }
  .hub { grid-template-columns: 1fr; text-align: center; }
  .hub-spokes { grid-template-columns: repeat(2, 1fr); }
  .final-cta-row { grid-template-columns: 1fr; }
  .dealer-about-layout {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
  }
  .dealer-about-emblem {
    max-width: 200px;
    margin: 0 auto;
    padding: 0;
  }
  .dealer-about-emblem img { max-width: 168px; }
  .service-row { grid-template-columns: 1fr; }
  .network-stats { grid-template-columns: repeat(2, 1fr); }
  .network-map-row { grid-template-columns: 1fr; }
  .dorabotka-copy { max-width: none; text-align: center; margin: 0 auto; }
  .dorabotka-tags { justify-content: center; }
  .dorabotka::after { background: linear-gradient(180deg, rgba(10,28,46,0.55) 0%, rgba(10,28,46,0.95) 55%, rgba(10,28,46,1) 100%); }
  .dorabotka-bg { object-position: 72% 88%; }
  .ms-track-wrap { overflow-x: auto; }
  .ms-row { padding: 26px 0; }
  .ms-row a { flex: 0 0 104px; }
  .ms-row img { max-width: 84px; }
  .ms-row span { font-size: 11.5px; }
}

@media (max-width: 640px) {
  :root {
    --header-h: 66px;
    --hero-viewport-h: calc(100dvh - var(--header-h) - var(--sticky-h));
    --hero-photo-band: clamp(178px, 33svh, 252px);
    --hero-chrome-bottom: 128px;
  }
  .hero-slide--intro {
    --hero-intro-nudge: 40px;
    --hero-intro-lift: calc(48px + var(--hero-intro-nudge));
  }
  .wrap { padding: 0 18px; }
  .header-row { height: 66px; }
  .brand-sub { display: none; }
  .hero { padding: 0; }
  .hero-slide > .wrap { padding-left: 30px; padding-right: 30px; }
  .hero-badges { grid-template-columns: repeat(2, 1fr); }
  .hero-badges li:nth-child(2) { border-left: 1px solid rgba(246,244,239,0.12); }
  .hero-badges li:nth-child(3) { border-left: none; border-top: 1px solid rgba(246,244,239,0.12); }
  .hero-badges li:nth-child(4) { border-top: 1px solid rgba(246,244,239,0.12); }
  .tile-grid { grid-template-columns: 1fr; }
  .week-cars-grid { grid-template-columns: 1fr; }
  .week-cars-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-top { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 32px; }
  .footer-bottom { flex-direction: column; }
  .audience, .catalog, .finance, .multibrand, .reviews, .news, .week-cars { padding: 64px 0; }
  .catalog:has(+ .week-cars) { padding-bottom: 44px; }
  .dorabotka, .final-cta { padding: 48px 0; }
  .news-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 420px) {
  .model-grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   STICKY BAR
   =================================================================== */

body { padding-bottom: 56px; }

.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: var(--blueprint-deep);
  border-top: 1px solid rgba(246,244,239,0.12);
}
.sticky-bar-row {
  display: flex;
  align-items: stretch;
  padding: 0;
}
.sticky-bar-item {
  flex: 1;
  background: none;
  border: none;
  border-right: 1px solid rgba(246,244,239,0.12);
  color: rgba(246,244,239,0.85);
  font-size: 13px;
  font-weight: 500;
  padding: 16px 12px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-bar-item:hover { color: var(--paper); background: rgba(246,244,239,0.05); }
.sticky-bar-item-short { display: none; }
.sticky-bar-item svg { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; flex-shrink: 0; }
.sticky-bar-call {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: var(--signal-orange);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.sticky-bar-call:hover { background: var(--signal-orange-dark); }
.sticky-bar-max {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  background: rgba(246,244,239,0.06);
  border-right: 1px solid rgba(246,244,239,0.12);
}
.sticky-bar-max:hover { background: rgba(246,244,239,0.12); }
.sticky-bar-max img { width: 20px; height: 20px; border-radius: 5px; display: block; }

.utility-contact { display: flex; align-items: center; gap: 14px; }
.utility-max { display: flex; align-items: center; opacity: 0.85; }
.utility-max:hover { opacity: 1; }
.utility-max img { width: 16px; height: 16px; border-radius: 4px; display: block; }

@media (min-width: 921px) {
  .sticky-bar-max, .sticky-bar-call { display: none; }
}

/* ===================================================================
   MODALS
   =================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10,36,57,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay[hidden] { display: none; }
.modal-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--paper-raised);
  border-radius: var(--radius);
  padding: 32px;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--paper);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  color: var(--steel);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.modal-close:hover { color: var(--ink); }
.modal-card h3 { font-family: var(--font-display); font-size: 22px; margin: 0 0 10px; }
.modal-text { font-size: 14px; color: var(--steel); margin: 0 0 22px; }
.modal-success { display: none; text-align: center; padding: 8px 0; }
.modal-success.is-visible { display: block; }
.modal-success p { font-size: 14px; color: var(--ink); margin: 0; }

.modal-card-promo { max-width: 440px; padding: 28px 28px 24px; }
.promo-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.promo-avatar { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; }
.modal-card-promo h3 { font-size: 24px; margin: 2px 0 0; }
.promo-list { list-style: none; margin: 0 0 18px; padding: 16px 18px; background: var(--paper); border-radius: 12px; display: flex; flex-direction: column; gap: 9px; }
.promo-list li { position: relative; padding-left: 20px; font-size: 13.5px; color: var(--ink); line-height: 1.4; }
.promo-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--signal-orange); }
.promo-form .field { margin-bottom: 14px; }
.field-check { display: flex; align-items: flex-start; gap: 9px; margin-top: 14px; cursor: pointer; }
.field-check input { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; accent-color: var(--signal-orange); }
.field-check span { font-size: 11.5px; color: var(--steel); line-height: 1.4; }

/* Формы внутри модалок — без второго слоя padding/фона */
.modal-card .lead-form {
  padding: 0;
  background: transparent;
  border-radius: 0;
}

@media (max-width: 640px) {
  .modal-overlay {
    padding: 12px;
    align-items: center;
  }
  .modal-overlay--video {
    padding: 10px;
  }
  .modal-card {
    max-width: none;
    width: 100%;
    padding: 20px 16px 18px;
  }
  .modal-card-promo {
    max-width: none;
    width: 100%;
    padding: 20px 16px 18px;
  }
  .modal-card--wide {
    max-width: none;
    width: 100%;
  }
  .modal-close {
    top: 10px;
    right: 10px;
  }
  .modal-card h3 {
    font-size: 20px;
    padding-right: 36px;
  }
  .modal-text {
    margin-bottom: 18px;
  }
}

@media (max-width: 420px) {
  .modal-overlay {
    padding: 8px;
  }
  .modal-overlay--video {
    padding: 8px;
  }
  .modal-card,
  .modal-card-promo {
    padding: 18px 14px 16px;
  }
  .modal-card .field input,
  .modal-card .field select,
  .modal-card .field textarea {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .sticky-bar-item-hide-sm { display: none; }
  .sticky-bar-call span { display: none; }
  .sticky-bar-item-full { display: none; }
  .sticky-bar-item-short { display: inline; }
  body { padding-bottom: 52px; }
}

/* ===================================================================
   INNER PAGES (catalog, product cards, about, promotions, news, contacts)
   =================================================================== */

/* ---- breadcrumbs ---- */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--steel); margin: 0 0 18px; }
.breadcrumbs a { color: var(--steel); }
.breadcrumbs a:hover { color: var(--signal-orange); }
.breadcrumbs span[aria-current] { color: var(--ink); font-weight: 500; }
.breadcrumbs .sep { color: rgba(60,70,80,0.35); }

/* ---- inner page header band ---- */
.page-hero { background: var(--blueprint-deep); padding: 28px 0 32px; }
.page-hero .breadcrumbs { color: rgba(246,244,239,0.55); margin-bottom: 14px; }
.page-hero .breadcrumbs a { color: rgba(246,244,239,0.55); }
.page-hero .breadcrumbs a:hover { color: var(--signal-orange); }
.page-hero .breadcrumbs span[aria-current] { color: var(--paper); }
.page-hero .breadcrumbs .sep { color: rgba(246,244,239,0.25); }
.page-hero h1 { font-family: var(--font-display); font-weight: 900; color: var(--paper); font-size: clamp(28px, 3.6vw, 42px); line-height: 1.05; margin: 0 0 8px; }
.page-hero-sub { color: rgba(246,244,239,0.65); font-size: 15px; margin: 0; max-width: 640px; }
.page-body { padding: 48px 0 64px; }
.page-body:has(.product-layout) { background: var(--paper-raised); }
.page-body > .wrap { min-width: 0; }
.product-section .spec-table { max-width: 100%; }

/* ---- category grid (compact family cards, same photos as homepage catalog) ---- */
.catalog-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.catalog-hub-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.catalog-hub-card:hover { border-color: var(--signal-orange); transform: translateY(-2px); box-shadow: none; }
.catalog-hub-card-art {
  background: #fff;
  padding: 10px 14px 6px;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}
.catalog-hub-card-art--dark {
  background: var(--paper);
}
.catalog-hub-card-art img {
  width: 100%;
  max-width: 240px;
  height: 100%;
  object-fit: contain;
  display: block;
}
.catalog-hub-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.catalog-hub-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.catalog-hub-card-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.25;
}
.catalog-hub-card-count { font-size: 11px; font-weight: 600; color: var(--signal-orange); white-space: nowrap; }
.catalog-hub-card-body small { font-size: 12.5px; line-height: 1.35; color: var(--steel); flex: 1; }
.catalog-hub-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--signal-orange);
  margin-top: 6px;
}
.catalog-hub-card-link svg { transition: transform 0.15s ease; }
.catalog-hub-card:hover .catalog-hub-card-link svg { transform: translateX(3px); }

/* ---- full catalog page (/gaz/) ---- */
.page-hero--catalog {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: clamp(320px, 42vw, 480px);
  display: grid;
  align-items: center;
  background: var(--blueprint-deep);
}
.catalog-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.catalog-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(14, 47, 77, 0.94) 0%,
    rgba(14, 47, 77, 0.78) 42%,
    rgba(14, 47, 77, 0.45) 72%,
    rgba(14, 47, 77, 0.25) 100%
  );
  pointer-events: none;
}
.catalog-hero-inner {
  position: relative;
  z-index: 1;
  padding: 40px 0 44px;
  width: 100%;
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  text-align: left;
}
.page-hero--catalog .breadcrumbs { color: rgba(246,244,239,0.55); margin-bottom: 12px; }
.page-hero--catalog .breadcrumbs a { color: rgba(246,244,239,0.55); }
.page-hero--catalog .breadcrumbs a:hover { color: var(--signal-orange); }
.page-hero--catalog .breadcrumbs span[aria-current] { color: var(--paper); }
.page-hero--catalog .breadcrumbs .sep { color: rgba(246,244,239,0.25); }
.page-hero--catalog h1 {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--paper);
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.05;
  margin: 0 0 8px;
}
.page-hero--catalog .page-hero-sub {
  color: rgba(246,244,239,0.65);
  max-width: 640px;
}
.catalog-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
@media (max-width: 560px) {
  .catalog-hero-inner { padding: 28px 0 32px; }
  .catalog-hero-actions .btn { flex: 1 1 100%; }
}
.page-hero--catalog { padding-bottom: 0; }
.catalog-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.catalog-hero-stats li { display: flex; flex-direction: column; gap: 2px; }
.catalog-hero-stats strong {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  color: var(--signal-orange);
  line-height: 1;
}
.catalog-hero-stats span { font-size: 13px; color: rgba(246,244,239,0.55); }

.catalog-page { padding: 0 0 56px; background: var(--paper); }
.catalog-page-inner { min-width: 0; }
.catalog-toolbar-top-spacer {
  height: 24px;
  pointer-events: none;
}
.catalog-toolbar-band {
  position: sticky;
  top: var(--site-header-h, 118px);
  z-index: 90;
  margin: 0 -28px;
  padding: 14px 28px;
  background: rgba(246,244,239,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  overflow-x: clip;
}
.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
  align-items: start;
  gap: 14px 18px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.catalog-toolbar > * { min-width: 0; }
.catalog-toolbar-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}
.catalog-filter {
  border: 1px solid var(--line);
  background: var(--paper-raised);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.catalog-filter:hover { border-color: var(--signal-orange); color: var(--signal-orange); }
.catalog-filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.catalog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 260px;
  justify-self: end;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.catalog-search svg { flex-shrink: 0; color: var(--steel); }
.catalog-search input {
  border: 0;
  background: transparent;
  width: 100%;
  font-size: 14px;
  outline: none;
}
.catalog-result-meta {
  font-size: 13px;
  color: var(--steel);
  margin: 20px 0 16px;
}
.catalog-result-meta:empty {
  display: none;
  margin: 0;
}
.catalog-model-grid { margin-top: 0; }
.catalog-model-card.is-hidden { display: none; }
.catalog-model-card h3 a { color: inherit; text-decoration: none; }
.catalog-model-card h3 a:hover { color: var(--signal-orange); }
.catalog-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--steel);
  font-size: 15px;
}
.catalog-families {
  padding: 36px 0 44px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.catalog-families-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 20px;
}
.catalog-families-head .section-title { margin-bottom: 0; font-size: clamp(22px, 2.4vw, 28px); }
.catalog-families-lead { max-width: 380px; margin: 0; text-align: right; font-size: 14px; }
.catalog-cta-band {
  background: var(--blueprint-deep);
  padding: 40px 0 48px;
}
.catalog-cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.catalog-cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 28px);
  color: var(--paper);
  margin: 0 0 8px;
}
.catalog-cta-band p { margin: 0; color: rgba(246,244,239,0.65); font-size: 15px; max-width: 480px; }

@media (max-width: 920px) {
  .catalog-families-lead { text-align: left; }
  .catalog-toolbar {
    grid-template-columns: minmax(0, 1fr);
  }
  .catalog-search {
    max-width: none;
    justify-self: stretch;
  }
}
@media (max-width: 560px) {
  .catalog-hero-stats { gap: 20px 28px; }
}

/* ---- product detail page ---- */
.product-layout { display: grid; grid-template-columns: 1.2fr 0.9fr; gap: 32px; align-items: start; }
@media (min-width: 1200px) {
  .product-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr);
    gap: clamp(36px, 3.5vw, 56px);
  }
}
@media (min-width: 1500px) {
  .product-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  }
  .product-gallery { height: min(720px, 52vh); }
}
/* ---- gallery slider (minimum square, taller than before) ---- */
.product-gallery { display: flex; flex-direction: column; position: relative; gap: 10px; }
.product-gallery-viewport {
  position: relative;
  aspect-ratio: 1 / 1;
  background: transparent;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
}
.product-gallery-track { display: flex; width: 100%; height: 100%; transition: transform 0.35s ease; }
.product-gallery-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: transparent;
}

@media (min-width: 921px) {
  .product-layout { align-items: stretch; }
  .product-gallery { height: 604px; }
  .product-gallery-viewport { aspect-ratio: unset; flex: 1 1 auto; min-height: 0; }
}
.product-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(10,28,46,0.55);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}
.product-gallery-arrow:hover { background: rgba(232,83,10,0.75); }
.product-gallery-prev { left: 12px; }
.product-gallery-next { right: 12px; }
.product-gallery--single .product-gallery-arrow { display: none; }
.product-gallery-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  position: static;
  left: auto;
  bottom: auto;
  transform: none;
  margin: 2px 0 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  z-index: 2;
  flex-shrink: 0;
}
.product-gallery-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  padding: 0;
  cursor: pointer;
  transition: width 0.15s ease, background 0.15s ease;
}
.product-gallery-dots button.is-active {
  background: var(--signal-orange);
  width: 22px;
  border-radius: 4px;
}
.product-gallery--single .product-gallery-dots button {
  cursor: default;
  pointer-events: none;
}

/* ---- price + config: compact, minimal ---- */
.product-price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
}
.product-price-label { font-size: 12.5px; color: var(--steel); text-transform: uppercase; letter-spacing: 0.03em; margin: 0 0 4px; }
.product-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.product-price-value { font-family: var(--font-display); font-weight: 900; font-size: 26px; color: var(--ink); margin: 0; white-space: nowrap; }
.product-price-old { font-size: 15px; color: var(--steel); text-decoration: line-through; white-space: nowrap; }
.product-price-note { font-size: 13.5px; color: var(--steel); margin: 6px 0 0; }

.product-config {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 20px;
}
.product-config h2 { font-size: 15px; margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--steel); font-weight: 700; }
.product-option-group { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.product-option-group:first-of-type { border-top: none; }
.product-option-label { flex: 0 0 110px; font-size: 14px; font-weight: 600; color: var(--steel); }
.product-option-row { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.product-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--ink);
  cursor: pointer;
  background: var(--paper-raised);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.product-option input { accent-color: #2E8B4D; width: 13px; height: 13px; }
.product-option:has(input:checked) { border-color: #2E8B4D; background: rgba(46,139,77,0.08); font-weight: 600; }

/* Комплектации: горизонтальный скролл опций на мобилке */
@media (max-width: 640px) {
  .product-layout > div {
    min-width: 0;
    max-width: 100%;
  }
  .product-config {
    padding-left: 16px;
    padding-right: 16px;
    overflow: hidden;
    min-width: 0;
  }
  .product-option-group {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 0;
    position: relative;
    isolation: isolate;
    min-width: 0;
    max-width: 100%;
  }
  .product-option-label {
    flex: none;
    width: auto;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.045em;
    color: var(--steel);
  }
  .product-option-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 8px;
    flex: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin: 0;
    margin-right: -16px;
    padding: 2px 0 8px;
    padding-right: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    touch-action: pan-x;
    mask-image: linear-gradient(
      90deg,
      #000 0,
      #000 calc(100% - 22px),
      rgba(0, 0, 0, 0.15) calc(100% - 10px),
      transparent calc(100% - 2px)
    );
    -webkit-mask-image: linear-gradient(
      90deg,
      #000 0,
      #000 calc(100% - 22px),
      rgba(0, 0, 0, 0.15) calc(100% - 10px),
      transparent calc(100% - 2px)
    );
  }
  .product-option-row::-webkit-scrollbar {
    display: none;
  }
  .product-option {
    flex: 0 0 auto;
    width: max-content;
    max-width: min(88vw, 320px);
    white-space: nowrap;
    scroll-snap-align: start;
  }
  .product-option-group::after {
    content: "";
    position: absolute;
    right: 0;
    left: auto;
    bottom: 0;
    width: 36px;
    height: 46px;
    background: linear-gradient(
      90deg,
      rgba(241, 242, 240, 0) 0%,
      var(--paper) 52%,
      var(--paper) 100%
    );
    pointer-events: none;
    z-index: 3;
  }
  .product-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .product-cta-row .btn {
    width: 100%;
    justify-content: center;
  }
}
.product-cta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.product-cta-row .btn-primary { flex: 1 1 auto; }
.product-cta-row .btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.product-cta-row .btn svg { flex-shrink: 0; }

.product-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 56px 0 28px; }
.product-tab { padding: 12px 18px; font-size: 14.5px; font-weight: 600; color: var(--steel); border-bottom: 2px solid transparent; cursor: pointer; background: none; border-top: none; border-left: none; border-right: none; }
.product-tab.is-active { color: var(--ink); border-bottom-color: var(--signal-orange); }
.product-tab-panel { display: none; }
.product-tab-panel.is-active { display: block; }

.content-article figure { margin: 24px 0; }
.content-article figure img { width: 100%; border-radius: var(--radius); display: block; }
.content-article figcaption { font-size: 12.5px; color: var(--steel); margin-top: 8px; text-align: center; }
.content-article-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 24px 0 28px;
}
.content-article-stats div { background: var(--paper-raised); padding: 16px 14px; }
.content-article-stats strong { display: block; font-family: var(--font-mono); font-weight: 600; font-size: 19px; color: var(--ink); }
.content-article-stats span { font-size: 12px; color: var(--steel); }

/* ---- full spec table ---- */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:nth-child(odd) { background: var(--paper); }
.spec-table th {
  text-align: left;
  font-weight: 500;
  color: var(--steel);
  font-size: 13.5px;
  padding: 10px 16px;
  width: 44%;
  vertical-align: top;
}
.spec-table td { text-align: left; font-size: 13.5px; color: var(--ink); font-weight: 500; padding: 10px 16px; vertical-align: top; }
.spec-table-group th { background: var(--blueprint-deep); color: var(--paper); font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: 0.03em; padding: 9px 16px; }

/* ---- related models + reviews on product pages ---- */
.product-section { margin-top: 56px; width: 100%; }
.product-section .spec-table { width: 100%; }
@media (min-width: 1100px) {
  .product-section--description,
  .product-section:has(.spec-table) {
    width: 100%;
  }
}
.product-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.product-section-head h2 { font-family: var(--font-display); font-size: 22px; margin: 0; }
.product-section-head a { font-size: 13.5px; font-weight: 600; color: var(--signal-orange); white-space: nowrap; }

.review-grid { display: flex; gap: 16px; }
.review-card { background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.review-card p { font-size: 14.5px; line-height: 1.6; margin: 0 0 14px; color: var(--ink); }
.review-card-author { font-size: 13px; color: var(--steel); margin: 0; }
.review-card-author strong { color: var(--ink); font-weight: 600; }

@media (max-width: 920px) {
  .content-article-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---- legacy Bitrix blocks inside scraped pages ---- */
.content-article--imported .catalog-main-sections,
.content-article--imported .catalog_navigation,
.content-article--imported .tab-wrapper.catalog-navigation,
.content-article--imported .section-item-wrapper {
  display: none !important;
}
.content-article--imported img {
  max-width: 100%;
  height: auto;
}
.content-article--imported a {
  color: var(--signal-orange);
}

/* ---- long-form article content (about / legal / promo / news detail) ---- */
.content-article { max-width: none; width: 100%; }
.page-body > .wrap > .content-article {
  width: 100%;
  max-width: none;
}
.spec-table-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; align-items: start; }
@media (max-width: 760px) {
  .spec-table-cols { grid-template-columns: 1fr; }
}
.content-article h2 { font-family: var(--font-display); font-size: 24px; margin: 36px 0 14px; }
.content-article h2:first-child { margin-top: 0; }
.content-article h3 { font-family: var(--font-display); font-size: 18px; margin: 26px 0 10px; }
.content-article p { font-size: 15.5px; line-height: 1.7; color: var(--ink-soft, var(--ink)); margin: 0 0 16px; }
.content-article ul { margin: 0 0 20px; padding: 0; list-style: none; }
.content-article ul li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.6; margin-bottom: 9px; }
.content-article ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--signal-orange); }
.content-article strong { font-weight: 600; }

/* ---- product description (sanitized Bitrix → rich content) ---- */
.product-section--description .content-article--product-desc {
  max-width: none;
  width: 100%;
}
.content-article--product-desc > :first-child { margin-top: 0; }
.content-article--product-desc .rich-figure {
  margin: 20px 0 24px;
  padding: 0;
}
.content-article--product-desc .rich-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: none;
  background: transparent;
}
.content-article--product-desc .rich-media-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0 28px;
}
@media (min-width: 1200px) {
  .content-article--product-desc .rich-media-duo {
    gap: clamp(16px, 2vw, 32px);
  }
}
.content-article--product-desc .rich-media-duo .rich-figure {
  margin: 0;
}
/* ---- product-desc v2: редакционный (без «коробок в коробках») ---- */
.content-article--product-desc {
  --pd-line: rgba(10, 28, 46, 0.1);
  --pd-ink: var(--ink);
  --pd-muted: var(--steel);
}
.content-article--product-desc p:has(+ ul:not(:is(li ul))),
.content-article--product-desc p:has(+ ol) {
  margin: 40px 0 18px;
}
.content-article--product-desc p:has(+ ul:not(:is(li ul))) strong,
.content-article--product-desc p:has(+ ol) strong {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.1vw, 22px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--pd-ink);
  display: block;
  padding-left: 14px;
  border-left: 4px solid var(--signal-orange);
  line-height: 1.35;
}
.content-article--product-desc h3 {
  margin: 40px 0 18px;
  padding-left: 14px;
  border-left: 4px solid var(--signal-orange);
  font-size: clamp(18px, 2.1vw, 22px);
}
.content-article--product-desc p + ul:not(:is(li ul)),
.content-article--product-desc h3 + ul:not(:is(li ul)),
.content-article--product-desc p:has(+ ol) + ol {
  margin-top: 0;
}
/* ——— Списки преимуществ / комплектации: маркеры, 2 колонки, без карточек ——— */
.content-article--product-desc ul:not(:is(li ul)):not(:has(> li > ul)) {
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 40px;
  row-gap: 20px;
  width: 100%;
}
@media (min-width: 720px) {
  .content-article--product-desc ul:not(:is(li ul)):not(:has(> li > ul)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.content-article--product-desc ul:not(:is(li ul)):not(:has(> li > ul)) > li {
  position: relative;
  margin: 0;
  padding: 0 0 0 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--pd-muted);
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.content-article--product-desc ul:not(:is(li ul)):not(:has(> li > ul)) > li::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  margin: 0;
  border-radius: 50%;
  background: var(--signal-orange);
}
.content-article--product-desc ul:not(:is(li ul)):not(:has(> li > ul)) > li strong {
  display: block;
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--pd-ink);
  line-height: 1.35;
}
.content-article--product-desc ul:not(:is(li ul)):not(:has(> li > ul)) > li strong:only-child {
  margin-bottom: 0;
}
/* Составной li («Почему Луидор», два тезиса через br) */
.content-article--product-desc ul:not(:is(li ul)):not(:has(> li > ul)) > li:has(strong ~ strong),
.content-article--product-desc ul:not(:is(li ul)):not(:has(> li > ul)) > li:has(br) {
  grid-column: 1 / -1;
  padding-left: 0;
  border-top: 1px solid var(--pd-line);
  padding-top: 20px;
}
.content-article--product-desc ul:not(:is(li ul)):not(:has(> li > ul)) > li:has(strong ~ strong)::before,
.content-article--product-desc ul:not(:is(li ul)):not(:has(> li > ul)) > li:has(br)::before {
  display: none;
}
.content-article--product-desc ul:not(:is(li ul)):not(:has(> li > ul)) > li:has(strong ~ strong) strong,
.content-article--product-desc ul:not(:is(li ul)):not(:has(> li > ul)) > li:has(br) strong {
  padding-left: 22px;
  position: relative;
}
.content-article--product-desc ul:not(:is(li ul)):not(:has(> li > ul)) > li:has(strong ~ strong) strong::before,
.content-article--product-desc ul:not(:is(li ul)):not(:has(> li > ul)) > li:has(br) strong::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal-orange);
}
.content-article--product-desc ul:not(:is(li ul)):not(:has(> li > ul)) > li:has(strong ~ strong) strong ~ strong {
  margin-top: 16px;
}
/* ——— Технические характеристики: единая таблица-сетка ——— */
.content-article--product-desc ul:not(:is(li ul)):has(> li > ul) {
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: 100%;
  background: #fff;
  border: 1px solid var(--pd-line);
  border-radius: 14px;
  overflow: hidden;
}
@media (min-width: 640px) {
  .content-article--product-desc ul:not(:is(li ul)):has(> li > ul) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 960px) {
  .content-article--product-desc ul:not(:is(li ul)):has(> li > ul) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.content-article--product-desc ul:not(:is(li ul)):has(> li > ul) > li {
  margin: 0;
  padding: 16px 18px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--pd-muted);
  background: #fff;
  border: none;
  border-bottom: 1px solid var(--pd-line);
  border-right: 1px solid var(--pd-line);
  border-radius: 0;
  box-shadow: none;
  min-height: 0;
}
.content-article--product-desc ul:not(:is(li ul)):has(> li > ul) > li::before {
  display: none;
}
.content-article--product-desc ul:not(:is(li ul)):has(> li > ul) > li strong {
  display: block;
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pd-muted);
}
.content-article--product-desc ul:not(:is(li ul)):has(> li > ul) > li:not(:has(> ul)) strong {
  font-size: 12px;
  margin-bottom: 6px;
}
.content-article--product-desc ul:not(:is(li ul)):has(> li > ul) > li:not(:has(> ul)) {
  color: var(--pd-ink);
  font-weight: 500;
}
.content-article--product-desc ul:not(:is(li ul)):has(> li > ul) > li:has(> ul) {
  font-size: 0;
  line-height: 0;
}
.content-article--product-desc ul:not(:is(li ul)):has(> li > ul) > li:has(> ul) strong {
  font-size: 11px;
  line-height: 1.3;
}
.content-article--product-desc ul:not(:is(li ul)):has(> li > ul) > li:has(> ul) > ul {
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
  color: var(--pd-ink);
}
.content-article--product-desc ul:not(:is(li ul)):has(> li > ul) > li:has(> ul) > ul > li {
  margin: 0 0 6px;
  padding: 0 0 0 12px;
  position: relative;
  font-size: 14px;
  list-style: none;
  background: none;
  border: none;
  border-radius: 0;
}
.content-article--product-desc ul:not(:is(li ul)):has(> li > ul) > li:has(> ul) > ul > li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--signal-orange);
  font-weight: 700;
  background: none;
  width: auto;
  height: auto;
  border-radius: 0;
}
/* ——— Плоские характеристики без вложенности (только label — value) ——— */
.content-article--product-desc ul:not(:is(li ul)):not(:has(> li > ul)):has(> li:first-child strong) {
  /* комплектация: те же маркеры, уже выше */
}
/* ——— Нумерованные этапы: вертикальный таймлайн ——— */
.content-article--product-desc ol {
  margin: 0 0 36px;
  padding: 4px 0 4px 20px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: product-desc-ol;
  border-left: 2px solid rgba(232, 83, 10, 0.25);
  max-width: 820px;
}
.content-article--product-desc ol > li {
  counter-increment: product-desc-ol;
  position: relative;
  margin: 0;
  padding: 14px 0 14px 28px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--pd-ink);
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.content-article--product-desc ol > li:not(:last-child) {
  border-bottom: 1px solid var(--pd-line);
}
.content-article--product-desc ol > li::before {
  content: counter(product-desc-ol);
  position: absolute;
  left: -31px;
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  background: var(--signal-orange);
  border-radius: 50%;
  border: 3px solid var(--paper, #f6f8fb);
  box-shadow: none;
}
.content-article--product-desc ol > li > strong {
  font-size: 15px;
  font-weight: 800;
  display: block;
  margin-bottom: 6px;
  color: var(--pd-ink);
}
.content-article--product-desc ol > li > ul {
  margin-top: 10px;
}
/* Два варианта конструкции (каркас / сэндвич) — две колонки без карточек */
@media (min-width: 880px) {
  .content-article--product-desc ol:has(> li:nth-child(2):last-child) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
    row-gap: 0;
    border-left: none;
    padding-left: 0;
    max-width: none;
  }
  .content-article--product-desc ol:has(> li:nth-child(2):last-child) > li {
    padding-left: 36px;
    border-left: 2px solid rgba(232, 83, 10, 0.25);
    border-bottom: none;
  }
  .content-article--product-desc ol:has(> li:nth-child(2):last-child) > li::before {
    left: -13px;
  }
}
/* Вложенные ul внутри обычных li (редко) */
.content-article--product-desc li > ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.content-article--product-desc li > ul > li {
  margin: 0 0 6px;
  padding: 0 0 0 14px;
  position: relative;
  font-size: 14px;
  line-height: 1.5;
  color: var(--pd-ink);
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.content-article--product-desc li > ul > li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--signal-orange);
  font-weight: 700;
  background: none;
  width: auto;
  height: auto;
  border-radius: 0;
}
.content-article--product-desc p:has(strong:only-child > br:only-child),
.content-article--product-desc p:empty {
  display: none;
  margin: 0;
}
.content-article--product-desc p img,
.content-article--product-desc img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
  border-radius: var(--radius);
  border: none;
  background: transparent;
}
.content-article--product-desc p:has(img),
.content-article--product-desc strong:has(img) {
  display: block;
  width: 100%;
  max-width: none;
  font-weight: inherit;
}
.product-key-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 22px 0 28px;
}
.product-key-metrics > div {
  background: var(--paper-raised);
  padding: 18px 12px 16px;
  text-align: center;
  box-shadow: inset -1px 0 0 var(--line), inset 0 -1px 0 var(--line);
}
.product-key-metrics strong {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 6px;
}
.product-key-metrics span {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  color: var(--steel);
}
@media (max-width: 900px) {
  .product-key-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .content-article--product-desc .rich-media-duo { grid-template-columns: 1fr; }
}

.about-location { margin-top: 48px; padding-top: 8px; }
.about-location-title {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 0 0 8px;
}
.about-location-lead {
  font-size: 15px;
  color: var(--steel);
  margin: 0 0 22px;
  max-width: 640px;
}
.about-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.about-subnav a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper-raised);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.about-subnav a:hover {
  border-color: var(--signal-orange);
  color: var(--signal-orange);
  background: #fff;
}
.about-subnav a.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.about-subnav--bar {
  margin-top: 0;
  padding: 12px 0;
  border-top: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper-raised);
  position: sticky;
  top: var(--site-header-h, 118px);
  z-index: 85;
}

/* ---- week cars page (/about/avto_nedeli/) ---- */
.week-cars-hero {
  background: linear-gradient(145deg, var(--blueprint-deep) 0%, #0a2438 100%);
  padding: 32px 0 40px;
}
.week-cars-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 32px;
  align-items: center;
}
.week-cars-hero .breadcrumbs { color: rgba(246,244,239,0.55); margin-bottom: 12px; }
.week-cars-hero .breadcrumbs a { color: rgba(246,244,239,0.55); }
.week-cars-hero .breadcrumbs a:hover { color: var(--signal-orange); }
.week-cars-hero .breadcrumbs span[aria-current] { color: var(--paper); }
.week-cars-hero .breadcrumbs .sep { color: rgba(246,244,239,0.25); }
.week-cars-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 4vw, 44px);
  color: var(--paper);
  margin: 0 0 12px;
  line-height: 1.05;
}
.week-cars-hero-lead {
  color: rgba(246,244,239,0.7);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 22px;
  max-width: 520px;
}
.week-cars-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.week-cars-hero-visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(246,244,239,0.12);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.week-cars-hero-visual img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }

.week-cars-page { padding: 36px 0 64px; background: var(--paper); }
.week-cars-promo {
  background: rgba(232,83,10,0.08);
  border: 1px solid rgba(232,83,10,0.25);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 24px;
}
.week-cars-promo-title { font-weight: 700; margin: 0 0 10px; font-size: 15px; }
.week-cars-promo-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 6px 16px;
  font-size: 13.5px;
  color: var(--ink);
}
.week-cars-promo-list li::before { content: "✔ "; color: var(--signal-orange); font-weight: 700; }

.week-cars-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 8px;
}
.week-cars-search { flex: 1 1 280px; max-width: 420px; }
.week-cars-years { display: flex; flex-wrap: wrap; gap: 8px; }
.week-cars-year {
  border: 1px solid var(--line);
  background: var(--paper-raised);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.week-cars-year.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.week-cars-meta { font-size: 13px; color: var(--steel); margin: 16px 0 18px; }
.week-cars-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.week-car-offer {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.week-car-offer:hover { border-color: var(--signal-orange); box-shadow: 0 8px 24px rgba(14,47,77,0.08); }
.week-car-offer-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  padding: 8px;
  min-height: 100px;
  width: 100%;
  cursor: zoom-in;
  overflow: hidden;
  appearance: none;
  font: inherit;
  color: inherit;
}
.week-car-offer-media img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.week-car-offer-media:hover img { transform: scale(1.1); }
.week-car-modal-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.week-car-modal-thumb img { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; }

.modal-overlay--zoom {
  background: rgba(10, 22, 38, 0.92);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.week-car-zoom-close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
}
.week-car-zoom-frame {
  margin: 0;
  max-width: min(96vw, 1200px);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
}
.week-car-zoom-frame img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.15s ease-out;
  cursor: zoom-in;
}
.week-car-zoom-hint {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  pointer-events: none;
}
.week-car-offer-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.week-car-offer-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.week-car-offer-meta .week-car-badge {
  margin-bottom: 0;
  padding: 4px 8px;
}
.week-car-vin { font-family: var(--font-mono); font-size: 11px; color: var(--steel); }
.week-car-offer h3 { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.3; }
.week-car-specs { margin: 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--steel); line-height: 1.45; }
.week-car-specs li + li { margin-top: 3px; }
.week-car-offer-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.week-cars-load-sentinel { height: 1px; margin-top: 8px; pointer-events: none; }
.week-cars-load-more { display: flex; justify-content: center; margin-top: 28px; }
.week-cars-legal { margin-top: 32px; font-size: 12.5px; color: var(--steel); line-height: 1.55; }
.week-cars-empty { text-align: center; padding: 32px 12px; color: var(--steel); }

.modal-card--wide { max-width: 720px; width: calc(100% - 32px); }
.modal-overlay--video { padding: 16px; }
.modal-card--video {
  max-width: min(920px, 96vw);
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #0a1626;
}
.modal-card--video .modal-close {
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  background: rgba(10, 22, 38, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  z-index: 6;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
.modal-card--video .modal-close:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.9);
}
.video-modal-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a1626;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.video-modal-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-modal-caption {
  margin: 0;
  padding: 12px 16px 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  background: var(--paper-raised);
}
.week-car-modal { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; }
.week-car-modal img { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; }
.week-car-modal-text { font-size: 14px; line-height: 1.55; color: var(--ink); max-height: 60vh; overflow: auto; white-space: pre-wrap; }

@media (max-width: 920px) {
  .week-cars-hero-grid { grid-template-columns: 1fr; }
  .week-cars-hero-visual { order: -1; }
  .week-cars-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .week-car-offer { grid-template-columns: 1fr; }
  .week-car-modal { grid-template-columns: 1fr; }
}

.service-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.service-sidebar {
  position: sticky;
  top: 24px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 14px;
}
.service-sidebar-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 10px;
  padding: 0 8px;
}
.service-sidebar a {
  display: block;
  padding: 10px 10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.service-sidebar a:hover { background: var(--paper); color: var(--signal-orange); }
.service-sidebar a.is-active {
  background: rgba(232,83,10,0.1);
  color: var(--signal-orange);
}
.service-sidebar-all {
  margin-top: 8px;
  padding-top: 12px !important;
  border-top: 1px solid var(--line);
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--steel) !important;
}
.service-banner {
  margin: 0 0 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  max-height: 280px;
}
.service-banner img {
  display: block;
  width: 100%;
  height: min(42vw, 280px);
  object-fit: cover;
  object-position: center;
}
.service-main .content-article { max-width: none; }
.service-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 32px;
  padding: 0;
  list-style: none;
}
.service-steps li {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 16px 16px 52px;
  position: relative;
  font-size: 14.5px;
  line-height: 1.55;
}
.service-steps li::before {
  content: attr(data-step);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blueprint-deep);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-banks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 32px;
  align-items: center;
  margin: 20px 0 28px;
}
.service-banks img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  max-height: 56px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 560px) {
  .service-banks {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-banks img { max-height: 48px; }
}
.service-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 24px;
}
.service-partners span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
}
.service-contact-card {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--blueprint-deep);
  color: var(--paper);
}
.service-contact-card h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 18px; }
.service-contact-card p { margin: 0 0 6px; font-size: 14px; color: rgba(246,244,239,0.85); }
.service-contact-card a { color: var(--paper); }
.service-action-bar {
  margin-top: 40px;
  padding: 24px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(232,83,10,0.08), rgba(14,47,77,0.04));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.service-action-bar h2 { margin: 0 0 6px; font-family: var(--font-display); font-size: 22px; }
.service-action-bar p { margin: 0; font-size: 14.5px; color: var(--steel); max-width: 520px; }
.uslugi-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.uslugi-hub-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-raised);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}
.uslugi-hub-card:hover { border-color: var(--signal-orange); transform: translateY(-2px); }
.uslugi-hub-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.uslugi-hub-card div { padding: 18px 18px 20px; }
.uslugi-hub-card h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 20px; }
.uslugi-hub-card p { margin: 0; font-size: 14px; color: var(--steel); line-height: 1.5; }
@media (max-width: 920px) {
  .service-layout { grid-template-columns: 1fr; }
  .service-sidebar { position: static; display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; }
  .service-sidebar-title { width: 100%; }
  .service-sidebar a { padding: 8px 10px; font-size: 13px; }
  .service-sidebar-all {
    flex: 1 1 100%;
    width: 100%;
    margin-top: 6px;
    padding: 11px 14px !important;
    border: 1px solid var(--signal-orange) !important;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--signal-orange) !important;
    background: rgba(232, 83, 10, 0.08);
  }
  .service-sidebar-all:hover {
    background: var(--signal-orange);
    color: #fff !important;
  }
  .service-steps { grid-template-columns: 1fr; }
  .uslugi-hub-grid { grid-template-columns: 1fr; }
}

/* ---- promotions / news listing cards (reuse .news-grid/.news-card) ---- */
.promo-card-badge { display: inline-block; background: var(--signal-orange); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }

/* ---- contacts page ---- */
.contacts-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.contacts-card { background: var(--blueprint-deep); border-radius: var(--radius); padding: 28px; color: var(--paper); }
.contacts-card h3 { font-family: var(--font-display); font-size: 19px; margin: 0 0 16px; }
.contacts-row { font-size: 14px; color: rgba(246,244,239,0.8); margin: 0 0 9px; }
.contacts-map-frame { width: 100%; aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.contacts-map-frame iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 920px) {
  .catalog-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-layout { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .contacts-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .catalog-hub-grid { grid-template-columns: 1fr; }
  .hub { padding: 24px 16px; }
  .hub-spokes { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

