:root {
  --color-base: #ffffff;
  --color-foreground: #03060a;
  --color-primary: #FFD400;
  --color-primary-hover: #e6bf00;
  --color-primary-foreground: #111111;
  --color-secondary: #f2f4f5;
  --color-muted: #595e63;
  --color-border: #dbdee1;
  --color-dark: #111111;
  --color-dark-secondary: #1a1a1a;
  --color-destructive: #b00020;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Russo One', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --container: clamp(1280px, 88vw, 1760px);
  --section-pad: clamp(44px, 5vw, 88px);
  --grid-gap: clamp(12px, 1.2vw, 20px);
  --header-h: 64px;
  --glass-bg: rgba(255,255,255,0.72);
  --glass-border: rgba(255,255,255,0.3);
  --glass-blur: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.16);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html,
body {
  overflow-x: clip;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-foreground);
  background: var(--color-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--color-primary); color: var(--color-primary-foreground); }
.btn-primary:hover { background: #e6bf00; }
.btn-outline { background: transparent; border: 1px solid var(--color-border); color: var(--color-foreground); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }

.section { padding: var(--section-pad) 0; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  color: var(--color-foreground);
  line-height: 1.2;
}

/* === HEADER / NAV === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.site-topbar {
  background: #0d0e10;
  color: rgba(255,255,255,.65);
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.site-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 20px;
}
.site-topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}
.topbar-address,
.topbar-hours {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar-address svg,
.topbar-hours svg {
  color: var(--color-primary);
}
.topbar-sep {
  color: rgba(255,255,255,.3);
  margin: 0 2px;
}
.site-topbar-inner { flex-wrap: nowrap; }
.topbar-address,
.topbar-hours,
.topbar-phone,
.site-topbar-right a { white-space: nowrap; }
.topbar-phone { flex-shrink: 0; }
.site-topbar-right { flex-shrink: 0; flex-wrap: nowrap; }
@media (max-width: 1200px) {
  .topbar-hours,
  .site-topbar-left .topbar-sep { display: none; }
}
@media (max-width: 980px) {
  .topbar-address { display: none; }
}
.site-topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-topbar-right a {
  color: rgba(255,255,255,.8);
  font-weight: 600;
  transition: color .2s;
}
.site-topbar-right a:hover {
  color: var(--color-primary);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}
.header-logo {
  flex-shrink: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.header-logo-brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.header-logo-svg {
  width: 210px;
  height: 30px;
  color: #0f172a;
  display: block;
}
@media (max-width: 640px) {
  .header-logo-svg {
    width: 165px;
    height: 24px;
  }
  .header-logo-tagline {
    font-size: 8.5px;
  }
}
.header-logo-tagline {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  line-height: 1;
  padding-left: 2px;
}
.header-nav {
  display: none;
  align-items: center;
  flex: 1;
}
.header-nav a,
.header-nav button {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.header-nav a:hover,
.header-nav button:hover { color: var(--color-foreground); }
.header-nav a.active { color: var(--color-foreground); }
.nav-item-catalog {
  position: static;
}
.nav-link-catalog {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700 !important;
  color: var(--color-foreground) !important;
}
.nav-link-catalog .nav-arrow {
  transition: transform .2s ease;
}
.nav-item-catalog:hover .nav-link-catalog .nav-arrow {
  transform: rotate(180deg);
}
.catalog-mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  border-bottom: 2px solid var(--color-primary);
  box-shadow: 0 24px 48px rgba(3, 6, 10, 0.12);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .22s cubic-bezier(0.16, 1, 0.3, 1), transform .22s cubic-bezier(0.16, 1, 0.3, 1), visibility .22s;
  pointer-events: none;
}
.catalog-mega-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
.nav-item-catalog:hover .catalog-mega-menu,
.nav-item-catalog:focus-within .catalog-mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.mega-menu-inner {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 28px 20px 32px;
  display: grid;
  grid-template-columns: 1.15fr 1.35fr 1.05fr 0.95fr;
  gap: clamp(20px, 1.8vw, 32px);
  align-items: stretch;
}
.mega-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.mega-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf0f2;
}
.mega-col-header strong {
  font-size: clamp(13px, 0.85vw, 14.5px);
  font-weight: 800;
  color: var(--color-foreground);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.mega-col-header a {
  padding: 0 !important;
  font-size: clamp(12.5px, 0.8vw, 14px) !important;
  font-weight: 700 !important;
  color: var(--color-primary, #FFD400) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  transition: color 0.15s ease, transform 0.15s ease !important;
}
.mega-col-header a:hover {
  color: var(--color-primary-hover, #e6bf00) !important;
  transform: translateX(2px);
}

/* 1. Бренды в меню */
.mega-brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 12px;
}
.mega-brand-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px !important;
  border-radius: var(--radius-md, 8px);
  background: transparent !important;
  border: 1px solid transparent !important;
  transition: all .18s ease;
}
.mega-brand-item:hover {
  background: var(--color-secondary, #f2f4f5) !important;
  transform: translateX(3px);
}
.mega-brand-item img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.88;
  transition: opacity .18s ease, transform .18s ease;
}
.mega-brand-item:hover img {
  opacity: 1;
  transform: scale(1.08);
}
.mega-brand-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-foreground);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .18s ease;
}
.mega-brand-item:hover .mega-brand-name {
  color: #111111;
}
.mega-brand-cnt {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-muted);
  background: transparent;
  padding: 2px 4px;
  border-radius: 99px;
  transition: color .18s ease;
}
.mega-brand-item:hover .mega-brand-cnt {
  color: var(--color-foreground);
}

/* 2. Кузова — Мини-карточки в стиле Подборок сайта */
.mega-bodies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}
.mega-body-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 12px 8px 14px !important;
  background: #ffffff !important;
  border: 1px solid var(--color-border, #dbdee1);
  border-radius: var(--radius-md, 12px);
  min-height: 98px;
  height: 98px;
  position: relative;
  transition: all .2s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none !important;
  overflow: hidden;
}
.mega-body-card:hover {
  background: #ffffff !important;
  border-color: #b0b5b9;
  box-shadow: 0 6px 18px rgba(0,0,0,.07);
  transform: translateY(-2px);
}
.mega-body-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}
.mega-body-card-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-foreground, #03060a);
  background: var(--color-secondary, #f2f4f5);
  padding: 2px 7px;
  border-radius: 99px;
  line-height: 1.2;
}
.mega-body-card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 48px;
}
.mega-body-card-name {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--color-foreground, #03060a);
  line-height: 1.2;
  margin-bottom: 4px;
  white-space: nowrap;
}
.mega-body-card-img {
  width: 108px;
  height: 52px;
  object-fit: contain;
  object-position: right center;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.08));
  transform: scale(1.68);
  transform-origin: right bottom;
  transition: transform .25s ease;
  margin-right: 4px;
  margin-bottom: -1px;
}
.mega-body-card:hover .mega-body-card-img {
  transform: scale(1.8) translateX(2px);
}

/* 3. Бюджет */
.mega-budget-tags {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.mega-budget-tags a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 9px 8px !important;
  background: var(--color-secondary);
  border: 1px solid transparent;
  border-radius: var(--radius-md, 8px);
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: var(--color-foreground) !important;
  white-space: nowrap !important;
  transition: all .2s;
}
.mega-budget-tags a:hover {
  background: #fff;
  border-color: #d0d5da;
  box-shadow: 0 4px 10px rgba(0,0,0,.05);
  transform: translateY(-1px);
}
.mega-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}
.mega-quick-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px !important;
  background: var(--color-secondary);
  border: 1px solid transparent;
  border-radius: var(--radius-md, 8px);
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: var(--color-foreground) !important;
  line-height: 1.3;
  transition: all .2s ease;
}
.mega-quick-link:hover {
  background: #fff;
  border-color: #d0d5da;
  box-shadow: 0 4px 10px rgba(0,0,0,.05);
  transform: translateX(3px);
}
.mql-badge {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--color-primary);
  color: #111111;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 4. Промо-карточка */
.mega-promo-card {
  background: #111111 !important;
  border-radius: 12px;
  padding: 24px 20px;
  color: #ffffff !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  height: auto;
  border: 1px solid #222222;
}
.mega-promo-tag {
  align-self: flex-start;
  padding: 3px 8px;
  background: rgba(255,212,0,.2);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 8px;
}
.mega-promo-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #fff;
}
.mega-promo-text {
  font-size: 13px;
  color: #9ea4aa;
  line-height: 1.45;
  margin-bottom: 18px;
}
.mega-promo-btn {
  width: 100%;
  height: 42px;
  font-size: 13.5px !important;
  font-weight: 700;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-dropdown a:hover { color: var(--color-foreground); background: var(--color-secondary); }
.header-right {
  display: none;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  flex-shrink: 0;
}
.header-city {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--color-muted);
}
.header-city svg { color: var(--color-foreground); }
.topbar-phone svg { color: var(--color-primary); }
.header-phone {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-foreground);
  transition: color 0.2s;
}
.header-phone:hover { color: var(--color-primary); }
.header-call {
  padding: 10px 20px;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.header-call:hover { background: var(--color-primary-hover); }
.header-favorites, .mobile-favorites { display: inline-flex; align-items: center; gap: 6px; color: var(--color-muted); font-size: 14px; font-weight: 600; white-space: nowrap; }
.header-favorites:hover, .mobile-favorites:hover { color: var(--color-foreground); }
.header-favorites span, .mobile-favorites span { display: inline-flex; min-width: 20px; height: 20px; align-items: center; justify-content: center; padding: 0 5px; border-radius: 10px; background: var(--color-secondary); color: var(--color-foreground); font-size: 12px; }
.header-favorites svg, .mobile-favorites svg { flex: 0 0 auto; }
.burger {
  display: flex;
  margin-left: auto;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: var(--color-foreground);
}

/* Legacy mobile menu styles removed вЂ” see MOBILE MENU section */

/* === HERO BACKGROUND (used by home-kit-hero) === */
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
picture { display: contents; }
.showroom-image.img-broken { visibility: hidden; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(247,248,250,0.95) 0%, rgba(247,248,250,0.7) 50%, transparent 100%);
}

/* === CAR CARD GRID (single source of truth) === */
.cars-grid,
.article-commercial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--grid-gap);
  justify-content: start;
  align-items: stretch;
}
@media (min-width: 640px) {
  .cars-grid,
  .article-commercial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .cars-grid,
  .article-commercial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1480px) {
  .cars-grid,
  .article-commercial-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.car-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(3, 6, 10, 0.04);
  transition: transform .28s var(--ease-out-expo), box-shadow .28s ease, border-color .28s ease;
  will-change: transform, box-shadow;
  position: relative;
}
@media (hover: hover) {
  .car-card:hover {
    box-shadow: 0 16px 36px rgba(3, 6, 10, 0.1);
    transform: translateY(-4px);
    border-color: #cbd0d4;
  }
}
.car-photo {
  position: relative;
  background: var(--color-secondary);
  overflow: hidden;
  aspect-ratio: 16/10;
}
.car-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.car-photo-empty {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--color-muted);
  font-size: 14px;
}
.car-card:hover .car-photo img { transform: scale(1.04); }
.car-card:hover .car-photo .car-gallery-track img { transform: none; }
.car-gallery-track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; cursor: grab; }
.car-gallery-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.car-gallery-track.is-dragging .car-slide { pointer-events: none; }
.car-gallery-track::-webkit-scrollbar { display: none; }
.car-slide { flex: 0 0 100%; min-width: 0; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.car-slide.img-broken { display: none; }
.car-photo-link.img-broken { display: none; }
.car-dot.img-broken, .car-dot[hidden] { display: none; }
.car-photo.img-broken .car-photo-empty { font-size: 14px; }
.car-photo-link { display: block; width: 100%; height: 100%; }
.car-dots { position: absolute; bottom: 10px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.car-dot { flex: 0 0 24px; width: 24px; height: 44px; padding: 0; border: 0; background: transparent; pointer-events: auto; display: grid; place-items: center; }
.car-dot::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 1px 3px rgba(0,0,0,.35); transition: background .2s, transform .2s; }
.car-dot.active::after { background: var(--color-primary); transform: scale(1.15); }
@media (max-width: 480px) { .car-dot { flex-basis: 24px; width: 24px; } }

.car-photo-count {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(3, 6, 10, 0.65);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.car-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  width: 38px;
  height: 38px;
  padding: 0;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(16,24,40,.16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: opacity .2s ease, transform .2s ease, background .2s ease, color .2s ease;
  opacity: 0.88;
  transform: scale(1);
  color: var(--color-foreground);
}
@media (hover: none) {
  .car-fav { top: 12px; right: 12px; width: 40px; height: 40px; opacity: 1; transform: scale(1); }
}
.car-card:hover .car-fav, .car-fav:focus-visible, .car-fav.is-favorite { opacity: 1; transform: scale(1); }
.car-fav:hover { background: #ffffff; transform: scale(1.08); color: var(--color-destructive); }
.car-fav.active svg, .car-fav.is-favorite svg { fill: var(--color-destructive); color: var(--color-destructive); }
.car-fav::before {
  content: "";
  position: absolute;
  top: -7px;
  right: -7px;
  bottom: -7px;
  left: -7px;
}
@media (hover: none) {
  .car-fav::before { top: -9px; right: -9px; bottom: -9px; left: -9px; }
}
.car-badges {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-width: calc(100% - 20px);
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.badge-hot { background: #ffead0; color: #b54a00; }
.badge-new { background: #d4edff; color: #005a99; }
.badge-price { background: #ffd9d9; color: #b00020; }
.badge-stock { background: #d9f5d9; color: #1a701a; }
.badge-check { background: #eef7ee; color: #1f7a28; border: 1px solid rgba(31,122,40,0.15); }
.badge-history { background: #edf4fb; color: #005a99; border: 1px solid rgba(0,90,153,0.15); }
.badge-good { background: #eef9f0; color: #1a701a; border: 1px solid rgba(26,112,26,0.15); }
.badge-default { background: #f2f4f5; color: var(--color-foreground); }

.car-info {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.car-card-header {
  margin-bottom: 12px;
}
.car-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.car-brand-mini-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
}
.car-title.car-card-title {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.15vw, 18.5px);
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  color: var(--color-foreground);
  letter-spacing: -0.01em;
  flex: 1;
  min-width: 0;
}
.car-title.car-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.car-title.car-card-title a:hover {
  color: #b38600;
}
.car-card-year {
  display: inline-block;
  font-weight: 600;
  color: var(--color-muted);
  font-size: 0.9em;
  margin-left: 4px;
}

.car-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.car-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--color-secondary, #f4f6f8);
  color: #3b4248;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.car-meta-tag svg {
  color: #7a828a;
  flex-shrink: 0;
}

/* === QUICK CHIPS === */
.catalog-quick-chips {
  margin-bottom: 20px;
}
.catalog-chips-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.catalog-chips-scroll::-webkit-scrollbar {
  display: none;
}
.catalog-chip {
  flex-shrink: 0;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #ffffff;
  color: var(--color-foreground);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(3, 6, 10, 0.04);
}
.catalog-chip:hover {
  border-color: #cbd0d4;
  background: #f8f9fa;
  transform: translateY(-1px);
}
.catalog-chip.is-active {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(3, 6, 10, 0.18);
}
.catalog-chip.is-active:hover {
  background: #222222;
  border-color: #222222;
}
.catalog-chip-reset {
  flex-shrink: 0;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px dashed var(--color-border);
  background: #ffffff;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.catalog-chip-reset:hover {
  border-color: #e53935;
  color: #e53935;
  background: #fff8f8;
}
.catalog-chip-reset svg {
  flex-shrink: 0;
}
.catalog-chip-reset.is-hidden {
  display: none !important;
}

/* === CATALOG FILTERS === */
.filter-select {
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0 32px 0 12px;
  font-size: 13px;
  font-weight: 500;
  width: 100%;
  min-width: 0;
  background: #fff url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23595e63' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.filter-select:focus { border-color: var(--color-primary); outline: none; }
.filter-select:focus-visible { border-color: var(--color-foreground); box-shadow: 0 0 0 3px rgba(255,212,0,.28); }
.filter-select:disabled { opacity: 0.5; cursor: not-allowed; }
.filter-select.filter-active { border-color: var(--color-primary); background-color: rgba(255,212,0,.12); }

.filter-input {
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0 10px;
  font-size: 13px;
  font-weight: 500;
  width: 100%;
  min-width: 0;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
  background: #fff;
}
.filter-input:focus { border-color: var(--color-primary); outline: none; }
.filter-input:focus-visible { border-color: var(--color-foreground); box-shadow: 0 0 0 3px rgba(255,212,0,.28); }
.filter-input.filter-active { border-color: var(--color-primary); background-color: rgba(255,212,0,.12); }

.filter-range {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 6px;
}
.range-sep { color: var(--color-muted); font-size: 13px; }

.catalog-section { padding: var(--section-pad) 0 80px; }

.catalog-filters { margin-bottom: 32px; background: var(--color-secondary); border-radius: var(--radius-lg); padding: 20px; }

.filter-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}
.filter-row-checkboxes { margin-bottom: 8px; }

.filter-group { min-width: 0; position: relative; }
.filter-group--active::after {
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid var(--color-secondary);
}

.filter-checkboxes {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 0 12px;
  border-top: 1px solid var(--color-border);
  margin-top: 4px;
}
.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}
.filter-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.filter-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}
.reset-filters { transition: opacity 0.2s, visibility 0.2s; }
.reset-filters--hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.filter-actions-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.filter-orderby { width: auto; min-width: 200px; }

.catalog-subtitle { color: var(--color-muted); font-size: 16px; margin: 8px 0 0; }

.filter-count { color: var(--color-foreground); font-weight: 700; }
.filter-count-text { font-size: 14px; color: var(--color-muted); }

.catalog-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }

.cars-grid { min-height: 400px; }

.reset-filters {
  font-size: 13px;
  color: var(--color-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.reset-filters:hover { border-color: var(--color-destructive); color: var(--color-destructive); }

.car-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 16px;
}

.car-share-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
}

.car-share-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.car-share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-secondary);
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease-out-expo);
}
.car-share-link svg { pointer-events: none; }
.car-share-link:hover {
  transform: translateY(-2px);
  background: #fff;
}
.car-share-link[data-share="vk"]:hover { color: #4a76a8; border-color: #4a76a8; }
.car-share-link[data-share="tg"]:hover { color: #0088cc; border-color: #0088cc; }
.car-share-link[data-share="wa"]:hover { color: #25d366; border-color: #25d366; }

.car-share-copy {
  position: relative;
  padding: 0;
  font: inherit;
}
.car-share-copy:hover { color: var(--color-foreground); border-color: var(--color-foreground); }

.copy-feedback {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.aura-toast { position: fixed; left: 50%; bottom: 24px; z-index: 1200; max-width: min(440px, calc(100vw - 32px)); padding: 13px 18px; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-foreground); color: #fff; box-shadow: 0 12px 32px rgba(16,24,40,.2); font-size: 14px; font-weight: 700; text-align: center; opacity: 0; transform: translate(-50%, 14px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.aura-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.aura-toast.is-error { background: #b42318; border-color: #b42318; }
[data-tooltip]:not([data-tooltip-host]) { position: relative; }
.car-fav[data-tooltip] { position: absolute; }
[data-tooltip]::after { content: attr(data-tooltip); position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 20; width: max-content; max-width: 220px; padding: 6px 9px; border-radius: 6px; background: var(--color-foreground); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.25; opacity: 0; pointer-events: none; transform: translate(-50%, 4px); transition: opacity .15s ease, transform .15s ease; }
[data-tooltip]:hover::after, [data-tooltip]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) {
  [data-tooltip]::after { display: none; }
}

.car-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.car-footer-pricing {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.car-price {
  font-family: var(--font-sans);
  font-size: clamp(21px, 1.4vw, 24px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-foreground);
}
.car-price span { font-size: 13px; font-weight: 400; color: var(--color-muted); }
.car-credit {
  font-size: 12.5px;
  font-weight: 700;
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 4px;
  width: fit-content;
  white-space: nowrap;
}
.car-detail {
  min-height: 40px;
  padding: 8px 14px;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}
.car-detail:hover {
  background: #e6bf00;
  transform: translateY(-1px);
}
.car-detail svg {
  transition: transform 0.2s ease;
}
.car-detail:hover svg {
  transform: translateX(2px);
}

/* === CREDIT BASE (reused by home-kit-credit) === */
.credit-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0 0 24px;
}
.credit-benefits-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 40px;
  list-style: none;
  padding: 0;
}
.credit-benefits-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
}
.credit-benefits-list li::before {
  content: '\2713';
  color: var(--color-primary);
  font-weight: 700;
}
.credit-apply-btn { margin-top: 8px; }
.credit-calc-panel {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.credit-calc-panel h3 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 28px;
  color: var(--color-foreground);
}
.calc-field { display: grid; gap: 7px; margin-bottom: 16px; }
.calc-field .calc-field-label,
.calc-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-muted);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 0;
}
.calc-field input,
.calc-field select {
  width: 100%;
  min-height: 48px;
  background: var(--color-secondary);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 0 16px;
  color: var(--color-foreground);
  font-size: 15px;
  outline: none;
  appearance: none;
}
.calc-field input[type="range"] { min-height: 0; padding: 0; border: 0; background: transparent; appearance: auto; }
.calc-field input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(3, 6, 10, .2);
  cursor: pointer;
}
.calc-field input[type="range"]::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid #fff;
  cursor: pointer;
}
.calc-field input:focus,
.calc-field select:focus { border-color: var(--color-foreground); box-shadow: 0 0 0 3px rgba(255, 212, 0, .3); }
.calc-result-box {
  background: rgba(255,212,0,0.1);
  border: 1px solid rgba(255,212,0,0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cr-label { font-size: 13px; color: var(--color-muted); }
.calc-result-amount { font-family: var(--font-display); font-size: 1.8rem; color: var(--color-primary); }
.calc-submit-full {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  font-weight: 700;
  border-radius: var(--radius-md);
  font-size: 15px;
  transition: background 0.2s;
}
.calc-submit-full:hover { background: var(--color-primary-hover); }

/* === REVIEWS === */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-stars { display: flex; gap: 2px; }
.review-stars svg { fill: var(--color-primary); color: var(--color-primary); }
.review-text { font-size: 15px; line-height: 1.6; flex: 1; margin: 0; }

/* === SERVICE CARDS (page-services) === */
.service-cards {
  display: flex;
  flex-direction: column;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

/* === FOOTER === */
.site-footer {
  background: var(--color-dark, #111111);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.15fr 1.25fr;
  gap: 40px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 20px 32px;
}
.footer-col-brand .footer-logo-img {
  height: 46px;
  width: auto;
  max-width: 180px;
  display: block;
  margin-bottom: 20px;
}
.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 18px;
  max-width: 320px;
}
.footer-dealer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255, 212, 0, 0.1);
  border: 1px solid rgba(255, 212, 0, 0.28);
  color: var(--color-primary);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-dealer-badge svg {
  color: var(--color-primary);
  flex-shrink: 0;
}
.footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition: all 0.2s ease;
  border: 0;
}
.footer-social-btn:hover {
  background: var(--color-primary);
  color: #111111;
  transform: translateY(-2px);
}
.footer-col h4, .footer-col .footer-col-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin: 0 0 22px;
}
.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links-list a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}
.footer-links-list a:hover {
  color: var(--color-primary);
  transform: translateX(3px);
}
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-contacts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.45;
}
.footer-contacts svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-phone-link {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.01em;
}
.footer-phone-link:hover {
  color: var(--color-primary) !important;
}
.footer-email-link {
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.8) !important;
}
.footer-email-link:hover {
  color: var(--color-primary) !important;
}
.footer-btn-callback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius-md, 8px);
  border: 1px solid rgba(255, 212, 0, 0.4);
  background: rgba(255, 212, 0, 0.1);
  color: var(--color-primary);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 4px;
}
.footer-btn-callback:hover {
  background: var(--color-primary);
  color: #111111;
  border-color: var(--color-primary);
}
.footer-callback-title { font-family: var(--font-display); font-size: 1.5rem; margin: 0 0 8px; }
.footer-callback-desc { color: var(--color-muted); margin: 0 0 24px; }
.modal-specialist-note { margin: 0 0 20px; padding: 10px 14px; border-radius: var(--radius-sm); background: rgba(255, 212, 0, 0.12); border-left: 3px solid var(--color-primary); color: var(--color-foreground); font-size: 14px; font-weight: 600; }
.form-consent { display: flex; align-items: flex-start; gap: 8px; width: 100%; font-size: 12px; line-height: 1.4; color: var(--color-muted); }
.form-consent input { width: 16px; height: 16px; min-width: 16px; margin: 1px 0 0; }
.form-consent a { color: inherit; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c0d0e;
  padding: 24px 20px 32px;
}
.footer-bottom-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-bottom-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copyright {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-bottom-links a:hover {
  color: var(--color-primary);
}
.footer-disclaimer {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

/* === INNER PAGES / LEGAL === */
.page-content { padding: 40px 0 80px; }
.page-content .page-content-body,
.legal-page .container > p,
.legal-page .container > h2,
.legal-page .container > h3,
.legal-page .container > ul,
.legal-page .container > ol { max-width: 820px; margin-left: auto; margin-right: auto; }
.legal-page h2 { margin: 32px 0 12px; font-size: 24px; }
.legal-page p, .legal-page li { line-height: 1.7; color: var(--color-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.cookie-notice { position: fixed; z-index: 1000; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 20px; max-width: 640px; padding: 18px 20px; background: var(--color-dark); color: #fff; border-radius: var(--radius); box-shadow: 0 12px 36px rgba(0,0,0,.2); }
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; font-size: 13px; line-height: 1.5; }
.cookie-notice a { color: var(--color-primary); }
.cookie-notice-accept { flex-shrink: 0; }
@media (max-width: 767px) { .cookie-notice { right: 12px; bottom: 12px; left: 12px; flex-direction: column; align-items: stretch; gap: 12px; } }
.page-header {
  background: var(--color-dark);
  color: #fff;
  padding: 80px 0 60px;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  letter-spacing: 0.02em;
  margin: 0;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--color-muted); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs .sep { color: var(--color-border); }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-header .link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  color: var(--color-muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.section-header .link:hover { color: var(--color-foreground); }

@media (min-width: 640px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.4fr; }
}

/* === SINGLE CAR === */
.car-single { padding: var(--section-pad) 0 max(64px, var(--section-pad)); }
.car-single-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 2.6vw, 48px); }

.car-gallery-main { position: relative; background: var(--color-secondary); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 12px; }
.car-gallery-open { display: block; width: 100%; padding: 0; border: 0; background: transparent; }
.car-gallery-main img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; cursor: pointer; }
.car-gallery-step { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(17,17,17,0.55); color: #fff; cursor: pointer; transition: background .2s, opacity .2s; }
.car-gallery-step:hover { background: rgba(17,17,17,0.8); }
.car-gallery-step:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.car-gallery-step-prev { left: 12px; }
.car-gallery-step-next { right: 12px; }
.car-gallery-main-counter { position: absolute; right: 12px; bottom: 12px; z-index: 3; padding: 4px 10px; border-radius: 999px; background: rgba(17,17,17,0.65); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.4; }
.car-gallery-main.is-dragging { user-select: none; }
.car-gallery-main.is-dragging img { cursor: grabbing; }
@media (max-width: 767px) { .car-gallery-step { display: none; } }
.car-gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.car-gallery-thumb { width: 80px; height: 60px; padding: 0; border-radius: 6px; cursor: pointer; opacity: 0.6; border: 0; box-shadow: inset 0 0 0 2px transparent; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); transition: opacity 0.2s, box-shadow 0.2s; }
.car-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.car-gallery-thumb:hover { opacity: 1; }
.car-gallery-thumb.active { opacity: 1; box-shadow: inset 0 0 0 2px var(--color-primary); }

.car-gallery-lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 9999; justify-content: center; align-items: center; cursor: pointer; overflow: hidden; }
.car-gallery-lightbox.open { display: flex; }
.car-gallery-lightbox-stage { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.car-gallery-lightbox-stage.is-dragging { cursor: grabbing; }
.car-gallery-lightbox-stage img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 8px; transition: opacity 200ms ease-out, transform 200ms ease-out; will-change: transform, opacity; user-select: none; -webkit-user-drag: none; }
.car-gallery-lightbox-stage.is-dragging img { transition: none; }
.car-gallery-lightbox-close { position: absolute; top: 20px; right: 20px; z-index: 3; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.2); color: #fff; font-size: 32px; line-height: 1; cursor: pointer; }
.car-gallery-lightbox-close:hover { background: rgba(255,255,255,.35); }
.car-gallery-lightbox-prev,
.car-gallery-lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; cursor: pointer; transition: background .2s, opacity .2s; }
.car-gallery-lightbox-prev { left: 24px; }
.car-gallery-lightbox-next { right: 24px; }
.car-gallery-lightbox-prev:hover,
.car-gallery-lightbox-next:hover { background: rgba(255,255,255,.32); }
.car-gallery-lightbox-prev:focus-visible,
.car-gallery-lightbox-next:focus-visible,
.car-gallery-lightbox-close:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.car-gallery-lightbox-nav { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; }
.car-gallery-lightbox-counter { color: #fff; font-size: 14px; font-weight: 600; padding: 5px 14px; border-radius: 999px; background: rgba(255,255,255,.14); }
.car-gallery-lightbox-hint { display: none; color: rgba(255,255,255,.6); font-size: 12px; }
@media (hover: none) {
  .car-gallery-lightbox-hint { display: block; }
}
.car-gallery-lightbox.is-animating .car-gallery-lightbox-stage img { opacity: 0; }
.car-gallery-lightbox.img-broken .car-gallery-lightbox-stage img { opacity: .25; }
@media (max-width: 1024px) {
  .car-gallery-lightbox-prev,
  .car-gallery-lightbox-next { display: none; }
}
@media (max-width: 767px) {
  .car-gallery-lightbox-stage img { max-width: 96vw; max-height: 82vh; }
  .car-gallery-lightbox-nav { bottom: 18px; }
  .car-gallery-lightbox-close { top: 12px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .car-gallery-lightbox-stage img { transition: none; }
}

.car-breadcrumbs { font-size: 13px; margin-bottom: 8px; }
.car-subtitle { color: var(--color-muted); font-size: 15px; margin: 0 0 16px; }

.car-single-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.car-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.car-badge.used { background: var(--color-secondary); color: var(--color-muted); }
.car-badge.new { background: #d1fae5; color: #065f46; font-weight: 700; }
.car-badge.reserved { background: #fef3c7; color: #92400e; font-weight: 700; }


.car-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--color-secondary);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
}
.car-meta-strip { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }

.car-pricing { margin-bottom: 24px; }
.car-pricing .old-price { font-size: 18px; color: #999; text-decoration: line-through; margin-right: 12px; }
.car-pricing .price { font-size: 36px; font-weight: 800; }
.car-pricing .credit { color: var(--color-muted); margin-top: 4px; }

.car-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.car-actions .btn { flex: 1 1 auto; }
.car-vin { margin-top: 16px; font-size: 13px; color: var(--color-muted); }

.car-section-title { font-family: var(--font-display); font-size: 20px; margin: 0 0 20px; }

.car-specs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.car-spec-item { padding: 12px 14px; background: var(--color-secondary); border-radius: var(--radius-sm); }
.car-spec-item.full { grid-column: 1 / -1; }
.car-spec-item .label { display: block; color: var(--color-muted); font-size: 13px; line-height: 1.45; margin-bottom: 4px; }
.car-spec-item .value { font-weight: 500; line-height: 1.45; display: flex; align-items: center; gap: 8px; }
.car-equipment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; list-style: none; padding: 0; margin: 0; }
.car-equipment-item { padding: 10px 12px; background: var(--color-secondary); border-radius: var(--radius-sm); font-size: 14px; line-height: 1.5; display: flex; align-items: flex-start; gap: 8px; }
.car-equipment-item svg { flex-shrink: 0; margin-top: 3px; }

.car-video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius-md); background: #000; }
.car-video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.car-description { max-width: 80ch; line-height: 1.7; color: var(--color-muted); }

.car-breadcrumb-top {
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.car-title { font-size: 32px; margin: 8px 0 4px; }
.car-vin-text { font-size: 11px; word-break: break-all; }
.car-single-two-col { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 2.6vw, 48px); align-items: start; }
.car-single-divider { border: none; border-top: 1px solid var(--color-border); margin: clamp(32px, 3.4vw, 56px) 0; }
.car-video-title { margin-top: 30px; }

@media (max-width: 768px) {
  .car-single-grid { grid-template-columns: minmax(0, 1fr); }
  .car-single-two-col { grid-template-columns: minmax(0, 1fr); }
  .car-specs-grid { grid-template-columns: minmax(0, 1fr); }
  .car-equipment-grid { grid-template-columns: minmax(0, 1fr); }
  .car-gallery-main img { aspect-ratio: 4 / 3; height: auto; }
  .car-pricing .price { font-size: 28px; }
}

.car-single-grid > *,
.car-single-two-col > * {
  min-width: 0;
}

.color-dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  vertical-align: middle;
  margin-right: 6px;
}

.car-options-group { margin-bottom: 8px; }
.car-options-group summary { cursor: pointer; font-weight: 600; padding: 8px 0; list-style: none; display: flex; align-items: center; gap: 8px; }
.car-options-group summary::-webkit-details-marker { display: none; }
.car-options-group summary::before { content: '\25B8'; transition: transform 0.2s; }
.car-options-group[open] summary::before { transform: rotate(90deg); }

#form-notification {
  position: fixed; bottom: 20px; right: 20px; z-index: 9999;
  padding: 14px 24px; border-radius: var(--radius-md);
  font-size: 15px; font-weight: 600;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  animation: slideUp 0.3s ease;
}
#form-notification.is-hidden { display: none; }
#form-notification:empty { display: none; }
#form-notification.success { background: #d1fae5; color: #065f46; }
#form-notification.error { background: #fee2e2; color: #991b1b; }
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cars-grid.loading { opacity: 0.4; position: relative; }
.cars-grid.loading::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 48px; height: 48px; margin: -24px 0 0 -24px;
  border: 4px solid var(--color-secondary); border-top-color: var(--color-primary);
  border-radius: 50%; animation: spin 0.8s linear infinite;
  z-index: 2;
}
@keyframes spin { to { transform: rotate(360deg); } }
.catalog-empty,
.catalog-error { grid-column: 1 / -1; padding: 32px; text-align: center; color: var(--color-muted); }
.catalog-error { border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-base); }
.catalog-error-title { margin: 0 0 8px; color: var(--color-text); font-size: 18px; font-weight: 700; }
.catalog-error p { margin: 0; }
.catalog-retry { margin-top: 16px; min-height: 44px; padding: 10px 18px; }

/* === ARCHIVE LOOP === */
.archive-grid { display:grid;grid-template-columns:1fr;gap:24px; }
.archive-card { padding:24px;border:1px solid var(--color-border);border-radius:var(--radius-lg); }
.archive-empty { font-size:16px;color:var(--color-muted); }

/* === 404 PAGE — BRAND EXPERIENCE === */
.aura-404-section {
  position: relative;
  overflow: hidden;
  background-color: #0b0f17;
  color: #ffffff;
  padding: clamp(48px, 5vw, 76px) 0 clamp(40px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.aura-404-section .container {
  position: relative;
  z-index: 2;
  max-width: min(var(--container), calc(100vw - 40px));
}
.aura-404-bg {
  position: absolute;
  inset: -3% 0;
  z-index: 0;
  background-image: url("../images/showroom-interior.jpg");
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
  transform: scale(1.04);
  pointer-events: none;
}
.aura-404-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 54% at 50% 34%, rgba(9, 13, 22, 0.88) 0%, rgba(9, 13, 22, 0.62) 52%, rgba(9, 13, 22, 0) 78%),
    radial-gradient(900px 520px at 18% 22%, rgba(255, 212, 0, 0.1) 0%, rgba(255, 212, 0, 0) 62%),
    linear-gradient(102deg, rgba(9, 13, 22, 0.95) 0%, rgba(9, 13, 22, 0.88) 42%, rgba(9, 13, 22, 0.74) 68%, rgba(9, 13, 22, 0.64) 100%);
}

/* --- Centered content --- */
.aura-404-main {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.aura-404-num-wrap {
  position: relative;
  margin-bottom: clamp(10px, 1.4vw, 18px);
}
.aura-404-num-wrap::before {
  content: "";
  position: absolute;
  inset: -14% -18%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(9, 13, 22, 0.72) 0%, rgba(9, 13, 22, 0.4) 55%, rgba(9, 13, 22, 0) 100%);
  z-index: -1;
  pointer-events: none;
}
.aura-404-giant-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(6.2rem, 9.5vw, 12rem);
  font-weight: 400;
  line-height: 1;
  padding: 0.08em 0 0.04em;
  letter-spacing: -0.04em;
  background: linear-gradient(178deg, #ffffff 8%, rgba(255, 255, 255, 0.42) 58%, rgba(255, 212, 0, 0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.65)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  user-select: none;
}
.aura-404-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 400;
  line-height: 1.16;
  color: #ffffff;
  margin: 0 0 16px;
}
.aura-404-desc {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  margin: 0 auto clamp(26px, 3vw, 40px);
}

/* --- Search --- */
.aura-404-search-box {
  max-width: 560px;
  margin: 0 auto clamp(18px, 2vw, 26px);
}
.aura-404-search-form {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 6px 8px 6px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.aura-404-search-form:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(255, 212, 0, 0.2);
}
.aura-404-search-icon {
  color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
  margin-right: 12px;
}
.aura-404-search-input {
  flex: 1;
  min-width: 0;
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  height: 44px !important;
  outline: none !important;
  padding: 0 !important;
}
.aura-404-search-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.aura-404-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-primary);
  color: #0b0f17;
  font-size: 14px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(255, 212, 0, 0.3);
}
.aura-404-search-btn:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 212, 0, 0.42);
}

/* --- Actions --- */
.aura-404-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
  max-width: 660px;
  margin: 0 auto clamp(28px, 3.4vw, 44px);
}
.aura-404-actions .aura-404-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  height: 100%;
  min-height: 56px;
  padding: 12px 14px;
  border-radius: 14px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}
.aura-404-actions .aura-404-btn span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aura-404-actions .aura-404-btn svg {
  flex-shrink: 0;
}
.aura-404-btn-primary {
  background: var(--color-primary);
  color: #0b0f17 !important;
  box-shadow: 0 6px 20px rgba(255, 212, 0, 0.32);
}
.aura-404-btn-primary:hover {
  background: var(--color-primary-hover);
  color: #0b0f17 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(255, 212, 0, 0.42);
}
.aura-404-btn-glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff !important;
}
.aura-404-btn-glass:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 212, 0, 0.55);
  color: var(--color-primary) !important;
  transform: translateY(-2px);
}

/* --- Shortcuts --- */
.aura-404-shortcuts {
  max-width: 560px;
  margin: 0 auto;
  padding-top: clamp(22px, 2.6vw, 32px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.aura-404-shortcuts-title {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.42);
  border-radius: 30px;
  padding: 6px 14px;
  margin-bottom: 14px;
}
.aura-404-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.aura-404-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 30px;
  background: rgba(9, 13, 22, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.aura-404-chip svg {
  flex-shrink: 0;
}
.aura-404-chip:hover {
  background: rgba(255, 212, 0, 0.14);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

@media (max-width: 1100px) {
  .aura-404-section {
    padding: 48px 0 56px;
  }
  .aura-404-section .container {
    max-width: min(var(--container), calc(100vw - 40px));
  }
}
@media (max-width: 767px) {
  .aura-404-section {
    padding: 36px 0 44px;
  }
  .aura-404-bg::after {
    background:
      radial-gradient(74% 42% at 50% 32%, rgba(9, 13, 22, 0.86) 0%, rgba(9, 13, 22, 0.5) 58%, rgba(9, 13, 22, 0) 84%),
      radial-gradient(560px 360px at 22% 12%, rgba(255, 212, 0, 0.09) 0%, rgba(255, 212, 0, 0) 60%),
      linear-gradient(180deg, rgba(9, 13, 22, 0.9) 0%, rgba(9, 13, 22, 0.94) 55%, rgba(9, 13, 22, 0.97) 100%);
  }
  .aura-404-giant-number {
    font-size: clamp(4.6rem, 24vw, 7rem);
  }
  .aura-404-title {
    font-size: clamp(1.45rem, 6.6vw, 1.85rem);
  }
  .aura-404-desc {
    font-size: 15px;
    margin-bottom: 26px;
  }
  .aura-404-actions {
    max-width: 100%;
  }
}
@media (max-width: 640px) {
  .aura-404-search-form {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 10px;
  }
  .aura-404-search-icon {
    display: none;
  }
  .aura-404-search-input {
    height: 48px !important;
    padding: 0 4px !important;
  }
  .aura-404-search-btn {
    width: 100%;
    height: 52px;
    justify-content: center;
  }
  .aura-404-actions {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 10px;
    max-width: 100%;
  }
  .aura-404-actions .aura-404-btn {
    height: auto;
    min-height: 54px;
    white-space: normal;
  }
  .aura-404-actions .aura-404-btn span {
    white-space: normal;
  }
  .aura-404-chip {
    min-height: 44px;
    padding: 12px 16px;
  }
}

/* === SEARCH === */
.search-count { font-size:15px;color:var(--color-muted);margin-bottom:32px; }
.search-empty { text-align:center;padding:60px 0; }
.search-empty p { font-size:18px;margin-bottom:24px; }
.search-form-inline { display:flex;gap:12px;max-width:480px;margin:0 auto; }
.search-form-inline input { flex:1;height:52px;border:1px solid var(--color-border);border-radius:var(--radius-md);padding:0 16px;font-size:15px; }
.search-form-inline button { height:52px; }

/* === PAGE/SINGLE CONTENT === */
.page-content-body { font-size:16px;line-height:1.7;color:var(--color-foreground); }

/* === FORM ELEMENTS === */
.form { width: 100%; }
.form-input,
.form-input-sm,
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0 16px;
  background: var(--color-base);
  color: var(--color-foreground);
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.form-input,
.form-group input,
.form-group select { height: 52px; font-size: 15px; }
.form-input-sm { height: 44px; padding: 0 14px; font-size: 14px; }
.form-group textarea { min-height: 120px; padding-top: 14px; padding-bottom: 14px; resize: vertical; }
.form-input::placeholder,
.form-input-sm::placeholder,
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-muted); opacity: .8; }
.form-input:focus,
.form-input-sm:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-foreground);
  box-shadow: 0 0 0 3px rgba(255, 212, 0, .28);
}
.form-input:disabled,
.form-input-sm:disabled,
.form-group input:disabled,
.form-group select:disabled,
.form-group textarea:disabled { cursor: not-allowed; opacity: .6; }
.form-btn { min-height: 52px; font-size: 16px; }
.form-btn-sm { min-height: 48px; font-size: 14px; white-space: nowrap; }
.form-grid { display: grid; gap: 16px; }
.form-inline { display: flex; gap: 12px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { display: grid; gap: 7px; min-width: 0; }
.form-field > label { color: var(--color-foreground); font-size: 13px; font-weight: 700; line-height: 1.35; }
.form-field > label span { color: var(--color-muted); font-weight: 500; }
.form-field > label span.form-req,
.form--lead .form-field > label span.form-req { color: #b91c1c; font-weight: 700; }
.form-field select.form-input { padding-right: 40px; cursor: pointer; }
.form-textarea { height: auto; min-height: 104px; padding: 14px 16px; line-height: 1.55; resize: vertical; }
.form--lead .form-textarea { min-height: 104px; }
.form--order .form-row-2 { gap: 16px; }
@media (max-width: 560px) {
  .form--order .form-row-2 { grid-template-columns: 1fr; }
}

/* === CONTACTS PAGE === */
.contacts-wrapper { max-width:800px;box-sizing:border-box; }
.contacts-grid { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px; }
.contacts-section-title { font-family:var(--font-display);font-size:1.5rem;margin:0 0 24px; }
.contacts-list { list-style:none;padding:0;display:grid;gap:16px; }
.contacts-list li { display:flex;align-items:flex-start;gap:12px;min-width:0;box-sizing:border-box; }
.contacts-list li > svg { flex:0 0 20px; }
.contacts-list a { min-width:0;overflow-wrap:anywhere;font-weight:600; }
.contacts-email-link { display:flex;flex-wrap:wrap;gap:4px 8px; }
.contacts-email-link span { overflow-wrap:anywhere; }
.contacts-map-section { margin-top:64px; }
.contacts-map-heading { margin-bottom:20px; }
.contacts-map-heading .section-title { margin-bottom:8px; }
.contacts-map-heading p { color:var(--color-muted);margin:0; }
.contacts-map { overflow:hidden;border-radius:var(--radius-lg);border:1px solid var(--color-border);background:var(--color-secondary); }
.contacts-map iframe { display:block;width:100%;max-width:100%;height:460px;border:0;box-sizing:border-box; }
.contacts-map-link { display:inline-block;margin-top:16px;font-weight:700; }

@media (max-width: 767px) {
  .contacts-wrapper { width:100%;max-width:none; }
  .contacts-grid { grid-template-columns:minmax(0,1fr);gap:32px; }
  .contacts-grid > * { min-width:0; }
  .contacts-map-section { margin-top:48px; }
  .contacts-map iframe { height:320px; }
  .contacts-map-link { max-width:100%;overflow-wrap:anywhere; }
  .contacts-grid .form--callback-inline { width:100%;max-width:100%;box-sizing:border-box; }
  .contacts-grid .form--callback-inline .form-field { min-width:0;flex:1 1 100%; }
  .contacts-grid .form--callback-inline .form-btn-sm { width:100%; }
  .contacts-grid .form--callback-inline .form-consent { display:flex;min-width:0;flex:1 1 100%;overflow-wrap:anywhere; }
  .contacts-grid .form--callback-inline .form-consent span { min-width:0;overflow-wrap:anywhere; }
}

/* === SERVICES PAGE === */
.services-hero p { color:rgba(255,255,255,0.5);font-size:16px;margin:8px 0 0; }

/* === TRADE-IN === */
.tradein-wrapper { max-width:640px; }
.tradein-layout { max-width:960px;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,460px);gap:64px;align-items:start; }
.tradein-copy p,.about-intro p { color:var(--color-muted);line-height:1.7; }
.service-page-section { background:var(--color-base); }
.service-page-grid { display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,460px);gap:64px;align-items:start; }
.service-page-copy { max-width:560px; }
.service-page-list { list-style:none;padding:0;margin:24px 0;display:grid;gap:14px; }
.service-page-list li { position:relative;padding-left:28px;line-height:1.5; }
.service-page-list li::before { content:'\2713';position:absolute;left:0;top:0;color:var(--color-primary);font-weight:800; }
.service-page-note { color:var(--color-muted);line-height:1.6; }
.service-page-form-wrap { padding:28px;background:var(--color-secondary);border-radius:var(--radius-lg); }
.service-page-form-title { margin:0 0 20px;font-family:var(--font-display);font-size:1.4rem; }
.service-card { display:block;padding:28px;background:var(--color-base);border:1px solid var(--color-border);border-radius:var(--radius-md);transition:transform .2s,box-shadow .2s; }
.service-card:hover { transform:translateY(-3px);box-shadow:0 10px 24px rgba(3,6,10,.08); }
.service-card h2 { margin:0 0 10px;font-size:1.25rem; }
.service-card p { margin:0;color:var(--color-muted);line-height:1.55; }
.services-intro { display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,420px);gap:48px;align-items:center;margin-bottom:48px; }
.services-intro p { color:var(--color-muted);line-height:1.7;max-width:520px; }
.services-intro img { display:block;width:100%;height:240px;object-fit:cover;border-radius:var(--radius-lg); }
.services-groups { display: grid; gap: 48px; }
.services-group-title { margin: 0 0 20px; font-family: var(--font-display); font-size: 1.5rem; }
.services-group .service-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; background: transparent; border: 0; }
.service-card h3 { margin: 0 0 10px; font-size: 1.2rem; }
.service-card p { display: flex; justify-content: space-between; gap: 12px; }
.service-card p span { flex-shrink: 0; color: var(--color-foreground); font-size: 20px; line-height: 1; }
.footer-discovery-link { margin-top: 22px !important; }
.footer-discovery-link a { color: rgba(255,255,255,0.7); }
.vacancy-empty { max-width: 860px; margin: 0 auto; padding: 48px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-base); text-align: center; }
.vacancy-empty h2 { margin: 0 0 12px; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); }
.vacancy-empty p { margin: 0 0 24px; color: var(--color-muted); line-height: 1.6; }
.vacancy-single-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 460px); gap: 64px; align-items: start; }
.vacancy-content { min-width: 0; }
.vacancy-meta { display: grid; grid-template-columns: minmax(140px, .7fr) 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--color-border); }
.vacancy-meta:first-child { border-top: 1px solid var(--color-border); }
.vacancy-meta strong { font-size: 14px; color: var(--color-muted); }
.vacancy-meta span { font-weight: 600; }
.vacancy-form-wrap { padding: 28px; border-radius: var(--radius-lg); background: var(--color-secondary); }
.vacancy-form-wrap h2 { margin: 0 0 10px; font-family: var(--font-display); font-size: 1.4rem; }
.vacancy-form-wrap > p { margin: 0 0 20px; color: var(--color-muted); line-height: 1.55; }
@media (max-width: 760px) {
  .tradein-layout,.service-page-grid { grid-template-columns:1fr;gap:32px; }
  .service-page-form-wrap { padding:20px; }
  .services-intro { grid-template-columns:1fr;gap:24px; }
  .services-group .service-cards,.vacancy-single-grid { grid-template-columns:1fr; }
  .vacancy-empty { padding: 28px 20px; }
  .vacancy-form-wrap { padding: 20px; }
}

/* === SELLING SITE PASS === */
.selling-nav { gap: 2px; }
.selling-nav > a, .selling-nav .nav-item > button { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; }
.selling-nav .nav-item > button span { font-size: 15px; color: var(--color-muted); }
.buy-mega-menu { display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 24px; width: min(720px, 75vw); padding: 24px; left: -12px; }
.buy-mega-menu strong { display: block; margin-bottom: 10px; color: var(--color-foreground); font-size: 13px; }
.buy-mega-menu a { display: block; padding: 8px 0; color: var(--color-muted); font-size: 13px; }
.buy-mega-menu a:hover { background: transparent; color: var(--color-foreground); }
.buy-mega-menu p { margin: 0 0 10px; color: var(--color-muted); font-size: 12px; line-height: 1.5; }
.buy-mega-menu-action { padding: 14px; border-radius: var(--radius-md); background: var(--color-secondary); }
.buy-mega-menu-action a { display: inline-flex; min-height: 40px; align-items: center; padding: 0 12px; border-radius: 8px; background: var(--color-primary); color: var(--color-primary-foreground); font-weight: 700; }
.home-kit-action-primary { background: var(--color-primary) !important; border-color: var(--color-primary) !important; color: var(--color-primary-foreground) !important; }
.credit-calculator-note { font-size: 12px !important; line-height: 1.5 !important; }
.credit-info-panel .calc-field { display: grid; gap: 7px; color: var(--color-muted); font-size: 12px; font-weight: 700; }
.credit-info-panel .calc-field input { min-height: 48px; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 0 12px; color: var(--color-foreground); background: var(--color-base); }
.credit-info-panel .calc-field input[type="range"] { min-height: 0; padding: 0; border: 0; background: transparent; }
.catalog-view-toggle { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-secondary); }
.catalog-view-toggle button { min-height: 36px; padding: 0 12px; border-radius: 7px; color: var(--color-muted); font-size: 12px; font-weight: 700; }
.catalog-view-toggle button[aria-pressed="true"] { background: var(--color-base); color: var(--color-foreground); box-shadow: var(--shadow-sm); }
.filter-multiselect { margin: 0; padding: 0; border: 0; }
.filter-multiselect legend { margin-bottom: 4px; color: var(--color-foreground); font-size: 13px; font-weight: 700; }
.filter-multiselect-options { display: grid; gap: 6px; }
.filter-multiselect-option { display: flex; align-items: center; gap: 8px; min-height: 36px; color: var(--color-foreground); font-size: 13px; cursor: pointer; user-select: none; }
.filter-multiselect-option input { width: 18px; height: 18px; margin: 0; accent-color: var(--color-primary); }
.icon-drivetrain { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.icon-drivetrain rect[fill="currentColor"], .icon-drivetrain circle[fill="currentColor"] { fill: currentColor; }

.car-list-specs { display: none; }
.car-list-actions { display: flex; align-items: center; gap: 10px; }
.car-list-actions .car-list-btn-callback { display: none; }

.catalog-infeed-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-lg, 16px);
  border: 1px solid rgba(255, 212, 0, 0.4);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: clamp(24px, 1.8vw, 32px) clamp(20px, 1.5vw, 26px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s, border-color 0.2s;
  color: #ffffff;
}
.catalog-infeed-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.28);
  border-color: var(--color-primary);
}
.catalog-infeed-card .catalog-infeed-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
  position: relative;
  z-index: 2;
}
.catalog-infeed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.catalog-infeed-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(255, 212, 0, 0.18);
  border: 1px solid rgba(255, 212, 0, 0.5);
  color: var(--color-primary);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.catalog-infeed-badge svg { color: var(--color-primary); }
.catalog-infeed-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-primary);
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(255, 212, 0, 0.35);
}
.catalog-infeed-title {
  font-family: var(--font-display, 'Russo One', sans-serif) !important;
  font-size: clamp(18px, 1.2vw, 22px) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #ffffff !important;
  margin: 0 0 10px;
  letter-spacing: 0.01em;
}
.catalog-infeed-desc {
  font-family: var(--font-body, 'Manrope', sans-serif) !important;
  font-size: clamp(13px, 0.9vw, 14.5px) !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,0.82) !important;
  line-height: 1.55 !important;
  margin: 0;
}
.catalog-infeed-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
}
.catalog-infeed-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius-md, 10px);
  background: var(--color-primary);
  color: #111111 !important;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  border: 0;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(255, 212, 0, 0.35);
}
.catalog-infeed-btn:hover {
  background: var(--color-primary-hover, #e6be00);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 212, 0, 0.5);
}
.catalog-infeed-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.catalog-infeed-link:hover { color: var(--color-primary); }
.catalog-infeed-link:hover { color: #7a5e00; }

/* === PROMO CARDS (CPT aura_promo) === */
.promo-card { overflow-wrap: break-word; }
.promo-card--dark { color: #ffffff; }
.promo-card--light { color: var(--color-foreground); }
.promo-card--light .catalog-infeed-title { color: var(--color-foreground) !important; }
.promo-card--light .catalog-infeed-desc { color: var(--color-muted) !important; }
.promo-card--light .catalog-infeed-link { color: var(--color-muted); }
.promo-card--light .catalog-infeed-link:hover { color: var(--color-foreground); }
.promo-card--light .catalog-infeed-badge { background: rgba(255, 212, 0, 0.22); border-color: rgba(255, 212, 0, 0.6); color: #7a5e00; }
.promo-card--light .catalog-infeed-badge svg { color: #7a5e00; }
.promo-card--accent { border-color: var(--color-primary); }
.promo-card--accent .catalog-infeed-title { color: var(--color-dark) !important; }
.promo-card--accent .catalog-infeed-desc { color: rgba(17, 17, 17, 0.78) !important; }
.promo-card--accent .catalog-infeed-link { color: rgba(17, 17, 17, 0.72); }
.promo-card--accent .catalog-infeed-link:hover { color: var(--color-dark); }
.promo-card--accent .catalog-infeed-badge { background: rgba(17, 17, 17, 0.1); border-color: rgba(17, 17, 17, 0.24); color: var(--color-dark); }
.promo-card--accent .catalog-infeed-badge svg { color: var(--color-dark); }
.promo-card--accent .catalog-infeed-icon { background: var(--color-dark); color: var(--color-primary); box-shadow: 0 4px 14px rgba(17, 17, 17, 0.28); }
.promo-card--accent .catalog-infeed-btn { background: var(--color-dark); color: #ffffff !important; box-shadow: 0 4px 16px rgba(17, 17, 17, 0.3); }
.promo-card--accent .catalog-infeed-btn:hover { background: #000000; box-shadow: 0 6px 20px rgba(17, 17, 17, 0.4); }

.catalog-list-view { grid-template-columns: 1fr !important; gap: 16px; }
.catalog-list-view .car-card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s, border-color 0.2s;
}
.catalog-list-view .car-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border-color: #c9ced2;
}
.catalog-list-view .car-photo {
  aspect-ratio: auto;
  min-height: 100%;
  height: 100%;
  border-radius: 0;
  border-right: 1px solid var(--color-border);
}
.catalog-list-view .car-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 24px;
  gap: 14px;
}
.catalog-list-view .car-card-header .car-title { font-size: 18px; }
.catalog-list-view .car-meta { display: none; }
.catalog-list-view .car-list-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  padding: 12px 16px;
  background: #f8f9fa;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.catalog-list-view .car-list-actions .car-list-btn-callback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-foreground);
  background: #f0f2f4;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.catalog-list-view .car-list-actions .car-list-btn-callback:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-primary-foreground);
}
.car-list-spec-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-foreground);
  min-width: 0;
}
.car-list-spec-item svg { flex-shrink: 0; color: var(--color-muted); }
.car-list-spec-label { color: var(--color-muted); font-size: 13px; line-height: 1.45; white-space: nowrap; }
.car-list-spec-val { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.catalog-list-view .car-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}
.catalog-list-view .catalog-infeed-card {
  grid-column: 1 / -1;
  padding: 24px 28px;
}
.catalog-list-view .catalog-infeed-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.catalog-list-view .catalog-infeed-header {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.catalog-list-view .catalog-infeed-actions {
  min-width: 200px;
  margin-top: 0;
  padding-top: 0;
}

.review-empty-state { display: grid; justify-items: center; gap: 16px; padding: 40px 24px; border: 1px dashed var(--color-border); border-radius: var(--radius-lg); background: var(--color-secondary); color: var(--color-muted); text-align: center; }
.review-empty-state p { margin: 0; }

@media (min-width: 1025px) {
  .catalog-section > .container { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
  .catalog-section .catalog-filters-toggle, .catalog-section .catalog-filters-overlay { display: none; }
  .catalog-section .catalog-filters {
    grid-row: 1 / span 10;
    margin: 0;
    position: -webkit-sticky;
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    overscroll-behavior: contain;
    align-self: start;
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
  }
  .catalog-section .catalog-filters::-webkit-scrollbar { width: 6px; }
  .catalog-section .catalog-filters::-webkit-scrollbar-track { background: transparent; }
  .catalog-section .catalog-filters::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 4px; }
  .catalog-section .catalog-filters::-webkit-scrollbar-thumb:hover { background: #cbd0d4; }
  .catalog-section .catalog-favorites-banner, .catalog-section .catalog-results-toolbar, .catalog-section .catalog-quick-chips, .catalog-section .catalog-active-filters, .catalog-section .cars-grid, .catalog-section .catalog-pagination { grid-column: 2; }
  .catalog-section .catalog-filters .filter-row { grid-template-columns: 1fr; }
  .catalog-section .filter-more-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    margin: 8px 0 12px;
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--color-foreground);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
  }
  .catalog-section .filter-more-toggle:hover {
    border-color: var(--color-primary);
    background: #fdfdfd;
  }
  .catalog-section .filter-more-toggle svg { transition: transform .2s var(--ease-out-expo); }
  .catalog-section .filter-more-toggle.is-open svg { transform: rotate(180deg); }
  .catalog-section .catalog-filters .filter-secondary-row { display: none; }
  .catalog-section .catalog-filters .filter-secondary-row.filter-secondary-visible { display: grid; }
  .catalog-section .catalog-filters .filter-checkboxes.filter-secondary-visible { display: flex; }
  .catalog-section .filter-actions { display: block; }
  .catalog-section .filter-actions-right { display: grid; margin-top: 12px; }
  .catalog-section .filter-orderby { min-width: 0; }
}

@media (max-width: 767px) {
  .buy-mega-menu { display: none; }
  .catalog-view-toggle { width: 100%; }
  .catalog-view-toggle button { flex: 1; }
  .catalog-list-view .car-card { grid-template-columns: 1fr; }
  .catalog-list-view .car-photo { min-height: 0; aspect-ratio: 16 / 10; border-right: none; border-bottom: 1px solid var(--color-border); }
  .catalog-list-view .car-list-specs { grid-template-columns: 1fr; }
  .catalog-list-view .car-footer { flex-direction: column; align-items: stretch; gap: 12px; }
  .catalog-list-view .car-list-actions { flex-direction: column; width: 100%; }
  .catalog-list-view .car-list-actions .car-list-btn-callback,
  .catalog-list-view .car-detail { width: 100%; min-height: 44px; }
  .catalog-list-view .catalog-infeed-inner { grid-template-columns: 1fr; gap: 16px; }
}
.tradein-hero p { color:rgba(255,255,255,0.5);font-size:16px;margin:8px 0 0; }
.tradein-section { padding:60px 0 80px; }

/* === ABOUT === */
.about-intro p { margin:0 0 16px; }

/* === SELL === */
.sell-wrapper { max-width:640px; }
.sell-desc { font-size:16px;line-height:1.6;color:var(--color-muted);margin-bottom:24px; }

/* === CAR GALLERY PLACEHOLDER === */
.car-gallery-placeholder { display:flex;align-items:center;justify-content:center;color:#666; }
.car-gallery-main.img-broken { display:grid;place-items:center;min-height:260px; }
.car-gallery-main.img-broken .car-gallery-placeholder { width:100%;height:100%;color:var(--color-muted);font-size:14px; }
.car-gallery-thumb.img-broken { display:none; }

/* === LOGO === */
.footer-logo-img { height:60px;width:auto;display:block;margin-bottom:24px; }

/* === PHONE IN HEADER === */
.header-phone { display:flex;align-items:center;gap:8px;color:var(--color-foreground);font-weight:700;font-size:16px; }

/* === CAR CARD TITLE/CREDIT === */
.car-card-title { font-size:18px;font-weight:700;margin:0 0 12px; }
.car-card-credit { font-size:12px;color:var(--color-muted); }

/* === CATALOG EMPTY === */
.catalog-empty { font-size:18px;font-weight:600; }

/* === BREADCRUMB BUTTON ARROW === */
.menu-btn-arrow { vertical-align:middle;opacity:0.4; }

/* === SINGLE CAR GALLERY SECTION === */
.single-car-gallery-section { padding:40px 0 0; }

/* === SINGLE CAR RELATED SECTION === */
.section.single-car-related-section { padding:40px 0 max(64px, var(--section-pad)); }

/* === CREDIT BUTTON ICON === */
.credit-btn-icon { gap:8px; }

/* ============================================================
   MODERN DESIGN SYSTEM вЂ” 2026
   ============================================================ */

::selection {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ============================================================
   HEADER вЂ” Glassmorphism on scroll
   ============================================================ */
.site-header {
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.08);
}
.site-header.scrolled .header-inner {
  height: 52px;
}
.header-inner {
  transition: height 0.4s var(--ease-out-expo);
}

/* ============================================================
   MOBILE MENU вЂ” Modern Fullscreen / Slide-over
   ============================================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  z-index: 1205;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu[aria-hidden="true"] { display: none; }
.mobile-menu.open[aria-hidden="false"] { display: flex; }
@media (min-width: 1100px) {
  .mobile-menu,
  .mobile-menu-overlay { display: none !important; }
}
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1200;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu-overlay.open {
  display: block;
  opacity: 1;
}
body.menu-open {
  overflow: hidden;
}
body.menu-open .mobile-sticky-bar,
body.menu-open .back-to-top,
body.menu-open .scroll-progress {
  display: none !important;
}
@media (max-width: 1024px) {
  html, body { overflow-x: clip; }
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.mobile-menu-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.mobile-logo-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-logo-svg {
  width: 170px;
  height: 24px;
  color: #0f172a;
  display: block;
}
.mobile-logo-tagline {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  line-height: 1;
}
.mobile-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-foreground);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.mobile-close:hover {
  background: #e2e8f0;
  transform: scale(1.04);
}
.mobile-close:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}
.mobile-menu-quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 16px;
  background: #f8fafc;
  border-bottom: 1px solid var(--color-border);
}
.mobile-quick-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.mobile-quick-catalog {
  background: #0f172a;
  color: #ffffff;
}
.mobile-quick-catalog:hover {
  background: #1e293b;
  color: #ffffff;
}
.mobile-quick-fav {
  background: #ffffff;
  color: var(--color-foreground);
  border: 1px solid var(--color-border);
  position: relative;
}
.mobile-quick-fav:hover {
  border-color: #cbd5e1;
}
.mobile-fav-count {
  display: inline-flex;
  min-width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  font-size: 11px;
  font-weight: 800;
}
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 6px 0;
  background: #ffffff;
}
.mobile-menu-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  min-height: 52px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-foreground);
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav-link-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile-nav-link-left svg {
  color: #64748b;
  flex-shrink: 0;
  transition: color 0.15s;
}
.mobile-nav-highlight {
  background: rgba(255, 212, 0, 0.08);
}
.mobile-nav-highlight .mobile-nav-link-left svg {
  color: #b45309;
}
.mobile-nav-badge {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  font-size: 12px;
  font-weight: 800;
}
.mobile-nav-arrow {
  color: #94a3b8;
  flex-shrink: 0;
}
.mobile-menu-nav a:hover,
.mobile-menu-nav a:active {
  background: #f8fafc;
  color: #0f172a;
}
.mobile-menu-nav a:hover .mobile-nav-link-left svg {
  color: var(--color-foreground);
}
.mobile-contacts {
  margin-top: auto;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  background: #f8fafc;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mobile-contacts-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-phone-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mobile-phone-number {
  font-family: var(--font-display);
  font-size: clamp(17px, 5vw, 20px);
  font-weight: 800;
  color: var(--color-foreground);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.mobile-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.mobile-phone-btn:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}
.mobile-messengers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mobile-msgr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  transition: opacity 0.2s;
}
.mobile-msgr-btn:hover {
  opacity: 0.9;
  color: #ffffff;
}
.mobile-msgr-wa {
  background: #25D366;
}
.mobile-msgr-tg {
  background: #229ED9;
}
.mobile-address-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}
.mobile-address,
.mobile-hours {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-muted);
}
.mobile-address svg,
.mobile-hours svg {
  color: var(--color-primary);
  flex-shrink: 0;
}
.mobile-callback-btn {
  width: 100%;
  min-height: 50px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-md);
}
.mobile-page-actions { display: none; }
.burger {
  position: relative;
  z-index: 201;
}

/* === BURGER ANIMATION === */
.burger svg {
  transition: transform 0.3s ease;
}
.burger.active svg {
  transform: rotate(90deg);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
/* === STAGGERED CHILDREN === */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}
.reveal-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.06s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.18s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.24s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.3s; }
.reveal-stagger.revealed > *:nth-child(7) { transition-delay: 0.36s; }
.reveal-stagger.revealed > *:nth-child(8) { transition-delay: 0.42s; }
.reveal-stagger.revealed > *:nth-child(9) { transition-delay: 0.48s; }
.reveal-stagger.revealed > *:nth-child(10) { transition-delay: 0.54s; }
.reveal-stagger.revealed > *:nth-child(11) { transition-delay: 0.6s; }
.reveal-stagger.revealed > *:nth-child(12) { transition-delay: 0.66s; }
.reveal-stagger.revealed > *:nth-child(13) { transition-delay: 0.72s; }
.reveal-stagger.revealed > *:nth-child(14) { transition-delay: 0.78s; }
.reveal-stagger.revealed > *:nth-child(15) { transition-delay: 0.84s; }
.reveal-stagger.revealed > *:nth-child(16) { transition-delay: 0.9s; }

/* ============================================================
   CAR CARDS вЂ” Elevated Hover
   ============================================================ */
.car-card {
  transition: all 0.4s var(--ease-out-expo);
}
@media (hover: hover) {
  .car-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
  }
}
.car-photo {
  overflow: hidden;
}
.car-detail {
  transition: background 0.2s;
}

/* ============================================================
   REVIEWS вЂ” Cards + Stars
   ============================================================ */
.review-card {
  transition: all 0.3s var(--ease-out-expo);
  border: 1px solid transparent;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border);
}
.review-stars svg {
  transition: transform 0.2s var(--ease-spring);
}
.review-stars svg:hover {
  transform: scale(1.2);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-foreground);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  z-index: 180;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.35s var(--ease-out-expo);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top svg { pointer-events: none; }
.back-to-top:hover {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 212, 0, 0.3);
}

body.aura-bot-open .back-to-top,
#aura-smart-bot-root.is-open ~ .back-to-top {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ============================================================
   SECTION HEADERS вЂ” Animated Underline
   ============================================================ */
.section-title {
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: width 0.6s var(--ease-out-expo);
}
.revealed .section-title::after {
  width: 48px;
}

/* ============================================================
   PREFERS REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 767px) {
  .section { padding: 40px 0; }
  .section-title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
}

@media (max-width: 1024px) {
  .back-to-top { bottom: 148px; right: 16px; width: 44px; height: 44px; }
}

@media (max-width: 480px) {
  .back-to-top { bottom: 148px; right: 16px; width: 44px; height: 44px; }
}

/* ============================================================
   SCROLLBAR вЂ” Custom
   ============================================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-secondary); }
::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--color-muted); }

/* === HOME SECTIONS вЂ” LEGACY OVERRIDES (.reviews/.credit/.selections still referenced) === */
.credit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.credit-main { min-width: 0; }
.credit-calc-panel { min-width: 0; }
.credit-apply-btn,
.calc-submit-full { min-height: 48px; }

.reviews { background: #fff; }
.reviews .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.review-card { min-height: 220px; }

@media (min-width: 768px) {
  .credit-layout { grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr); gap: 72px; }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: minmax(260px, 1.2fr) minmax(180px, 0.75fr) minmax(320px, 1.25fr); }
}

@media (max-width: 767px) {
  .reviews { padding: 56px 0; }
  .reviews .section-header { margin-bottom: 28px; }
  .review-card,
  .credit-calc-panel { padding: 24px; }
  .credit-main,
  .credit-calc-panel { transform: none !important; }
  .credit-title { font-size: clamp(2rem, 11vw, 2.8rem); }
  .credit-benefits-list { grid-template-columns: 1fr; margin-bottom: 28px; }
  .credit-apply-btn { width: 100%; }
  .reviews .section-header { align-items: flex-end; }
  .review-stars { display: none; }
  .footer-bottom-links { flex-direction: column; gap: 10px; }
}

/* ============================================================
   CARDS вЂ” Consistent border radius
   ============================================================ */
.selection-card {
  border-radius: var(--radius-md);
}
.car-card,
.review-card,
.service-cards {
  border-radius: var(--radius-lg);
}

/* === BUTTON HOVER / LIGHT UI OVERRIDES === */
.btn-primary:hover,
.car-detail:hover,
.mobile-call:hover {
  background: var(--color-primary-hover);
}

.site-header,
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(16, 24, 40, 0.06);
}
.site-header.scrolled .header-inner { height: var(--header-h); }
.custom-logo-link { display: flex; flex-shrink: 0; }
.custom-logo-link img { width: auto; height: 50px; }
.header-nav a,
.header-nav button { color: var(--color-muted); }
.header-nav a:hover,
.header-nav button:hover,
.header-nav a.active { color: var(--color-foreground); }
.header-nav .nav-dropdown a { color: #595e63; }
.header-nav .nav-dropdown a:hover { color: #03060a; background: #f2f4f5; }
.header-nav .nav-dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.header-city { color: var(--color-muted); }
.header-city svg { color: var(--color-primary); }
.header-phone { color: var(--color-foreground); font-size: 15px; }
.burger { color: var(--color-foreground); }
.footer-col h4, .footer-col .footer-col-title {
  text-transform: none;
  letter-spacing: 0;
}

.car-fav { color: var(--color-muted); }
.badge-default { color: #344054; background: rgba(255, 255, 255, 0.92); }
.car-footer { gap: 16px; }
.car-card-title a:hover { color: var(--color-primary); }

@media (hover: hover) {
  .car-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #cbd0d4; }
}

@media (min-width: 1240px) {
  .header-nav { display: flex; }
  .header-right { display: flex; }
  .burger { display: none; }
}

@media (min-width: 1240px) and (max-width: 1740px) {
  .header-nav a,
  .header-nav button {
    padding: 8px 8px !important;
    font-size: 13.5px !important;
  }
  .header-inner {
    gap: 12px;
  }
  .mega-menu-inner {
    grid-template-columns: 1.15fr 1.35fr 1fr;
    gap: 24px;
  }
  .mega-col-promo {
    display: none !important;
  }
}

@media (min-width: 1240px) and (max-width: 1439px) {
  .header-cart-link .header-cart-text { display: none; }
}

@media (max-width: 1239px) {
  .header-nav { display: none !important; }
  .header-right { display: none !important; }
  .burger { display: flex !important; }
}

@media (max-width: 767px) {
  body.single-car { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .car-footer { align-items: stretch; flex-direction: column; }
  .car-detail { width: 100%; text-align: center; }
  .mobile-page-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px max(16px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); background: rgba(255,255,255,.96); border-top: 1px solid var(--color-border); box-shadow: 0 -8px 24px rgba(16,24,40,.08); backdrop-filter: blur(10px); }
  .mobile-page-actions > a,
  .mobile-page-actions > button { min-height: 52px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-md); font-size: 15px; font-weight: 700; text-align: center; }
  .mobile-page-actions > a,
  .mobile-page-actions > button:first-child { border: 1px solid var(--color-border); background: var(--color-secondary); color: var(--color-foreground); }
  .mobile-page-actions > button:last-child { border: 1px solid var(--color-primary); background: var(--color-primary); color: var(--color-primary-foreground); }
  .aura-toast { bottom: calc(88px + env(safe-area-inset-bottom)); }
  .car-fav { top: 12px; right: 12px; width: 40px; height: 40px; opacity: 1; transform: scale(1); }
  .site-footer .footer-menu a,
  .site-footer .footer-services a,
  .site-footer .footer-services button,
  .footer-bottom-links a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* === SELECTIONS вЂ” LIVE SECTION STYLES === */
.selections { padding: var(--section-pad) 0; background: var(--color-secondary); }
.selections .section-header { margin-bottom: 32px; }
.selections .section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.2;
  text-transform: none;
}
.selections .section-subtitle {
  margin: 8px 0 0;
  color: var(--color-muted);
  font-size: 15px;
}
.selections .section-title::after { display: none; }
.selections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap, 20px);
}
.selection-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  overflow: hidden;
  color: var(--color-foreground);
  text-decoration: none;
  transition: transform .25s var(--ease-out-expo), box-shadow .25s, border-color .25s;
}
.selection-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 16px 36px rgba(3, 6, 10, .09);
  transform: translateY(-3px);
}
.selection-card-bg {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  height: 78%;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.selection-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  opacity: 0.9;
  transition: transform .35s var(--ease-out-expo), opacity .25s;
  transform-origin: right bottom;
}
.selection-card:hover .selection-card-img {
  transform: scale(1.06) translateX(-4px);
  opacity: 1;
}
.selection-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}
.selection-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}
.selection-count-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--color-secondary);
  color: var(--color-foreground);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--color-border);
  transition: background .2s, border-color .2s;
}
.selection-card:hover .selection-count-badge {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  border-color: var(--color-primary);
}
.selection-card-bottom {
  max-width: 65%;
}
.selection-label {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.6vw, 1.4rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-foreground);
}
.selection-description {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-muted);
}

/* === SELECTIONS PROMO BANNER (SPAN 2 / RESPONSIVE) === */
.selection-promo-banner {
  grid-column: span 2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 190px;
  padding: 26px 32px;
  border-radius: var(--radius-lg);
  background: #0d0e10;
  border: 1px solid rgba(255, 212, 0, 0.35);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  cursor: pointer;
}
.selection-promo-banner:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}
.selection-promo-banner .promo-content {
  position: relative;
  z-index: 3;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.selection-promo-banner .promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  width: fit-content;
  background: rgba(255, 212, 0, 0.18);
  color: var(--color-primary);
  border: 1px solid rgba(255, 212, 0, 0.35);
}
.selection-promo-banner .promo-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.45rem);
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.selection-promo-banner .promo-title span {
  color: var(--color-primary);
}
.selection-promo-banner .promo-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}
.selection-promo-banner .badge-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.selection-promo-banner .badge-pill {
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 9px;
  border-radius: 5px;
}
.selection-promo-banner .promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 700;
  width: fit-content;
  margin-top: 4px;
  background: var(--color-primary);
  color: #111111;
  transition: all .2s ease;
}
.selection-promo-banner:hover .promo-btn {
  background: #ffffff;
  transform: translateX(4px);
}
.selection-promo-banner .banner-car-wrap {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 54%;
  pointer-events: none;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.selection-promo-banner .banner-car-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  transition: transform .4s ease;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.8) 25%, black 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.8) 25%, black 100%);
}
.selection-promo-banner:hover .banner-car-wrap img {
  transform: scale(1.05);
}
.selection-promo-banner .banner-ambient-glow {
  position: absolute;
  right: 12%;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 212, 0, 0.22) 0%, rgba(255, 212, 0, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

/* === PROMO BLOCK: CHIPS & WIDE BANNER === */
.catalog-infeed-card .badge-pills,
.promo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.catalog-infeed-card .badge-pill {
  padding: 4px 9px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.5;
}

.catalog-infeed-title .promo-accent {
  color: var(--color-primary);
}

.promo-card--light .badge-pill {
  background: rgba(3, 6, 10, 0.07);
  color: var(--color-foreground);
}

.promo-card--light .catalog-infeed-title .promo-accent {
  color: #7a5e00;
}

.promo-card--accent .badge-pill {
  background: rgba(17, 17, 17, 0.1);
  color: rgba(17, 17, 17, 0.82);
}

.promo-card--accent .catalog-infeed-title .promo-accent {
  color: rgba(17, 17, 17, 0.72);
}

.catalog-list-view .promo-banner-wide {
  grid-column: auto;
}

@media (min-width: 640px) and (max-width: 767px) {
  .selection-promo-banner.promo-banner-wide {
    grid-column: span 2;
  }
}

.promo-banner-wide .promo-btn {
  border: 0;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.promo-banner-wide .promo-btn:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

.selection-promo-banner.promo-card--light {
  background: #ffffff;
  border-color: var(--color-border);
}

.selection-promo-banner.promo-card--light .promo-title {
  color: var(--color-foreground);
}

.selection-promo-banner.promo-card--light .promo-title .promo-accent {
  color: #7a5e00;
}

.selection-promo-banner.promo-card--light .promo-desc {
  color: var(--color-muted);
}

.selection-promo-banner.promo-card--light .promo-tag {
  background: rgba(255, 212, 0, 0.22);
  border-color: rgba(255, 212, 0, 0.6);
  color: #7a5e00;
}

.selection-promo-banner.promo-card--light .badge-pill {
  background: rgba(3, 6, 10, 0.06);
  color: var(--color-foreground);
}

.selection-promo-banner.promo-card--accent {
  background: var(--color-primary);
  border-color: rgba(17, 17, 17, 0.18);
}

.selection-promo-banner.promo-card--accent .promo-title {
  color: #111111;
}

.selection-promo-banner.promo-card--accent .promo-title .promo-accent {
  color: rgba(17, 17, 17, 0.66);
}

.selection-promo-banner.promo-card--accent .promo-desc {
  color: rgba(17, 17, 17, 0.78);
}

.selection-promo-banner.promo-card--accent .promo-tag {
  background: rgba(17, 17, 17, 0.1);
  border-color: rgba(17, 17, 17, 0.22);
  color: #111111;
}

.selection-promo-banner.promo-card--accent .badge-pill {
  background: rgba(17, 17, 17, 0.1);
  color: rgba(17, 17, 17, 0.82);
}

.selection-promo-banner.promo-card--accent .promo-btn {
  background: #111111;
  color: #ffffff;
}

.selection-promo-banner.promo-card--accent:hover .promo-btn {
  background: #000000;
}

/* 3 columns on standard laptops & medium screens (1100px - 1400px) */
@media (max-width: 1400px) {
  .selections-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .selection-promo-banner {
    grid-column: span 3;
    min-height: 210px;
    padding: 30px 40px;
  }
  .selection-promo-banner .promo-content {
    max-width: 440px;
  }
  .selection-promo-banner .banner-car-wrap {
    width: 48%;
  }
}

/* 2 columns on tablets (768px - 1099px) */
@media (max-width: 1099px) {
  .selections-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .selection-promo-banner {
    grid-column: span 2;
    min-height: 200px;
    padding: 26px 30px;
  }
  .selection-promo-banner .promo-content {
    max-width: 360px;
  }
  .selection-promo-banner .banner-car-wrap {
    width: 48%;
  }
}

/* 1 column on mobile (в‰¤ 767px) */
@media (max-width: 767px) {
  .selections-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .selection-card {
    min-height: 150px;
    padding: 20px;
  }
  .selection-card-bg {
    width: 65%;
    height: 75%;
  }
  .selection-card-bottom {
    max-width: 60%;
  }
  .selection-promo-banner {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
    min-height: auto;
    border-radius: var(--radius-lg);
    background: #0d0e10;
    overflow: hidden;
  }
  .selection-promo-banner .promo-content {
    display: contents; /* Allows child elements to participate in parent flex ordering */
  }
  .selection-promo-banner .promo-tag {
    order: 1;
    margin-bottom: 2px;
  }
  .selection-promo-banner .promo-title {
    order: 2;
    font-size: 1.35rem;
    line-height: 1.25;
  }
  .selection-promo-banner .banner-car-wrap {
    order: 3;
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: 180px;
    margin: 8px 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
  }
  .selection-promo-banner .banner-car-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    mask-image: none;
    -webkit-mask-image: none;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
  }
  .selection-promo-banner .promo-desc {
    order: 4;
    font-size: 13.5px;
    line-height: 1.45;
    margin-bottom: 6px;
  }
  .selection-promo-banner .badge-pills {
    order: 5;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 16px;
  }
  .selection-promo-banner .badge-pill {
    width: fit-content;
    font-size: 11.5px;
    padding: 4px 8px;
  }
  .selection-promo-banner .promo-btn {
    order: 6;
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-size: 14.5px;
    margin-top: 0;
  }
  .selection-promo-banner .banner-ambient-glow {
    top: 35%;
    right: 50%;
    transform: translate(50%, -50%);
    width: 260px;
    height: 260px;
  }
}

/* ============================================================
   HOME KIT вЂ” CURRENT HOMEPAGE (front-page.php partials)
   ============================================================ */
.home-kit-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  overflow: visible;
  background: #06070a;
}
.home-kit-hero .hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.home-kit-hero .hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  transform: scale(1.02);
  transition: opacity 2.4s cubic-bezier(0.4, 0, 0.2, 1), transform 12s cubic-bezier(0.2, 0.8, 0.4, 1);
  pointer-events: none;
  filter: brightness(0.88) contrast(1.06);
  will-change: opacity, transform;
}
.home-kit-hero .hero-slide-img.active {
  opacity: 1;
  z-index: 2;
  transform: scale(1.06) translate(-0.5%, -0.3%);
}
.home-kit-hero .hero-slide-img.prev {
  opacity: 0;
  z-index: 1;
  transform: scale(1.08) translate(-0.8%, -0.5%);
}
.home-kit-hero .hero-overlay-cinematic {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, rgba(5,7,10,0.6) 0%, rgba(5,7,10,0.08) 38%, rgba(5,7,10,0.92) 100%),
              radial-gradient(circle at 75% 20%, rgba(0,0,0,0) 0%, rgba(5,7,10,0.5) 70%, rgba(5,7,10,0.85) 100%);
  pointer-events: none;
}
.home-kit-hero-content {
  position: relative;
  z-index: 5;
  padding: 120px 0 80px;
}
.hero-cinematic-slider-copy {
  position: relative;
  min-height: 280px;
}
@media (max-width: 640px) {
  .hero-cinematic-slider-copy { min-height: 220px; }
}
.hero-cinematic-copy {
  max-width: 820px;
}
.hero-slide-copy {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-slide-copy.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.hero-slide-action-wrap {
  margin-bottom: 24px;
}
.hero-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.home-kit-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,212,0,.15);
  border: 1px solid rgba(255,212,0,.3);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.home-kit-hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
}
.home-kit-hero-title.hero-title-cinematic {
  max-width: 15ch;
  margin: 0 0 20px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}
.home-kit-hero-subtitle.hero-subtitle-cinematic {
  max-width: 580px;
  margin: 0 0 38px;
  color: rgba(255,255,255,.86);
  font-size: 17px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* ============================================================
   SMART DOCK HERO COMPONENT
   ============================================================ */
.hero-dock-wrapper {
  position: relative;
  z-index: 30;
  margin-top: 10px;
  width: 100%;
}
.hero-smart-dock {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 10px 12px 10px 24px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1080px;
  position: relative;
  z-index: 40;
}
.dock-segments {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}
.dock-segment {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.18s ease;
  user-select: none;
  z-index: 5;
}
.dock-segment:hover,
.dock-segment.active {
  background: rgba(255, 255, 255, 0.12);
  z-index: 50;
}
@media (max-width: 1024px) {
  .dock-segment {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
}
.dock-lbl {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.dock-val {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.dock-val svg {
  transition: transform 0.2s ease;
  color: rgba(255, 255, 255, 0.6);
}
.dock-segment.active .dock-val svg {
  transform: rotate(180deg);
  color: var(--color-primary);
}
.dock-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.12);
}
.hero-dock-submit-btn {
  background: var(--color-primary);
  color: #000000;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(255, 212, 0, 0.35);
  position: relative;
  z-index: 10;
}
.hero-dock-submit-btn:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

/* Выпадающие меню Dock (Frosted Glass as Chips/Dock) */
.dock-dropdown-menu {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 0;
  background: rgba(15, 18, 26, 0.92);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8), 0 0 25px rgba(255,212,0,0.08), inset 0 1px 0 rgba(255,255,255,0.2);
  z-index: 100;
  min-width: 320px;
  display: none;
  animation: dockPopIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
#dockBrandMenu {
  min-width: 380px;
}
.dock-segment.active .dock-dropdown-menu {
  display: block;
}
@keyframes dockPopIn {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.dock-menu-head {
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  padding: 0 4px;
}
.dock-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 6px;
}
.dock-menu-grid::-webkit-scrollbar {
  width: 5px;
}
.dock-menu-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}
.dock-menu-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}
.dock-menu-opt {
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: all 0.15s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.dock-menu-opt .dock-opt-name {
  display: inline-block !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  flex: 1 !important;
  text-align: left !important;
}
.dock-menu-opt .dock-opt-count {
  display: inline-block !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: rgba(255, 255, 255, 0.65) !important;
}
.dock-menu-opt:hover,
.dock-menu-opt.active {
  background: var(--color-primary) !important;
  color: #000000 !important;
  border-color: var(--color-primary) !important;
  font-weight: 800 !important;
}
.dock-menu-opt:hover .dock-opt-name,
.dock-menu-opt.active .dock-opt-name {
  color: #000000 !important;
  font-weight: 800 !important;
}
.dock-menu-opt:hover .dock-opt-count,
.dock-menu-opt.active .dock-opt-count {
  color: #000000 !important;
  background: rgba(0, 0, 0, 0.12) !important;
  font-weight: 800 !important;
}
.dock-menu-opt.is-empty {
  opacity: 0.45;
}
.dock-menu-opt.is-empty .dock-opt-name {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Ползунок бюджета (Exact Glass) */
.dock-dropdown-slider {
  min-width: 300px;
}
.dock-slider-box {
  padding: 6px 4px;
}
.dock-slider-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.dock-slider-val {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.dock-range-input {
  width: 100%;
  accent-color: var(--color-primary);
  cursor: pointer;
  height: 6px;
  border-radius: 3px;
  margin-bottom: 14px;
}
.dock-slider-presets {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.dock-preset-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.dock-preset-btn:hover {
  background: var(--color-primary);
  color: #000000;
  border-color: var(--color-primary);
}

/* Быстрые чипсы под доком */
.hero-quick-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  margin-left: 6px;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}
.quick-chips-lbl {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  margin-right: 4px;
}
.quick-chip-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}
.quick-chip-item:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  color: #fff;
}
.quick-chip-credit {
  background: rgba(255, 212, 0, 0.16);
  border-color: rgba(255, 212, 0, 0.35);
  color: var(--color-primary);
}
.quick-chip-credit:hover {
  background: var(--color-primary);
  color: #000;
  border-color: var(--color-primary);
}

@media (max-width: 1024px) {
  .hero-slide-action-wrap {
    display: none;
  }
  .hero-smart-dock {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 12px;
  }
  .dock-segments {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .dock-divider {
    display: none;
  }
  .hero-dock-submit-btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
  .dock-dropdown-menu {
    position: static;
    bottom: auto;
    top: auto;
    width: 100%;
    min-width: unset;
    box-sizing: border-box;
    margin-top: 8px;
    border-radius: 12px;
  }
  #dockBrandMenu {
    min-width: unset;
  }
  .dock-menu-grid {
    grid-template-columns: 1fr 1fr;
    max-height: 220px;
  }
}
@media (max-width: 640px) {
  .home-kit-hero {
    min-height: auto;
    padding-bottom: 30px;
  }
  .home-kit-hero-content {
    padding: 90px 0 30px;
  }
  .home-kit-hero-badge {
    font-size: 11px;
    padding: 6px 12px;
    margin-bottom: 14px;
    white-space: normal;
    line-height: 1.35;
    text-align: left;
  }
  .home-kit-hero-title.hero-title-cinematic {
    font-size: clamp(1.85rem, 8.5vw, 2.3rem);
    line-height: 1.15;
    margin-bottom: 12px;
  }
  .home-kit-hero-subtitle.hero-subtitle-cinematic {
    font-size: 13.5px;
    line-height: 1.45;
    margin-bottom: 22px;
  }
  .dock-val {
    font-size: 14px;
  }
  .dock-menu-grid {
    grid-template-columns: 1fr;
    max-height: 180px;
  }
  .hero-dock-quick-chips {
    margin-top: 14px;
    gap: 6px;
  }
}
.home-kit-brands {
  padding: 48px 0;
  border-bottom: 1px solid var(--color-border);
  background: #ffffff;
}
.home-kit-brands-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.home-kit-brands-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-foreground);
}
.home-kit-brands-subtitle {
  margin: 8px 0 0;
  color: var(--color-muted);
  font-size: 15px;
}
.home-kit-brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  max-height: 125px; /* Exactly 1 row height with gap */
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.home-kit-brand-grid.is-expanded {
  max-height: 1500px;
}
.home-kit-brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  height: 110px;
  min-height: 110px;
  box-sizing: border-box;
  padding: 14px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #ffffff;
  text-decoration: none;
  transition: transform .2s var(--ease-out-expo), box-shadow .2s, border-color .2s;
}
.home-kit-brand-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: 0 10px 24px rgba(3, 6, 10, .08);
}
.home-kit-brand-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-foreground);
  margin-bottom: 2px;
  transition: all .2s ease;
}
.home-kit-brand-logo {
  display: block;
  max-width: 46px;
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .2s var(--ease-out-expo);
}
.home-kit-brand-card:hover .home-kit-brand-logo {
  transform: scale(1.08);
}
.home-kit-brand-card:hover .home-kit-brand-logo-wrap {
  background: #fff;
  box-shadow: 0 4px 12px rgba(3, 6, 10, .08);
}
.home-kit-brand-icon-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: var(--color-foreground);
  font-weight: 800;
  font-size: 16px;
}
.home-kit-brand-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
}
.home-kit-brand-name {
  color: var(--color-foreground);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.home-kit-brand-count {
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 600;
}
.brands-footer-action {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.brands-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-foreground);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: all 0.25s ease;
}
.brands-pill-btn:hover {
  background: var(--color-dark, #111111);
  border-color: var(--color-dark, #111111);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.brands-pill-btn svg {
  transition: transform 0.3s ease;
}
.brands-pill-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

@media (max-width: 767px) {
  .home-kit-brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-height: 110px;
  }
  .home-kit-brand-grid.is-expanded {
    max-height: 2500px;
  }
  .home-kit-brand-card {
    height: 96px;
    min-height: 96px;
    padding: 10px 6px;
  }
  .home-kit-brand-logo-wrap { width: 36px; height: 36px; }
  .home-kit-brand-logo { max-width: 32px; max-height: 32px; }
  .home-kit-brand-name { font-size: 11px; }
  .home-kit-brand-count { font-size: 10px; }
}
.home-kit-cars, .home-kit-sell, .home-kit-advantages { padding: var(--section-pad) 0; background: #fff; }
.home-kit-section-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 38px; }
.home-kit-section-header h2, .home-kit-centered-heading h2, .home-kit-dealership h2, .home-kit-cta h2 { margin: 0; font-family: var(--font-display); font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 400; line-height: 1.2; }
.home-kit-section-header p, .home-kit-centered-heading p { margin: 9px 0 0; color: var(--color-muted); font-size: 15px; }
.home-kit-text-link { display: inline-flex; align-items: center; gap: 5px; color: var(--color-foreground); font-size: 14px; font-weight: 700; }
.home-kit-text-link:hover { color: #b29100; }
.home-kit-cars-grid { gap: var(--grid-gap); }
.home-kit-cars-grid .car-card { border: 1px solid #edf0f2; border-radius: 16px; box-shadow: none; }
@media (hover: hover) {
  .home-kit-cars-grid .car-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(3,6,10,.08); }
}
.home-kit-process { padding: var(--section-pad) 0; background: var(--color-secondary); }
.home-kit-centered-heading { margin-bottom: 48px; text-align: center; }
.home-kit-centered-heading p { max-width: 560px; margin-left: auto; margin-right: auto; }
.home-kit-process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; }
.home-kit-process-grid article { text-align: center; }
.home-kit-process-grid span { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 16px; background: rgba(255,212,0,.2); color: #7b6500; font-family: var(--font-display); font-size: 22px; }
.home-kit-process-grid h3, .home-kit-advantage-card h3 { margin: 0 0 8px; font-size: 17px; }
.home-kit-process-grid p, .home-kit-advantage-card p { margin: 0; color: var(--color-muted); font-size: 14px; line-height: 1.65; }
.home-kit-sell-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.95fr);
  align-items: stretch;
  gap: clamp(32px, 4vw, 56px);
}
.home-kit-sell {
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  padding: 90px 0 110px;
}
.home-kit-sell-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(255, 212, 0, .16);
  border: 1px solid rgba(255, 212, 0, 0.5);
  color: #03060a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.home-kit-sell-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 6px rgba(255, 212, 0, 0.8);
}
.home-kit-sell-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-foreground);
  letter-spacing: -0.01em;
}
.home-kit-sell-title span {
  color: var(--color-primary);
  text-shadow: 0 2px 14px rgba(255, 212, 0, 0.35);
  display: block;
}
.home-kit-sell-intro {
  max-width: 520px;
  margin: 0 0 34px;
  color: #595e63;
  font-size: 16px;
  line-height: 1.6;
}
.home-kit-sell-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.home-kit-sell-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  text-decoration: none;
  color: var(--color-foreground);
  box-shadow: 0 8px 24px rgba(3, 6, 10, 0.05), inset 0 1px 0 #ffffff;
  transition: transform .2s var(--ease-out-expo), box-shadow .2s, border-color .2s, background .2s;
}
.home-kit-sell-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(255, 212, 0, 0.18), 0 4px 12px rgba(3, 6, 10, 0.04);
}
.home-kit-sell-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: #03060a;
  box-shadow: 0 4px 12px rgba(255, 212, 0, 0.3);
  transition: transform 0.2s;
}
.home-kit-sell-card:hover .home-kit-sell-card-icon {
  transform: scale(1.08);
}
.home-kit-sell-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.home-kit-sell-card-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--color-foreground);
}
.home-kit-sell-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-muted);
}
.home-kit-sell-aside {
  display: flex;
  flex-direction: column;
}
.home-kit-sell-cta-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #111111 0%, #1e1e1e 100%);
  color: #fff;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .15);
}
.home-kit-sell-cta-tag {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 10px;
  border-radius: 6px;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.home-kit-sell-cta-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 400;
  color: #fff;
}
.home-kit-sell-cta-desc {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
  line-height: 1.55;
}
.home-kit-sell-form-wrap {
  margin-bottom: 16px;
}
.home-kit-sell-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.home-kit-sell-feat {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 600;
}
.home-kit-sell-feat svg {
  color: #16a34a;
  flex-shrink: 0;
}
.home-kit-dealership { padding: var(--section-pad) 0; background: var(--color-dark); color: #fff; }
.home-kit-dealership-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 64px; }
.home-kit-dealership p { color: rgba(255,255,255,.66); }
.home-kit-dealership-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.home-kit-dealership-tags span { padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.84); font-size: 13px; }
.home-kit-advantages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--grid-gap); }
.home-kit-advantage-card { padding: 24px; border-radius: 16px; background: var(--color-secondary); }
.home-kit-dealership-media { position: relative; }
.home-kit-dealership-badge { position: absolute; top: -16px; right: -16px; padding: 12px 20px; border-radius: 16px; background: var(--color-primary); color: var(--color-primary-foreground); font-size: 14px; font-weight: 800; box-shadow: 0 18px 30px rgba(255,212,0,.25); }
.home-kit-dealership-media img { width: 100%; min-height: 380px; border-radius: 16px; object-fit: cover; }
.home-kit-reviews { padding: var(--section-pad) 0; background: #ffffff; }
.home-kit-reviews-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.home-kit-reviews-heading h2 { margin: 0; font-family: var(--font-display); font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 400; }
.home-kit-reviews-heading p { max-width: 540px; margin: 8px 0 0; color: var(--color-muted); font-size: 15px; line-height: 1.55; }
.home-kit-reviews-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(255, 212, 0, .15);
  color: #7b6500;
  font-size: 12px;
  font-weight: 700;
}
.reviews-platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
  margin-bottom: 36px;
}
.platform-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 220px;
  padding: 28px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-secondary);
  transition: transform .2s var(--ease-out-expo), box-shadow .2s, border-color .2s, background .2s;
}
.platform-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-foreground);
  box-shadow: 0 12px 28px rgba(3, 6, 10, .08);
  background: #ffffff;
}
.platform-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.platform-card--twogis {
  justify-content: center;
}
.platform-card--avito {
  justify-content: flex-start;
}
.platform-card--twogis .platform-btn {
  margin-top: 24px;
}
.platform-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}
.platform-badge--yandex {
  background: #ffcc00;
  color: #000000;
}
.platform-badge--twogis {
  background: #2b992b;
  color: #ffffff;
}
.platform-badge--avito {
  background: #00aaff;
  color: #ffffff;
}
.platform-tagline {
  margin: 0 0 12px;
  color: var(--color-foreground);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
}
.platform-card-desc {
  margin: 0 0 20px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.55;
}
.platform-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--color-primary);
}
.star {
  display: inline-flex;
  width: 16px;
  height: 16px;
}
.star-svg {
  display: block;
  width: 16px;
  height: 16px;
  overflow: visible;
}
.star-bg {
  fill: none;
  stroke: #c6ccd2;
  stroke-width: 1.6;
  stroke-linejoin: round;
}
.star-fg {
  fill: var(--color-primary);
  stroke: var(--color-primary);
  stroke-width: 1;
  stroke-linejoin: round;
}
.star.is-empty .star-fg {
  display: none;
}
.star.is-half .star-fg {
  clip-path: inset(0 50% 0 0);
}
.rating-value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  color: var(--color-foreground);
}
.rating-count {
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 600;
}
.reviews-rating-note {
  margin: -20px 0 32px;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.5;
}
.platform-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
}
.platform-card-note {
  margin: 0 0 16px;
  color: var(--color-muted);
  font-size: 12.5px;
  line-height: 1.5;
}
.reviews-showroom-invite {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--color-dark);
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .12);
}
.showroom-invite-content {
  max-width: 680px;
}
.showroom-invite-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 400;
  color: #ffffff;
}
.showroom-invite-desc {
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 15px;
  line-height: 1.6;
}
.showroom-invite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--radius-md);
  background: transparent;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .6);
}
.home-kit-cta { padding: var(--section-pad) 0; background: var(--color-dark); color: #fff; text-align: center; }
.home-kit-cta p { max-width: 580px; margin: 16px auto 30px; color: rgba(255,255,255,.65); font-size: 17px; line-height: 1.6; }
.home-kit-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.home-kit-cta-primary, .home-kit-cta-phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 999px; font-size: 14px; font-weight: 800; }
.home-kit-cta-primary { background: var(--color-primary); color: var(--color-primary-foreground); }
.home-kit-cta-phone { background: rgba(255,255,255,.1); color: #fff; }
.home-kit-credit {
  padding: var(--section-pad) 0;
  background: linear-gradient(135deg, #111111 0%, #1c1c1c 100%);
  color: #fff;
}
.credit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 1.05fr);
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
}
.credit-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255, 212, 0, .15);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
}
.credit-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
}
.home-kit-credit-intro {
  max-width: 480px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .7);
  font-size: 16px;
  line-height: 1.6;
}
.credit-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.credit-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.credit-benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 212, 0, .18);
  color: var(--color-primary);
  flex-shrink: 0;
}
.credit-benefit-item strong {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 2px;
}
.credit-benefit-item span {
  display: block;
  color: rgba(255, 255, 255, .6);
  font-size: 12px;
  line-height: 1.4;
}
.credit-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.credit-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 15px;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  text-decoration: none;
  transition: filter .2s;
}
.credit-apply-btn:hover {
  filter: brightness(0.95);
}
.credit-calc-panel {
  padding: clamp(24px, 3.5vw, 36px);
  border-radius: var(--radius-lg);
  background: #ffffff;
  color: var(--color-foreground);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}
.credit-calc-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}
.credit-calc-title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-foreground);
}
.credit-calc-subtitle {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
}
.calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.calc-field-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.calc-field-label {
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 600;
}
.calc-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.calc-number-input {
  height: 40px;
  width: 150px;
  padding: 0 28px 0 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-foreground);
  text-align: right;
  background: var(--color-secondary);
}
.calc-input-unit {
  position: absolute;
  right: 10px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
  pointer-events: none;
}
.calc-range-input {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  accent-color: #03060a;
  background: var(--color-border);
  cursor: pointer;
}
.calc-range-labels {
  display: flex;
  justify-content: space-between;
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 500;
}
.calc-result-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 18px;
  margin: 24px 0 16px;
  border-radius: var(--radius-md);
  background: #fffdf0;
  border: 1px solid rgba(255, 212, 0, .45);
  text-align: center;
}
.calc-result-box .cr-label {
  font-size: 13px;
  color: var(--color-muted);
  font-weight: 600;
}
.calc-result-amount {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 400;
  color: var(--color-foreground);
}
.credit-calculator-note {
  margin: 0 0 18px;
  color: var(--color-muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}
.credit-calculator-warning {
  color: var(--color-destructive);
  font-weight: 700;
}
.calc-submit-full {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.site-footer { padding: 64px 0 0; background: var(--color-dark); color: #fff; }
.site-footer .footer-grid { max-width: var(--container); grid-template-columns: 1.35fr 1fr 1fr 1.15fr; gap: 40px; padding: 0 20px 48px; }
.site-footer .footer-col > p { max-width: 280px; color: rgba(255,255,255,.52); line-height: 1.65; }
.site-footer h4 { margin-bottom: 20px; color: rgba(255,255,255,.4); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.site-footer .footer-menu li, .site-footer .footer-services li { margin: 0 0 12px; }
.site-footer .footer-menu a, .site-footer .footer-services a, .site-footer .footer-services button { color: rgba(255,255,255,.62); font-size: 14px; }
.site-footer .footer-menu a:hover, .site-footer .footer-services a:hover, .site-footer .footer-services button:hover { color: var(--color-primary); }
.site-footer .footer-contacts li { color: rgba(255,255,255,.62); font-size: 14px; }
.site-footer .footer-contacts svg { color: var(--color-primary); }
.site-footer .footer-bottom { border-color: rgba(255,255,255,.1); }
.site-footer .footer-bottom-inner { max-width: var(--container); padding: 20px; }
.site-footer .footer-bottom p, .site-footer .footer-bottom a { color: rgba(255,255,255,.62); }
.site-footer .footer-socials a { border: 0; border-radius: 10px; background: rgba(255,255,255,.1); color: #fff; }
.site-footer .footer-socials a:hover { background: var(--color-primary); color: var(--color-primary-foreground); }
.scroll-progress { position: fixed; top: 0; left: 0; z-index: 100; width: 0; height: 3px; background: var(--color-primary); }
@media (max-width: 900px) {
  .home-kit-sell-grid { grid-template-columns: 1fr; gap: 36px; }
  .home-kit-sell-services { grid-template-columns: 1fr; }
  .reviews-platforms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .credit-layout { grid-template-columns: 1fr; gap: 40px; }
  .reviews-showroom-invite { flex-direction: column; align-items: flex-start; }
  .site-footer .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .home-kit-hero { min-height: 590px; }
  .home-kit-hero-content { padding: 68px 0; }
  .home-kit-hero-title { font-size: clamp(2.45rem, 12vw, 3.6rem); }
  .home-kit-hero-subtitle { font-size: 16px; }
  .home-kit-hero-search { grid-template-columns: 1fr; }
  .home-kit-hero-search button { width: 100%; }
  .home-kit-brands { padding: 28px 0; }
  .home-kit-brands-header { align-items: flex-start; flex-direction: column; margin-bottom: 20px; }
  .home-kit-brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .home-kit-brand-card { min-height: 96px; padding: 10px 6px; }
  .home-kit-brand-logo-wrap { width: 36px; height: 36px; }
  .home-kit-brand-logo { width: 32px; height: 32px; }
  .home-kit-brand-name { font-size: 11px; }
  .home-kit-brand-count { font-size: 10px; }
  .home-kit-cars, .home-kit-sell, .home-kit-advantages, .home-kit-process, .home-kit-dealership, .home-kit-cta { padding: 56px 0; }
  .site-topbar { display: none; }
  .reviews { padding: 56px 0; }
  .credit-benefits-grid { grid-template-columns: 1fr; }
  .credit-actions { width: 100%; }
  .credit-apply-btn { width: 100%; }
  .credit-calc-panel { padding: 20px 16px; }
  .home-kit-sell-features { grid-template-columns: 1fr; }
  .showroom-invite-actions { width: 100%; }
  .showroom-invite-actions .btn,
  .showroom-invite-actions .btn-outline-white { width: 100%; }
  .home-kit-reviews { padding: 56px 0; }
  .reviews-platforms-grid { grid-template-columns: 1fr; }
  .home-kit-reviews-heading { align-items: flex-start; flex-direction: column; margin-bottom: 28px; }
  .site-footer { padding-top: 52px; }
  .site-footer .footer-grid { grid-template-columns: 1fr; padding-bottom: 36px; }
  .home-kit-section-header { align-items: flex-start; flex-direction: column; margin-bottom: 28px; }
  .home-kit-process-grid, .home-kit-sell-grid, .home-kit-dealership-grid, .home-kit-reviews .reviews-grid { grid-template-columns: 1fr; }
  .home-kit-process-grid { gap: 30px; }
  .home-kit-sell-media { grid-row: 1; }
  .home-kit-sell-media img, .home-kit-dealership-media img { min-height: 250px; }
  .home-kit-sell-time { bottom: -16px; left: 16px; }
  .home-kit-dealership-badge { top: 12px; right: 12px; }
}

/* === FORMS AND CTA вЂ” LIGHT INTERACTION SLICE === */
.modal-close {
  width: 44px !important;
  height: 44px !important;
}
.form--lead .form-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.form--lead .form-field > label {
  color: var(--color-foreground);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}
.form--lead .form-field > label span {
  color: var(--color-muted);
  font-weight: 500;
}
.form--lead .form-input,
.form--lead .form-input-sm {
  min-height: 48px;
  border-color: var(--color-border);
  background: #fff;
}
.form--lead .form-input:hover,
.form--lead .form-input-sm:hover {
  border-color: #b8bec4;
}
.form--lead .form-input:focus,
.form--lead .form-input-sm:focus {
  border-color: var(--color-foreground);
  box-shadow: 0 0 0 3px rgba(255, 212, 0, .3);
}
.form--lead .form-consent {
  margin-top: -2px;
}
.form-consent {
  min-width: 0;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.5;
}
.form-consent input {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 0;
  accent-color: var(--color-primary);
}
.form-consent a {
  color: var(--color-foreground);
  text-decoration-color: rgba(3, 6, 10, .35);
  text-underline-offset: 2px;
}
.form-consent a:hover {
  text-decoration-color: var(--color-primary);
}
.form-consent input:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}
.form--lead[aria-busy="true"] .form-input,
.form--lead[aria-busy="true"] .form-input-sm {
  background: var(--color-secondary);
}
.form--lead [type="submit"] {
  position: relative;
  transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}
.form--lead [type="submit"]:disabled {
  cursor: wait;
  opacity: .72;
}
.form--lead[data-submitting="true"] [type="submit"]::after {
  content: '';
  width: 16px;
  height: 16px;
  margin-left: 8px;
  border: 2px solid rgba(3, 6, 10, .25);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: formButtonSpin .7s linear infinite;
}
@keyframes formButtonSpin {
  to { transform: rotate(360deg); }
}
.form--callback-inline {
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .76);
  box-shadow: var(--shadow-sm);
}
.form--callback-inline .form-field {
  flex: 1 1 180px;
}
.form--callback-inline .form-consent {
  flex: 1 0 100%;
}
.form--callback-inline .form-btn-sm {
  flex: 0 0 auto;
  padding-right: 20px;
  padding-left: 20px;
}
.home-kit-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #111111 0%, #1d1d1d 100%);
}
.home-kit-cta::before {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 212, 0, .14);
  content: '';
  filter: blur(2px);
}
.home-kit-cta-inner {
  position: relative;
}
.home-kit-cta p {
  max-width: 620px;
}
.home-kit-cta-primary,
.home-kit-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}
.home-kit-cta-primary {
  box-shadow: 0 10px 24px rgba(255, 212, 0, .16);
}
.home-kit-cta-primary:hover {
  background: var(--color-primary-hover);
}
.home-kit-cta-secondary {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
}
.home-kit-cta-secondary:hover {
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .4);
}
.home-kit-credit .credit-layout {
  align-items: stretch;
}
.home-kit-credit .credit-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-kit-credit .credit-benefits-list li::before {
  background: rgba(255, 212, 0, .24);
  color: var(--color-foreground);
}
.home-kit-credit .credit-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  min-height: 52px;
  padding: 0 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
}
.home-kit-credit .credit-info-panel {
  gap: 18px;
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 32px rgba(3, 6, 10, .06);
}
.home-kit-credit .credit-calc-panel h3 {
  margin-bottom: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
}
.home-kit-credit .calc-submit-full {
  min-height: 52px;
  border-radius: var(--radius-md);
  font-weight: 700;
}
.credit-calculator-note[data-credit-note]:not([hidden]) { color: var(--color-destructive); font-weight: 700; }

/* === HOMEPAGE PRESENTATION вЂ” COMPACT DEALERSHIP RHYTHM === */
.home-kit-brands,
.home-kit-cars,
.selections,
.home-kit-process,
.home-kit-sell,
.home-kit-advantages,
.home-kit-credit,
.home-kit-reviews,
.home-kit-cta {
  position: relative;
}
.home-kit-brands { padding: 40px 0; border-bottom: 0; }
.home-kit-cars,
.home-kit-sell,
.home-kit-advantages,
.home-kit-reviews { padding: var(--section-pad) 0; }
.selections,
.home-kit-process,
.home-kit-credit { padding: var(--section-pad) 0; background: var(--color-secondary); }
.home-kit-cars { border-top: 1px solid var(--color-border); }
.home-kit-section-header,
.home-kit-brands-header,
.home-kit-reviews-heading { margin-bottom: 30px; }
.home-kit-section-header > div,
.home-kit-brands-header > div { max-width: 620px; }
.home-kit-section-header h2,
.home-kit-centered-heading h2,
.home-kit-sell h2,
.home-kit-dealership h2,
.home-kit-cta h2,
.home-kit-reviews-heading h2,
.home-kit-brands-title,
.selections .section-title,
.home-kit-credit .credit-title {
  letter-spacing: -.025em;
}
.home-kit-section-header p,
.home-kit-brands-subtitle,
.home-kit-centered-heading p { line-height: 1.55; }
.home-kit-text-link {
  min-height: 44px;
  padding: 0 2px;
  border-bottom: 1px solid var(--color-foreground);
  font-weight: 700;
}
.home-kit-text-link:hover { color: var(--color-foreground); border-color: var(--color-primary); }
.home-kit-brand-grid { gap: 12px; }
.home-kit-brand-logo { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; object-fit: contain; }
.home-kit-cars-grid {
  min-height: 0;
  gap: var(--grid-gap);
}
.home-kit-cars-grid .car-card {
  border-color: var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: none;
}
@media (hover: hover) {
  .home-kit-cars-grid .car-card:hover {
    transform: translateY(-3px);
    border-color: #c4c9cd;
    box-shadow: var(--shadow-md);
  }
}
.home-kit-cars-grid .car-photo { background: #e8ecee; }
.home-kit-cars-grid .car-photo-empty {
  color: var(--color-muted);
  background: linear-gradient(135deg, #f2f4f5, #e5e9eb);
}
.home-kit-cars-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-secondary);
}
.home-kit-cars-empty p { max-width: 580px; margin: 0; color: var(--color-muted); line-height: 1.55; }
.selections .section-header { margin-bottom: 28px; }
.home-kit-centered-heading { max-width: 660px; margin: 0 0 36px; text-align: left; }
.home-kit-centered-heading p { margin-left: 0; margin-right: 0; }
.home-kit-process-grid { gap: 0; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: #fff; overflow: hidden; }
.home-kit-process-grid article { min-height: 236px; padding: 28px 24px; text-align: left; }
.home-kit-process-grid article + article { border-left: 1px solid var(--color-border); }
.home-kit-process-grid span {
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border-radius: var(--radius-md);
  background: rgba(255, 212, 0, .22);
  color: var(--color-foreground);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
}
.home-kit-process-grid h3,
.home-kit-advantage-card h3 { font-size: 16px; font-weight: 700; }
.home-kit-advantages { border-top: 1px solid var(--color-border); }
.home-kit-advantages-grid { gap: var(--grid-gap); }
.home-kit-advantage-card {
  min-height: 214px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-secondary);
}
.home-kit-credit .credit-layout { gap: 52px; }
.home-kit-credit .credit-benefits-list { gap: 12px; }
.home-kit-credit .credit-benefits-list li::before { background: rgba(255, 212, 0, .24); color: var(--color-foreground); }
.home-kit-credit .credit-calc-panel { border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.home-kit-credit .credit-title span { display: inline-block; margin-top: 6px; color: var(--color-muted); font-family: var(--font-sans); font-size: clamp(15px, 1.5vw, 18px); font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.home-kit-credit .credit-calc-panel h3 { padding-bottom: 14px; border-bottom: 1px solid var(--color-border); }
.home-kit-credit .credit-info-panel .calc-field { margin: 0; }
.home-kit-credit .calc-result-box { margin: 6px 0 2px; padding: 18px; background: #fffdf0; border-color: rgba(255, 212, 0, .45); }
.home-kit-credit .calc-result-amount { color: var(--color-foreground); font-size: clamp(24px, 2.4vw, 32px); }
.home-kit-reviews-heading { align-items: flex-start; }
.home-kit-reviews-heading p { max-width: 560px; margin-top: 10px; }
.review-empty-state {
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px clamp(24px, 5vw, 72px);
  border-style: solid;
  border-radius: var(--radius-md);
  background: var(--color-secondary);
  text-align: left;
}
.home-kit-reviews .review-empty-state { background: linear-gradient(135deg, var(--color-secondary), #fff); }
.home-kit-reviews .review-empty-state p { max-width: 560px; }
.home-kit-cta { padding: var(--section-pad) 0; }
.home-kit-cta-inner { max-width: 700px; margin: 0 auto; }
@media (max-width: 900px) {
  .home-kit-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-kit-process-grid article:nth-child(3) { border-left: 0; border-top: 1px solid var(--color-border); }
  .home-kit-process-grid article:nth-child(4) { border-top: 1px solid var(--color-border); }
}
@media (max-width: 767px) {
  .form--callback-inline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }
  .form--callback-inline .form-field,
  .form--callback-inline .form-btn-sm {
    width: 100%;
  }
  .form--callback-inline .form-btn-sm {
    min-height: 48px;
  }
  .home-kit-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .home-kit-cta-primary,
  .home-kit-cta-secondary {
    width: 100%;
  }
  .home-kit-credit .credit-apply-btn {
    width: 100%;
  }
  .home-kit-brands,
  .home-kit-cars,
  .selections,
  .home-kit-process,
  .home-kit-sell,
  .home-kit-advantages,
  .home-kit-reviews,
  .home-kit-cta { padding: 52px 0; }
  .home-kit-section-header,
  .home-kit-brands-header,
  .home-kit-reviews-heading { margin-bottom: 24px; }
  .home-kit-cars-empty,
  .review-empty-state { align-items: flex-start; flex-direction: column; padding: 24px; }
  .home-kit-cars-empty .btn,
  .review-empty-state .btn { width: 100%; }
  .home-kit-process-grid { grid-template-columns: 1fr; }
  .home-kit-process-grid article { min-height: 0; padding: 24px; }
  .home-kit-process-grid article + article,
  .home-kit-process-grid article:nth-child(3),
  .home-kit-process-grid article:nth-child(4) { border-top: 1px solid var(--color-border); border-left: 0; }
  .home-kit-process-grid span { margin-bottom: 18px; }
  .home-kit-sell-media img { min-height: 280px; }
  .home-kit-sell-time { bottom: 14px; left: 14px; }
  .home-kit-advantage-card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .form--lead[data-submitting="true"] [type="submit"]::after {
    animation: none;
  }
}

/* ============================================================
   SECONDARY PAGES вЂ” CONSISTENT SURFACES AND RHYTHM
   ============================================================ */
.page-header {
  padding: clamp(48px, 6vw, 88px) 0 clamp(40px, 5vw, 72px);
}
.page-header h1 {
  max-width: 900px;
  margin-top: 18px;
  line-height: 1.08;
}
.page-header > .container > p,
.page-header .container > p {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
}
.about-wrapper,
.contacts-wrapper,
.sell-wrapper {
  width: 100%;
  max-width: var(--container);
}
.about-wrapper,
.contacts-wrapper {
  display: grid;
  gap: clamp(28px, 4vw, 64px);
}
.about-wrapper {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
}
.contacts-grid > *,
.contacts-map-section,
.sell-wrapper {
  min-width: 0;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-base);
  box-shadow: var(--shadow-sm);
}
.about-intro .section-title,
.contacts-map-heading .section-title,
.sell-wrapper .section-title {
  margin-top: 0;
}
.about-intro { min-width: 0; }
.about-intro p,
.about-page-content p {
  margin: 0 0 16px;
  color: var(--color-muted);
  line-height: 1.7;
}
.about-page-content { margin-top: 0; }
.about-media {
  min-width: 0;
  margin: 0;
}
.about-showroom-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.about-intro-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.contacts-wrapper { gap: 32px; }
.contacts-grid { gap: clamp(20px, 3vw, 40px); }
.contacts-section-title { margin-top: 0; }
.contacts-map-section { padding: clamp(24px, 3vw, 40px); }
.contacts-map-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
.service-page-grid,
.vacancy-single-grid {
  gap: clamp(28px, 5vw, 72px);
}
.service-page-copy,
.vacancy-content { padding-top: 8px; }
.service-page-form-wrap,
.vacancy-form-wrap {
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.service-page-list { margin-top: 28px; }
.services-groups { gap: clamp(36px, 5vw, 64px); }
.services-group-title { margin-bottom: 20px; }
.services-group .service-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.services-group .service-card {
  min-width: 0;
  min-height: 152px;
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--color-base);
  box-shadow: var(--shadow-sm);
}
.services-group .service-card:focus-visible,
.services-group .service-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.vacancy-empty {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 72px);
  box-shadow: var(--shadow-sm);
}
.vacancy-empty .btn { min-height: 48px; }
.archive-card { background: var(--color-base); box-shadow: var(--shadow-sm); }
.sell-wrapper { max-width: 900px; }
.sell-wrapper .sell-desc { max-width: 680px; }
.contacts-map-link,
.about-intro-actions .btn,
.service-card { min-height: 44px; }
.car-fav { width: 44px; height: 44px; }

@media (max-width: 1024px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .contacts-wrapper { max-width: 100%; }
  .service-page-grid,
  .vacancy-single-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); }
}

@media (max-width: 767px) {
  .page-header { padding: 36px 0 24px; }
  .page-header h1 {
    font-size: clamp(22px, 6vw, 32px) !important;
    line-height: 1.2 !important;
    margin-top: 10px !important;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .catalog-view-toggle { display: none !important; }
  .catalog-toolbar-favorites { display: none !important; }
  .catalog-results-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 0 0 16px;
  }
  .catalog-toolbar-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .catalog-toolbar-back-btn {
    width: 100%;
    justify-content: center;
  }
  .catalog-orderby-mobile {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }
  .contacts-grid > *,
  .contacts-map-section,
  .sell-wrapper,
  .service-page-form-wrap,
  .vacancy-form-wrap { padding: 22px 20px; }
  .contacts-grid,
  .service-page-grid,
  .vacancy-single-grid { grid-template-columns: 1fr; }
  .services-group .service-cards { grid-template-columns: 1fr; }
  .services-group .service-card { min-height: 0; }
  .vacancy-empty { padding: 36px 20px; }
  .about-intro-actions .btn { width: 100%; }
  .car-fav { width: 44px; height: 44px; }
}

/* ============================================================
   CATALOG FILTERS вЂ” Mobile drawer (<1024px)
   ============================================================ */
.catalog-filters-toggle,
.catalog-filters-overlay,
.filter-apply-bar,
.filter-drawer-header { display: none; }
.catalog-active-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}
.catalog-active-filters[hidden] { display: none !important; }
.catalog-active-filters-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.catalog-active-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-foreground, #111111);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}
.catalog-active-filter:hover,
.catalog-active-filter:focus-visible {
  border-color: #ff3b30;
  background: #fff5f5;
  color: #ff3b30;
}
.catalog-active-filter-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  color: var(--color-foreground);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  transition: all 0.2s ease;
}
.catalog-active-filter:hover .catalog-active-filter-close {
  background: #ff3b30;
  color: #ffffff;
}
.catalog-active-filters-reset {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 6px 12px;
  border: 0;
  background: transparent;
  color: var(--color-muted, #777);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.catalog-active-filters-reset:hover {
  color: #ff3b30;
}
.catalog-active-filters-reset[hidden] { display: none !important; }

/* Catalog Favorites Mode */
.page-header--favorites {
  background: linear-gradient(135deg, #18191c 0%, #111215 100%);
  color: #fff;
}
.page-header--favorites .breadcrumbs a,
.page-header--favorites .breadcrumbs span {
  color: rgba(255, 255, 255, 0.7);
}
.page-header--favorites h1 {
  color: #fff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.catalog-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 800;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  box-shadow: 0 2px 8px rgba(255, 212, 0, 0.35);
}
.catalog-toolbar-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.catalog-toolbar-back-btn:hover {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  transform: translateY(-1px);
}
.catalog-toolbar-favorites {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-md, 8px);
  border: 1px solid var(--color-border);
  background: var(--color-surface, #fff);
  color: var(--color-foreground, #111);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.catalog-toolbar-favorites:hover {
  border-color: var(--color-primary);
  background: #fffdf0;
  color: #111;
}
.catalog-toolbar-favorites-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  font-size: 11px;
  font-weight: 800;
}
.catalog-empty--favorites {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 20px;
  background: var(--color-surface, #fff);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg, 16px);
  margin: 16px 0 24px;
  grid-column: 1 / -1;
}
.catalog-empty--favorites .catalog-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fffdf0;
  border: 2px solid rgba(255, 212, 0, 0.4);
  color: #bfa100;
  margin-bottom: 16px;
}
.catalog-empty--favorites h3 {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 800;
  color: #111;
  margin: 0 0 8px;
}
.catalog-empty--favorites p {
  max-width: 440px;
  font-size: 14.5px;
  color: var(--color-muted, #666);
  line-height: 1.5;
  margin: 0 0 20px;
}
.catalog-empty--favorites .catalog-empty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-md, 10px);
}

.filter-more-toggle { display: none; }
.catalog-results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
}
.catalog-results-summary {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.catalog-toolbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.catalog-toolbar-actions .catalog-view-toggle {
  width: auto;
  flex-shrink: 0;
}
.catalog-orderby-mobile {
  width: auto;
  min-width: 180px;
  max-width: 220px;
  height: 42px;
  padding: 0 32px 0 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: #fff url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23595e63' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .catalog-filters-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-bottom: 16px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-foreground);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .catalog-active-filters { align-items: flex-start; flex-direction: column; margin: 0 0 16px; }
  .catalog-active-filters-list { width: 100%; }
  .catalog-active-filter, .catalog-active-filters-reset { min-height: 44px; }
  .catalog-active-filters-reset { padding-left: 0; }
  .catalog-filters-toggle:hover,
  .catalog-filters-toggle.active {
    border-color: var(--color-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  }
  .catalog-filters-count[hidden] { display: none; }
  .catalog-filters-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-primary-foreground);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
  }
  .catalog-filters-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .catalog-filters-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .catalog-filters {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1205;
    max-height: 90vh;
    max-height: 90dvh;
    margin: 0;
    padding: 24px 16px 0;
    border-radius: 16px 16px 0 0;
    background: var(--color-base);
    border: 1px solid var(--color-border);
    border-bottom: 0;
    box-shadow: 0 -16px 48px rgba(3,6,10,.16);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateY(103%);
    visibility: hidden;
    transition: transform 0.38s var(--ease-out-expo), visibility 0.38s ease;
  }
  .filter-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: -4px 0 20px;
  }
  .filter-drawer-header h2 { margin: 0; font-family: var(--font-sans); font-size: 20px; line-height: 1.2; font-weight: 800; }
  .filter-drawer-close { display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 1px solid var(--color-border); border-radius: 50%; background: var(--color-secondary); color: var(--color-foreground); cursor: pointer; transition: background .2s ease, transform .2s var(--ease-out-expo); }
  .filter-drawer-close:hover { background: #e8edf3; transform: scale(1.04); }
  .catalog-filters.open {
    transform: translateY(0);
    visibility: visible;
  }
  body.catalog-filters-open { overflow: hidden; }
  body.catalog-filters-open .mobile-sticky-bar,
  body.catalog-filters-open .mobile-page-actions,
  body.catalog-filters-open .back-to-top,
  body.catalog-filters-open .scroll-progress {
    display: none !important;
  }
  .filter-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 10px;
  }
  .filter-row-primary .filter-group-brand { grid-column: 1 / -1; }
  .catalog-results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
  .catalog-results-summary { margin: 0; color: var(--color-muted); font-size: 14px; font-weight: 700; }
  .catalog-toolbar-actions { display: inline-flex; align-items: center; gap: 8px; }
  .catalog-orderby-mobile { width: auto; min-width: 150px; max-width: 190px; min-height: 44px; padding: 8px 32px 8px 12px; font-size: 13px; }
  .filter-more-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; margin: 4px 0 10px; padding: 12px 0; border: 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: transparent; color: var(--color-foreground); font: inherit; font-size: 15px; font-weight: 800; text-align: left; cursor: pointer; }
  .filter-more-toggle svg { transition: transform .2s var(--ease-out-expo); }
  .filter-more-toggle.is-open svg { transform: rotate(180deg); }
  [data-filter-more-count] { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; margin-left: auto; margin-right: 10px; border-radius: 999px; background: var(--color-primary); color: var(--color-primary-foreground); font-size: 12px; }
  [data-filter-more-count][hidden] { display: none; }
  .catalog-filters .filter-secondary-row { display: none; }
  .catalog-filters .filter-secondary-row.filter-secondary-visible { display: grid; }
  .catalog-filters .filter-checkboxes.filter-secondary-visible { display: grid; }
  .filter-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 12px;
  }
  .catalog-filters .filter-select,
  .catalog-filters .filter-input {
    height: 48px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    padding: 0 36px 0 14px;
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 2L6 6.5L10.5 2' stroke='%23595e63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    box-shadow: 0 1px 2px rgba(3,6,10,0.03);
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
  }
  .catalog-filters .filter-input {
    padding: 0 14px;
    background-image: none;
  }
  .catalog-filters .filter-select:focus,
  .catalog-filters .filter-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.2);
  }
  .filter-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-actions-right { justify-content: space-between; }
  .filter-orderby { min-width: 0; flex: 1 1 auto; }
  .filter-apply-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    position: sticky;
    bottom: 0;
    z-index: 30;
    margin: 20px -16px 0;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    background: #ffffff;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
  }
  .filter-show-btn {
    flex: 1;
    min-height: 52px;
    height: 52px;
    padding: 0 20px;
    font-size: 15px;
    font-weight: 800;
    color: var(--color-primary-foreground);
    background: var(--color-primary);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(255, 212, 0, 0.35);
  }
  .filter-show-btn:hover {
    filter: brightness(0.95);
  }
  .filter-drawer-reset-btn {
    min-height: 52px;
    height: 52px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-muted);
    background: var(--color-secondary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .filter-drawer-reset-btn:hover {
    background: #e8edf3;
    color: var(--color-foreground);
  }
}

@media (min-width: 1180px) {
  .catalog-filters > .filter-row:first-child { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .filter-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-row:not(.filter-row-primary) { grid-template-columns: 1fr; }
  .filter-row-primary .filter-group-brand { grid-column: 1 / -1; }
  .filter-checkboxes { grid-template-columns: 1fr; }
}

/* ============================================================
   HOME - SIGNATURE BLOCKS (hero stats / dark credit / yellow cta / sell card / cars more)
   ============================================================ */
.hero-stats {
  position: relative;
  z-index: 2;
  background: var(--color-dark);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.stat-item {
  display: grid;
  gap: 4px;
  padding-left: 18px;
  border-left: 3px solid var(--color-primary);
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  line-height: 1.1;
  color: #fff;
}
.stat-label {
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  line-height: 1.35;
}
.about-stats {
  background: var(--color-dark);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.about-stats .hero-stats-inner {
  padding-top: 26px;
  padding-bottom: 26px;
}
.credit-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 20px;
  padding: 6px 16px;
  border-radius: 40px;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--color-primary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.credit-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
}
.home-kit-credit .credit-title span {
  color: var(--color-primary);
  display: block;
}
.home-kit-credit {
  position: relative;
  overflow: hidden;
  background-color: #090d16;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(255, 212, 0, 0.04) 0%, transparent 65%),
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.02) 0%, transparent 40%);
}
.credit-backdrop-car {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1400px;
  max-width: 96vw;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
  opacity: 0.08;
  filter: brightness(0.65) drop-shadow(0 25px 70px rgba(0, 0, 0, 0.98));
}
.home-kit-credit .credit-main {
  color: #fff;
  position: relative;
  z-index: 10;
}
.home-kit-credit .credit-title {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 16px;
  font-weight: 400;
}
.home-kit-credit .home-kit-credit-intro {
  color: rgba(255, 255, 255, .72);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 520px;
}
.credit-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}
.credit-benefit-item {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.credit-benefit-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 212, 0, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.credit-benefit-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 212, 0, 0.14);
  border: 1px solid rgba(255, 212, 0, 0.25);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.credit-benefit-item strong {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 3px;
}
.credit-benefit-item span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.35;
}
.credit-partners-block {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.credit-partners-title {
  font-size: 11.5px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.credit-banks-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bank-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s ease;
}
.bank-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}
.bank-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}
.dot-neutral { background: rgba(255, 255, 255, 0.45); }
.dot-sber { background: #22c55e; box-shadow: 0 0 6px #22c55e; }
.dot-vtb { background: #3b82f6; box-shadow: 0 0 6px #3b82f6; }
.dot-tbank { background: #eab308; box-shadow: 0 0 6px #eab308; }
.dot-sovkom { background: #f87171; box-shadow: 0 0 6px #f87171; }
.dot-alfa { background: #ef4444; box-shadow: 0 0 6px #ef4444; }
.dot-otkritie { background: #06b6d4; box-shadow: 0 0 6px #06b6d4; }
.bank-pill-link {
  text-decoration: none;
}
.bank-pill-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 4px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.08);
}
.credit-banks-pills.is-collapsed .bank-pill:nth-child(n+7) {
  display: none;
}
.credit-banks-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  line-height: inherit;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.credit-banks-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 44px;
  transform: translateY(-50%);
}
@media (hover: none) {
  .credit-banks-toggle {
    min-height: 44px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}
.credit-banks-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 212, 0, 0.4);
  color: #ffffff;
}
.credit-banks-toggle:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}
.credit-banks-toggle-icon {
  transition: transform 0.2s ease;
}
.credit-banks-toggle[aria-expanded="true"] .credit-banks-toggle-icon {
  transform: rotate(180deg);
}
@media (prefers-reduced-motion: reduce) {
  .credit-banks-toggle,
  .credit-banks-toggle-icon {
    transition: none;
  }
}

/* HERO FROSTED GLASS CALCULATOR PANEL */
.home-kit-credit .credit-calc-panel {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  padding: 36px 34px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.home-kit-credit .credit-calc-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 212, 0, 0.8), transparent);
}
.credit-calc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.credit-calc-head-title {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.credit-calc-head-title svg {
  color: var(--color-primary);
}
.home-kit-credit .calc-field {
  margin-bottom: 22px;
}
.home-kit-credit .calc-field-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.home-kit-credit .calc-field-label {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}
.home-kit-credit .calc-field-val {
  font-family: var(--font-display);
  font-size: 20px;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.home-kit-credit .calc-field-val .currency {
  color: var(--color-primary);
  font-size: 15px;
}
.home-kit-credit .calc-field-val .term-unit {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}
.home-kit-credit .calc-field input[type="range"],
.home-kit-credit .calc-range-input {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  width: 100%;
  height: 8px !important;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  cursor: pointer;
  margin: 10px 0 8px !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45);
  transition: background 0.05s ease;
}
.home-kit-credit .calc-field input[type="range"]::-webkit-slider-runnable-track,
.home-kit-credit .calc-range-input::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  height: 8px;
  background: transparent;
  border: none;
  border-radius: 6px;
}
.home-kit-credit .calc-field input[type="range"]::-webkit-slider-thumb,
.home-kit-credit .calc-range-input::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 212, 0, 0.95) 45%, #eab308 100%) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 0 14px rgba(255, 212, 0, 0.8), inset 0 1px 2px rgba(255, 255, 255, 0.9) !important;
  cursor: grab;
  margin-top: -8px;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.15s ease;
}
.home-kit-credit .calc-field input[type="range"]::-webkit-slider-thumb:hover,
.home-kit-credit .calc-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 212, 0, 1), inset 0 1px 3px rgba(255, 255, 255, 1) !important;
}
.home-kit-credit .calc-field input[type="range"]::-webkit-slider-thumb:active,
.home-kit-credit .calc-range-input::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.08);
}
.home-kit-credit .calc-field input[type="range"]::-moz-range-progress,
.home-kit-credit .calc-range-input::-moz-range-progress {
  background: var(--color-primary);
  height: 8px;
  border-radius: 6px;
}
.home-kit-credit .calc-field input[type="range"]::-moz-range-thumb,
.home-kit-credit .calc-range-input::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 212, 0, 0.95) 45%, #eab308 100%);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 0 14px rgba(255, 212, 0, 0.8);
  cursor: grab;
}
.home-kit-credit .calc-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
}
.calc-presets-row {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.calc-preset-btn {
  flex: 1;
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}
.calc-preset-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}
.calc-preset-btn.active {
  background: var(--color-primary);
  color: #0b0f17;
  border-color: var(--color-primary);
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(255, 212, 0, 0.35);
  transform: translateY(-1px);
}
.home-kit-credit .calc-result-box {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 212, 0, 0.3);
  border-radius: 18px;
  padding: 22px;
  margin-top: 24px;
  text-align: center;
}
.home-kit-credit .cr-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 4px;
  display: block;
  letter-spacing: 0.6px;
}
.home-kit-credit .calc-result-amount {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  color: var(--color-primary);
  margin-bottom: 6px;
  display: block;
}
.home-kit-credit .calc-disclaimer {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 18px;
  line-height: 1.4;
  text-align: center;
}
.calc-submit-full {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  background: var(--color-primary);
  color: #0b0f17;
  font-size: 15px;
  font-weight: 800;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(255, 212, 0, 0.35);
}
.calc-submit-full:hover {
  background: #ffe033;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 212, 0, 0.45);
}
.calc-btn-desktop { display: inline; }
.calc-btn-mobile { display: none; }

@media (max-width: 1024px) {
  .home-kit-credit .credit-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .credit-backdrop-car {
    opacity: 0.06;
    width: 750px;
  }
}
@media (max-width: 640px) {
  .credit-benefits-grid {
    grid-template-columns: 1fr;
  }
  .home-kit-credit .credit-calc-panel {
    padding: 24px 18px;
  }
  .calc-btn-desktop { display: none; }
  .calc-btn-mobile { display: inline; }
  .home-kit-credit .calc-result-amount {
    font-size: 2.1rem;
  }
}
.home-kit-cars-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.home-kit-cars-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border-radius: var(--radius-md);
  background: var(--color-foreground);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease;
}
.home-kit-cars-more-btn:hover {
  background: var(--color-dark);
}
.home-kit-sell-cta-card {
  padding: clamp(24px, 3.2vw, 36px);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  color: #03060a;
  box-shadow: 0 24px 64px rgba(3, 6, 10, 0.08), inset 0 1px 0 #ffffff;
  position: relative;
}
.home-kit-sell-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FFD400, transparent);
}
.sell-quiz-header {
  margin-bottom: 20px;
}
.sell-quiz-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.sell-quiz-step-counter {
  font-size: 13px;
  font-weight: 600;
  color: #595e63;
  letter-spacing: 0.01em;
}
.sell-quiz-current-num {
  color: #03060a;
  font-weight: 800;
}
.sell-quiz-current-name {
  color: #03060a;
  font-weight: 800;
  margin-left: 2px;
}
.sell-quiz-progress {
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: rgba(3, 6, 10, 0.08);
  margin-top: 12px;
  overflow: hidden;
}
.sell-quiz-progress-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(255, 212, 0, 0.6);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.sell-quiz-step {
  display: none;
}
.sell-quiz-step.is-active {
  display: block;
  animation: sellQuizFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes sellQuizFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.sell-quiz-step-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  font-weight: 400;
  line-height: 1.25;
  color: #03060a;
}
.sell-quiz-step-subtitle {
  margin: -8px 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #595e63;
}
.sell-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.sell-quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid #dbdee1;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 58px;
  user-select: none;
  position: relative;
  box-shadow: 0 2px 6px rgba(3, 6, 10, 0.02);
}
.sell-quiz-option:hover {
  background: #ffffff;
  border-color: #595e63;
  transform: translateY(-1px);
}
.sell-quiz-option.is-selected {
  background: #fffdf0;
  border-color: var(--color-primary);
  box-shadow: 0 4px 18px rgba(255, 212, 0, 0.25);
}
.sell-quiz-option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f2f4f5;
  color: #595e63;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.sell-quiz-option.is-selected .sell-quiz-option-icon {
  background: var(--color-primary);
  color: #03060a;
}
.sell-quiz-option-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
  min-width: 0;
}
.sell-quiz-option-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #03060a;
  line-height: 1.25;
}
.sell-quiz-option-desc {
  font-size: 12px;
  color: #595e63;
  line-height: 1.35;
}
.sell-quiz-option-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #dbdee1;
  color: transparent;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.sell-quiz-option.is-selected .sell-quiz-option-check {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #03060a;
}
.sell-quiz-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.sell-quiz-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}
.sell-field-req {
  color: #e11d48;
  font-weight: 800;
  margin-left: 2px;
}
.sell-quiz-error {
  padding: 10px 14px;
  border-radius: 10px;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 14px;
  animation: sellQuizFadeIn 0.2s ease;
}
.sell-quiz-card .form-input.is-invalid {
  border-color: #ef4444 !important;
  background: #fef2f2 !important;
}
.sell-quiz-actions {
  display: flex;
  width: 100%;
  margin-top: 14px;
}
.sell-quiz-actions--split {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
}
.sell-quiz-btn-prev {
  min-height: 50px;
  border-radius: 12px;
  background: #f2f4f5;
  border: 1px solid #dbdee1;
  color: #03060a;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.sell-quiz-btn-prev:hover {
  background: #e5e7eb;
  border-color: #cbd5e1;
  color: #03060a;
}
.sell-quiz-btn-next {
  width: 100%;
  min-height: 50px;
  border-radius: 12px;
  background: var(--color-primary);
  color: #03060a;
  font-size: 15px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(255, 212, 0, 0.35);
}
.sell-quiz-btn-next:hover {
  background: #ffe033;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 212, 0, 0.45);
}
.home-kit-sell-cta-card .form--trade-in-inline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sell-inline-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.home-kit-sell-cta-card .form-field label {
  font-size: 12.5px;
  font-weight: 700;
  color: #03060a;
  margin-bottom: 4px;
}
.home-kit-sell-cta-card .form-input {
  height: 48px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #dbdee1;
  color: #03060a;
  padding: 0 14px;
  font-size: 14.5px;
  transition: all 0.2s;
  width: 100%;
}
.home-kit-sell-cta-card .form-input:focus {
  background: #ffffff;
  border-color: #03060a;
  box-shadow: 0 0 0 3px rgba(3, 6, 10, 0.08);
  outline: none;
}
.home-kit-sell-cta-card .form-input::placeholder {
  color: #94a3b8;
}
.home-kit-sell-cta-card .form-consent {
  color: #595e63;
  font-size: 12px;
}
.home-kit-sell-cta-card .form-consent a {
  color: #03060a;
  font-weight: 600;
}
.sell-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  border-radius: 12px;
  background: var(--color-primary);
  color: #03060a;
  font-size: 15px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 212, 0, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.sell-submit-btn:hover {
  background: #ffe033;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 212, 0, 0.45);
}
.home-kit-sell-features {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(3, 6, 10, 0.07);
  font-size: 12px;
  color: #595e63;
  font-weight: 700;
}
.home-kit-sell-feat {
  display: flex;
  align-items: center;
  gap: 6px;
}
.home-kit-sell-feat svg {
  color: #16a34a;
}
.home-kit-sell-cta-tag {
  background: #03060a;
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sell-submit-btn:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}
@media (max-width: 540px) {
  .sell-quiz-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .sell-quiz-actions--split {
    grid-template-columns: 100px 1fr;
    gap: 8px;
  }
  .sell-quiz-option {
    padding: 10px 12px;
    gap: 10px;
    min-height: 52px;
  }
  .sell-quiz-option-icon {
    width: 36px;
    height: 36px;
  }
  .sell-quiz-option-title {
    font-size: 13.5px;
  }
  .sell-quiz-option-desc {
    font-size: 11.5px;
  }
  .sell-quiz-btn-next,
  .sell-quiz-btn-prev,
  .sell-submit-btn {
    min-height: 48px;
  }
}
.car-inspection-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.inspection-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
}
.inspection-item svg {
  flex-shrink: 0;
}
.home-kit-cta {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
}
.home-kit-cta::before {
  display: none;
}
.home-kit-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: none;
  text-align: left;
}
.cta-contacts-copy h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 400;
  line-height: 1.15;
}
.cta-phone-link {
  color: rgba(17, 17, 17, .72);
  font-family: var(--font-sans);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-phone-link:hover {
  color: var(--color-primary-foreground);
}
.cta-action-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: var(--radius-md);
  background: var(--color-foreground);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease;
}
.cta-action-dark:hover {
  background: var(--color-dark);
}
.home-kit-cta-secondary {
  background: rgba(17, 17, 17, .06);
  border-color: rgba(17, 17, 17, .3);
  color: var(--color-primary-foreground);
}
.home-kit-cta-secondary:hover {
  background: rgba(17, 17, 17, .14);
  border-color: rgba(17, 17, 17, .55);
}
@media (max-width: 1024px) {
  .hero-stats-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-kit-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .hero-stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .home-kit-sell-cta-card {
    padding: 22px;
  }
  .home-kit-sell-cta-card .form--callback-inline {
    padding: 0;
    border: 0;
    background: transparent;
  }
  .home-kit-cars-more-btn {
    width: 100%;
  }
  .home-kit-cta-actions {
    width: 100%;
  }
  .cta-action-dark,
  .home-kit-cta-secondary {
    width: 100%;
  }
}

/* === CROSS-LINKING: ARCHIVE HINT + ABOUT CTA BUTTON === */
.archive-order-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding: 16px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-secondary);
}
.archive-order-hint span {
  color: var(--color-muted);
  font-size: 14px;
}
.archive-order-hint a {
  color: var(--color-foreground);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.archive-order-hint a:hover { color: var(--color-primary); }
.about-intro-actions { margin: 20px 0 0; }
.about-intro-actions .btn { min-height: 48px; }

/* === MOBILE BUTTON SYSTEM === */
@media (max-width: 767px) {
  .btn,
  .form-btn,
  .form-btn-sm,
  .form--lead [type="submit"],
  .calc-submit-full,
  .credit-apply-btn,
  .search-form-inline button,
  .home-kit-hero-search button,
  .home-kit-action-link,
  .home-kit-cars-more-btn,
  .cta-action-dark,
  .home-kit-cta-secondary,
  .filter-more-toggle,
  .filter-show-btn,
  .catalog-filters-toggle,
  .catalog-selection-card a,
  .catalog-infeed-btn,
  .catalog-infeed-link,
  .car-list-btn-callback,
  .contacts-map-link,
  .mobile-page-actions > a,
  .mobile-page-actions > button,
  .vacancy-empty .btn,
  .about-intro-actions .btn {
    height: 52px;
    min-height: 52px;
    box-sizing: border-box;
  }

  .burger,
  .back-to-top,
  .car-fav,
  .modal-close,
  .filter-drawer-close,
  .car-gallery-lightbox-close {
    min-width: 44px;
    min-height: 44px;
    box-sizing: border-box;
  }

  .car-fav,
  .burger,
  .back-to-top,
  .modal-close,
  .filter-drawer-close,
  .car-gallery-lightbox-close {
    width: 44px;
    height: 44px;
  }

  .car-dot {
    min-width: 24px;
    min-height: 44px;
    height: 44px;
  }
}

/* === MOBILE BOTTOM STICKY BAR === */
.mobile-sticky-bar {
  display: none !important;
}

@media (max-width: 1024px) {
  .back-to-top {
    bottom: calc(144px + env(safe-area-inset-bottom, 0px)) !important;
    right: 20px !important;
  }

  .mobile-sticky-bar {
    display: flex !important;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    z-index: 900;
  }

  .mobile-sticky-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    height: 100%;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-sticky-item.active,
  .mobile-sticky-item:active {
    color: #0f172a;
  }

  .mobile-sticky-item svg {
    flex-shrink: 0;
  }

  .mobile-sticky-fav-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-sticky-badge {
    position: absolute;
    top: -4px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--color-primary);
    color: var(--color-primary-foreground);
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  .mobile-sticky-call {
    color: #0f172a;
  }

  .mobile-sticky-call-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-primary-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.home-kit-cta {
  padding: clamp(28px, 3.2vw, 44px) 0;
  background: var(--color-primary);
}

.home-kit-cta::before {
  display: none;
}

.home-kit-cta .home-kit-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 72px);
  max-width: none;
  margin: 0;
}

.home-kit-cta .cta-contacts-copy {
  min-width: 0;
}

.home-kit-cta .cta-contacts-copy h2 {
  margin: 0;
  color: var(--color-primary-foreground);
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.08;
  letter-spacing: -.02em;
}

.home-kit-cta .home-kit-cta-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.home-kit-cta .cta-action-dark,
.home-kit-cta .home-kit-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--color-dark);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.home-kit-cta .cta-action-dark {
  background: var(--color-dark);
  color: #fff;
}

.home-kit-cta .cta-action-dark:hover,
.home-kit-cta .cta-action-dark:focus-visible {
  background: #272727;
  border-color: #272727;
  color: #fff;
}

.home-kit-cta .home-kit-cta-secondary {
  background: transparent;
  color: var(--color-dark);
}

.home-kit-cta .home-kit-cta-secondary:hover,
.home-kit-cta .home-kit-cta-secondary:focus-visible {
  background: rgba(255, 255, 255, .28);
  border-color: var(--color-dark);
  color: var(--color-dark);
}

.site-footer {
  background: var(--color-dark, #111111);
  color: #ffffff;
  padding: 64px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.05fr 1.25fr;
  gap: clamp(32px, 3.5vw, 56px);
  width: min(100% - 48px, var(--container));
  max-width: none;
  margin: 0 auto;
  padding: 0 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.site-footer .footer-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.site-footer .footer-col-brand .footer-logo-link {
  display: inline-block;
  margin-bottom: 16px;
  line-height: 1;
}

.site-footer .footer-col-brand .footer-logo-img {
  display: block;
  width: auto;
  height: 38px;
  max-width: 100%;
}

.site-footer .footer-desc {
  max-width: 300px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .65);
  font-size: 13.5px;
  line-height: 1.6;
}

.site-footer .footer-dealer-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 212, 0, .28);
  border-radius: 8px;
  background: rgba(255, 212, 0, .08);
  color: var(--color-primary, #FFD400);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

.site-footer .footer-dealer-badge svg {
  flex-shrink: 0;
  color: var(--color-primary, #FFD400);
}

.site-footer .footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.site-footer .footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transition: all .2s ease;
}

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

.site-footer .footer-social-btn:hover {
  background: var(--color-primary, #FFD400);
  color: #111;
  transform: translateY(-2px);
}

.site-footer .footer-col h4, .footer-col .footer-col-title {
  margin: 0 0 20px;
  color: #ffffff;
  font-family: var(--font-sans, inherit);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-footer .footer-links-list,
.site-footer .footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .footer-links-list li,
.site-footer .footer-contacts li {
  margin: 0;
  padding: 0;
}

.site-footer .footer-links-list a {
  display: inline-block;
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.site-footer .footer-links-list a:hover {
  color: var(--color-primary, #FFD400);
  transform: translateX(3px);
}

.site-footer .footer-contacts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, .75);
  font-size: 14px;
  line-height: 1.45;
}

.site-footer .footer-contacts svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-primary, #FFD400);
}

.site-footer .footer-contacts li span {
  color: rgba(255, 255, 255, .75);
}

.site-footer .footer-phone-link {
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: -.01em;
  line-height: 1.35;
  text-decoration: none;
  transition: color .2s ease;
}

.site-footer .footer-phone-link:hover {
  color: var(--color-primary, #FFD400) !important;
}

.site-footer .footer-email-link {
  color: rgba(255, 255, 255, .75) !important;
  font-size: 14px !important;
  text-decoration: none;
  transition: color .2s ease;
}

.site-footer .footer-email-link:hover {
  color: var(--color-primary, #FFD400) !important;
}

.site-footer .footer-btn-callback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 220px;
  min-height: 42px;
  margin-top: 8px;
  padding: 0 18px;
  border: 1px solid rgba(255, 212, 0, .45);
  border-radius: var(--radius-md, 8px);
  background: rgba(255, 212, 0, .1);
  color: var(--color-primary, #FFD400);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
}

.site-footer .footer-btn-callback:hover,
.site-footer .footer-btn-callback:focus-visible {
  border-color: var(--color-primary, #FFD400);
  background: var(--color-primary, #FFD400);
  color: #111111;
}

.site-footer .footer-bottom {
  background: #0d0e0f;
  padding: 0;
}

.site-footer .footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(100% - 48px, var(--container));
  max-width: none;
  margin: 0 auto;
  padding: 22px 0 28px;
}

.site-footer .footer-bottom-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer .footer-copyright {
  margin: 0;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  line-height: 1.5;
}

.site-footer .footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.site-footer .footer-bottom-links a {
  color: rgba(255, 255, 255, .45);
  font-size: 13px;
  text-decoration: none;
  transition: color .2s ease;
}

.site-footer .footer-bottom-links a:hover {
  color: var(--color-primary, #FFD400);
}

.site-footer .footer-disclaimer {
  max-width: 1040px;
  margin: 0;
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .home-kit-cta {
    min-height: 0;
    padding: 36px 0;
  }

  .home-kit-cta .home-kit-cta-inner {
    min-height: 0;
    gap: 20px;
  }

  .home-kit-cta .home-kit-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .home-kit-cta .cta-action-dark,
  .home-kit-cta .home-kit-cta-secondary {
    width: 100%;
    min-height: 48px;
  }

  .site-footer {
    padding-top: 48px;
  }

  .site-footer .footer-grid {
    width: min(100% - 32px, var(--container));
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 36px;
  }

  .site-footer .footer-btn-callback {
    max-width: 100%;
    width: 100%;
  }

  .site-footer .footer-bottom-inner {
    width: min(100% - 32px, var(--container));
    padding: 20px 0 28px;
  }

  .site-footer .footer-bottom-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-footer .footer-bottom-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.blog-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% -10%, rgba(255, 212, 0, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 100% 120%, rgba(255, 212, 0, 0.06) 0%, transparent 38%),
    var(--color-dark);
  color: #fff;
  padding: 60px 0 48px;
}
.blog-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 212, 0, 0.5), transparent);
}
.blog-hero .breadcrumbs a {
  color: rgba(255,255,255,0.66);
}
.blog-hero .breadcrumbs a:hover {
  color: var(--color-primary);
}
.blog-hero .breadcrumbs .sep {
  color: rgba(255,255,255,0.35);
}
.blog-hero .breadcrumbs span {
  color: #fff;
}
.blog-hero-content {
  margin: 18px 0 0;
  max-width: 880px;
}
.blog-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 40px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.blog-hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
}
.blog-hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.16;
  color: #fff;
  margin: 18px 0 14px;
}
.blog-hero-subtitle {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.62;
  color: rgba(255,255,255,0.72);
  margin: 0;
  max-width: 700px;
}
.blog-hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 30px 0 0;
  padding: 0;
}
.blog-hero-stat {
  display: grid;
  gap: 3px;
  padding-left: 16px;
  border-left: 3px solid var(--color-primary);
}
.blog-hero-stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  line-height: 1.1;
  color: #fff;
}
.blog-hero-stat-label {
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255,255,255,0.6);
}
.blog-categories-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.blog-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}
.blog-cat-pill:hover {
  color: #fff;
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-1px);
}
.blog-cat-pill:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}
.blog-cat-pill.is-active {
  color: var(--color-primary-foreground);
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 6px 18px rgba(255, 212, 0, 0.28);
}
.blog-cat-count {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.85;
  padding: 1px 7px;
  border-radius: 10px;
  background: rgba(0,0,0,0.18);
}
.blog-cat-pill.is-active .blog-cat-count {
  background: rgba(0,0,0,0.16);
  color: var(--color-primary-foreground);
  opacity: 1;
}
.blog-content {
  padding: 56px 0 88px;
}
.blog-content .container {
  max-width: var(--container);
}
.blog-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 10px 34px rgba(3,6,10,0.05);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.blog-featured:hover {
  border-color: #c9ccd0;
  box-shadow: 0 22px 54px rgba(3,6,10,0.10);
}
.blog-featured-thumb {
  position: relative;
  display: block;
  min-height: 380px;
  background: var(--color-secondary);
  overflow: hidden;
}
.blog-featured-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-featured:hover .blog-featured-thumb img {
  transform: scale(1.04);
}
.blog-featured-thumb .blog-card-thumb-placeholder {
  position: absolute;
  inset: 0;
}
.blog-featured-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary-foreground);
  background: var(--color-primary);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}
.blog-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3vw, 44px);
}
.blog-featured-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.3vw, 31px);
  line-height: 1.24;
  margin: 0 0 14px;
  color: var(--color-foreground);
}
.blog-featured-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.blog-featured-title a:hover {
  color: #b48500;
}
.blog-featured-excerpt {
  font-size: 15.5px;
  line-height: 1.66;
  color: var(--color-muted);
  margin: 0 0 26px;
}
.blog-featured-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}
.blog-grid.blog-grid--single {
  grid-template-columns: minmax(0, 460px);
  justify-content: center;
}
.blog-grid.blog-grid--duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 2px 10px rgba(3,6,10,0.04);
}
.blog-card:hover {
  transform: translateY(-5px);
  border-color: #c9ccd0;
  box-shadow: 0 20px 44px rgba(3,6,10,0.10);
}
.blog-card-thumb-link {
  display: block;
  text-decoration: none;
  overflow: hidden;
}
.blog-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--color-secondary);
  overflow: hidden;
}
.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}
.blog-card:hover .blog-card-thumb img {
  transform: scale(1.05);
}
.blog-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--color-primary);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 212, 0, 0.16) 0%, transparent 62%),
    linear-gradient(150deg, #17191d 0%, #0b0c0e 100%);
}
.blog-card-thumb-placeholder svg {
  opacity: 0.92;
}
.blog-card-thumb-placeholder-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.blog-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary-foreground);
  background: var(--color-primary);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  z-index: 2;
}
.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 12px;
}
.blog-card-meta svg {
  color: #b48500;
}
.blog-card-date,
.blog-card-readtime {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.blog-card-sep {
  opacity: 0.5;
}
.blog-card-title {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.36;
  margin: 0 0 12px;
  color: var(--color-foreground);
}
.blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.blog-card-title a:hover {
  color: #b48500;
}
.blog-card-excerpt {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--color-muted);
  margin: 0 0 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--color-secondary);
}
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-foreground);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s;
}
.blog-card-link:hover {
  color: #b48500;
  gap: 10px;
}

.blog-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}
.blog-pagination .nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-foreground);
  text-decoration: none;
  background: #fff;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.blog-pagination .page-numbers:hover {
  border-color: var(--color-primary);
  background: #fffdf2;
}
.blog-pagination .page-numbers.current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-primary-foreground);
}
.blog-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
}

.blog-empty-state {
  position: relative;
  overflow: hidden;
  max-width: 720px;
  margin: 24px auto 0;
  padding: 64px 40px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 40px rgba(3,6,10,0.05);
}
.blog-empty-state::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(255, 212, 0, 0.14) 0%, transparent 65%);
  pointer-events: none;
}
.blog-empty-icon {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 212, 0, 0.12);
  border: 1px solid rgba(255, 212, 0, 0.35);
  border-radius: 50%;
  color: #a8890a;
}
.blog-empty-title {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 0 0 12px;
  color: var(--color-foreground);
}
.blog-empty-text {
  position: relative;
  font-size: 15px;
  line-height: 1.66;
  color: var(--color-muted);
  margin: 0 auto 30px;
  max-width: 520px;
}
.blog-empty-actions {
  position: relative;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.single-article {
  background: #fff;
}
.article-header {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% -20%, rgba(255, 212, 0, 0.14) 0%, transparent 44%),
    radial-gradient(circle at 96% 120%, rgba(255, 212, 0, 0.07) 0%, transparent 40%),
    var(--color-dark);
  color: #fff;
  padding: clamp(44px, 5.5vw, 76px) 0 clamp(40px, 4.5vw, 64px);
}
.article-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 212, 0, 0.5), transparent);
}
.article-header .breadcrumbs a {
  color: rgba(255,255,255,0.7);
}
.article-header .breadcrumbs a:hover {
  color: var(--color-primary);
}
.article-header .breadcrumbs .sep {
  color: rgba(255,255,255,0.4);
}
.article-header .breadcrumbs span {
  color: #fff;
}
.article-header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}
.article-category-badge {
  margin: 0;
  width: fit-content;
}
.article-date,
.article-readtime,
.article-author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article-date svg,
.article-readtime svg,
.article-author svg {
  color: var(--color-primary);
  flex-shrink: 0;
}
.article-meta-sep {
  color: rgba(255, 255, 255, 0.35);
}
.article-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.16;
  color: #fff;
  margin: 0 0 16px;
  max-width: 1040px;
}
.article-lead {
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.78);
  max-width: 760px;
  margin: 0;
}

.article-container {
  max-width: var(--container);
  margin: 0 auto;
}
.single-article .article-body-wrapper.page-content {
  padding-top: 0;
  padding-bottom: clamp(48px, 5vw, 88px);
}
.single-article .article-body-wrapper .container {
  max-width: var(--container);
}
.article-hero-thumb {
  position: relative;
  margin: -32px 0 44px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(3,6,10,0.12);
  background: var(--color-secondary);
  aspect-ratio: 16 / 9;
  max-height: 560px;
}
.article-hero-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.article-content-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-foreground);
  overflow-wrap: break-word;
}
.article-content-body > *:first-child {
  margin-top: 0;
}
.article-content-body p {
  margin: 0 0 22px;
}
.article-content-body h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 29px);
  line-height: 1.24;
  margin: 46px 0 18px;
  color: var(--color-foreground);
}
.article-content-body h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.36;
  margin: 34px 0 12px;
  color: var(--color-foreground);
}
.article-content-body ul,
.article-content-body ol {
  margin: 0 0 24px;
  padding-left: 24px;
}
.article-content-body li {
  margin-bottom: 10px;
  line-height: 1.7;
}
.article-content-body blockquote {
  margin: 34px 0;
  padding: 24px 30px;
  background: var(--color-secondary);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-foreground);
  font-style: italic;
}
.article-content-body blockquote p:last-child {
  margin-bottom: 0;
}
.article-content-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 28px 0;
}
.article-content-body a {
  color: #a67c00;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease;
}
.article-content-body a:hover {
  color: var(--color-primary-hover);
}
.article-content-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--color-secondary);
  color: var(--color-foreground);
}
.article-content-body pre {
  margin: 28px 0;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--color-dark);
  color: #f5f5f5;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: auto;
}
.article-content-body pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}
.article-content-body table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 15px;
}
.article-content-body th,
.article-content-body td {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  text-align: left;
}
.article-content-body th {
  background: var(--color-secondary);
  font-weight: 700;
  color: var(--color-foreground);
}

.article-commercial-block {
  margin: 56px auto 44px;
  max-width: 1200px;
  padding: clamp(24px, 3vw, 40px);
  background: var(--color-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}
.article-commercial-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.article-commercial-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #b48500;
  margin-bottom: 6px;
}
.article-commercial-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  margin: 0;
  color: var(--color-foreground);
}
.article-commercial-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}
.article-commercial-all-link:hover {
  color: #b48500;
}
.article-consult-banner {
  position: relative;
  overflow: hidden;
  margin: 48px auto;
  max-width: 1200px;
  padding: clamp(28px, 3.6vw, 48px) clamp(24px, 3vw, 44px);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 212, 0, 0.14) 0%, transparent 46%),
    linear-gradient(135deg, #111111 0%, #1d1d1d 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 40px rgba(3,6,10,0.14);
}
.article-consult-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--color-primary-foreground);
  background: var(--color-primary);
  border-radius: 999px;
  margin-bottom: 16px;
}
.article-consult-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.3;
}
.article-consult-text {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.8);
  margin: 0 0 28px;
  max-width: 680px;
}
.article-consult-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.article-consult-actions .btn-outline {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.article-consult-actions .btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.article-related-posts {
  margin: 56px auto 40px;
  max-width: 1200px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}
.article-related-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.article-related-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 0;
  color: var(--color-foreground);
}
.article-related-all {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}
.article-related-all:hover {
  color: #b48500;
}
.blog-grid--related {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.article-back-nav {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: center;
}

@media (max-width: 1024px) {
  .blog-grid,
  .blog-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .blog-featured {
    grid-template-columns: 1fr;
  }
  .blog-featured-thumb {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .blog-featured-body {
    padding: 28px;
  }
  .blog-hero-stats {
    gap: 28px;
  }
  .article-commercial-block {
    padding: 24px;
  }
  .article-consult-banner {
    padding: 32px 24px;
  }
}

@media (max-width: 640px) {
  .blog-grid,
  .blog-grid--related {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .blog-grid.blog-grid--single,
  .blog-grid.blog-grid--duo {
    grid-template-columns: 1fr;
    max-width: none;
  }
  .blog-hero {
    padding: 40px 0 32px;
  }
  .blog-hero .blog-hero-title {
    font-size: clamp(25px, 7.4vw, 32px) !important;
    line-height: 1.2 !important;
  }
  .blog-hero-stats {
    gap: 20px;
    margin-top: 24px;
  }
  .blog-hero-stat {
    padding-left: 12px;
  }
  .blog-featured {
    margin-bottom: 28px;
  }
  .blog-featured-thumb {
    aspect-ratio: 4 / 3;
  }
  .blog-featured-body {
    padding: 22px;
  }
  .blog-featured-link {
    align-self: stretch;
    justify-content: center;
  }
  .blog-card-body {
    padding: 18px;
  }
  .blog-empty-state {
    padding: 44px 22px;
  }
  .blog-empty-actions {
    flex-direction: column;
  }
  .blog-empty-actions .btn {
    width: 100%;
  }
  .article-header {
    padding: 40px 0 36px;
  }
  .article-header-meta {
    gap: 8px;
    font-size: 13px;
    margin: 16px 0 12px;
  }
  .article-meta-sep {
    display: none;
  }
  .article-title {
    font-size: clamp(24px, 6.8vw, 32px);
    line-height: 1.18;
  }
  .article-hero-thumb {
    margin-top: 0;
    margin-bottom: 28px;
    border-radius: var(--radius-lg);
    aspect-ratio: 4 / 3;
    max-height: none;
  }
  .article-content-body {
    font-size: 16.5px;
  }
  .article-content-body h2 {
    font-size: clamp(21px, 6vw, 26px);
    margin-top: 36px;
  }
  .article-commercial-block {
    padding: 20px;
    border-radius: var(--radius-lg);
  }
  .article-commercial-header {
    align-items: flex-start;
  }
  .article-consult-banner {
    padding: 28px 20px;
    border-radius: var(--radius-lg);
  }
  .article-consult-actions {
    flex-direction: column;
  }
  .article-consult-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .article-related-posts {
    margin-top: 40px;
  }
}

/* === HEADER CART STYLES === */
.header-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: var(--color-foreground);
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.header-cart-link:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: var(--color-foreground);
}
.header-cart-link svg {
  color: #0f172a;
  flex-shrink: 0;
}
.header-cart-text {
  color: #0f172a;
}
.header-cart-badge {
  display: inline-flex !important;
  min-width: 20px !important;
  height: 20px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 5px !important;
  border-radius: 10px !important;
  background: var(--color-primary) !important;
  color: #111111 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

/* === CREDIT PAGE вЂ” ROTATING OPTIONS BADGE === */
.credit-options {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  margin-top: 24px;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #090d16 0%, #1a1a1a 100%);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 12px 32px rgba(17, 17, 17, .18);
}
.credit-options-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(255, 212, 0, .16);
}
.credit-options-prefix {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, .55);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.credit-options-sep {
  flex: 0 0 auto;
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, .14);
}
.credit-options-viewport {
  display: inline-grid;
  align-items: center;
  min-width: 0;
  height: 1.35em;
  font-size: 15px;
  overflow: hidden;
}
.credit-options-item {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  height: 1.35em;
  white-space: nowrap;
  color: #fff;
  font-family: var(--font-sans);
  font-size: inherit;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(100%);
  animation: credit-options-cycle 12s infinite both;
}
.credit-options-item:nth-child(1) { animation-delay: 0s; }
.credit-options-item:nth-child(2) { animation-delay: -9s; }
.credit-options-item:nth-child(3) { animation-delay: -6s; }
.credit-options-item:nth-child(4) { animation-delay: -3s; }
@keyframes credit-options-cycle {
  0% { opacity: 0; transform: translateY(100%); }
  3% { opacity: 1; transform: translateY(0); }
  25% { opacity: 1; transform: translateY(0); }
  28% { opacity: 0; transform: translateY(-100%); }
  100% { opacity: 0; transform: translateY(-100%); }
}
@media (max-width: 560px) {
  .credit-options {
    gap: 10px;
    padding: 10px 16px;
  }
  .credit-options-prefix,
  .credit-options-sep {
    display: none;
  }
  .credit-options-viewport {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .credit-options {
    flex-wrap: wrap;
    border-radius: var(--radius-lg);
    padding: 14px 18px;
  }
  .credit-options-viewport {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    height: auto;
    overflow: visible;
  }
  .credit-options-item {
    animation: none;
    height: auto;
    opacity: 1;
    transform: none;
    white-space: normal;
  }
}

/* === ABOUT TEAM === */
.about-team {
  background: var(--color-secondary);
}
.about-team .section-title {
  margin-top: 0;
}
.about-team-lead {
  max-width: 640px;
  margin: 0 0 10px;
  color: var(--color-muted);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
}
.about-team-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(24px, 3vw, 40px);
  color: var(--color-muted);
  font-size: 15px;
}
.about-team-contact a {
  color: var(--color-foreground);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}
.about-team-contact a:hover,
.about-team-contact a:focus-visible {
  color: var(--color-primary);
}
.about-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
}
.about-team-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-base);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.about-team-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.about-team-card:focus-within {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.about-team-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-dark);
}
.about-team-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
  transition: transform 0.4s ease;
}
.about-team-card:hover .about-team-photo {
  transform: scale(1.04);
}
.about-team-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--color-primary);
  background: linear-gradient(150deg, #1c1c1c, var(--color-dark));
}
.about-team-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: clamp(16px, 1.8vw, 22px);
}
.about-team-name {
  margin: 0;
  font-size: clamp(17px, 1.4vw, 19px);
  font-weight: 700;
  color: var(--color-foreground);
  line-height: 1.25;
}
.about-team-role {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 600;
}
.about-team-note {
  margin: 0;
  color: var(--color-muted);
  font-size: 13.5px;
  line-height: 1.55;
}
.about-team-actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding-top: 4px;
}
.about-team-phone {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-secondary);
  color: var(--color-foreground);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.about-team-phone:hover,
.about-team-phone:focus-visible {
  border-color: var(--color-primary);
  background: var(--color-base);
}
.about-team-phone-icon {
  flex: 0 0 auto;
  color: var(--color-primary);
}
.about-team-book {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 44px;
  margin-top: 0;
  padding: 0 18px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #0b0f17;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.about-team-book:hover,
.about-team-book:focus-visible {
  background: #ffe033;
  transform: translateY(-1px);
}
@media (prefers-reduced-motion: reduce) {
  .about-team-card,
  .about-team-photo { transition: none; }
  .about-team-card:hover { transform: none; }
  .about-team-card:hover .about-team-photo { transform: none; }
}
@media (max-width: 767px) {
  .about-team-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
  .about-team-contact a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
.about-team-editor {
  margin-top: clamp(28px, 3vw, 40px);
  padding: clamp(16px, 2vw, 24px);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-base);
}
.about-team-editor summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--color-foreground);
}
.about-team-editor[open] summary {
  margin-bottom: 12px;
}
.about-team-editor-note {
  margin: 0 0 8px;
  color: var(--color-muted);
  font-size: 13.5px;
  line-height: 1.55;
}
.about-team-notice {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--color-secondary);
  color: var(--color-foreground);
  font-size: 14px;
  font-weight: 600;
}
.about-team-editor-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--color-border);
}
.about-team-editor-row label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-muted);
}
.about-team-editor-row input[type="text"],
.about-team-editor-row input[type="url"],
.about-team-editor-row input[type="tel"] {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-base);
  color: var(--color-foreground);
  font: inherit;
  font-size: 14px;
}
.about-team-photo-field {
  display: flex;
  gap: 8px;
}
.about-team-photo-field input {
  flex: 1 1 auto;
  min-width: 0;
}
.about-team-photo-pick {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-secondary);
  color: var(--color-foreground);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.about-team-photo-pick:hover {
  border-color: var(--color-primary);
}
.about-team-save {
  margin-top: 16px;
  min-height: 44px;
}

@media (max-width: 1024px) {
  .about-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-team-editor-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .about-team-grid {
    grid-template-columns: 1fr;
  }
  .about-team-editor-row {
    grid-template-columns: 1fr;
  }
  .about-team-save {
    width: 100%;
  }
}

/* ============================================================
   VACANCIES вЂ” ARCHIVE GRID AND SINGLE POLISH
   ============================================================ */
.vacancy-count {
  display: inline-flex;
  align-items: center;
  margin: 18px 0 0;
  padding: 6px 16px;
  border-radius: 30px;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
}
.vacancy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
}
.vacancy-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-base);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.vacancy-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.vacancy-card-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vacancy-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.2;
}
.vacancy-card-title a {
  color: var(--color-foreground);
}
.vacancy-card-title a:hover {
  color: var(--color-primary);
}
.vacancy-card-salary {
  align-self: flex-start;
  padding: 5px 14px;
  border-radius: 30px;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  font-size: 13px;
  font-weight: 700;
}
.vacancy-card-meta,
.vacancy-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vacancy-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 30px;
  background: var(--color-secondary);
  color: #3b4248;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}
.vacancy-chip-label {
  color: var(--color-muted);
  font-weight: 600;
}
.vacancy-chip-value {
  color: var(--color-foreground);
  font-weight: 700;
}
.vacancy-card-excerpt {
  margin: 0;
  color: var(--color-muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.vacancy-card-btn {
  align-self: flex-start;
  margin-top: auto;
  min-height: 44px;
}
.vacancy-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 6px;
}
.vacancy-empty-actions .btn {
  min-height: 48px;
}
.vacancy-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.vacancy-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: var(--color-foreground);
}
.vacancy-empty-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 30px;
  background: rgba(255, 212, 0, .18);
  color: #6b5600;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.vacancy-empty h2 {
  margin: 0;
}
.vacancy-empty p {
  max-width: 560px;
  margin: 0 auto;
}
.vacancy-empty-phone {
  white-space: nowrap;
}

.vacancy-single-salary {
  display: inline-flex;
  margin: 18px 0 0;
  padding: 6px 16px;
  border-radius: 30px;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  font-size: 14px;
  font-weight: 700;
}
.vacancy-single-meta {
  margin-top: 16px;
}
.vacancy-body {
  margin-top: 4px;
}
.vacancy-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 32px;
  color: var(--color-muted);
  font-weight: 600;
}
.vacancy-back-link:hover {
  color: var(--color-foreground);
}

@media (max-width: 1024px) {
  .vacancy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .vacancy-grid {
    grid-template-columns: 1fr;
  }
  .vacancy-card-btn {
    align-self: stretch;
    justify-content: center;
  }
  .vacancy-empty-actions {
    flex-direction: column;
  }
  .vacancy-empty-actions .btn {
    width: 100%;
  }
}



/* === SOLD CARDS (favorites) === */
.car-sold-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.car-card--sold {
  opacity: 0.72;
  filter: grayscale(0.85);
  cursor: default;
  pointer-events: none;
}
.car-card--sold .car-photo img {
  filter: grayscale(1);
}
@media (hover: hover) {
  .car-card--sold:hover {
    transform: none;
    box-shadow: 0 2px 10px rgba(3, 6, 10, 0.04);
    border-color: var(--color-border);
  }
}
.car-card--sold .car-photo {
  position: relative;
}
.badge-sold {
  background: var(--color-dark, #111111);
  color: var(--color-primary, #FFD400);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.car-card-title--sold {
  color: var(--color-muted);
}
.car-sold-note {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
}
.car-price--sold {
  color: var(--color-muted);
}
.car-card-similar {
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: 12px;
  background: var(--color-secondary, #f2f4f5);
}
.car-card-similar-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.car-card-similar-label {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--color-primary, #FFD400);
  color: var(--color-dark, #111111);
  font-size: 11px;
  font-weight: 700;
}
.car-card-similar .car-card {
  box-shadow: none;
}
.catalog-sold-cta {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
}
.catalog-sold-cta p {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
}
.catalog-subtitle--favorites {
  color: var(--color-muted);
  max-width: 640px;
}
@media (max-width: 767px) {
  .car-card-similar {
    padding: 10px;
  }
  .catalog-sold-cta {
    padding: 18px 12px;
  }
}

/* === SINGLE CAR вЂ” WIDE SCREEN RHYTHM === */
.single-car-related-section {
  padding: clamp(32px, 3.6vw, 56px) 0 max(56px, var(--section-pad)) !important;
}
.single-car-related-section .car-section-title {
  margin: 0 0 clamp(20px, 2vw, 30px);
}
.single-car .home-kit-cta .home-kit-cta-inner {
  width: min(100% - 48px, var(--container));
  max-width: none;
  margin: 0 auto;
}
.single-car .home-kit-cta .cta-contacts-copy h2 {
  font-size: clamp(24px, 2.4vw, 36px);
}
@media (max-width: 767px) {
  .single-car .home-kit-cta .home-kit-cta-inner {
    width: min(100% - 32px, var(--container));
  }
}

/* === SINGLE CAR LEAD MODALS вЂ” SHARED FORM PATTERN === */
#modal-callback .modal,
#modal-viewing .modal {
  width: min(100%, 560px);
  padding: clamp(28px, 3vw, 40px);
}
#modal-callback .modal h2,
#modal-viewing .modal h2 {
  margin: 0 56px 6px 0;
}
#modal-callback .form--lead .form-field,
#modal-viewing .form--lead .form-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}
#modal-callback .form--lead .form-input,
#modal-viewing .form--lead .form-input,
#modal-callback .form--lead select.form-input,
#modal-viewing .form--lead select.form-input {
  width: 100%;
  min-height: 52px;
}
#modal-callback .form--lead .form-btn,
#modal-viewing .form--lead .form-btn,
#modal-callback .form--lead [type="submit"],
#modal-viewing .form--lead [type="submit"] {
  width: 100%;
  min-height: 52px;
}
#modal-callback .form--lead .form-consent,
#modal-viewing .form--lead .form-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}
@media (max-width: 600px) {
  #modal-callback .modal,
  #modal-viewing .modal {
    padding: 32px 20px 24px;
  }
}

/* === SINGLE CAR FORM SECTIONS RHYTHM === */
.car-single .car-actions,
.car-single .car-inspection-summary,
.car-single .car-share {
  margin-top: clamp(18px, 1.6vw, 26px);
}
.car-single .car-specs-grid,
.car-single .car-equipment-grid {
  gap: clamp(10px, 1vw, 14px);
}
.car-single .car-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.car-single .car-actions .btn {
  width: 100%;
  min-height: 52px;
  white-space: normal;
  text-align: center;
}
@media (max-width: 767px) {
  .car-single .car-actions {
    grid-template-columns: 1fr;
  }
}

/* reCAPTCHA: скрываем плавающий значок, брендинг показываем текстом в формах */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.form-captcha-note {
    width: 100%;
    margin: 0;
    font-size: 11px;
    line-height: 1.4;
    color: var(--color-muted);
}

.form-captcha-note a {
    color: inherit;
    text-decoration: underline;
}

/* ABOUT TEAM GROUPS */
.about-team-group + .about-team-group{margin-top:48px;}
.about-team-group-title{font-family:var(--font-display,inherit);font-size:clamp(18px,2vw,22px);line-height:1.25;margin:0 0 20px;color:var(--color-dark,#111);}
@media (max-width:640px){.about-team-group + .about-team-group{margin-top:32px;}}

