/* ==========================================================================
   SUMMERVILLE AUTO SALES — Ladson, SC
   Crisp Pure-White Editorial System · Exact 4:3 Uncropped Real Lot Photos
   Client Palette (#FFFFFF · #164C30 · #18221C) · Zero AI numbers, pills, fog
   ========================================================================== */

:root {
  --forest: #164c30;
  --forest-deep: #0f3823;
  --forest-tint: #f2f6f3;

  --bg: #ffffff;
  --surface: #f7f8f7;
  --ink: #18221c;
  --ink-2: #48544c;
  --ink-3: #737f77;
  --line: #e4e8e5;
  --line-strong: #c6d0c9;

  --f-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --max: 1180px;
  --px: clamp(20px, 4vw, 48px);
  --r: 3px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  font-size: 14.5px;
  line-height: 1.58;
  overflow-x: hidden;
}

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

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

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ==========================================================================
   HEADER — CRISP PURE WHITE BAR WITH CALL + TEXT US
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: 64px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
}

.header__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  flex-shrink: 0;
}

.brand__name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.brand__sub {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.16s ease;
}

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

.header__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__addr {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-right: 6px;
}

/* Crisp sharp-edge rectangular buttons (3px corners, ZERO pills) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.btn--forest {
  background: var(--forest);
  color: #fff;
  border: 1px solid var(--forest);
}
.btn--forest:hover {
  background: var(--forest-deep);
  border-color: var(--forest-deep);
}

.btn--outline {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn--outline:hover {
  border-color: var(--forest);
  color: var(--forest);
}

.btn--sm {
  padding: 9px 14px;
  font-size: 12.5px;
}

.btn--full { width: 100%; }

/* Mobile menu button */
.burger {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  width: 20px;
  height: 1.6px;
  background: var(--ink);
  transition: transform 0.2s ease;
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

.mnav {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: #fff;
  padding: 20px var(--px) 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.mnav.is-open { opacity: 1; pointer-events: auto; }
.mnav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
}
.mnav__close {
  font-size: 26px;
  line-height: 1;
  color: var(--ink);
  padding: 4px 8px;
}
.mnav__links { display: flex; flex-direction: column; margin-top: 12px; }
.mnav__links a {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.mnav__foot { display: grid; gap: 10px; }
.mnav__addr { font-size: 13px; color: var(--ink-3); }

/* ==========================================================================
   ONE-SCREEN CRISP WHITE HERO — EXACT 4:3 UNCROPPED PHOTO + SMS-FIRST DECK
   ========================================================================== */
.hero {
  background: var(--bg);
  padding: clamp(20px, 2.4vw, 30px) 0 clamp(26px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
}

.hero__top {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(18px, 3vw, 48px);
  align-items: end;
  margin-bottom: clamp(18px, 2.2vw, 24px);
}

.hero__title {
  font-size: clamp(28px, 3.05vw, 40px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.032em;
  color: var(--ink);
  text-wrap: balance;
}

.hero__side {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.hero__copy {
  font-size: 13.5px;
  line-height: 1.54;
  color: var(--ink-2);
  max-width: 44ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* 2-column Showcase: Exact 4:3 uncropped photo left + clean lot panel right */
.hero__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 16px;
  align-items: stretch;
}

/* EXACT 4:3 matches 1280x960 photos -> 0% roof/wheel cropping */
.hero__frame {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.5s var(--ease);
}

.hero__frame:hover img { transform: scale(1.015); }

/* Right companion panel matching the exact height of the 4:3 photo */
.hero__panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  padding: 20px 22px;
}

.hero__phead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.hero__pname {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.18;
}

.hero__pprice {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--forest);
  line-height: 1;
  white-space: nowrap;
}

.hero__pmeta {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-2);
}

.hero__pvin {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hero__pvin code {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ink-3);
}

.hero__pbtns {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* Live 3-car index with exact 4:3 thumbnails inside the right panel */
.hero__list {
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.hsw {
  width: 100%;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.hsw:last-child { border-bottom: 0; }
.hsw:hover { background: rgba(255, 255, 255, 0.72); }

.hsw.is-active {
  background: #fff;
  border-left-color: var(--forest);
}

.hsw img {
  width: 56px;
  height: 42px;
  object-fit: cover;
  border-radius: 2px;
}

.hsw__name {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.hsw__sub {
  display: block;
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: 2px;
}

.hsw__price {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}

.hsw.is-active .hsw__price { color: var(--forest); }

/* ==========================================================================
   WHITE EDITORIAL SECTIONS (Clean rhythm, ZERO decorative kickers or fake stats)
   ========================================================================== */
.sec {
  padding: clamp(56px, 6.2vw, 86px) 0;
  background: var(--bg);
}

.sec--tight-top {
  padding-top: clamp(22px, 2.8vw, 36px);
}

.h2 {
  font-size: clamp(25px, 2.7vw, 35px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.028em;
  color: var(--ink);
  text-wrap: balance;
}

.lead {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.64;
  color: var(--ink-2);
  max-width: 50ch;
}

/* Block 1: Our Lot (2-col split + 3 real trust pillars with ZERO AI stat counters) */
.phil-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}

.phil-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--r);
}

.pillars {
  margin-top: clamp(40px, 4.8vw, 56px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.pillar {
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.pillar h3 {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.25;
}

.pillar p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--ink-2);
}

.pillar a {
  color: var(--forest);
  font-weight: 500;
}
.pillar a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Block 2: Inventory (2-col header + 3 bare 4:3 sharp rectangular photos) */
.inv-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: end;
  margin-bottom: 26px;
}

.inv-head__right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.inv-head__right p {
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--ink-2);
  max-width: 48ch;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.fbtn {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  padding-bottom: 4px;
  border-bottom: 1.5px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.fbtn:hover { color: var(--ink); }
.fbtn.is-active {
  color: var(--forest);
  border-bottom-color: var(--forest);
}

.cars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.car {
  display: flex;
  flex-direction: column;
}

.car__media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
}

.car__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.5s var(--ease);
}

.car__media:hover img { transform: scale(1.025); }

.car__body {
  padding-top: 13px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.car__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.car__title {
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.car__price {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--forest);
  white-space: nowrap;
}

.car__specs {
  font-size: 13px;
  color: var(--ink-2);
}

.car__vin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}

.car__vin code {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-3);
}

.tlink {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.tlink:hover { text-decoration: underline; text-underline-offset: 3px; }
.tlink.is-done { color: var(--ink); }

.car__actions {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.car__sublink {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
}

.inv-note {
  margin-top: 26px;
  font-size: 12.5px;
  color: var(--ink-3);
  max-width: 82ch;
}
.inv-note a { color: var(--forest); font-weight: 500; }

/* Verified Google Rating Strip (Clean horizontal editorial band — zero fake quotes) */
.reviews-band {
  padding: clamp(28px, 3.6vw, 40px) 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reviews-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.reviews-band__left {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 660px;
}

.reviews-band__score {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 20px;
  border-right: 1px solid var(--line-strong);
  flex-shrink: 0;
}

.reviews-band__num {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.reviews-band__stars {
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #c2820a;
  line-height: 1;
}

.reviews-band__title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.22;
}

.reviews-band__text {
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.54;
  color: var(--ink-2);
}

.reviews-band__acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* Block 3: Location, Sister Repair Shop (5.0 Google) & Financing */
.loc-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(28px, 4.5vw, 60px);
  align-items: center;
}

.shop-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 2px solid var(--forest);
  background: var(--surface);
  font-size: 13.5px;
  line-height: 1.56;
  color: var(--ink-2);
}

.shop-note strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 3px;
}

.shop-note a {
  color: var(--forest);
  font-weight: 500;
}
.shop-note a:hover { text-decoration: underline; }

.loc-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.loc-disclaimer {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.52;
  color: var(--ink-3);
}

.loc-photo img {
  width: 100%;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  object-position: center 36%;
  border-radius: var(--r);
}

/* Block 4: Helpful Guides + FAQ */
.ref-sec {
  padding: clamp(52px, 5.8vw, 78px) 0;
  border-top: 1px solid var(--line);
}

.ref-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.line-list {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.glink {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.glink__title {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.15s ease;
}

.glink__sub {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.glink__arr {
  font-size: 15px;
  color: var(--forest);
  flex-shrink: 0;
}

.glink:hover .glink__title { color: var(--forest); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.faq-btn:hover { color: var(--forest); }

.faq-plus {
  font-size: 18px;
  line-height: 1;
  color: var(--forest);
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}
.faq-item.is-open .faq-plus { transform: rotate(45deg); }

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.22s var(--ease);
}
.faq-item.is-open .faq-panel { grid-template-rows: 1fr; }
.faq-panel > div { overflow: hidden; }
.faq-panel p {
  padding-bottom: 14px;
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--ink-2);
}

/* Block 5: Visit, Quick SMS Composer & Map */
.visit-sec {
  padding: clamp(52px, 5.8vw, 78px) 0;
  border-top: 1px solid var(--line);
}

.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(28px, 4.5vw, 60px);
  align-items: start;
}

.visit-phone {
  display: inline-block;
  margin-top: 14px;
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--forest);
}
.visit-phone:hover { text-decoration: underline; text-underline-offset: 4px; }

.visit-details {
  margin-top: 12px;
  display: grid;
  gap: 5px;
  font-size: 14px;
  color: var(--ink-2);
}
.visit-details strong { color: var(--ink); font-weight: 500; }
.visit-details a { color: var(--forest); }
.visit-details a:hover { text-decoration: underline; }

/* Quick SMS Quote Box (100% functional on mobile sms: + desktop 1-click copy) */
.sms-box {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}

.sms-box__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.sms-box__select {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: #fff;
  font-size: 13px;
  color: var(--ink);
}

.sms-box__preview {
  margin-top: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.sms-box__acts {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.map-box {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  height: 360px;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.visit-note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 24px 0 30px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer__brand { font-weight: 500; color: var(--ink); }
.footer__links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__links a:hover { color: var(--forest); }

.footer__disc {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  line-height: 1.55;
}

/* ==========================================================================
   VEHICLE DETAIL MODAL (Sharp white modal + embedded per-car calculator + SMS)
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 2.2vw, 24px);
  background: rgba(24, 34, 28, 0.52);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal.is-open { opacity: 1; pointer-events: auto; }

.modal__panel {
  width: 100%;
  max-width: 980px;
  max-height: min(92svh, 820px);
  overflow-y: auto;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(24, 34, 28, 0.24);
}

.modal__bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 22px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.modal__title-wrap {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.modal__bar-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.modal__bar-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--forest);
}

.modal__close {
  width: 32px;
  height: 32px;
  font-size: 22px;
  line-height: 1;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.modal__close:hover { color: var(--forest); }

.vmodal__body {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  gap: 24px;
  padding: 20px 22px 24px;
}

.vgal__main {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 4 / 3;
}

.vgal__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vgal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.vgal__nav:hover { background: var(--forest); color: #fff; }
.vgal__prev { left: 10px; }
.vgal__next { right: 10px; }

.vgal__count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 3px 8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
}

.vgal__thumbs {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.vgal__thumb {
  border-radius: 2px;
  overflow: hidden;
  border: 1.5px solid transparent;
  aspect-ratio: 4 / 3;
  opacity: 0.68;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}
.vgal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.vgal__thumb:hover, .vgal__thumb.is-active { opacity: 1; border-color: var(--forest); }

.vtabs {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.vtab {
  padding: 0 0 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.vtab:hover { color: var(--ink); }
.vtab.is-active {
  color: var(--forest);
  border-bottom-color: var(--forest);
}

.vpanel { display: none; }
.vpanel.is-active { display: block; }

.vinfo__sub {
  font-size: 13.5px;
  line-height: 1.56;
  color: var(--ink-2);
}

.vspec-list {
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.vspec-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.vspec-row span { color: var(--ink-3); }
.vspec-row strong { color: var(--ink); font-weight: 500; text-align: right; }

.vinfo__vin {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--r);
  background: var(--surface);
}
.vinfo__vin code { font-family: var(--f-mono); font-size: 12px; }
.vinfo__vin-acts { display: flex; gap: 14px; font-size: 12.5px; font-weight: 500; color: var(--forest); }
.vinfo__vin-acts a:hover, .vinfo__vin-acts button:hover { text-decoration: underline; }

.vinfo__note {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-3);
}

/* Embedded Per-Car Payment & SC OTD Calculator */
.pcalc__monthly-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.pcalc__monthly-row span { font-size: 13px; color: var(--ink-2); }
.pcalc__monthly {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--forest);
  line-height: 1;
}
.pcalc__monthly em { font-style: normal; font-size: 13.5px; font-weight: 500; color: var(--ink-3); }

.pcalc__ctrl { margin-top: 14px; display: grid; gap: 13px; }
.pfield__head { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); margin-bottom: 5px; }
.pfield__head strong { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.pfield input[type="range"] { width: 100%; accent-color: var(--forest); cursor: pointer; }

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.qbtn {
  padding: 7px 4px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  text-align: center;
}
.qbtn:hover { border-color: var(--forest); color: var(--forest); }
.qbtn.is-active { background: var(--forest); border-color: var(--forest); color: #fff; }

.pcalc__rows {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
  font-size: 12.5px;
}
.pcalc__row { display: flex; justify-content: space-between; color: var(--ink-2); }
.pcalc__row strong { color: var(--ink); font-weight: 500; }
.pcalc__row--total {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
}
.pcalc__row--total strong { color: var(--forest); font-size: 14.5px; font-weight: 700; }

.pcalc__disc {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-3);
}

.vmodal__cta {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.vmodal__copyrow {
  margin-top: 8px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-3);
}

/* Guide Modal */
.modal__panel--guide { max-width: 640px; }
.gmodal__body { padding: 20px 22px 26px; }
.gmodal__lead { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.gmodal__list { margin-top: 16px; border-top: 1px solid var(--line); }
.gmodal__list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.gmodal__list li strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.gmodal__cta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }

/* Mobile sticky action bar */
.mbar { display: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1000px) {
  .header__addr { display: none; }
  .hero__top,
  .hero__stage,
  .phil-grid,
  .inv-head,
  .loc-grid,
  .ref-grid,
  .visit-grid,
  .vmodal__body {
    grid-template-columns: 1fr;
  }
  .pillars, .reviews-grid { grid-template-columns: 1fr; }
  .cars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .nav, .header__right .btn { display: none; }
  .burger { display: inline-flex; }
  .cars { grid-template-columns: 1fr; }
  .vgal__thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__pbtns, .vmodal__cta { grid-template-columns: 1fr; }
  .reviews-band__left { flex-direction: column; align-items: flex-start; gap: 12px; }
  .reviews-band__score { padding-right: 0; border-right: 0; padding-bottom: 10px; border-bottom: 1px solid var(--line-strong); width: 100%; flex-direction: row; align-items: baseline; gap: 12px; }

  body { padding-bottom: 62px; }
  .mbar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 70;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 14px;
    background: #fff;
    border-top: 1px solid var(--line);
  }
}
