/* =========================================================
   KznAuto Import — landing styles
   Mobile-first, clean & minimalistic
   ========================================================= */

:root {
  --orange: #ff4d15;
  --orange-600: #e63f0c;
  --orange-700: #c63507;
  --ink: #0e0f12;
  --ink-2: #1a1c20;
  --text: #1d2026;
  --muted: #5b6270;
  --line: #ececef;
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --bg-dark: #0e0f12;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(14, 15, 18, 0.05);
  --shadow: 0 12px 40px rgba(14, 15, 18, 0.10);
  --shadow-lg: 0 30px 80px rgba(14, 15, 18, 0.18);
  --max: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw + .5rem, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 2.2vw + .8rem, 2.6rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}
.container--narrow { max-width: 860px; }

.muted { color: var(--muted); }
.accent { color: var(--orange); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
  text-align: center;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: 0 0 auto; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(255, 77, 21, .65);
}
.btn-primary:hover { background: var(--orange-600); box-shadow: 0 14px 30px -10px rgba(255, 77, 21, .8); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }

.btn-white {
  background: #fff;
  color: var(--orange);
}
.btn-white:hover { background: #f5f5f5; }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 4px 12px -4px rgba(255, 77, 21, .5);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-sub {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--orange);
  margin-top: 2px;
  font-weight: 700;
}

.nav-desktop { display: none; gap: 26px; }
.nav-desktop a {
  font-weight: 500;
  font-size: 14.5px;
  color: var(--text);
  position: relative;
  transition: color .2s;
}
.nav-desktop a:hover { color: var(--orange); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.phone-link {
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.phone-link svg { width: 16px; height: 16px; fill: var(--orange); }
.phone-link:hover { color: var(--orange); }

.burger {
  width: 42px; height: 42px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
}
.burger span {
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 20px 20px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 14px 4px;
  font-weight: 600;
  font-size: 17px;
  border-bottom: 1px solid var(--line);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile .mobile-phone { color: var(--orange); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  padding: 36px 0 60px;
  overflow: hidden;
  background:
    radial-gradient(1100px 540px at -10% -20%, rgba(255, 77, 21, .12), transparent 60%),
    radial-gradient(900px 540px at 110% 10%, rgba(255, 77, 21, .08), transparent 60%),
    #fff;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 77, 21, .08);
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing: .02em;
}
.eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 77, 21, .18);
}

.hero h1 { margin-bottom: .55em; }

.lede {
  font-size: clamp(15px, 1vw + 11px, 18px);
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 26px;
}
.lede strong { color: var(--ink); }

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 15px;
}
.hero-points svg {
  width: 20px; height: 20px;
  fill: #fff;
  background: var(--orange);
  border-radius: 50%;
  padding: 3px;
  flex-shrink: 0;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-foot {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
}
.hero-image {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #f0f0f0;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}
.hero:hover .hero-image img { transform: scale(1.04); }

.hero-badge {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 130px;
}
.hero-badge strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}
.hero-badge span {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.hero-badge-1 { top: 14px; left: -10px; }
.hero-badge-2 { bottom: 16px; right: -10px; }
.hero-badge-2 strong { color: var(--orange); }

/* ===================== TRUST STRIP ===================== */
.trust {
  background: var(--ink);
  color: #fff;
  padding: 22px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
  text-align: center;
}
.trust-item { display: flex; flex-direction: column; gap: 2px; }
.trust-item strong {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--orange);
}
.trust-item span {
  font-size: 12.5px;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}

/* ===================== SECTIONS ===================== */
.section {
  padding: 64px 0;
}
.section--gray { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark h2,
.section--dark h3 { color: #fff; }

.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head--light p { color: rgba(255,255,255,.7); }
.kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.kicker--light { color: var(--orange); }
.section-sub {
  color: var(--muted);
  font-size: 16px;
  margin: 12px auto 0;
  max-width: 640px;
}

/* ===================== SERVICES ===================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(255,77,21,.25);
}
.service-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255, 77, 21, .1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.service-icon svg {
  width: 24px; height: 24px;
  fill: var(--orange);
}
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--muted); margin: 0; font-size: 15px; }

.service-card--accent {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.service-card--accent h3 { color: #fff; }
.service-card--accent p { color: rgba(255,255,255,.72); }
.service-card--accent .service-icon { background: rgba(255,77,21,.2); }
.service-card--accent:hover { border-color: var(--orange); }

/* ===================== OBJECTIONS ===================== */
.obj-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.obj-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color .2s, background .2s;
}
.obj-card:hover {
  border-color: rgba(255,77,21,.4);
  background: rgba(255,77,21,.05);
}
.obj-q {
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
  padding-left: 22px;
}
.obj-q::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: 12px; height: 12px;
  background: var(--orange);
  border-radius: 3px;
  transform: rotate(45deg);
}
.obj-a {
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.6;
}
.obj-a b { color: #fff; font-weight: 700; }

/* ===================== STEPS ===================== */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 24px 22px;
  position: relative;
  transition: border-color .2s, transform .2s var(--ease);
}
.step:hover {
  border-color: rgba(255,77,21,.3);
  transform: translateY(-2px);
}
.step-num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px -6px rgba(255,77,21,.6);
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ===================== GALLERY ===================== */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #eee;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute;
  left: 14px; bottom: 14px;
  background: rgba(14,15,18,.78);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.gallery-badge {
  position: absolute;
  top: 14px; left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: 0 6px 16px -4px rgba(255, 77, 21, .55);
}
.gallery-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,.25);
}
.gallery-cta {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

/* ===================== CATALOG (search) ===================== */
.catalog-filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.catalog-filter { display: flex; flex-direction: column; gap: 6px; }
.catalog-filter label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.catalog-filter input,
.catalog-filter select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .15s, background .15s, box-shadow .15s;
  appearance: none;
}
.catalog-filter input::placeholder { color: var(--muted); }
.catalog-filter input:focus,
.catalog-filter select:focus {
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,77,21,.18);
}
.catalog-filter select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%235b6270' d='M6 8 0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.catalog-filter-actions {
  display: flex;
  gap: 10px;
  align-items: end;
}
.catalog-filter-actions .btn { flex: 1; }

.catalog-status {
  font-size: 14px;
  color: var(--muted);
  margin: 8px 4px 16px;
}
.catalog-status strong { color: var(--ink); }

.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.car-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.car-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(255,77,21,.3);
}
.car-card:focus-visible {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,77,21,.25), var(--shadow);
}
.car-card-media {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #f0f0f1, #e6e6e8);
  overflow: hidden;
}
.car-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.car-card:hover .car-card-media img { transform: scale(1.04); }
.car-card-media .car-card-noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 12px;
}
.car-card-counts {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
  pointer-events: none;
}
.car-card-counts span {
  background: rgba(14,15,18,.78);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  letter-spacing: .04em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(6px);
}
.car-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.car-card-title {
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.car-card-config {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.car-card-meta {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.car-card-meta b { font-weight: 700; color: var(--ink); }
.car-card-price {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.car-card-price strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--orange);
}
.car-card-price span { font-size: 12.5px; color: var(--muted); }

.catalog-empty {
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 20px;
  text-align: center;
  color: var(--muted);
}
.catalog-empty b { color: var(--ink); display: block; margin-bottom: 4px; }

.catalog-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 22px;
}
.catalog-pager button {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.catalog-pager button:hover { border-color: var(--orange); color: var(--orange); }
.catalog-pager button[disabled] { opacity: .45; cursor: default; }
.catalog-pager button.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.catalog-pager .catalog-pager-info {
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  color: var(--muted);
  font-size: 13px;
}

/* ---- Car detail modal ---- */
.car-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: stretch;
  justify-content: center;
}
.car-modal.is-open { display: flex; }
.car-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14,15,18,.74);
  backdrop-filter: blur(6px);
}
.car-modal-panel {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 980px;
  max-height: 100vh;
  margin: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  box-shadow: var(--shadow-lg);
}
.car-modal-close {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 2;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(14,15,18,.78);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.car-modal-close:hover { background: var(--orange); }
.car-modal-content {
  overflow-y: auto;
  padding: 0 0 30px;
}
.car-modal-loading { padding: 80px 20px; text-align: center; color: var(--muted); }

.car-detail-hero {
  position: relative;
  aspect-ratio: 4/3;
  background: #0e0f12;
  overflow: hidden;
}
.car-detail-hero img,
.car-detail-hero video {
  width: 100%; height: 100%;
  object-fit: contain;
  background: #0e0f12;
  display: block;
}
.car-detail-hero-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 8px;
}
.car-detail-hero-nav button {
  pointer-events: auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, transform .15s;
}
.car-detail-hero-nav button:hover { background: var(--orange); transform: scale(1.05); }
.car-detail-hero-counter {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .04em;
}

.car-detail-thumbs {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}
.car-detail-thumb {
  flex: 0 0 90px;
  width: 90px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: #e6e6e8;
  position: relative;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
}
.car-detail-thumb:focus-visible {
  outline: none;
  border-color: var(--orange);
}
.car-detail-thumb img,
.car-detail-thumb video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.car-detail-thumb.is-video::after {
  content: '▶';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  background: rgba(0,0,0,.35);
  pointer-events: none;
}
.car-detail-thumb.is-active { border-color: var(--orange); }

.car-detail-body { padding: 18px 22px 0; }
.car-detail-body h3 {
  font-size: clamp(1.25rem, 1.4vw + .7rem, 1.75rem);
  margin: 0 0 6px;
}
.car-detail-config {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 16px;
}
.car-detail-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin-bottom: 16px;
  font-size: 14px;
}
.car-detail-specs div { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dashed var(--line); padding: 6px 0; }
.car-detail-specs span:first-child { color: var(--muted); }
.car-detail-specs span:last-child { font-weight: 700; color: var(--ink); text-align: right; }

.car-detail-pricing {
  display: flex;
  align-items: baseline;
  gap: 12px;
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.car-detail-pricing strong { font-size: 22px; color: var(--orange); font-weight: 800; }
.car-detail-pricing span { color: var(--muted); font-size: 14px; }

.car-detail-description {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 20px;
  max-height: 220px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.car-detail-cta {
  position: sticky;
  bottom: 0;
  background: linear-gradient(to top, #fff 70%, rgba(255,255,255,0));
  padding: 14px 22px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.car-detail-cta .btn { flex: 1; min-width: 0; }
.car-detail-cta .car-detail-note {
  flex: 1 1 100%;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  margin: 0;
}

/* ===================== CAR DETAIL PAGE (car.html) ===================== */
.car-page {
  background: var(--bg);
  padding: 24px 0 64px;
}
.car-page-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
  transition: border-color .2s, color .2s, background .2s;
}
.car-page-back:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: #fff;
}
.car-page-back svg { fill: currentColor; }

.car-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

/* Media column */
.car-page-media { min-width: 0; }
.car-page-hero {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
}
.car-detail-hero-slide {
  position: absolute;
  inset: 0;
}
.car-page-thumbs {
  border-bottom: none;
  padding: 10px 0 4px;
  margin-top: 4px;
}

/* Info column */
.car-page-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.car-page-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.car-page-chip {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink);
}
.car-page-chip--accent {
  background: rgba(255,77,21,.1);
  border-color: rgba(255,77,21,.25);
  color: var(--orange);
}
.car-page-title {
  font-size: clamp(1.5rem, 1.6vw + .9rem, 2.1rem);
  margin: 0;
  letter-spacing: -0.02em;
}
.car-page-config {
  font-size: 15.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.car-page-price {
  background:
    linear-gradient(180deg, rgba(255,77,21,.06), rgba(255,77,21,0) 70%),
    var(--bg-soft);
  border: 1px solid rgba(255,77,21,.18);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.car-page-price-main {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}
.car-page-price-main strong {
  font-size: clamp(1.8rem, 1.4vw + 1.1rem, 2.4rem);
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.02em;
}
.car-page-price-alt {
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
}
.car-page-price-note {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

.car-page-specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 8px 18px;
  font-size: 14.5px;
}
.car-page-specs div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.car-page-specs div:last-child { border-bottom: none; }
.car-page-specs span:first-child { color: var(--muted); }
.car-page-specs span:last-child {
  font-weight: 700;
  color: var(--ink);
  text-align: right;
  word-break: break-word;
}

.car-page-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.car-page-ctas .btn { width: 100%; }

.car-page-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.car-page-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text);
}
.car-page-bullets svg {
  width: 18px; height: 18px;
  fill: #fff;
  background: var(--orange);
  border-radius: 50%;
  padding: 3px;
  flex-shrink: 0;
}

/* Full-width sections under the grid */
.car-page-section {
  margin-top: 40px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}
.car-page-section-title {
  font-size: 1.2rem;
  margin: 0 0 10px;
}
.car-page-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}

.car-page-cta-banner {
  margin-top: 32px;
  background:
    radial-gradient(700px 320px at 0% -20%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(600px 320px at 100% 120%, rgba(0,0,0,.22), transparent 60%),
    var(--orange);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.car-page-cta-banner h2 {
  color: #fff;
  margin: 0 0 6px;
  font-size: clamp(1.25rem, 1.2vw + .8rem, 1.7rem);
}
.car-page-cta-banner p {
  color: rgba(255,255,255,.9);
  margin: 0;
  font-size: 15px;
  max-width: 520px;
}
.car-page-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Error state */
.car-page-error {
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
}
.car-page-error h1 { margin: 0 0 8px; font-size: 1.5rem; }
.car-page-error p { color: var(--muted); margin: 0 auto 20px; max-width: 480px; }
.car-page-error-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* Loading skeleton */
@keyframes car-skeleton-pulse {
  0%, 100% { opacity: .55; }
  50%      { opacity: 1; }
}
.car-page-skeleton {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.car-page-skeleton-media {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  animation: car-skeleton-pulse 1.4s ease-in-out infinite;
}
.car-page-skeleton-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.car-page-skeleton-info .sk-line {
  height: 16px;
  background: var(--bg-soft);
  border-radius: 8px;
  animation: car-skeleton-pulse 1.4s ease-in-out infinite;
}
.car-page-skeleton-info .sk-line--sm { width: 40%; }
.car-page-skeleton-info .sk-line--md { width: 70%; }
.car-page-skeleton-info .sk-line--lg { height: 28px; width: 85%; }

@media (min-width: 900px) {
  .car-page { padding: 36px 0 80px; }
  .car-page-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 40px;
  }
  .car-page-specs { grid-template-columns: 1fr 1fr; gap: 4px 24px; padding: 12px 22px; }
  .car-page-specs div { padding: 12px 0; }
  .car-page-ctas { flex-direction: row; }
  .car-page-cta-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 32px 36px;
    gap: 28px;
  }
  .car-page-skeleton {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 40px;
  }
}

/* ===================== REVIEWS ===================== */
.reviews {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.review {
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.review-photo {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #eee;
}
.review-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.review-body { padding: 22px; }
.stars {
  color: var(--orange);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.review-body p {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.65;
}
.review-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.review-author strong { font-weight: 700; }
.review-author span { font-size: 13px; color: var(--muted); }

/* ===================== FAQ ===================== */
.faq {
  display: grid;
  gap: 10px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px 18px;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] {
  border-color: rgba(255,77,21,.35);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 36px 16px 0;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  position: relative;
  outline: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,77,21,.1);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  font-weight: 600;
  transition: transform .2s, background .2s;
}
.faq-item[open] summary::after {
  content: '−';
  background: var(--orange);
  color: #fff;
}
.faq-answer {
  padding: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ===================== FINAL CTA ===================== */
.cta-final {
  background:
    radial-gradient(900px 400px at 10% -20%, rgba(255,255,255,.15), transparent 60%),
    radial-gradient(700px 400px at 100% 120%, rgba(0,0,0,.25), transparent 60%),
    var(--orange);
  color: #fff;
  padding: 56px 0;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
}
.cta-text h2 { color: #fff; margin-bottom: .35em; }
.cta-text p {
  color: rgba(255,255,255,.9);
  font-size: 16px;
  margin: 0;
  max-width: 560px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.75);
  padding: 48px 0 22px;
  font-size: 14.5px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.footer-brand .brand-name {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}
.brand-sub-inline {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--orange);
  font-weight: 700;
  margin-left: 4px;
}
.footer-tag {
  margin: 6px 0 0;
  color: rgba(255,255,255,.6);
  font-size: 14px;
  max-width: 320px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 10px;
}
.footer-col a {
  display: block;
  padding: 4px 0;
  color: rgba(255,255,255,.7);
  transition: color .15s;
}
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 22px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
.footer-bottom .muted { color: rgba(255,255,255,.45); }

/* ===================== STICKY MOBILE CTA ===================== */
.sticky-cta {
  position: fixed;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 60;
  display: flex;
  gap: 10px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.sticky-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
}
.sticky-btn svg { width: 16px; height: 16px; fill: currentColor; }
.sticky-call { background: var(--ink); color: #fff; }
.sticky-tg { background: var(--orange); color: #fff; }

/* ===================== RESPONSIVE ===================== */
@media (min-width: 600px) {
  .hero-points { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .obj-grid { grid-template-columns: 1fr 1fr; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-filters {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto;
    align-items: end;
  }
  .catalog-filter--search { grid-column: span 2; }
  .car-modal { align-items: center; padding: 24px; }
  .car-modal-panel { max-height: 92vh; border-radius: 22px; }
  .car-detail-specs { grid-template-columns: 1fr 1fr; }
  .review { grid-template-columns: 240px 1fr; }
  .review-photo { aspect-ratio: auto; height: 100%; }
}

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .phone-link { display: inline-flex; }
  .burger { display: none; }

  .section { padding: 88px 0; }
  .hero { padding: 56px 0 84px; }

  .hero-inner {
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
  }
  .hero-visual { aspect-ratio: 5/4; }
  .hero-badge-1 { top: 24px; left: -24px; }
  .hero-badge-2 { bottom: 28px; right: -24px; }

  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .step::after {
    content: '';
    position: absolute;
    top: 42px; right: -10px;
    width: 20px; height: 2px;
    background: var(--line);
  }
  .step:last-child::after { display: none; }

  .obj-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  .reviews { grid-template-columns: 1fr 1fr; }
  .review { grid-template-columns: 1fr; }
  .review-photo { aspect-ratio: 16/10; }

  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .catalog-filters {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr auto;
  }

  .cta-inner {
    grid-template-columns: 1fr auto;
    gap: 40px;
  }

  .footer-inner {
    grid-template-columns: 1.2fr 2fr;
    gap: 60px;
  }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; }

  .sticky-cta { display: none; }
}

@media (min-width: 1100px) {
  .hero h1 { font-size: 3.6rem; }
  .catalog-grid { grid-template-columns: repeat(4, 1fr); }
}

/* On mobile, give bottom padding to body so sticky cta does not overlap content */
@media (max-width: 899px) {
  body { padding-bottom: 84px; }
}

/* Reduce-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
