.vehicle-hero {
  padding-bottom: 2.75rem;
  background:
    radial-gradient(circle at 82% 16%, rgba(122,169,155,.2), transparent 30rem),
    linear-gradient(180deg, rgba(255,255,255,.78), transparent);
}
.vehicle-hero h1 {
  color: var(--ink) !important;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
}
.vehicle-hero .text-white { color: var(--ink) !important; }
.vehicle-hero .text-zinc-300, .vehicle-hero .text-zinc-400 { color: var(--soft) !important; }
.price-panel { min-width: 18rem; padding: 1.35rem; }
.price-panel span { color: var(--muted); font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.price-panel strong { display: block; margin-top: .45rem; color: var(--sage-dark); font-size: 2.25rem; font-weight: 900; line-height: 1; }
.price-panel p { margin-top: .45rem; color: var(--soft); }
.gallery-card { padding: .7rem; }
.main-gallery { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 24px; background: var(--paper-2); }
.main-gallery img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.thumbnail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; margin-top: .7rem; }
.thumbnail { aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--paper-2); padding: 0; opacity: .75; transition: opacity .2s ease, border-color .2s ease, transform .2s ease; }
.thumbnail.active, .thumbnail:hover { opacity: 1; border-color: var(--sage); transform: translateY(-1px); }
.thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.detail-section { padding: clamp(1.25rem, 3vw, 2rem); }
.section-head { margin-bottom: 1.2rem; }
.section-head h2 { color: var(--ink); font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1.08; }
#car-description { color: var(--soft); font-size: 1rem; line-height: 1.85; }
.feature-grid { display: grid; gap: .9rem; }
@media (min-width: 768px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature-item { display: flex; gap: .7rem; align-items: flex-start; border: 1px solid rgba(31,42,37,.08); border-radius: 18px; background: rgba(255,255,255,.72); padding: 1rem; color: var(--soft); }
.specs-card, .contact-card, .finance-card { padding: 1.4rem; }
.specs-card h3, .contact-card h3, .finance-card h3, .modal-card h3 { color: var(--ink); font-size: 1.22rem; font-weight: 900; line-height: 1.25; }
.spec-list { margin-top: 1rem; display: grid; gap: .65rem; }
.spec-list div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: .72rem 0; }
.spec-list span { color: var(--muted); font-size: .72rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.spec-list strong { color: var(--ink); text-align: right; font-weight: 800; overflow-wrap: anywhere; }
.contact-card p, .finance-card p { margin: .7rem 0 1.2rem; color: var(--soft); line-height: 1.7; }
.finance-card > svg { color: var(--sage-dark); width: 2.2rem; height: 2.2rem; margin-bottom: .8rem; }
.modal-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(31,42,37,.22); backdrop-filter: blur(8px); }
.modal-shell { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 1rem; }
.modal-card { width: min(100%, 30rem); position: relative; padding: 1.5rem; }
.modal-close { position: absolute; right: 1rem; top: .8rem; color: var(--muted); font-size: 1.8rem; line-height: 1; }
.modal-close:hover { color: var(--ink); }
@media (max-width: 640px) {
  .thumbnail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price-panel { min-width: 0; width: 100%; }
}
