:root {
  --navy: #1c69d4;
  --navy-2: #0b4fae;
  --blue: #1c69d4;
  --ink: #1b1f24;
  --muted: #5c6770;
  --line: #e4e9f0;
  --paper: #f4f7fb;
  --white: #ffffff;
  --wa: #127a56;
  --danger: #8d2b2b;
  --shadow: 0 24px 60px rgba(28, 105, 212, 0.12);
  --header: 92px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: #f5f8fc;
  line-height: 1.55;
  font-size: 1rem;
}

img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

h1, h2, h3, .price, .logo-name, .photo-price {
  font-family: "Fraunces", serif;
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1 { font-size: clamp(1.85rem, 2.6vw, 2.45rem); margin: 0 0 12px; }
h2 { font-size: clamp(1.45rem, 2vw, 1.9rem); margin: 0 0 10px; }
h3 { font-size: 1.2rem; margin: 0; }

p { margin: 0 0 1rem; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--navy);
  color: white;
  padding: 8px 12px;
  z-index: 80;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.eyebrow,
.car-brand {
  margin: 0 0 12px;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.lede {
  font-size: 1.05rem;
  font-weight: 650;
  margin-bottom: 8px;
}

.muted { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #f5f8fc;
  border-bottom: 1px solid rgba(28, 105, 212, 0.06);
}

.utility {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.utility-inner,
.nav-inner,
.footer-base,
.results-bar,
.section-head,
.contact-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.utility-inner { min-height: 34px; }
.utility a { text-decoration: none; color: white; font-weight: 750; letter-spacing: 0.08em; }

.nav-wrap { position: relative; }
.nav-inner { min-height: 112px; }

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
}
.logo-mark {
  width: 78px;
  height: 46px;
  display: grid;
  place-items: center;
  background: transparent;
  overflow: visible;
  flex: none;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.logo-words { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-size: 1.28rem; }
.logo-sub {
  margin-top: 4px;
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--muted);
}

#site-nav {
  display: flex;
  align-items: stretch;
  gap: 2px;
  margin: 0;
  padding: 4px 6px 2px;
  background: #fff;
  border: 1px solid #e6eef6;
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(28, 105, 212, 0.08);
}
#site-nav a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 88px;
  padding: 10px 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 750;
  font-size: 0.84rem;
  line-height: 1.1;
  color: #243246;
  text-align: center;
}
#site-nav .nav-pic {
  font-size: 2.15rem;
  line-height: 1;
  display: block;
}
#site-nav a[aria-current="page"] { color: #1c69d4; }
#site-nav a[aria-current="page"]::after,
#site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 3px;
  height: 2px;
  background: #1c69d4;
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 14px;
  cursor: pointer;
}
.nav-toggle span.bars,
.nav-toggle span.bars::before,
.nav-toggle span.bars::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--navy);
  position: relative;
}
.nav-toggle span.bars::before,
.nav-toggle span.bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span.bars::before { top: -5px; }
.nav-toggle span.bars::after { top: 5px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  cursor: pointer;
  background: transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: white; box-shadow: 0 10px 24px rgba(28, 105, 212, 0.18); }
.btn-navy:hover { background: var(--navy-2); }
.btn-line { border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.08); color: white; }
.stage-copy .btn-line,
main .btn-line { border-color: #c9d3df; background: white; color: var(--navy); }
.btn-line:hover { border-color: var(--navy); }
.btn-wa { background: var(--wa); color: white; }
.btn-wa:hover { background: #0d6547; }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 0.82rem; }
.btn-block { width: 100%; }
.header-cta { box-shadow: none; }

.stage {
  position: relative;
  min-height: min(48vh, 440px);
  display: flex;
  align-items: flex-end;
  color: white;
  background: var(--navy);
  overflow: hidden;
}
.stage-media {
  position: absolute;
  inset: 0;
}
.stage-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}
.stage-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 79, 174, 0.94) 0%, rgba(28, 105, 212, 0.78) 38%, rgba(28, 105, 212, 0.22) 68%, rgba(11, 79, 174, 0.42) 100%),
    linear-gradient(180deg, rgba(28, 105, 212, 0.2), transparent 28%, rgba(11, 79, 174, 0.55));
}
.stage-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.7fr;
  gap: 28px;
  align-items: end;
  padding: 24px 0 20px;
}
.stage-copy { max-width: 680px; }
.stage .eyebrow { color: #d5e4f7; }
.stage h1, .stage .lede { color: white; }
.stage .btn-navy { background: white; color: var(--navy); box-shadow: none; }
.stage .btn-line { background: transparent; color: white; border-color: rgba(255, 255, 255, 0.5); }
.hero-support { color: var(--muted); max-width: 62ch; }
.stage .hero-support { color: rgba(255, 255, 255, 0.78); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 8px; }
.hero-support { margin-bottom: 0; }
.stock-count {
  display: inline-flex;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: white;
  font-size: 0.86rem;
  font-weight: 700;
}
.stage-picks {
  display: grid;
  gap: 12px;
  align-self: end;
}
.shot {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  min-height: 120px;
  background: #d9e1ea;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255,255,255,0.28);
}
.shot img { width: 100%; height: 132px; object-fit: cover; transition: transform 0.5s ease; }
.shot:hover img { transform: scale(1.05); }
.shot span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(11, 79, 174, 0.9);
  color: white;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.78rem;
  font-weight: 700;
}

.lift { margin-top: -28px; position: relative; z-index: 2; }
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: white;
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.trust div { padding: 14px 16px; }
.trust div + div { border-left: 1px solid var(--line); }
.trust strong { display: block; color: var(--navy); font-size: 1.05rem; }
.trust span { color: var(--muted); font-size: 0.9rem; }
.brand-rail {
  margin: 10px 4px 0;
  text-align: center;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 750;
  color: #8b98a8;
}

.section { padding: 28px 0; scroll-margin-top: 96px; }
main > .section:first-child,
main.section { padding-top: 16px; }
.section-tight { padding-top: 18px; }
.section-head { align-items: flex-end; margin-bottom: 14px; }
.section-head p { max-width: 46ch; margin: 0; color: var(--muted); }
.section-head a { color: var(--navy); font-weight: 750; text-decoration: none; border-bottom: 1px solid var(--navy); }

.band { background: white; }
.band-navy {
  background:
    radial-gradient(900px 400px at 100% 0%, rgba(255, 255, 255, 0.16), transparent 55%),
    var(--navy);
  color: white;
}
.band-navy .eyebrow { color: #c9daf0; }
.band-navy .section-head p { color: rgba(255, 255, 255, 0.72); }

.car-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: start;
}
.car-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e3edf7;
  border-radius: 18px;
  overflow: hidden;
  background: white;
  box-shadow: 0 10px 28px rgba(16, 42, 78, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.car-card:hover {
  transform: translateY(-4px);
  border-color: #d3e4f6;
  box-shadow: 0 18px 40px rgba(28, 105, 212, 0.14);
}
.car-photo { position: relative; display: block; width: 100%; height: 188px; background: #d5dee8; overflow: hidden; touch-action: pan-y; }
.car-photo img,
.car-photo video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.45s ease;
}
.car-photo img.is-on,
.car-photo video.is-on { opacity: 1; }
.car-card:hover .car-photo img.is-on,
.car-card:hover .car-photo video.is-on { transform: scale(1.045); }
.car-shot { position: relative; }
.photo-dots {
  position: absolute;
  left: auto;
  right: 10px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: auto;
  margin: 0;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(11, 37, 72, 0.42);
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.photo-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  color: transparent;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: none;
}
.photo-dots button.is-on {
  width: 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
}
.car-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(11, 37, 72, 0.22));
  pointer-events: none;
}
.year-chip, .photo-price {
  position: absolute;
  z-index: 2;
  color: white;
  font-weight: 700;
}
.year-chip {
  top: 10px;
  left: 10px;
  background: rgba(255,255,255,0.96);
  color: #123056;
  border-radius: 999px;
  padding: 4px 9px;
  font-family: "Manrope", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 14px rgba(11, 37, 72, 0.14);
}
.photo-price {
  left: 10px;
  bottom: 10px;
  padding: 4px 10px 5px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: #10233c;
  font-size: 1rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  text-shadow: none;
  box-shadow: 0 8px 18px rgba(11, 37, 72, 0.16);
}
.car-body { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.car-brand { margin: 0 0 1px; font-size: 0.66rem; letter-spacing: 0.12em; }
.car-card h3.car-name {
  display: flex;
  align-items: baseline;
  gap: 0.35em;
  min-width: 0;
  font-size: 1.14rem;
  font-weight: 560;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
}
.car-card h3.car-name span:first-child { font-weight: 640; }
.car-card h3.car-name span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 480;
  color: #3a4654;
}
.variant-line { margin: 1px 0 0; color: var(--muted); font-size: 0.8rem; }
.car-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  color: #3d4c5c;
  font-size: 0.72rem;
  font-weight: 750;
}
.car-specs li {
  display: flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f2f6fb;
}
.car-specs li + li::before { content: none; }
.car-emi { margin: 8px 0 0; }
.car-emi a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border-bottom: 0;
  background: #eaf3ff;
  color: #1c69d4;
  font-weight: 800;
  font-size: 0.78rem;
  text-decoration: none;
}
.car-emi a:hover { background: #dceaff; color: var(--navy-2); }
.car-include { margin: -2px 0 8px; color: var(--muted); font-size: 0.8rem; font-weight: 650; }
.car-actions { display: flex; gap: 6px; margin-top: 8px; }
.car-card .car-actions .btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
}
.car-card .car-actions .btn-navy {
  background: #eef4fc;
  color: #1c69d4;
  border: 1px solid #d3e3f6;
}
.car-card .car-actions .btn-navy:hover {
  background: #1c69d4;
  color: #fff;
}
.car-card .car-actions .btn-wa {
  background: #e8f7ef;
  color: #0d6547;
  border: 1px solid #c7ead8;
}
.car-card .car-actions .btn-wa:hover {
  background: #127a56;
  color: #fff;
}

.why-grid, .assist-grid, .steps { display: grid; gap: 14px; }
.why-grid { grid-template-columns: 1fr 1fr; gap: 0 28px; }
.assist-grid { grid-template-columns: repeat(4, 1fr); }
.steps { grid-template-columns: repeat(3, 1fr); margin: 8px 0 0; padding: 0; list-style: none; }
.split .steps { grid-template-columns: 1fr; }

.why-item, .assist-card, .step, .panel { border-radius: 18px; padding: 16px; }
.why-item {
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.16);
  border-radius: 0;
  padding: 14px 8px 14px 0;
}
.why-item strong, .assist-card h3, .step strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 1.15rem;
  font-family: "Fraunces", serif;
  font-weight: 520;
  letter-spacing: -0.03em;
}
.why-item p { margin: 0; color: rgba(255,255,255,0.74); font-size: 0.96rem; }
.why-index {
  font-family: "Manrope", sans-serif;
  color: #9eb6d4;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--paper);
  color: var(--navy);
}

.assist-card, .step, .panel {
  background: white;
  border: 1px solid transparent;
  box-shadow: 0 10px 28px rgba(28, 105, 212, 0.05);
}
.assist-card p, .step p, .panel p { color: var(--muted); margin: 0; }
.step em {
  font-style: normal;
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  color: var(--navy);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}
.prose { max-width: 68ch; }
.prose a { color: var(--navy); }
.prose a.btn-navy,
.prose a.btn-wa { color: #fff; }
.prose a.btn-line { color: var(--navy); }

.form-card {
  background: white;
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid label, .filters label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.span-2 { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid transparent;
  background: var(--paper);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 550;
  color: var(--ink);
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  background: white;
  border-color: var(--navy);
  outline: none;
  box-shadow: 0 0 0 4px rgba(28, 105, 212, 0.08);
}
.form-note { margin: 12px 0 0; color: var(--muted); font-size: 0.9rem; }
.form-error { color: var(--danger); font-weight: 750; }
.form-status { color: var(--wa); font-weight: 750; }

.filters-bar { padding: 0 0 12px; }
.filters {
  display: grid;
  grid-template-columns: 1.3fr repeat(5, 1fr);
  gap: 12px;
  align-items: end;
  background: white;
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(28, 105, 212, 0.05);
}
.results-bar { margin-bottom: 16px; }
.results-bar p { margin: 0; font-weight: 800; color: var(--navy); }
.linkish {
  border: 0;
  background: none;
  color: var(--blue);
  font-weight: 750;
  cursor: pointer;
  padding: 0;
}

.empty, .missing {
  border-radius: 18px;
  padding: 28px;
  background: white;
  box-shadow: 0 10px 30px rgba(28, 105, 212, 0.05);
}
.missing { max-width: 640px; }

.detail {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: start;
}
.hero-stage { position: relative; min-width: 0; max-width: 100%; }
.detail-photo { min-width: 0; max-width: 100%; }
.hero-media,
.photo-zoom {
  position: relative;
}
.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  overflow: hidden;
  background: #0e1624;
  touch-action: pan-y;
}
.detail-photo .hero-media > .hero-photo,
.detail-photo .hero-media > video,
.detail-photo .hero-media > canvas,
.detail-photo .hero-media > .spin-view {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  background: #0e1624;
}
.hero-stage.is-video .photo-full {
  top: 12px;
  bottom: auto;
}
.spin-view { cursor: grab; background: #0b1220; touch-action: none; }
.spin-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.72);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
}
.photo-screen.is-video .photo-zoom-bar,
.photo-screen.is-spin .photo-zoom-bar { display: none; }
.detail-photo .hero-photo {
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e8eef6;
  box-shadow: var(--shadow);
}
.photo-step {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(11, 79, 174, 0.2);
}
.photo-step-prev { left: 12px; }
.photo-step-next { right: 12px; }
.hero-media.is-next > .hero-photo,
.hero-media.is-next > video,
.hero-media.is-next > canvas,
.photo-zoom.is-next > .hero-photo,
.photo-zoom.is-next > video,
.photo-zoom.is-next > canvas {
  animation: photo-shift-next 0.28s ease;
}
.hero-media.is-prev > .hero-photo,
.hero-media.is-prev > video,
.hero-media.is-prev > canvas,
.photo-zoom.is-prev > .hero-photo,
.photo-zoom.is-prev > video,
.photo-zoom.is-prev > canvas {
  animation: photo-shift-prev 0.28s ease;
}
@keyframes photo-shift-next {
  from { transform: translateX(22%); }
  to { transform: none; }
}
@keyframes photo-shift-prev {
  from { transform: translateX(-22%); }
  to { transform: none; }
}
.hero-media .hero-photo { cursor: zoom-in; }
.photo-full {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(11, 79, 174, 0.2);
}
.photo-screen {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  padding: calc(68px + env(safe-area-inset-top)) 12px calc(10px + env(safe-area-inset-bottom));
  background: #0b1220;
  overflow: hidden;
  touch-action: manipulation;
}
.photo-screen[hidden] { display: none; }
.photo-zoom {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  height: auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  contain: paint;
  touch-action: none;
  transform: translateZ(0);
}
.photo-zoom > img,
.photo-zoom > .hero-photo,
.photo-zoom > canvas {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  -webkit-transform-origin: center center;
  transform-origin: center center;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-callout: none;
  touch-action: none;
  will-change: transform;
}
.photo-zoom > video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.photo-screen.is-video .photo-zoom,
.photo-screen.is-spin .photo-zoom { touch-action: auto; }
.photo-screen.is-video .photo-zoom video { touch-action: manipulation; width: 100%; }
.photo-screen.is-zoomed img { cursor: grab; }
.photo-screen.is-dragging img { cursor: grabbing; transition: none; }
.photo-screen-bar {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex: 0 0 auto;
  margin-top: 8px;
  padding: 8px 0 2px;
  background: #0b1220;
}
.photo-zoom-bar {
  position: static;
  display: flex;
  gap: 10px;
  transform: none;
}
.photo-zoom-bar button,
.photo-screen-close,
.photo-screen .photo-step {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.photo-zoom-bar button {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.photo-zoom-bar .photo-rotate { font-size: 1.35rem; }
.photo-screen-close {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top));
  right: calc(12px + env(safe-area-inset-right));
  z-index: 6;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: white;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.photo-screen .photo-step {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.94);
  font-size: 2rem;
  line-height: 1;
}
.photo-screen-count {
  position: static;
  flex: 0 0 auto;
  margin: 0;
  text-align: center;
  color: white;
  font-weight: 750;
}
.photo-count {
  position: absolute;
  right: 12px;
  top: 14px;
  z-index: 1;
  background: white;
  color: var(--navy);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.photo-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
}
.photo-thumbs button {
  flex: 0 0 92px;
  width: 92px;
  height: 68px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #e8eef6;
  cursor: pointer;
  overflow: hidden;
}
.photo-thumbs button.is-on { border-color: var(--navy); }
.photo-thumbs img,
.photo-thumbs video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  pointer-events: none;
}
.detail-summary {
  background: white;
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(28, 105, 212, 0.05);
}
.detail-lower {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 12px;
  align-items: start;
}
.detail-lower > :only-child { grid-column: 1 / -1; }
.detail-specs {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid #d5e4f6;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 8px 22px rgba(28, 105, 212, 0.05);
}
.detail-specs h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 1.15rem;
}
.detail-specs h2::before {
  content: "";
  width: 4px;
  height: 1.05em;
  border-radius: 4px;
  background: var(--blue);
}
.detail-specs dl {
  flex: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 0;
}
.detail-specs dl > div:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.detail-specs div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  padding: 6px 8px;
  border-radius: 10px;
  background: #f5f8fc;
  border: 1px solid #e3ebf5;
}
.detail-specs dt {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.detail-specs dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.detail-specs .is-price {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #0b2548;
  border-color: #0b2548;
}
.detail-specs .is-price dt { color: rgba(255, 255, 255, 0.72); }
.detail-specs .is-price dd {
  color: white;
  font-size: 1.02rem;
  text-align: right;
}
.quote-card {
  margin: 8px 0 16px;
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  overflow: hidden;
  background: white;
}
.quote-emi, .quote-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}
.quote-price { background: #f3f5f8; border-top: 1px solid #e6ebf2; }
.quote-emi span, .quote-price span {
  display: block;
  color: #4a5560;
  font-size: 0.92rem;
  font-weight: 700;
}
.quote-figure, .quote-price strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.quote-jump {
  border: 0;
  background: none;
  padding: 0;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.quote-jump:hover { color: var(--navy); }
.breakup-open { overflow: hidden; }
.breakup-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  align-items: end;
  justify-content: center;
  padding: 12px;
  background: rgba(16, 24, 36, 0.46);
}
.breakup-modal[hidden] { display: none; }
.breakup-sheet {
  position: relative;
  width: min(560px, 100%);
  max-height: min(88vh, 820px);
  overflow: auto;
  background: white;
  border-radius: 22px;
  padding: 22px 20px 18px;
  box-shadow: var(--shadow);
}
.breakup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #eef2f6;
  color: #243040;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.breakup-sheet h2 { margin: 0 36px 4px 0; }
.breakup-lead { margin: 0 0 14px; color: var(--muted); }
.breakup-banner {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #eef8f1;
  color: #1d6b45;
  font-weight: 750;
}
.breakup-block {
  padding: 6px 16px 8px;
  border-radius: 16px;
  background: #f4f6f8;
}
.breakup-row, .breakup-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0 4px;
}
.breakup-row strong, .breakup-total strong { font-weight: 800; }
.breakup-help {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.88rem;
}
.breakup-total {
  margin-top: 12px;
  padding: 16px;
  border-radius: 16px;
  background: #f4f6f8;
  font-size: 1.05rem;
}
.detail-lower .emi-panel {
  display: flex;
  flex-direction: column;
  height: auto;
}
.detail-lower .emi-body { grid-template-columns: 1fr 1fr; flex: 1; align-content: start; }
.detail-lower .emi-controls { border-top: 0; border-left: 1px solid var(--line); }
.detail-lower .emi-foot {
  flex-direction: column;
  align-items: stretch;
  margin-top: auto;
}
.detail-lower .emi-head { padding: 10px 12px 8px; }
.detail-lower .emi-figure { font-size: 1.45rem; }
.detail-lower .emi-breakup,
.detail-lower .emi-controls { padding: 10px 12px 6px; }
.emi-panel {
  background: white;
  border: 1px solid #d5e4f6;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(28, 105, 212, 0.06);
  scroll-margin-top: 108px;
}
.emi-head {
  text-align: center;
  padding: 26px 20px 18px;
  background: linear-gradient(#f4f8fd, #fff);
  border-bottom: 1px solid var(--line);
}
.emi-head h2 { margin: 0 0 14px; }
.emi-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.emi-kicker::before, .emi-kicker::after {
  content: "";
  width: 56px;
  height: 1px;
  background: #c5d0dc;
}
.emi-figure {
  margin: 8px 0 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.emi-figure span { font-size: 0.48em; }
.emi-sub { margin: 6px 0 0; color: var(--muted); font-weight: 650; }
.emi-body { display: grid; grid-template-columns: 1fr 1fr; }
.emi-breakup, .emi-controls { padding: 22px 24px 8px; }
.emi-controls { border-left: 1px solid var(--line); }
.emi-panel h3 { margin: 0 0 14px; font-size: 1.2rem; }
.emi-bar {
  display: flex;
  height: 14px;
  border-radius: 8px;
  overflow: hidden;
  background: #e7f1fb;
  margin-bottom: 8px;
}
.emi-bar span:first-child { background: #d6e8fb; }
.emi-bar span:last-child { background: var(--navy); }
.emi-breakup dl { margin: 0; }
.emi-breakup dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
}
.emi-breakup dt, .emi-breakup dd { margin: 0; }
.emi-breakup dt { color: #3e4a55; font-weight: 650; }
.emi-breakup dd { font-weight: 800; }
.emi-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 3px;
  vertical-align: -1px;
}
.emi-dot-principal { background: #d6e8fb; box-shadow: inset 0 0 0 1px #b7d2f3; }
.emi-dot-interest { background: var(--navy); }
.emi-total { border-bottom: 0 !important; }
.emi-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.emi-field label { font-weight: 800; }
.emi-field input {
  width: 120px;
  min-height: 34px;
  text-align: right;
  background: white;
  border: 1px solid #d5deea;
  border-radius: 12px;
}
.emi-panel input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  min-height: 0;
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(var(--navy), var(--navy)) 0 50% / var(--fill, 0%) 6px no-repeat,
    linear-gradient(#d7e6f6, #d7e6f6) 0 50% / 100% 6px no-repeat;
  box-shadow: none;
  cursor: pointer;
}
.emi-panel input[type="range"]:focus { box-shadow: none; }
.emi-panel input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 2px 8px rgba(28, 105, 212, 0.35);
}
.emi-panel input[type="range"]::-moz-range-track {
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: #d7e6f6;
}
.emi-panel input[type="range"]::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--navy);
}
.emi-panel input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--navy);
}
.emi-scale {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}
.emi-fine { margin: 14px 0 8px; color: var(--muted); font-size: 0.86rem; }
.emi-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 24px 22px;
  border-top: 1px solid var(--line);
}
.emi-foot p { margin: 0; color: #3e4a55; max-width: 62ch; }
.variant { font-size: 1.15rem; color: var(--muted); margin-top: 0; }
.price { margin: 8px 0 12px; font-size: 2rem; color: var(--navy); }
.price small {
  display: block;
  margin-top: 6px;
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}
.credit { color: var(--muted); font-size: 0.78rem; margin-top: 8px; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}
.crumbs a { color: var(--navy); text-decoration: none; }
.similar { margin-top: 28px; }

.contact-layout, .visit-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 20px;
}
.address-card {
  background:
    radial-gradient(500px 240px at 100% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
    var(--navy);
  color: white;
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.address-card .eyebrow { color: #d5e4f7; }
.address-card a { color: white; }
.address-card .contact-actions { flex-direction: column; align-items: stretch; margin-top: 18px; }
.address-card .btn-line { background: transparent; color: white; border-color: rgba(255,255,255,0.35); }
.visit-grid .btn-line { color: white; border-color: rgba(255,255,255,0.4); background: transparent; }
.map {
  margin-top: 16px;
  border-radius: 22px;
  overflow: hidden;
  min-height: 220px;
  background: white;
  box-shadow: 0 10px 30px rgba(28, 105, 212, 0.05);
}
.map iframe { width: 100%; height: 240px; border: 0; }

.checklist { margin: 0; padding: 0; list-style: none; }
.checklist li { padding: 12px 0 12px 18px; border-bottom: 1px solid var(--line); position: relative; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--navy);
}
.note {
  border-left: 3px solid var(--navy);
  padding: 4px 0 4px 14px;
  color: var(--muted);
}

main > .filters-bar { background: transparent; }

.site-footer {
  background:
    radial-gradient(680px 260px at 100% 0%, rgba(255, 255, 255, 0.16), transparent 58%),
    linear-gradient(180deg, #1d6ad4 0%, #1457b8 100%);
  color: rgba(255, 255, 255, 0.82);
  padding: 36px 0 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr 0.8fr 0.95fr;
  gap: 28px 36px;
  align-items: start;
}
.site-footer .footer-grid > div:first-child > p {
  max-width: 36ch;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  line-height: 1.5;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 12px;
}
.social-links a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 13px;
  color: white;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.social-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.22);
  color: white;
}
.social-ig {
  background: radial-gradient(circle at 30% 110%, #feda75 0%, #fa7e1e 28%, #d62976 58%, #962fbf 82%, #4f5bd5 100%);
}
.social-fb { background: #1877f2; }
.social-links svg { width: 22px; height: 22px; display: block; }
.site-footer .logo { color: white; }
.site-footer .logo-mark { background: #ffffff; border-radius: 10px; }
.site-footer .logo-sub { color: rgba(255, 255, 255, 0.55); }
.footer-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: white;
}
.footer-title::after {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}
.site-footer a { color: white; text-decoration: none; }
.site-footer li { margin: 0; }
.site-footer li a {
  display: inline-flex;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 650;
}
.site-footer li a:hover { color: white; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer .footer-grid > div:nth-child(2) p { margin: 0; line-height: 1.45; }
.site-footer .footer-grid > div:nth-child(2) p + p { margin-top: 10px; }
.site-footer .footer-grid > div:nth-child(2) a {
  font-weight: 800;
  letter-spacing: 0.03em;
}
.site-footer .footer-grid > div:nth-child(2) a:hover { color: #d7e8ff; }
.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 22px;
  padding-top: 14px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.58);
}
.footer-base p:last-child { font-size: 0.74rem; }
.footer-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-actions .btn { min-height: 36px; box-shadow: none; }
.footer-actions .btn-line {
  color: white;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
}
.footer-actions .btn-line:hover {
  background: white;
  border-color: white;
  color: var(--navy);
}
.footer-actions .btn-wa { box-shadow: none; }

.mobile-dock { display: none; }
.credits-list { padding-left: 18px; color: var(--muted); }
.credits-list a { color: var(--navy); }

:focus-visible {
  outline: 3px solid #8eb4e8;
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .stage-inner, .split, .detail, .contact-layout, .visit-grid, .footer-grid { grid-template-columns: 1fr; }
  .car-grid, .assist-grid { grid-template-columns: 1fr 1fr; }
  .car-photo { height: 160px; max-height: none; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust div:nth-child(odd) { border-left: 0; }
  .trust div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .filters { grid-template-columns: 1fr 1fr; }
  .detail-lower,
  .detail-specs dl,
  .emi-body,
  .detail-lower .emi-body { grid-template-columns: 1fr; }
  .detail-lower .emi-controls { border-left: 0; border-top: 1px solid var(--line); }
  .emi-controls { border-left: 0; border-top: 1px solid var(--line); }
  .emi-foot { align-items: stretch; flex-direction: column; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  #site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    box-shadow: var(--shadow);
  }
  #site-nav.is-open {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 12px;
    border-radius: 0 0 18px 18px;
  }
  #site-nav a { min-width: 0; padding: 10px 6px 12px; font-size: 0.75rem; }
  #site-nav a::after { display: none; }
  .stage { min-height: 0; align-items: stretch; flex-direction: column; }
  .stage-media { position: relative; width: 100%; height: 200px; min-height: 0; }
  .stage-inner { padding: 16px 0 4px; }
  .stage { color: var(--ink); background: #f6f8fb; }
  .stage h1, .stage .lede { color: var(--navy); }
  .stage .eyebrow { color: var(--blue); }
  .stage .hero-support { color: var(--muted); max-width: 62ch; }
  .stage .btn-navy { background: var(--navy); color: white; }
  .stage .btn-line { border-color: #c9d3df; background: white; color: var(--navy); }
  .stock-count { background: var(--navy); }
  .shot img { height: 180px; }
  .lift { margin-top: 18px; }
}

@media (max-width: 760px) {
  :root { --header: 96px; }
  .container { width: min(1180px, calc(100% - 28px)); }
  .utility-inner p { display: none; }
  .section { padding: 22px 0; }
  main > .section:first-child,
  main.section { padding-top: 14px; }
  .car-grid, .why-grid, .assist-grid, .steps, .form-grid, .trust, .stage-picks { grid-template-columns: 1fr; }
  .car-photo { height: 176px; max-height: none; }
  .car-card h3.car-name { font-size: 1.08rem; }
  .car-body { padding: 12px 14px 14px; }
  .photo-price { font-size: 0.95rem; bottom: 10px; }
  .car-card .car-actions .btn { flex: 1 1 0; }
  .trust div + div { border-left: 0; border-top: 1px solid var(--line); }
  .hero-actions .btn, .car-actions .btn { flex: 1 1 100%; }
  .section-head, .results-bar, .footer-base { align-items: flex-start; flex-direction: column; }
  .stage-media { height: 168px; }
  .filters { grid-template-columns: 1fr; }
  .quote-jump { white-space: normal; text-align: right; }
  .quote-figure, .quote-price strong { font-size: 1.15rem; }
  #site-nav.is-open { grid-template-columns: 1fr 1fr; }
  #site-nav a { font-size: 0.84rem; line-height: 1.2; }
  input[type="range"] { min-height: 32px; }
  .shot { min-height: 0; }
  .mobile-dock {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    gap: 8px;
  }
  .mobile-dock .btn { min-height: 40px; padding: 0 8px; font-size: 0.82rem; box-shadow: none; }
  .mobile-dock .btn-line { color: var(--navy); border-color: #c9d3df; background: white; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

@media (min-width: 981px) {
  .filters-bar { position: sticky; top: 78px; z-index: 20; }
}

@media (min-width: 981px) {
  #detail-root .detail {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    grid-template-rows: auto auto;
    height: auto;
    align-items: start;
  }
  #detail-root .detail-photo { grid-column: 1; grid-row: 1; }
  #detail-root .detail-summary { grid-column: 2; grid-row: 1; }
  #detail-root .detail-lower {
    grid-column: 1 / -1;
    grid-row: 2;
    height: auto;
    align-items: start;
  }
  #detail-root .detail-specs,
  #detail-root .emi-panel {
    height: auto;
    overflow: visible;
  }
  #detail-root .detail-specs dl { grid-auto-rows: auto; }
  #detail-root .detail-lower .emi-head { padding: 10px 12px 8px; }
  #detail-root .detail-lower .emi-head h2 { margin: 0 0 4px; font-size: 1.15rem; }
  #detail-root .detail-lower .emi-figure { font-size: 1.5rem; margin: 2px 0 0; }
  #detail-root .emi-sub { margin: 2px 0 0; font-size: 0.82rem; }
  #detail-root .detail-lower .emi-breakup,
  #detail-root .detail-lower .emi-controls {
    display: flex;
    flex-direction: column;
    padding: 8px 12px 6px;
  }
  #detail-root .detail-lower .emi-breakup dl {
    flex: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  #detail-root .detail-lower .emi-controls { justify-content: center; }
  #detail-root .detail-lower .emi-controls h3 { display: none; }
  #detail-root .emi-panel h3 { margin: 0 0 8px; font-size: 1rem; }
  #detail-root .emi-bar { height: 10px; margin-bottom: 6px; }
  #detail-root .emi-breakup dl > div { padding: 7px 0; border-bottom: 0; }
  #detail-root .emi-total {
    margin-top: 4px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #eef5fc;
  }
  #detail-root .emi-field { margin-top: 6px; }
  #detail-root .emi-field input { min-height: 32px; width: 112px; }
  #detail-root .emi-fine { margin: 6px 0 0; font-size: 0.72rem; }
  #detail-root .detail-lower .emi-foot { padding: 8px 12px 10px; }
  #detail-root .detail-lower .emi-foot p { font-size: 0.75rem; }
  #detail-root .detail-lower .emi-foot .btn { min-height: 32px; }
}

.home { background: #f5f8fc; }
.home .site-header { background: #f5f8fc; }
.home .stage-inner { align-items: center; }
.home .hero-actions { margin-top: 16px; }
.home .stock-count {
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.home .stock-count::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7dffb3;
}
.home .shot { border-radius: 16px; }
.home .lift { margin-top: -22px; }
.home .trust {
  border: 1px solid #e6eef6;
  counter-reset: trust;
}
.home .trust div {
  counter-increment: trust;
  padding: 16px 16px 14px;
}
.home .trust strong::before {
  content: counter(trust, decimal-leading-zero);
  display: block;
  margin-bottom: 6px;
  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--blue);
}
.home .brand-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  letter-spacing: 0;
  text-transform: none;
}
.home .brand-rail li {
  padding: 6px 12px;
  border-radius: 999px;
  background: white;
  border: 1px solid #e3ebf5;
  color: #3d4c5e;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}
.home #inventory { padding-top: 20px; }
.home .section-head { align-items: end; }
.home .section-side {
  display: grid;
  justify-items: start;
  gap: 12px;
  max-width: 42ch;
}
.home .section-side p { margin: 0; color: var(--muted); }
.home .section-side .btn { min-height: 34px; }
.home .car-card { border: 1px solid #e6eef6; }
.home #why { padding: 18px 0; }
.home #why .section-head { margin-bottom: 10px; }
.home .why-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
.home .why-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 10px 12px 10px;
}
.home .why-index {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  letter-spacing: 0;
  font-size: 0.7rem;
}
.home .why-item strong { margin: 6px 0 2px; font-size: 1rem; }
.home .why-item p { font-size: 0.82rem; line-height: 1.35; }
.home .form-card {
  border-top: 3px solid var(--blue);
  box-shadow: 0 18px 44px rgba(28, 105, 212, 0.1);
}
.home .step {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: start;
  border: 1px solid #e6eef6;
}
.home .step em { grid-row: 1 / span 2; margin-top: 2px; }
.home .step strong { margin-top: 0; }
.home #about-preview { padding: 8px 0 4px; }
.home #about-preview .prose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 28px;
  row-gap: 4px;
  align-items: center;
  max-width: none;
  padding: 18px 22px;
  background: white;
  border: 1px solid #e3edf7;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(16, 42, 78, 0.05);
}
.home #about-preview .prose > :not(.btn) { grid-column: 1; }
.home #about-preview .prose > .btn { grid-column: 2; grid-row: 1 / span 3; }
.home #about-preview .eyebrow { margin: 0; }
.home #about-preview h2 { margin: 0; }
.home #about-preview .prose p { margin: 0; }
.home #finance { padding-top: 18px; }
.home #finance .section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 6px 20px;
  margin-bottom: 12px;
}
.home #finance .section-side { display: contents; }
.home #finance .section-side p {
  grid-column: 1;
  grid-row: 2;
  max-width: 62ch;
}
.home #finance .section-head a.btn {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  border-bottom: 0;
  min-height: 36px;
  padding: 0 14px;
}
.home .car-card .car-actions { display: none; }
.home .assist-grid { align-items: stretch; counter-reset: assist; gap: 12px; }
.home .assist-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  border: 1px solid #e3edf7;
  border-radius: 16px;
  padding: 16px 16px 18px;
  background: white;
  box-shadow: 0 10px 24px rgba(16, 42, 78, 0.05);
  counter-increment: assist;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.home .assist-card:hover {
  transform: translateY(-3px);
  border-color: #d3e4f6;
  box-shadow: 0 16px 34px rgba(28, 105, 212, 0.12);
}
.home .assist-card::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 0;
  width: 36px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--blue);
}
.home .assist-card h3 { margin: 10px 0 6px; }
.home .assist-card h3::before {
  content: counter(assist, decimal-leading-zero);
  display: block;
  margin-bottom: 6px;
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #1c69d4;
}
.home .assist-card p { font-size: 0.9rem; line-height: 1.45; }
.home #visit .contact-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}

@media (min-width: 981px) {
  .home .stage {
    min-height: min(58vh, 540px);
    align-items: center;
  }
  .home .stage h1 {
    font-size: clamp(2.6rem, 4.2vw, 3.7rem);
    line-height: 1.02;
  }
  .home .stage-inner { padding: 36px 0 48px; }
  .home .shot img { height: 150px; }
  .home .why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .home .why-grid { grid-template-columns: 1fr 1fr; }
  .home #visit .contact-actions { grid-template-columns: 1fr; }
  .home .stage-inner { padding-bottom: 28px; }
}

@media (max-width: 760px) {
  .home .why-grid,
  .home .assist-grid { grid-template-columns: 1fr; }
  .home #about-preview .prose { grid-template-columns: 1fr; padding: 16px; }
  .home #about-preview .prose > .btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }
  .home #finance .section-head { grid-template-columns: 1fr; }
  .home #finance .section-side { display: grid; justify-items: start; }
  .home #finance .section-side p,
  .home #finance .section-head a.btn { grid-column: auto; grid-row: auto; }
  .home .trust div { padding: 14px 14px 12px; }
}

.buy { background: #f5f8fc; }
.buy .site-header { background: #f5f8fc; }
.buy-hero {
  background:
    radial-gradient(560px 200px at 100% 0%, rgba(255, 255, 255, 0.2), transparent 58%),
    radial-gradient(420px 180px at 0% 120%, rgba(8, 48, 110, 0.35), transparent 60%),
    linear-gradient(180deg, #1d6ad4 0%, #1457b8 100%);
  color: white;
  padding: 28px 0 56px;
}
.buy-hero .eyebrow { color: rgba(255, 255, 255, 0.78); margin-bottom: 6px; }
.buy-hero h1 {
  color: white;
  margin-bottom: 8px;
  font-size: clamp(2.15rem, 3.4vw, 3rem);
  letter-spacing: -0.03em;
}
.buy-hero p:last-child {
  max-width: 62ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.5;
}
.buy .filters-bar {
  position: relative;
  z-index: 5;
  margin-top: -30px;
  padding-bottom: 4px;
}
.buy .filters {
  border: 1px solid #e3edf7;
  border-radius: 18px;
  padding: 14px;
  gap: 10px;
  box-shadow: 0 18px 40px rgba(16, 42, 78, 0.12);
}
.buy .filters label {
  gap: 5px;
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  color: #6b7c90;
}
.buy .filters input,
.buy .filters select {
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid #d7e2ee;
  background: #fff;
  font-size: 0.92rem;
  color: #10233f;
}
.buy .filters input:focus,
.buy .filters select:focus {
  background: #fff;
  border-color: #1c69d4;
  box-shadow: 0 0 0 3px rgba(28, 105, 212, 0.14);
}
.buy-list { padding-top: 10px; }
.buy .results-bar {
  margin-bottom: 14px;
  padding: 10px 14px;
  background: white;
  border: 1px solid #e6eef6;
  border-radius: 14px;
}
.buy .car-card { border: 1px solid #e6eef6; }
.buy .empty {
  border: 1px solid #e6eef6;
  box-shadow: none;
}

@media (min-width: 981px) {
  .buy .filters-bar {
    position: sticky;
    top: 74px;
  }
}

@media (max-width: 760px) {
  .buy-hero { padding: 16px 0 32px; }
  .buy-hero h1 { font-size: 1.85rem; }
}

@media (hover: none) {
  .car-card:hover,
  .home .assist-card:hover,
  .shot:hover img,
  .car-card:hover .car-photo img.is-on,
  .car-card:hover .car-photo video.is-on,
  .btn:hover { transform: none; }
}

@media (max-width: 760px) {
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body { overflow-x: clip; }

  .utility { display: none; }
  .site-header { padding-top: env(safe-area-inset-top); }
  .nav-inner { min-height: 64px; gap: 10px; }
  .logo { gap: 8px; min-width: 0; }
  .logo-mark { width: 52px; height: 34px; }
  .logo-name { font-size: 1.12rem; }
  .logo-sub { margin-top: 2px; font-size: 0.62rem; letter-spacing: 0.16em; }
  .nav-toggle { min-height: 44px; padding: 0 12px; }
  #site-nav .nav-pic { font-size: 1.35rem; }
  #site-nav.is-open { gap: 8px; }
  #site-nav.is-open a { min-height: 64px; padding: 8px 6px; }

  h1 { font-size: 1.72rem; }
  .car-photo { height: 214px; }
  .car-card h3.car-name { white-space: normal; font-size: 1.2rem; }
  .car-card h3.car-name span:last-child { overflow: visible; text-overflow: clip; }
  .car-specs { font-size: 0.8rem; }
  .car-emi a { min-height: 36px; padding: 0 12px; font-size: 0.86rem; }
  .car-card .car-actions { display: flex; gap: 8px; }
  .car-card .car-actions .btn { min-height: 44px; flex: 1 1 0; }

  .photo-dots { gap: 0; padding: 2px 4px; }
  .photo-dots button {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    background: transparent;
  }
  .photo-dots button::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
  }
  .photo-dots button.is-on { width: 28px; background: transparent; box-shadow: none; }
  .photo-dots button.is-on::before {
    width: 16px;
    height: 7px;
    border-radius: 999px;
    background: white;
  }

  .btn { min-height: 46px; }
  .mobile-dock .btn { min-height: 48px; font-size: 0.92rem; }
  body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }

  input, select, textarea,
  .buy .filters input,
  .buy .filters select,
  .emi-field input {
    font-size: 16px;
    min-height: 48px;
  }
  .form-card { padding: 14px; border-radius: 18px; }
  .form-grid label, .filters label { letter-spacing: 0.04em; }

  #detail-root .detail,
  #detail-root .detail-photo,
  #detail-root .hero-stage,
  #detail-root .hero-media { width: 100%; max-width: 100%; min-width: 0; }
  #detail-root .hero-media { aspect-ratio: 4 / 3; }
  #detail-root .hero-media > .hero-photo,
  #detail-root .hero-media > video,
  #detail-root .hero-media > canvas,
  #detail-root .hero-media > .spin-view {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
  }
  #detail-root .hero-stage {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    grid-template-areas: "shot shot shot" "prev screen next";
    align-items: center;
    gap: 8px;
  }
  #detail-root .hero-media { grid-area: shot; }
  #detail-root .photo-step {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    margin: 0;
  }
  #detail-root .photo-step-prev { grid-area: prev; justify-self: start; }
  #detail-root .photo-step-next { grid-area: next; justify-self: end; }
  #detail-root .photo-full {
    position: static;
    left: auto;
    bottom: auto;
    grid-area: screen;
    justify-self: center;
    min-height: 44px;
  }
  .detail-summary { padding: 14px; border-radius: 18px; }
  .detail-summary .car-actions { display: grid; gap: 8px; }
  .detail-summary .car-actions .btn { width: 100%; }
  .photo-full { min-height: 44px; }
  .photo-thumbs button { flex-basis: 104px; width: 104px; height: 76px; }
  .photo-screen-bar { gap: 8px; }
  .photo-zoom-bar { gap: 8px; }
  .photo-zoom-bar button,
  .photo-screen .photo-step { width: 46px; height: 46px; }
  .emi-panel { scroll-margin-top: 84px; }
  .emi-head { padding: 18px 14px 14px; }
  .emi-figure { font-size: 1.7rem; }

  .site-footer li a { min-height: 40px; align-items: center; }
  .footer-actions .btn { min-height: 46px; }
  .footer-base p:last-child { line-height: 1.45; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
