/* === AUTOMART — Precision Automotive === */
/* Palette: #0a0a0a #1a1a1a #c8c8c8 #6a7a8a #4a7a9a */
:root {
  --bg: #0a0a0a;
  --surface: #1a1a1a;
  --text: #c8c8c8;
  --muted: #98a8b8;
  --accent: #4a7a9a;
  --border: rgba(200,200,200,0.06);
  --font-sans: 'Inter', sans-serif;
  --font-display: "Montserrat", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Full-bleed sections + scaled hero backgrounds overflow the viewport — clip it */
html, body { overflow-x: clip; }
/* CARFAX line renders as a dimmed non-link (no real report URL to fake) */
.vehicle-history-report-disabled { opacity: 0.45; cursor: default; pointer-events: none; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.04em; line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(3rem, 7vw, 5.5rem); letter-spacing: 0.08em; }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: 0.06em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 0.5625rem; font-family: var(--font-sans); letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
p { margin-bottom: 1.5rem; font-size: 1rem; color: var(--muted); line-height: 1.8; font-weight: 600; }
a { color: var(--text); text-decoration: none; transition: color 0.4s; }
a:hover { color: var(--accent); }
.label { font-size: 0.5625rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; }
.container { max-width: 1200px; margin: 0 auto; }
.full-bleed { width: 100vw; margin-left: calc(50% - 50vw); }
.text-accent { color: var(--accent); }

::selection { background: var(--accent); color: var(--text); }
[id] { scroll-margin-top: 6rem; }

/* ─── Header ─── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,10,0.95);
  padding: 0.75rem 2rem;
  backdrop-filter: blur(20px);
  transition: background 0.4s, box-shadow 0.4s;
}
.site-header::after {
  content: ''; position: absolute; bottom: 0; left: 10%; right: 10%;
  height: 1px; background: linear-gradient(90deg, transparent, rgba(74,122,154,0.12), transparent);
}
.site-header.scrolled { background: rgba(10,10,10,0.92); box-shadow: 0 1px 0 rgba(74,122,154,0.06); }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-branding { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.25em; color: var(--text); white-space: nowrap; }
.main-navigation ul { display: flex; list-style: none; gap: 2rem; }
.main-navigation a {
  font-family: var(--font-sans); font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); transition: color 0.4s; position: relative;
}
.main-navigation a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px;
  background: var(--accent); transition: width 0.4s; opacity: 0.5;
}
.main-navigation a:hover::after { width: 100%; }
.main-navigation a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 1rem; }

/* ─── Buttons ─── */
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 4px;
  font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.2em;
  text-transform: uppercase; border: none; cursor: pointer;
  transition: all 0.3s; text-decoration: none; line-height: 1;
}
.btn-sm { padding: 10px 20px; font-size: 0.625rem; }
.btn-primary {
  background: var(--accent); color: var(--text); position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(200,200,200,0.1) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.4s;
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover { background: rgba(74,122,154,0.8); color: var(--text); transform: translateY(-2px); }
.btn-primary:active { transform: scale(0.97); }
.btn-outline {
  background: transparent; border: 1px solid rgba(74,122,154,0.2); color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ─── Brand Bar ─── */
.brand-bar {
  min-height: 80vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 120px 2rem 60px; position: relative; overflow: hidden;
}
.brand-bar-bg { position: absolute; inset: 0; z-index: 0; }
.brand-bar-image { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.55) saturate(0.8) contrast(1.05); transform: scale(1.05); transition: transform 8s; }
.brand-bar:hover .brand-bar-image { transform: scale(1.1); }
.brand-bar-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0.15) 0%, rgba(10,10,10,0.65) 100%); }
.brand-bar-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(74,122,154,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(74,122,154,0.03) 1px, transparent 1px); background-size: 60px 60px; z-index: 1; }
.brand-bar-inner { position: relative; z-index: 2; max-width: 700px; }
.brand-badge { display: inline-block; font-size: 0.5625rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.5rem; padding: 4px 16px; border: 1px solid rgba(74,122,154,0.15); border-radius: 4px; }
.brand-bar h1 { margin-bottom: 1rem; }
.brand-tagline { font-size: clamp(1rem, 2vw, 1.25rem); color: var(--muted); font-weight: 600; line-height: 1.8; margin-bottom: 2.5rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.brand-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── Scroll Indicator ─── */
.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-indicator-text { font-size: 0.5rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); font-family: var(--font-sans); }
.scroll-indicator-arrow { display: block; width: 20px; height: 20px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); animation: scroll-bounce 2s ease-in-out infinite; }
@keyframes scroll-bounce { 0%,100% { transform: rotate(45deg) translateY(0); opacity: 0.4; } 50% { transform: rotate(45deg) translateY(6px); opacity: 1; } }

/* ─── Specs Bar ─── */
.specs-bar { background: var(--surface); padding: 2.5rem 2rem; }
.specs-bar-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.spec-item { padding: 0 1rem; }
.spec-item + .spec-item { border-left: 1px solid rgba(74,122,154,0.08); }
.spec-value { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.5rem); color: var(--accent); letter-spacing: 0.04em; margin-bottom: 4px; }
.spec-label { display: block; font-size: 0.6875rem; color: var(--muted); letter-spacing: 0.15em; text-transform: uppercase; }

/* ─── Section ─── */
.section { padding: 80px 24px; }
.section-header { text-align: center; margin-bottom: 48px; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 1rem; color: var(--muted); }

/* ─── Bento Grid ─── */
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1200px; margin: 0 auto; grid-auto-flow: dense; }
.bento-item { position: relative; overflow: hidden; border-radius: 8px; min-height: 220px; }
.bento-item-wide { grid-column: span 2; }
.bento-item-tall { grid-row: span 2; }
.bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.bento-item:hover img { transform: scale(1.05); }
.bento-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,0.85) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.bento-overlay h3 { font-size: 1.25rem; margin-bottom: 4px; }
.bento-overlay p { font-size: 0.8125rem; opacity: 0.6; margin-bottom: 0; }

/* ─── Tech Section ─── */
.tech-section { background: var(--surface); padding: 80px 24px; }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.tech-card { text-align: center; padding: 2.5rem 2rem; background: rgba(10,10,10,0.3); border-radius: 8px; border: 1px solid rgba(74,122,154,0.06); transition: all 0.4s; position: relative; overflow: hidden; }
.tech-card:hover { border-color: rgba(74,122,154,0.15); transform: translateY(-4px); }
.tech-card-icon { width: 48px; height: 48px; margin: 0 auto 1rem; color: var(--accent); opacity: 0.6; }
.tech-card-icon svg { width: 100%; height: 100%; }
.tech-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.tech-card p { font-size: 0.8125rem; color: var(--muted); margin-bottom: 0; line-height: 1.7; }

/* ─── Testimonials ─── */
.testimonial-section { padding: 80px 24px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.testimonial-card { background: var(--surface); padding: 2.5rem; border: 1px solid rgba(74,122,154,0.06); border-radius: 8px; }
.testimonial-card .stars { color: var(--accent); font-size: 0.875rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-card blockquote { font-style: normal; font-size: 0.9375rem; color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }
.testimonial-card cite { font-style: normal; font-size: 0.8125rem; color: var(--accent); }

/* ─── CTA ─── */
.cta-section { text-align: center; padding: 80px 24px; background: linear-gradient(135deg, var(--surface) 0%, var(--bg) 100%); position: relative; }
.cta-section h2 { margin-bottom: 0.75rem; }
.cta-section p { color: var(--muted); max-width: 500px; margin: 0 auto 2rem; }
.cta-address { font-size: 0.75rem; opacity: 0.4; margin-top: 1rem; }

/* ─── Footer ─── */
.mega-footer { background: var(--bg); border-top: 1px solid rgba(74,122,154,0.06); padding: 80px 24px 40px; position: relative; }
.mega-footer::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0.2; }
.mega-footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.mega-footer-brand h3 { font-size: 1.5rem; margin-bottom: 12px; }
.mega-footer-brand p { font-size: 0.875rem; opacity: 0.4; line-height: 1.7; max-width: 300px; }
.mega-footer-col h4 { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 20px; opacity: 0.5; }
.mega-footer-col ul { list-style: none; }
.mega-footer-col li { margin-bottom: 10px; }
.mega-footer-col a { font-size: 0.875rem; opacity: 0.4; transition: all 0.3s; position: relative; display: inline-block; }
.mega-footer-col a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--accent); transition: width 0.4s; }
.mega-footer-col a:hover::after { width: 100%; }
.mega-footer-col a:hover { opacity: 1; color: var(--accent); }
.mega-footer-bottom { max-width: 1200px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid rgba(74,122,154,0.04); display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; opacity: 0.25; }
.mega-footer-socials { display: flex; gap: 16px; }
.mega-footer-socials a { opacity: 0.4; transition: opacity 0.3s; }
.mega-footer-socials a:hover { opacity: 1; }
.mega-footer-credit { font-size: 0.6875rem; letter-spacing: 0.08em; opacity: 0.4; }

/* ─── Back to Top ─── */

/* ─── Mobile Panel ─── */
.mobile-panel { position: fixed; inset: 0; z-index: 9998; opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.mobile-panel.active { opacity: 1; pointer-events: all; }
.mobile-panel-bg { position: absolute; inset: 0; background: rgba(10,10,10,0.6); }
.mobile-panel-content { position: absolute; top: 0; right: 0; width: 80%; max-width: 360px; height: 100%; background: var(--surface); padding: 5rem 2rem 2rem; transform: translateX(100%); transition: transform 0.4s; overflow-y: auto; }
.mobile-panel.active .mobile-panel-content { transform: translateX(0); }
.mobile-nav-menu { list-style: none; }
.mobile-nav-menu li { margin-bottom: 1rem; }
.mobile-nav-menu a { font-family: var(--font-sans); font-size: 1.125rem; color: var(--text); transition: color 0.3s; }
.mobile-nav-menu a:hover { color: var(--accent); }
.mobile-reserve-cta { margin-top: 2rem; display: block; text-align: center; }


/* ─── Menu Toggle ─── */
.menu-toggle { display: none; width: 44px; height: 44px; cursor: pointer; background: rgba(74,122,154,0.06) !important; border: 1px solid rgba(74,122,154,0.12) !important; border-radius: 50%; outline: none !important; padding: 0; align-items: center; justify-content: center; transition: all 0.4s; }
.menu-toggle:hover { background: rgba(74,122,154,0.12) !important; border-color: rgba(74,122,154,0.25) !important; transform: scale(1.05); }
.menu-toggle:active { transform: scale(0.95); }
.menu-toggle-icon { font-size: 1.25rem; line-height: 1; display: flex; align-items: center; justify-content: center; transition: transform 0.4s; color: var(--accent); }
.menu-toggle.active .menu-toggle-icon { transform: rotate(90deg); }

/* ─── Scroll Reveal ─── */
/* Default to visible. JS adds .js-reveal class to <html> to enable the
   hide-then-fade-in animation. Without that class, content is always visible
   (e.g. noscript, broken module load, slow connections). */
.reveal { transition: opacity 0.8s, transform 0.8s; }
.js-reveal .reveal:not(.reveal-visible) { opacity: 0; transform: translateY(40px); }
.reveal-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── Grain Texture ─── */
body::after { content: ''; position: fixed; inset: 0; z-index: 99999; pointer-events: none; opacity: 0.02; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-repeat: repeat; background-size: 256px 256px; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(74,122,154,0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(74,122,154,0.3); }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-item-wide { grid-column: span 2; }
  .bento-item-tall { grid-row: span 1; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .mega-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .mega-footer-brand { grid-column: span 2; }
}
@media (max-width: 768px) {
  .main-navigation { display: none; }
  .menu-toggle { display: flex; }
  .reserve-cta { display: none; }
  .site-header { padding: 0.75rem 1rem; }
  .brand-bar { min-height: 60vh; padding: 100px 1.5rem 60px; }
  .brand-bar-image { filter: brightness(0.45) saturate(0.7) contrast(1.05); }
  .specs-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .spec-item:nth-child(2) { border-left: none; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-item-wide { grid-column: 1; }
  .tech-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .mega-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .mega-footer-brand { grid-column: span 2; }
  .mega-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 480px) {
  .mega-footer-grid { grid-template-columns: 1fr; }
  .mega-footer-brand { grid-column: 1; }
  .specs-bar-inner { grid-template-columns: 1fr 1fr; }
  .brand-bar { min-height: 50vh; padding: 80px 1rem 50px; }
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .brand-bar-image { transition: none; }
  .brand-bar:hover .brand-bar-image { transform: none; }
  body::after { display: none; }
}

/* ─── Vehicle Overlay ─── */
.vehicle-overlay { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.vehicle-overlay.active { opacity: 1; pointer-events: all; }
.vehicle-overlay-bg { position: absolute; inset: 0; background: rgba(10,10,10,0.85); backdrop-filter: blur(8px); }
.vehicle-overlay-content { position: relative; max-width: 900px; width: 90%; max-height: 85vh; overflow-y: auto; background: var(--surface); border: 1px solid rgba(74,122,154,0.1); padding: 2rem; transform: translateY(20px) scale(0.97); transition: transform 0.4s; }
.vehicle-overlay.active .vehicle-overlay-content { transform: translateY(0) scale(1); }
.vehicle-overlay-close { position: absolute; top: 1rem; right: 1rem; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(74,122,154,0.1); background: rgba(10,10,10,0.5); color: var(--text); font-size: 1.25rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; z-index: 2; }
.vehicle-overlay-close:hover { background: rgba(74,122,154,0.15); }
.vehicle-overlay-body { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.vehicle-overlay-image img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.vehicle-overlay-details { display: flex; flex-direction: column; justify-content: center; }
.vehicle-overlay-details h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.75rem; }
.vehicle-overlay-desc { font-size: 0.9375rem; color: var(--muted); line-height: 1.8; margin-bottom: 1.5rem; }
.vehicle-overlay-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 1.5rem; }
.vehicle-spec { background: rgba(10,10,10,0.3); padding: 12px; text-align: center; }
.vehicle-spec-label { display: block; font-size: 0.5625rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.vehicle-spec-value { display: block; font-family: var(--font-display); font-size: 1.125rem; color: var(--accent); }
.vehicle-overlay-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── Certifications Bar ─── */
.certs-bar { background: var(--surface); padding: 2rem; border-top: 1px solid rgba(74,122,154,0.06); }
.certs-bar-inner { max-width: 800px; margin: 0 auto; display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.cert-item { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.cert-item svg { width: 20px; height: 20px; color: var(--accent); opacity: 0.6; flex-shrink: 0; }

/* ─── Showroom Section ─── */
.showroom-section { background: var(--bg); }
.showroom-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 450px; }
.showroom-image img { width: 100%; height: 100%; object-fit: cover; }
.showroom-content { padding: 4rem; display: flex; flex-direction: column; justify-content: center; }
.showroom-content h2 { margin-bottom: 1rem; }
.showroom-content p { max-width: 450px; }
.showroom-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.showroom-detail h4 { color: var(--accent); margin-bottom: 0.5rem; }
.showroom-detail p { font-size: 0.8125rem; color: var(--muted); margin-bottom: 0; line-height: 1.6; }

@media (max-width: 1024px) {
  .vehicle-overlay-body { grid-template-columns: 1fr; }
  .vehicle-overlay-image img { min-height: 200px; max-height: 300px; }
  .showroom-layout { grid-template-columns: 1fr; }
  .showroom-image { max-height: 300px; }
  .showroom-content { padding: 2.5rem 1.5rem; }
  .showroom-details { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
@media (max-width: 768px) {
  .certs-bar-inner { flex-direction: column; align-items: center; gap: 1rem; }
  .showroom-details { grid-template-columns: 1fr; gap: 1rem; }
  .vehicle-overlay-specs { grid-template-columns: 1fr 1fr; }
  .vehicle-overlay-content { padding: 1.5rem; }
}

/* ─── Quick Stats ─── */
.quick-stats { background: var(--surface); padding: 2rem; border-top: 1px solid rgba(74,122,154,0.06); }
.quick-stats-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.quick-stat { padding: 0 1rem; }
.quick-stat + .quick-stat { border-left: 1px solid rgba(74,122,154,0.08); }
.quick-stat-num { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.5rem); color: var(--accent); letter-spacing: 0.04em; margin-bottom: 4px; }
.quick-stat-lbl { display: block; font-size: 0.625rem; color: var(--muted); letter-spacing: 0.15em; text-transform: uppercase; }

/* ─── Filter Bar ─── */
.filter-bar { background: var(--bg); padding: 1.5rem 2rem; border-bottom: 1px solid rgba(74,122,154,0.06); }
.filter-bar-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 1rem; align-items: flex-end; flex-wrap: wrap; }
.filter-group { flex: 1; min-width: 140px; }
.filter-group-wide { flex: 2; min-width: 200px; }
.filter-label { display: block; font-size: 0.5625rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.filter-select, .filter-input { width: 100%; padding: 10px 12px; background: var(--surface); border: 1px solid rgba(74,122,154,0.1); color: var(--text); font-family: var(--font-sans); font-size: 0.8125rem; border-radius: 4px; }
.filter-select:focus, .filter-input:focus { border-color: var(--accent); outline: none; }

/* ─── Inventory Section ─── */
.inventory-section { padding: 60px 24px 80px; max-width: 1200px; margin: 0 auto; }
.inventory-header { text-align: center; margin-bottom: 40px; }
.inventory-header h2 { margin-bottom: 8px; }
.inventory-header p { color: var(--muted); max-width: 500px; margin: 0 auto; }
.inventory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vehicle-card { background: var(--surface); border: 1px solid rgba(74,122,154,0.06); cursor: pointer; transition: all 0.4s; position: relative; }
.vehicle-card:hover { transform: translateY(-4px); border-color: rgba(74,122,154,0.15); box-shadow: 0 20px 48px rgba(0,0,0,0.15); }
.vehicle-card-image { position: relative; overflow: hidden; }
.vehicle-card-image img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.6s; }
.vehicle-card:hover .vehicle-card-image img { transform: scale(1.05); }
.vehicle-badge { position: absolute; top: 12px; left: 12px; font-size: 0.5rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; background: var(--accent); color: #fff; border-radius: 2px; font-weight: 500; }
.vehicle-badge-sale { background: #8a4a2a; }
.vehicle-badge-featured { background: #4a7a2a; }
.vehicle-card-body { padding: 16px; }
.vehicle-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.vehicle-card-header h3 { font-size: 1.125rem; margin: 0; }
.vehicle-year { font-size: 0.75rem; color: var(--muted); font-family: var(--font-sans); }
.vehicle-card-price { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); letter-spacing: 0.02em; margin-bottom: 8px; }
.vehicle-card-specs { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.vehicle-card-specs span { font-size: 0.625rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; padding: 2px 8px; background: rgba(10,10,10,0.3); border-radius: 2px; }
.vehicle-card-desc { font-size: 0.75rem; color: var(--muted); margin-bottom: 0; line-height: 1.6; }
.inventory-footer { text-align: center; margin-top: 40px; }

/* ─── Vehicle Overlay ─── */
.vehicle-overlay { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.vehicle-overlay.active { opacity: 1; pointer-events: all; }
.vehicle-overlay-bg { position: absolute; inset: 0; background: rgba(10,10,10,0.85); backdrop-filter: blur(8px); }
.vehicle-overlay-content { position: relative; max-width: 900px; width: 90%; max-height: 85vh; overflow-y: auto; background: var(--surface); border: 1px solid rgba(74,122,154,0.1); padding: 2rem; transform: translateY(20px) scale(0.97); transition: transform 0.4s; }
.vehicle-overlay.active .vehicle-overlay-content { transform: translateY(0) scale(1); }
.vehicle-overlay-close { position: absolute; top: 1rem; right: 1rem; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(74,122,154,0.1); background: rgba(10,10,10,0.5); color: var(--text); font-size: 1.25rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; z-index: 2; }
.vehicle-overlay-close:hover { background: rgba(74,122,154,0.15); }
.vehicle-overlay-body { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.vehicle-overlay-image img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.vehicle-overlay-details { display: flex; flex-direction: column; justify-content: center; }
.vehicle-overlay-details h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.75rem; }
.vehicle-overlay-desc { font-size: 0.9375rem; color: var(--muted); line-height: 1.8; margin-bottom: 1.5rem; }
.vehicle-overlay-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 1.5rem; }
.vehicle-spec { background: rgba(10,10,10,0.3); padding: 12px; text-align: center; }
.vehicle-spec-label { display: block; font-size: 0.5625rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.vehicle-spec-value { display: block; font-family: var(--font-display); font-size: 1.125rem; color: var(--accent); }
.vehicle-overlay-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── Why Section ─── */
.why-section { background: var(--surface); padding: 80px 24px; }
.why-inner { max-width: 1000px; margin: 0 auto; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { text-align: center; padding: 2.5rem 2rem; background: rgba(10,10,10,0.3); border: 1px solid rgba(74,122,154,0.06); border-radius: 4px; transition: all 0.4s; }
.why-card:hover { border-color: rgba(74,122,154,0.15); transform: translateY(-4px); }
.why-icon { width: 48px; height: 48px; margin: 0 auto 1rem; color: var(--accent); opacity: 0.6; }
.why-icon svg { width: 100%; height: 100%; }
.why-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.8125rem; color: var(--muted); margin-bottom: 0; line-height: 1.7; }

/* ─── Schedule Section ─── */
.schedule-section { background: var(--bg); }
.schedule-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
.schedule-content { padding: 4rem; display: flex; flex-direction: column; justify-content: center; }
.schedule-content h2 { margin-bottom: 0.75rem; }
.schedule-content > p { max-width: 450px; margin-bottom: 2rem; }
.schedule-form { max-width: 500px; }
.schedule-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.schedule-form-group label { display: block; font-size: 0.5625rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.schedule-form-group input, .schedule-form-group select { width: 100%; padding: 12px; background: var(--surface); border: 1px solid rgba(74,122,154,0.1); color: var(--text); font-family: var(--font-sans); font-size: 0.875rem; border-radius: 4px; }
.schedule-form-group input:focus, .schedule-form-group select:focus { border-color: var(--accent); outline: none; }
.schedule-submit { width: 100%; margin-top: 8px; }
.schedule-image img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Trade-In ─── */
.trade-section { background: var(--surface); padding: 80px 24px; text-align: center; }
.trade-inner { max-width: 600px; margin: 0 auto; }
.trade-cta { margin-top: 2rem; }
.trade-note { font-size: 0.75rem; color: var(--muted); margin-top: 1rem; opacity: 0.6; }

/* ─── Location ─── */
.location-section { background: var(--bg); }
.location-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 450px; }
.location-content { padding: 4rem; display: flex; flex-direction: column; justify-content: center; }
.location-content h2 { margin-bottom: 0.75rem; }
.location-content > p { max-width: 450px; margin-bottom: 2rem; }
.location-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.location-detail h4 { color: var(--accent); margin-bottom: 0.5rem; }
.location-detail p { font-size: 0.8125rem; color: var(--muted); margin-bottom: 0; line-height: 1.6; }
.location-image img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .inventory-grid { grid-template-columns: repeat(2, 1fr); }
  .schedule-layout { grid-template-columns: 1fr; }
  .schedule-image { min-height: 300px; }
  .schedule-content { padding: 2.5rem 1.5rem; }
  .location-layout { grid-template-columns: 1fr; }
  .location-image { min-height: 300px; }
  .location-content { padding: 2.5rem 1.5rem; }
  .vehicle-overlay-body { grid-template-columns: 1fr; }
  .vehicle-overlay-image img { min-height: 200px; max-height: 300px; }
}
@media (max-width: 768px) {
  .quick-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .quick-stat:nth-child(2) { border-left: none; }
  .filter-bar-inner { flex-direction: column; }
  .filter-group { width: 100%; }
  .inventory-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .schedule-form-row { grid-template-columns: 1fr; }
  .location-details { grid-template-columns: 1fr; gap: 1rem; }
  .vehicle-overlay-specs { grid-template-columns: 1fr 1fr; }
  .vehicle-overlay-content { padding: 1.5rem; }
}
@media (max-width: 480px) {
  .quick-stats-inner { grid-template-columns: 1fr; }
  .quick-stat + .quick-stat { border-left: none; padding-top: 1rem; border-top: 1px solid rgba(74,122,154,0.08); }
}

/* ─── Brand Ticker ─── */
.brand-ticker { background: var(--bg); padding: 1.25rem 0; overflow: hidden; border-top: 1px solid rgba(74,122,154,0.04); border-bottom: 1px solid rgba(74,122,154,0.04); }
.brand-ticker-track { display: flex; gap: 2.5rem; animation: ticker-scroll 30s linear infinite; white-space: nowrap; width: max-content; }
.brand-ticker-track span { font-family: var(--font-display); font-size: 0.8125rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); opacity: 0.85; transition: opacity 0.4s; }
.brand-ticker-track span:hover { opacity: 1; color: var(--accent); }
.ticker-dot { color: var(--accent); opacity: 0.3; font-size: 0.5rem; }
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ─── Certs Bar ─── */
.certs-bar { background: var(--surface); padding: 1.5rem 2rem; border-bottom: 1px solid rgba(74,122,154,0.06); }
.certs-bar-inner { max-width: 1000px; margin: 0 auto; display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.cert-item { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; }
.cert-item svg { width: 18px; height: 18px; color: var(--accent); opacity: 0.5; flex-shrink: 0; }

/* ─── New Arrivals ─── */
.arrivals-section { background: var(--bg); padding: 80px 24px; }
.arrivals-inner { max-width: 1100px; margin: 0 auto; }
.arrivals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.arrival-card { background: var(--surface); border: 1px solid rgba(74,122,154,0.06); overflow: hidden; transition: all 0.4s; }
.arrival-card:hover { transform: translateY(-6px); border-color: rgba(74,122,154,0.15); box-shadow: 0 24px 56px rgba(0,0,0,0.2); }
.arrival-image { position: relative; overflow: hidden; }
.arrival-image img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.6s; }
.arrival-card:hover .arrival-image img { transform: scale(1.08); }
.arrival-countdown { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(10,10,10,0.9)); padding: 2rem 1rem 0.75rem; text-align: center; }
.countdown-label { display: block; font-size: 0.5rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.countdown-display { font-family: var(--font-display); font-size: 1.125rem; color: var(--text); letter-spacing: 0.08em; }
.arrival-body { padding: 1.25rem; }
.arrival-badge { display: inline-block; font-size: 0.5rem; letter-spacing: 0.15em; text-transform: uppercase; padding: 3px 8px; background: rgba(74,122,154,0.1); color: var(--accent); border-radius: 2px; margin-bottom: 8px; }
.arrival-body h3 { font-size: 1.125rem; margin-bottom: 8px; }
.arrival-specs { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.arrival-specs span { font-size: 0.625rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; padding: 2px 8px; background: rgba(10,10,10,0.3); border-radius: 2px; }
.arrival-desc { font-size: 0.75rem; color: var(--muted); margin-bottom: 12px; line-height: 1.6; }
.notify-btn { width: 100%; text-align: center; }

/* ─── VIP Concierge ─── */
.vip-section { background: var(--surface); padding: 80px 24px; position: relative; }
.vip-section::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0.15; }
.vip-inner { max-width: 1100px; margin: 0 auto; }
.vip-features { display: flex; justify-content: center; gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap; }
.vip-feature { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.8125rem; letter-spacing: 0.08em; }
.vip-feature svg { width: 20px; height: 20px; color: var(--accent); opacity: 0.5; }
.vip-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vip-card { background: rgba(10,10,10,0.3); border: 1px solid rgba(74,122,154,0.06); padding: 2rem; text-align: center; border-radius: 4px; transition: all 0.4s; position: relative; display: flex; flex-direction: column; }
.vip-card:hover { border-color: rgba(74,122,154,0.15); transform: translateY(-4px); }
.vip-card-featured { border-color: rgba(74,122,154,0.15); background: rgba(10,10,10,0.4); transform: scale(1.05); z-index: 2; }
.vip-card-featured:hover { transform: scale(1.05) translateY(-4px); }
.vip-card-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: 0.5rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 4px 16px; background: var(--accent); color: var(--text); border-radius: 2px; white-space: nowrap; }
.vip-card-header { margin-bottom: 1.5rem; }
.vip-tier-name { display: block; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.15em; margin-bottom: 8px; }
.vip-tier-price { display: block; font-family: var(--font-display); font-size: 2.5rem; color: var(--accent); letter-spacing: 0.04em; }
.vip-tier-period { font-size: 0.75rem; color: var(--muted); font-family: var(--font-sans); letter-spacing: 0.1em; margin-left: 4px; }
.vip-perks { list-style: none; margin-bottom: 2rem; flex: 1; }
.vip-perks li { padding: 8px 0; font-size: 0.8125rem; color: var(--muted); border-bottom: 1px solid rgba(74,122,154,0.04); }
.vip-perks li:last-child { border-bottom: none; }
.vip-card .btn { width: 100%; }

/* ─── Trade-In Wizard ─── */
.trade-section { background: var(--surface); padding: 80px 24px; text-align: center; }
.trade-inner { max-width: 600px; margin: 0 auto; }
.trade-wizard { margin-top: 2rem; }
.trade-steps { margin-bottom: 2rem; }
.trade-step-indicator { display: flex; align-items: center; justify-content: center; gap: 0; }
.trade-step-dot { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 500; background: rgba(74,122,154,0.06); color: var(--muted); border: 1px solid rgba(74,122,154,0.1); transition: all 0.4s; }
.trade-step-dot.active { background: var(--accent); color: var(--text); border-color: var(--accent); }
.trade-step-line { width: 60px; height: 1px; background: rgba(74,122,154,0.1); }
.trade-step-content { display: none; text-align: left; }
.trade-step-content.active { display: block; }
.trade-step-content h3 { margin-bottom: 1.5rem; text-align: center; }
.trade-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.trade-form-group label { display: block; font-size: 0.5625rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.trade-form-group select, .trade-form-group input { width: 100%; padding: 12px; background: var(--bg); border: 1px solid rgba(74,122,154,0.1); color: var(--text); font-family: var(--font-sans); font-size: 0.875rem; border-radius: 4px; }
.trade-form-group select:focus, .trade-form-group input:focus { border-color: var(--accent); outline: none; }
.trade-condition-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 1.5rem; }
.trade-condition input { position: absolute; opacity: 0; }
.trade-condition-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 1.5rem 1rem; background: var(--bg); border: 1px solid rgba(74,122,154,0.06); border-radius: 4px; cursor: pointer; transition: all 0.3s; }
.trade-condition input:checked + .trade-condition-card { border-color: var(--accent); background: rgba(74,122,154,0.06); }
.trade-condition-card svg { width: 28px; height: 28px; color: var(--accent); opacity: 0.5; }
.trade-condition-card strong { font-size: 0.875rem; }
.trade-condition-card span { font-size: 0.6875rem; color: var(--muted); }
.trade-nav { display: flex; gap: 12px; justify-content: center; margin-top: 1.5rem; }
.trade-result { text-align: center; padding: 2rem; background: rgba(10,10,10,0.3); border: 1px solid rgba(74,122,154,0.06); border-radius: 4px; margin-bottom: 1.5rem; }
.trade-result-label { display: block; font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.trade-result-amount { display: block; font-family: var(--font-display); font-size: 3rem; color: var(--accent); letter-spacing: 0.04em; margin-bottom: 8px; }
.trade-result-note { font-size: 0.75rem; color: var(--muted); opacity: 0.6; margin-bottom: 0; }

/* ─── Financing Calculator ─── */
.finance-section { background: var(--bg); padding: 80px 24px; }
.finance-inner { max-width: 1000px; margin: 0 auto; }
.finance-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.finance-group { margin-bottom: 1.5rem; }
.finance-group label { display: block; font-size: 0.5625rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.finance-slider-wrap { display: flex; align-items: center; gap: 1rem; }
.finance-slider { flex: 1; -webkit-appearance: none; appearance: none; height: 4px; background: rgba(74,122,154,0.1); border-radius: 2px; outline: none; }
.finance-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); cursor: pointer; border: 2px solid var(--bg); box-shadow: 0 0 0 1px rgba(74,122,154,0.2); }
.finance-value { font-family: var(--font-display); font-size: 1.125rem; color: var(--accent); min-width: 80px; text-align: right; letter-spacing: 0.04em; }
.finance-term-options { display: flex; gap: 8px; }
.finance-term { padding: 8px 16px; background: var(--surface); border: 1px solid rgba(74,122,154,0.1); color: var(--muted); font-family: var(--font-sans); font-size: 0.75rem; cursor: pointer; border-radius: 4px; transition: all 0.3s; }
.finance-term:hover { border-color: rgba(74,122,154,0.2); }
.finance-term.active { background: var(--accent); color: var(--text); border-color: var(--accent); }
.finance-credit { width: 100%; padding: 12px; background: var(--surface); border: 1px solid rgba(74,122,154,0.1); color: var(--text); font-family: var(--font-sans); font-size: 0.8125rem; border-radius: 4px; }
.finance-credit:focus { border-color: var(--accent); outline: none; }
.finance-result-card { background: var(--surface); border: 1px solid rgba(74,122,154,0.06); padding: 2.5rem; text-align: center; border-radius: 4px; }
.finance-result-label { display: block; font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.finance-result-amount { display: block; font-family: var(--font-display); font-size: 3rem; color: var(--accent); letter-spacing: 0.04em; margin-bottom: 1.5rem; }
.finance-breakdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 1.5rem; }
.finance-breakdown-item { background: rgba(10,10,10,0.3); padding: 12px; border-radius: 4px; }
.finance-bd-label { display: block; font-size: 0.5rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.finance-bd-value { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--text); }
.finance-cta { width: 100%; }
.finance-disclaimer { font-size: 0.625rem; color: var(--muted); opacity: 0.9; margin-top: 1rem; margin-bottom: 0; }

/* ─── Social Proof / Instagram ─── */
.social-section { background: var(--bg); padding: 80px 24px; }
.social-inner { max-width: 1000px; margin: 0 auto; }
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.social-post { position: relative; overflow: hidden; aspect-ratio: 1; cursor: pointer; }
.social-post img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.social-post:hover img { transform: scale(1.08); }
.social-overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.6); display: flex; align-items: center; justify-content: center; gap: 1.5rem; opacity: 0; transition: opacity 0.4s; }
.social-post:hover .social-overlay { opacity: 1; }
.social-likes, .social-comments { font-size: 0.8125rem; color: var(--text); }
.social-footer { text-align: center; margin-top: 2rem; }

/* ─── Service Department ─── */
.service-section { background: var(--surface); }
.service-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 450px; }
.service-content { padding: 4rem; display: flex; flex-direction: column; justify-content: center; }
.service-content h2 { margin-bottom: 0.75rem; }
.service-content > p { max-width: 450px; margin-bottom: 2rem; }
.service-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 2rem; }
.service-feature { display: flex; align-items: center; gap: 10px; font-size: 0.8125rem; color: var(--muted); }
.service-feature svg { width: 20px; height: 20px; color: var(--accent); opacity: 0.5; flex-shrink: 0; }
.service-image img { width: 100%; height: 100%; object-fit: cover; }
.service-content .btn { align-self: flex-start; }

/* ─── Newsletter ─── */
.newsletter-section { background: var(--bg); padding: 80px 24px; text-align: center; border-top: 1px solid rgba(74,122,154,0.04); }
.newsletter-inner { max-width: 500px; margin: 0 auto; }
.newsletter-inner h2 { margin-bottom: 0.75rem; }
.newsletter-inner > p { margin-bottom: 2rem; }
.newsletter-input-wrap { display: flex; gap: 0; border: 1px solid rgba(74,122,154,0.1); border-radius: 4px; overflow: hidden; }
.newsletter-input { flex: 1; padding: 14px 16px; background: var(--surface); border: none; color: var(--text); font-family: var(--font-sans); font-size: 0.875rem; }
.newsletter-input:focus { outline: none; }
.newsletter-input::placeholder { color: var(--muted); opacity: 0.5; }
.newsletter-submit { border-radius: 0; }
.newsletter-disclaimer { font-size: 0.625rem; color: var(--muted); opacity: 0.4; margin-top: 1rem; margin-bottom: 0; }

/* ─── Floating Action Bar ─── */
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #4a7a2a; animation: live-pulse 2s ease-in-out infinite; }
@keyframes live-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.live-text { font-family: var(--font-display); font-size: 0.8125rem; color: var(--accent); }
.live-label { font-size: 0.5rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ─── Responsive Additions ─── */
@media (max-width: 1024px) {
  .arrivals-grid { grid-template-columns: repeat(2, 1fr); }
  .vip-tiers { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .vip-card-featured { transform: none; }
  .vip-card-featured:hover { transform: translateY(-4px); }
  .finance-layout { grid-template-columns: 1fr; gap: 2rem; }
  .service-layout { grid-template-columns: 1fr; }
  .service-image { min-height: 300px; }
  .service-content { padding: 2.5rem 1.5rem; }
  .social-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .certs-bar-inner { flex-direction: column; align-items: center; gap: 1rem; }
  .arrivals-grid { grid-template-columns: 1fr; }
  .vip-features { flex-direction: column; align-items: center; }
  .trade-form-row { grid-template-columns: 1fr; }
  .trade-condition-options { grid-template-columns: 1fr; }
  .finance-breakdown { grid-template-columns: 1fr; }
  .finance-term-options { flex-wrap: wrap; }
  .service-features { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .social-grid { grid-template-columns: 1fr 1fr; }
  .brand-ticker-track span { font-size: 0.6875rem; }
}



/* ─── Automart Desktop Nav ─── */


/* ─── Navigation ─── */




/* ─── SPA Smooth Transitions ─── */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.js-reveal .reveal:not(.reveal-visible) { opacity: 0; transform: translateY(30px); }
.reveal-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }



/* ─── Bottom Bar (mobile only) ─── */
.bottom-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 9997; background: rgba(10,10,10,0.95); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-top: 1px solid rgba(255,255,255,0.06); justify-content: center; align-items: center; gap: 0; padding: 8px 0; padding-bottom: max(8px, env(safe-area-inset-bottom)); }
.bottom-item { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--muted); font-size: 9px; letter-spacing: 0.5px; text-decoration: none; transition: color 0.3s; padding: 4px 16px; border: none; background: none; cursor: pointer; }
.bottom-item svg { width: 20px; height: 20px; }
.bottom-item:hover, .bottom-item.active { color: var(--accent); }
@media (min-width: 769px) { .bottom-bar { display: none; } }

.top-btn { position: fixed; bottom: 80px; right: 20px; z-index: 9996; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); background: rgba(10,10,10,0.8); color: var(--muted); font-size: 1.25rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; opacity: 0; pointer-events: none; }
.top-btn.visible { opacity: 1; pointer-events: auto; }
.top-btn:hover { color: var(--accent); border-color: var(--accent); }


/* ─── Inline Nav ─── */
.inline-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem; margin: 1.5rem 0 2rem; }
.inline-nav-link { font-family: 'Montserrat', sans-serif; font-size: 0.6875rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.3s; padding: 0.25rem 0.5rem; }
.inline-nav-link:hover { color: var(--accent, #4a7a9a); }
.inline-nav-dot { color: var(--muted); opacity: 0.3; font-size: 0.75rem; }
@media (max-width: 768px) { .inline-nav { gap: 0; } .inline-nav-link { font-size: 0.625rem; padding: 0.25rem; } }


/* ─── Sticky Nav (scroll-triggered) ─── */
.sticky-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 9999; background: rgba(10,10,10,0.92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 0 1.5rem; height: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; transition: height 0.4s cubic-bezier(0.25,0.46,0.45,0.94), opacity 0.3s; opacity: 0; }
.sticky-nav.visible { height: 48px; opacity: 1; }
.sticky-nav-inner { display: flex; align-items: center; justify-content: center; gap: 0.25rem; max-width: 1200px; width: 100%; }
.sticky-nav-link { font-size: 0.6875rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.3s; padding: 0.5rem 1rem; }
.sticky-nav-link:hover { color: var(--accent); }
.sticky-nav-dot { color: var(--muted); opacity: 0.2; font-size: 0.75rem; }
@media (max-width: 768px) { .sticky-nav { display: none; } }



/* ─── Extra Animations ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

.anim-fade-up { animation: fadeUp 0.8s ease forwards; }
.anim-fade-in { animation: fadeIn 0.6s ease forwards; }
.anim-slide-down { animation: slideDown 0.5s ease forwards; }
.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.3s; }
.anim-delay-4 { animation-delay: 0.4s; }
.anim-delay-5 { animation-delay: 0.5s; }

/* Hero image subtle zoom on load */
.brand-bar-image { animation: heroZoom 8s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }

/* Section transitions */
.section { animation: fadeIn 0.8s ease forwards; }


/* ─── Automart Hero Vibrancy ─── */
.brand-badge { background: linear-gradient(135deg, #4a7a9a, #6ba3c4); color: #fff; padding: 4px 14px; border-radius: 20px; font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; display: inline-block; margin-bottom: 1rem; font-weight: 500; }
.brand-bar-inner h1 { font-weight: 700; letter-spacing: -0.02em; }
.text-accent { color: #6ba3c4; font-weight: 500; letter-spacing: -0.01em; }
.brand-tagline { font-weight: 400; font-size: 1rem; line-height: 1.5; max-width: 500px; }

/* ─── Contact Form 7 ─── */
.wpcf7-form {
    max-width: 100%;
}
.wpcf7-form p {
    margin-bottom: 1rem;
}
.wpcf7-form label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    font-weight: 500;
}
.wpcf7-text,
.wpcf7-email,
.wpcf7-tel,
.wpcf7-select,
.wpcf7-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(128,128,128,0.3);
    border-radius: 0;
    font-family: inherit;
    font-size: 0.9375rem;
    background: transparent;
    color: inherit;
    transition: border-color 0.3s;
}
.wpcf7-text:focus,
.wpcf7-email:focus,
.wpcf7-tel:focus,
.wpcf7-select:focus,
.wpcf7-textarea:focus {
    outline: none;
    border-color: #8a8a8a;
    box-shadow: 0 0 0 1px #8a8a8a;
}
.wpcf7-submit {
    display: inline-block;
    padding: 14px 32px;
    border: none;
    border-radius: 0;
    font-family: inherit;
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    background: #8a8a8a;
    color: #fff;
    font-weight: 600;
}
.wpcf7-submit:hover {
    opacity: 0.85;
}
.wpcf7-not-valid {
    border-color: #e63946 !important;
}
.wpcf7-not-valid-tip {
    color: #e63946;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}
.wpcf7-response-output {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid;
    border-radius: 0;
    font-size: 0.875rem;
}
.wpcf7-mail-sent-ok {
    border-color: #2ecc71;
    background: rgba(46,204,113,0.1);
}
.wpcf7-validation-errors,
.wpcf7-spam-blocked {
    border-color: #e67e22;
    background: rgba(230,126,34,0.1);
}

/* ─── WooCommerce Overrides ─── */
.woocommerce-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}
.woocommerce .woocommerce-breadcrumb {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}
.woocommerce .woocommerce-breadcrumb a {
    color: inherit;
    text-decoration: none;
}
.woocommerce span.onsale {
    background: #8a8a8a;
    border-radius: 0;
    min-height: auto;
    min-width: auto;
    padding: 0.25rem 0.75rem;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.5;
}
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}
.woocommerce ul.products li.product {
    background: transparent;
    border: none;
    text-align: left;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}
.woocommerce ul.products li.product a img {
    margin-bottom: 1rem;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.125rem;
    font-weight: 600;
    padding: 0;
    color: inherit;
}
.woocommerce ul.products li.product .price {
    color: #8a8a8a;
    font-size: 1rem;
    font-weight: 600;
}
.woocommerce ul.products li.product .button {
    margin-top: 0.75rem;
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #8a8a8a;
    border-radius: 0;
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: transparent;
    color: #8a8a8a;
    font-weight: 600;
    transition: all 0.3s;
}
.woocommerce ul.products li.product .button:hover {
    background: #8a8a8a;
    color: #fff;
}
.woocommerce div.product .product_title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.woocommerce div.product .price {
    color: #8a8a8a;
    font-size: 1.5rem;
    font-weight: 600;
}
.woocommerce div.product .summary {
    margin-bottom: 2rem;
}
.woocommerce-tabs {
    border-top: 1px solid rgba(128,128,128,0.2);
    padding-top: 2rem;
    margin-top: 2rem;
}
.woocommerce button.button.alt {
    background: #8a8a8a !important;
    color: #fff !important;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    padding: 14px 28px;
}
.woocommerce button.button.alt:hover {
    opacity: 0.85;
}
.woocommerce-cart .cart th {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
}
.woocommerce-checkout .form-row label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ─── Blog Page ─── */
.blog-hero { padding: 8rem 1.5rem 3rem; text-align: center; }
.blog-hero-inner { max-width: 800px; margin: 0 auto; }
.blog-hero-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: 0.02em; margin: 0 0 0.5rem; color: var(--text); }
.blog-hero-sub { font-size: 0.875rem; color: var(--muted); letter-spacing: 0.05em; }
.blog-content { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem 4rem; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.blog-card { background: var(--surface); border: 1px solid rgba(74,122,154,0.06); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.blog-card-image { display: block; overflow: hidden; aspect-ratio: 16/9; }
.blog-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-card-img { transform: scale(1.05); }
.blog-card-body { padding: 1.5rem; }
.blog-card-meta { display: flex; gap: 1rem; font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.5rem; }
.blog-card-title { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.3; margin: 0 0 0.75rem; }
.blog-card-title a { color: var(--text); text-decoration: none; }
.blog-card-title a:hover { color: var(--accent); }
.blog-card-excerpt { font-size: 0.875rem; line-height: 1.6; color: var(--muted); margin: 0 0 1rem; }
.blog-card-link { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); text-decoration: none; }
.blog-card-link:hover { opacity: 0.8; }
.blog-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 4rem 0; }
.blog-pagination { margin-top: 3rem; display: flex; justify-content: center; }
.blog-pagination ul { display: flex; list-style: none; gap: 0.5rem; margin: 0; padding: 0; }
.blog-pagination li { margin: 0; }
.blog-pagination a, .blog-pagination span { display: block; padding: 0.5rem 1rem; border: 1px solid rgba(74,122,154,0.1); font-size: 0.8125rem; color: var(--text); text-decoration: none; transition: all 0.2s; }
.blog-pagination a:hover { border-color: var(--accent); color: var(--accent); }
.blog-pagination .current span { background: var(--accent); border-color: var(--accent); color: var(--bg); }
@media (max-width: 768px) { .blog-hero { padding: 6rem 1rem 2rem; } .blog-grid { grid-template-columns: 1fr; } }

/* ─── Single Post ─── */
.single-section { padding: 120px 24px 80px; }
.single-article { max-width: 720px; margin: 0 auto; }
.single-title { margin-bottom: 0.5rem; }
.single-meta { margin-bottom: 2rem; font-size: 0.8125rem; color: var(--muted); letter-spacing: 0.05em; }
.single-meta a { color: var(--muted); }
.single-meta a:hover { color: var(--accent); }
.single-thumbnail { margin-bottom: 2rem; }
.single-thumbnail img { width: 100%; height: auto; }
.single-content { font-size: 1rem; line-height: 1.9; }
.single-content p { margin-bottom: 1.5rem; }

/* ─── Category Filter ─── */
.category-filter {
    text-align: center;
    margin-bottom: 2rem;
}
.category-filter select {
    padding: 10px 16px;
    background: var(--surface);
    border: 1px solid rgba(74,122,154,0.1);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    border-radius: 4px;
    min-width: 220px;
    cursor: pointer;
}
.category-filter select:focus {
    border-color: var(--accent);
    outline: none;
}

/* ─── Author Info ─── */
.author-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--surface);
    border: 1px solid rgba(74,122,154,0.06);
    border-radius: 4px;
}
.author-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(74,122,154,0.1);
}
.author-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
    color: var(--text);
}
.author-bio {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}
@media (max-width: 768px) {
    .author-info {
        flex-direction: column;
        text-align: center;
    }
}

/* ─── Related Posts ─── */
.related-posts {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(74,122,154,0.06);
}
.related-posts-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    margin-bottom: 1.5rem;
    color: var(--text);
}
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.related-post-card {
    background: var(--surface);
    border: 1px solid rgba(74,122,154,0.06);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.related-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.related-post-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
}
.related-post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.related-post-card:hover .related-post-img {
    transform: scale(1.05);
}
.related-post-body {
    padding: 1rem;
}
.related-post-title {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    line-height: 1.3;
    margin: 0 0 0.5rem;
}
.related-post-title a {
    color: var(--text);
    text-decoration: none;
}
.related-post-title a:hover {
    color: var(--accent);
}
.related-post-date {
    font-size: 0.6875rem;
    color: var(--muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── Single Post Navigation ─── */
.single-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(74,122,154,0.06);
}
.single-nav a {
    font-size: 0.8125rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s;
    max-width: 45%;
}
.single-nav a:hover {
    color: var(--accent);
}

/* === ACCESSIBILITY === */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; padding: 1rem; background: #000; color: #fff; text-decoration: none; }
.skip-link:focus { left: 0; clip: auto; width: auto; height: auto; overflow: visible; }
:focus-visible { outline: 2px solid var(--accent, #8a8a8a); outline-offset: 2px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent, #8a8a8a); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }


/* ─── Signature Credit ─── */
.sig-credit {
  position: fixed;
  bottom: 0.5rem;
  right: 1rem;
  z-index: 9999;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: normal;
  font-size: 0.6875rem;
  letter-spacing: 0.03em;
  color: rgba(128,128,128,0.35);
  pointer-events: none;
}
.sig-credit a {
  color: rgba(128,128,128,0.35);
  text-decoration: none;
  pointer-events: auto;
  transition: color 0.3s;
}
.sig-credit a:hover {
  color: rgba(128,128,128,0.7);
}

/* ─── WooCommerce — Automart Styled ─── */
.woocommerce-page .page-title {
    font-family: 'Oswald', sans-serif;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 2rem;
}
.woocommerce ul.products li.product {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(128,128,128,0.08);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}
.woocommerce ul.products li.product:hover {
    border-color: #4a7a9a;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Oswald', sans-serif !important;
    color: #f0f0f0 !important;
}
.woocommerce ul.products li.product .price {
    color: #4a7a9a !important;
}
.woocommerce ul.products li.product .button {
    border: 1px solid #4a7a9a !important;
    border-radius: 0px !important;
    color: #4a7a9a !important;
    background: transparent !important;
}
.woocommerce ul.products li.product .button:hover {
    background: #4a7a9a !important;
    color: #0a0a0a !important;
}
.woocommerce div.product .product_title {
    font-family: 'Oswald', sans-serif !important;
    color: #f0f0f0 !important;
}
.woocommerce div.product .price {
    color: #4a7a9a !important;
}
.woocommerce div.product .single_add_to_cart_button {
    background: #4a7a9a !important;
    color: #0a0a0a !important;
    border-radius: 0px !important;
    font-family: 'Inter', sans-serif !important;
}
.woocommerce div.product .single_add_to_cart_button:hover {
    opacity: 0.85 !important;
}
.woocommerce-cart .cart th {
    color: #8a8a8a !important;
    font-family: 'Inter', sans-serif !important;
}
.woocommerce-cart .cart .product-subtotal {
    color: #4a7a9a !important;
}
.woocommerce-cart .wc-proceed-to-checkout a {
    background: #4a7a9a !important;
    color: #0a0a0a !important;
    border-radius: 0px !important;
    font-family: 'Inter', sans-serif !important;
}
.woocommerce-cart .cart .actions .button {
    background: #4a7a9a !important;
    color: #0a0a0a !important;
    border-radius: 0px !important;
}
.woocommerce-checkout h3 {
    font-family: 'Oswald', sans-serif !important;
    color: #f0f0f0 !important;
}
.woocommerce-checkout #place_order {
    background: #4a7a9a !important;
    color: #0a0a0a !important;
    border-radius: 0px !important;
    font-family: 'Inter', sans-serif !important;
}
.woocommerce-checkout .form-row label {
    color: #8a8a8a !important;
    font-family: 'Inter', sans-serif !important;
}
.woocommerce-checkout .form-row input {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(128,128,128,0.15) !important;
    border-radius: 4px !important;
    color: #f0f0f0 !important;
}

/* ─── CF7 — Automart Styled ─── */
.wpcf7-text, .wpcf7-email, .wpcf7-tel, .wpcf7-select, .wpcf7-textarea {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(128,128,128,0.15) !important;
    border-radius: 4px !important;
    color: #f0f0f0 !important;
    font-family: 'Inter', sans-serif !important;
}
.wpcf7-text:focus, .wpcf7-email:focus, .wpcf7-textarea:focus {
    border-color: #4a7a9a !important;
    box-shadow: 0 0 0 1px #4a7a9a !important;
}
.wpcf7-submit {
    background: #4a7a9a !important;
    color: #0a0a0a !important;
    border-radius: 0px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    padding: 14px 32px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
}
.wpcf7-submit:hover {
    opacity: 0.85 !important;
}
.wpcf7-form label {
    font-family: 'Inter', sans-serif !important;
    color: #8a8a8a !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
}
.wpcf7-form .wpcf7-not-valid-tip {
    color: #e63946 !important;
}
.wpcf7-form .wpcf7-response-output {
    border-radius: 4px !important;
}

/* === Breadcrumb (Round 2) === */
.vehicle-breadcrumb { font-size: 0.875rem; padding: 1.5rem 2rem; max-width: 1280px; margin: 0 auto; color: var(--text-muted, #6b7280); }
.vehicle-breadcrumb a { color: var(--text-muted, #6b7280); text-decoration: none; }
.vehicle-breadcrumb a:hover { color: var(--accent, #c53030); }
.vehicle-breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.vehicle-breadcrumb-current { color: var(--text, #111); font-weight: 500; }
.vehicle-related { padding: 4rem 2rem; max-width: 1280px; margin: 0 auto; }
.vehicle-related h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 2rem; margin-bottom: 2rem; text-align: center; }
.vehicle-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.vehicle-related-card { background: #f7f7f7; padding: 1.5rem; border-radius: 8px; text-align: center; text-decoration: none; color: inherit; transition: transform .2s; }
.vehicle-related-card:hover { transform: translateY(-4px); }
.vehicle-related-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; margin-bottom: 1rem; }
.vehicle-related-card-name { font-weight: 600; margin-bottom: 0.25rem; }
.vehicle-related-card-price { color: var(--accent, #c53030); font-weight: 700; }

/* === Site Footer === */
.site-footer { background: #0a0a0a; color: #d4d4d4; padding: 4rem 2rem 1rem; }
.site-footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; }

/* ── Bulk page chrome (page.php) ── */
.page-hero { padding: 6rem 2rem 4rem; max-width: 1280px; margin: 0 auto; }
.page-hero-inner { max-width: 1200px; }
.page-hero-label { display: block; font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: #a3a3a3; margin-bottom: 1rem; }
.page-hero-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 400; line-height: 1.1; margin: 0 0 1.5rem; color: #fff; }
.page-hero-sub { font-size: 1.05rem; color: #a3a3a3; max-width: 600px; line-height: 1.6; }
.page-content { padding: 4rem 2rem; max-width: 1280px; margin: 0 auto; }
.page-content-inner { max-width: 1200px; margin: 0 auto; }
/* Bulk page typography — h2, h3, p, lists, tables, accordions. */
.page-content-inner h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  margin: 3rem 0 1.25rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.page-content-inner h2:first-child { margin-top: 0; }
.page-content-inner h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.3;
  margin: 2rem 0 0.75rem;
  color: #fff;
}
.page-content-inner p,
.page-content-inner li,
.page-content-inner dd,
.page-content-inner td,
.page-content-inner th {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #c8c8c8;
  margin: 0 0 1rem;
}
.page-content-inner a {
  color: #6ba3c4;
  text-decoration: none;
  border-bottom: 1px solid rgba(107,163,196,0.35);
  transition: border-color 0.2s, color 0.2s;
}
.page-content-inner a:hover { color: #9fc3da; border-bottom-color: #9fc3da; }
.page-content-inner ul,
.page-content-inner ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}
.page-content-inner ul { list-style: disc; }
.page-content-inner ol { list-style: decimal; }
.page-content-inner li { margin-bottom: 0.5rem; padding-left: 0.25rem; }
.page-content-inner li::marker { color: #6ba3c4; }
.page-content-inner blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid #6ba3c4;
  background: rgba(107,163,196,0.05);
  font-style: normal;
  color: #d0d0d0;
}
.page-content-inner table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 2rem;
  font-size: 0.95rem;
}
.page-content-inner thead { background: rgba(107,163,196,0.08); }
.page-content-inner th,
.page-content-inner td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.page-content-inner th { color: #fff; font-weight: 600; }
.page-content-inner tr:hover td { background: rgba(255,255,255,0.02); }
/* Accordion details/summary (FAQ) */
.page-content-inner details {
  margin: 0 0 0.75rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  background: rgba(255,255,255,0.02);
}
.page-content-inner details summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 500;
  color: #fff;
  list-style: none;
  position: relative;
}
.page-content-inner details summary::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6ba3c4;
  font-size: 1.25rem;
  font-weight: 300;
}
.page-content-inner details[open] summary::after { content: '−'; }
.page-content-inner details > *:not(summary) { padding: 0 1.25rem 1.25rem; }
.page-content-inner hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 2.5rem 0;
}
.page-content-inner strong { color: #fff; font-weight: 600; }
.page-content-inner code {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.9em;
  background: rgba(255,255,255,0.06);
  padding: 0.15em 0.4em;
  border-radius: 3px;
  color: #f0c674;
}

/* Themed content blocks per page slug */
.page-themed-block { padding: 5rem 2rem; max-width: 1280px; margin: 0 auto; }
.page-themed-inner { max-width: 1200px; margin: 0 auto; }
.page-themed-inner .section-header { text-align: center; margin-bottom: 3rem; }
.page-themed-inner .section-header .label { display: block; font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: #a3a3a3; margin-bottom: 1rem; }
.page-themed-inner .section-header h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; line-height: 1.15; margin: 0 0 1rem; color: #fff; }
.page-themed-inner .section-header .section-sub { font-size: 1.05rem; color: #a3a3a3; max-width: 600px; margin: 0 auto; line-height: 1.6; }
.page-themed-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.page-themed-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 2rem 1.75rem;
  transition: border-color 0.25s, background 0.25s;
}
.page-themed-card:hover { border-color: rgba(107,163,196,0.4); background: rgba(107,163,196,0.04); }
.page-themed-card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #6ba3c4;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  display: block;
}
.page-themed-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: #fff;
  line-height: 1.3;
}
.page-themed-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #b0b0b0;
  line-height: 1.6;
  margin: 0;
}
.page-themed-cta { text-align: center; margin-top: 3rem; }
@media (max-width: 768px) {
  .page-themed-grid { grid-template-columns: 1fr; gap: 1rem; }
  .page-themed-block { padding: 3rem 1.25rem; }
  .page-themed-card { padding: 1.5rem 1.25rem; }
}

/* ─── Finance page (page-financing.php) ─── */
.finance-section { padding: 4rem 2rem; max-width: 1280px; margin: 0 auto; }
.finance-step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.finance-step {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 2rem 1.5rem;
  position: relative;
  transition: border-color 0.25s, background 0.25s;
}
.finance-step:hover { border-color: rgba(107,163,196,0.4); background: rgba(107,163,196,0.04); }
.finance-step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.5rem;
  font-weight: 300;
  color: #6ba3c4;
  display: block;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.finance-step h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.finance-step p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #b0b0b0;
  line-height: 1.6;
  margin: 0;
}
.finance-form-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(107,163,196,0.2);
  border-radius: 4px;
  padding: 3rem 2.5rem;
  margin-top: 2rem;
}
.finance-form-card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  color: #fff;
  margin: 0 0 1.5rem;
}
.finance-rates {
  padding: 4rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}
.section-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: #fff;
  margin: 0 0 2rem;
  letter-spacing: -0.01em;
}
.finance-rates-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}
.finance-rates-table thead { background: rgba(107,163,196,0.1); }
.finance-rates-table th,
.finance-rates-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.finance-rates-table th { color: #fff; font-weight: 600; }
.finance-rates-table tbody tr:hover td { background: rgba(255,255,255,0.02); }
.finance-disclaimer {
  font-size: 0.85rem;
  color: #888;
  font-style: normal;
  margin-top: 1rem;
}
.finance-faq {
  padding: 4rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}
.finance-faq .section-heading { margin-bottom: 2rem; }
.finance-faq details {
  margin: 0 0 0.75rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  background: rgba(255,255,255,0.02);
}
.finance-faq details summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 500;
  color: #fff;
  list-style: none;
  position: relative;
  font-family: 'Inter', sans-serif;
}
.finance-faq details summary::-webkit-details-marker { display: none; }
.finance-faq details summary::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6ba3c4;
  font-size: 1.25rem;
  font-weight: 300;
}
.finance-faq details[open] summary::after { content: '−'; }
.finance-faq details p {
  padding: 0 1.25rem 1.25rem;
  color: #b0b0b0;
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .finance-step-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .finance-step-grid { grid-template-columns: 1fr; }
  .finance-form-card { padding: 2rem 1.25rem; }
}

/* ─── Trade-in page (page-trade-in.php) ─── */
.tradein-section { padding: 4rem 2rem; max-width: 1280px; margin: 0 auto; }
.tradein-step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.tradein-step {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 2rem 1.5rem;
  transition: border-color 0.25s, background 0.25s;
}
.tradein-step:hover { border-color: rgba(107,163,196,0.4); background: rgba(107,163,196,0.04); }
.tradein-step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.5rem;
  font-weight: 300;
  color: #6ba3c4;
  display: block;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.tradein-step h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.tradein-step p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #b0b0b0;
  line-height: 1.6;
  margin: 0;
}
.tradein-form-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(107,163,196,0.2);
  border-radius: 4px;
  padding: 3rem 2.5rem;
}
.tradein-form-card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  color: #fff;
  margin: 0 0 1.5rem;
}
.tradein-faq { padding: 4rem 2rem; max-width: 1280px; margin: 0 auto; }
.tradein-faq details {
  margin: 0 0 0.75rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  background: rgba(255,255,255,0.02);
}
.tradein-faq details summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 500;
  color: #fff;
  list-style: none;
  position: relative;
  font-family: 'Inter', sans-serif;
}
.tradein-faq details summary::-webkit-details-marker { display: none; }
.tradein-faq details summary::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6ba3c4;
  font-size: 1.25rem;
}
.tradein-faq details[open] summary::after { content: '−'; }
.tradein-faq details p {
  padding: 0 1.25rem 1.25rem;
  color: #b0b0b0;
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .tradein-step-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .tradein-step-grid { grid-template-columns: 1fr; }
}

/* ─── Contact page (page-contact.php) ─── */
.contact-grid {
  padding: 4rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.contact-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 2rem 1.75rem;
}
.contact-card-wide { grid-column: 1 / -1; }
.contact-card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 1rem;
}
.contact-card p {
  font-family: 'Inter', sans-serif;
  color: #c8c8c8;
  line-height: 1.7;
  margin: 0 0 0.5rem;
}
.contact-card a {
  color: #6ba3c4;
  text-decoration: none;
  border-bottom: 1px solid rgba(107,163,196,0.3);
}
.contact-card a:hover { color: #9fc3da; border-bottom-color: #9fc3da; }
.contact-hours {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}
.contact-hours th {
  text-align: left;
  color: #fff;
  font-weight: 500;
  padding: 0.4rem 0;
  width: 40%;
}
.contact-hours td {
  text-align: right;
  color: #b0b0b0;
  padding: 0.4rem 0;
}
.cta-strip {
  padding: 4rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}
.cta-strip-inner {
  background: linear-gradient(135deg, rgba(107,163,196,0.08), rgba(107,163,196,0.02));
  border: 1px solid rgba(107,163,196,0.2);
  border-radius: 4px;
  padding: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-strip h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: #fff;
  margin: 0 0 0.5rem;
}
.cta-strip p { color: #b0b0b0; margin: 0; }
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; padding: 2rem 1.25rem; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; padding: 1.75rem 1.25rem; }
}

/* ─── Form fallbacks (page-{contact,tradein,financing} when CF7 not seeded) ─── */
.automart-form-fallback {
  font-family: 'Inter', sans-serif;
  color: #888;
  font-style: normal;
  margin: 0;
  padding: 1rem 0;
}
.automart-form .wpcf7-form { max-width: 600px; }
.automart-form .wpcf7-form input[type="text"],
.automart-form .wpcf7-form input[type="email"],
.automart-form .wpcf7-form input[type="tel"],
.automart-form .wpcf7-form textarea,
.automart-form .wpcf7-form select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  width: 100%;
  margin-bottom: 1rem;
}
.automart-form .wpcf7-form input:focus,
.automart-form .wpcf7-form textarea:focus,
.automart-form .wpcf7-form select:focus {
  outline: none;
  border-color: #6ba3c4;
  background: rgba(107,163,196,0.06);
}
.automart-form .wpcf7-form input[type="submit"] {
  background: linear-gradient(135deg, #4a7a9a, #6ba3c4);
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 0.85rem 2rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: opacity 0.2s;
}
.automart-form .wpcf7-form input[type="submit"]:hover { opacity: 0.9; }
.automart-form .wpcf7-form label {
  display: block;
  color: #c8c8c8;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}
.site-footer-col h3, .site-footer-col h4 { color: #fff; font-family: 'Playfair Display', Georgia, serif; margin-bottom: 1rem; }
.site-footer-col h3.site-footer-name { font-size: 1.5rem; }
.site-footer-col h4 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; color: #a3a3a3; font-family: inherit; }
.site-footer-col p { margin: 0.5rem 0; line-height: 1.5; font-size: 0.875rem; }
.site-footer-col a { color: #d4d4d4; text-decoration: none; transition: color .15s; }
.site-footer-col a:hover { color: #fff; }
.site-footer-col address { font-style: normal; line-height: 1.5; font-size: 0.875rem; }
.site-footer-hours { width: 100%; font-size: 0.8125rem; margin-top: 0.75rem; }
.site-footer-hours th { text-align: left; font-weight: 400; color: #a3a3a3; padding-right: 0.75rem; }
.site-footer-hours td { text-align: right; }
.site-footer-nav { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.site-footer-nav li { margin: 0.25rem 0; font-size: 0.875rem; }
.site-footer-license { color: #a3a3a3; font-size: 0.75rem; margin-top: 1rem; }
.site-footer-newsletter-row { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.site-footer-newsletter-row input { flex: 1; padding: 0.5rem 0.75rem; border: 1px solid #333; background: #1a1a1a; color: #fff; border-radius: 4px; font-size: 0.875rem; }
.site-footer-newsletter-row button { padding: 0.5rem 1rem; background: var(--accent, #c53030); color: #fff; border: 0; border-radius: 4px; cursor: pointer; font-size: 0.875rem; }
.site-footer-base { max-width: 1280px; margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid #333; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.75rem; color: #a3a3a3; }
.site-footer-legal a { color: #a3a3a3; margin: 0 0.25rem; }
/* ── Single Product Page ──
 * Centered max-width wrapper, two-column hero on desktop, stacked on mobile.
 * Section headings use Playfair Display (NOT italic) with the same scale as
 * .section-heading so they stay visually consistent across pages. */
.vehicle-hero {
  padding: 1.5rem 2rem 3rem;
  max-width: 1280px;
  margin: 0 auto;
}
.vehicle-hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.vehicle-hero-media { position: sticky; top: 1rem; }
.vehicle-hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #111;
}
.vehicle-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: cover;
}
.vehicle-hero-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  background: var(--accent, #6ba3c4);
  color: #0a0a0a;
  font-weight: 600;
  border-radius: 2px;
}
.vehicle-hero-stock {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.75rem;
  background: rgba(10,10,10,0.7);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  backdrop-filter: blur(4px);
}
.vehicle-hero-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}
.vehicle-hero-thumb {
  flex: 0 0 auto;
  width: 88px;
  height: 64px;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 3px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s;
}
.vehicle-hero-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vehicle-hero-thumb:hover { border-color: rgba(107,163,196,0.4); }
.vehicle-hero-thumb.active { border-color: var(--accent, #6ba3c4); }

.vehicle-hero-aside { display: flex; flex-direction: column; gap: 1.25rem; }
.vehicle-hero-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.vehicle-hero-year { color: #6ba3c4; font-weight: 600; }
.vehicle-hero-make { color: #a3a3a3; }
.vehicle-hero-condition {
  background: rgba(74, 122, 42, 0.25);
  color: #a3d97a;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
}
.vehicle-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.15;
  margin: 0;
  color: #fff;
  letter-spacing: -0.01em;
}
.vehicle-hero-trim {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #a3a3a3;
  margin-top: -0.5rem;
}
.vehicle-hero-price-block {
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
}
.vehicle-hero-price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.25rem;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.vehicle-hero-payment {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #c8c8c8;
  margin-bottom: 0.5rem;
}
.vehicle-hero-payment strong {
  color: #6ba3c4;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.05rem;
}
.vehicle-hero-payment-note {
  display: block;
  font-size: 0.75rem;
  color: #777;
  margin-top: 0.25rem;
  letter-spacing: 0.03em;
}
.vehicle-hero-price-note {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #777;
}
.vehicle-hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.vehicle-hero-actions .btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
}
.vehicle-hero-dealer-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  display: grid;
  gap: 0.5rem;
}
.vehicle-hero-dealer-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: #c8c8c8;
  align-items: baseline;
}
.vehicle-hero-dealer-row a { color: #6ba3c4; text-decoration: none; }
.vehicle-hero-dealer-row a:hover { color: #fff; }
.vehicle-hero-dealer-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a3a3a3;
}
.vehicle-hero-vin {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #6ba3c4;
  letter-spacing: 0.05em;
}

/* Quick specs ribbon (right under hero) */
.vehicle-quick-specs {
  background: rgba(255,255,255,0.025);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-top: 1rem;
}
.vehicle-quick-specs-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.vehicle-quick-spec {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.vehicle-quick-spec-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #777;
}
.vehicle-quick-spec-value {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #fff;
  font-weight: 500;
}

/* Narrative section — description + features */
.vehicle-narrative {
  padding: 4rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}
.vehicle-narrative-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}
.section-heading-left {
  text-align: left !important;
  margin-bottom: 1.5rem !important;
  font-size: 1.6rem !important;
}
.vehicle-description-body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #c8c8c8;
}
.vehicle-description-body p { margin: 0 0 1.25rem; }
.vehicle-description-body p:last-child { margin-bottom: 0; }
.vehicle-dealer-notes {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: rgba(107,163,196,0.06);
  border-left: 3px solid #6ba3c4;
  border-radius: 0 4px 4px 0;
}
.vehicle-dealer-notes-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6ba3c4;
  margin: 0 0 0.75rem;
}
.vehicle-dealer-notes p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #e0e0e0;
  margin: 0 0 0.75rem;
}
.vehicle-dealer-notes-sign {
  font-style: normal;
  color: #a3a3a3;
  font-size: 0.85rem !important;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.vehicle-features-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: #fff;
  margin: 0 0 1.25rem;
}
.vehicle-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.vehicle-features-list li {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #c8c8c8;
  padding: 0.6rem 0 0.6rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: relative;
}
.vehicle-features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #6ba3c4;
  font-weight: 700;
}
.vehicle-features-empty {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #a3a3a3;
  font-style: normal;
}
.vehicle-aside-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 1.5rem;
}
.vehicle-aside-card h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6ba3c4;
  margin: 0 0 1rem;
}
.vehicle-aside-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.vehicle-aside-card li {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: #c8c8c8;
  padding: 0.4rem 0 0.4rem 1.25rem;
  position: relative;
}
.vehicle-aside-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #6ba3c4;
}

/* Vehicle history (Carfax) */
.vehicle-history {
  padding: 4rem 2rem;
  background: rgba(255,255,255,0.015);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.vehicle-history-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.vehicle-history-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.vehicle-history-header .section-heading { margin-bottom: 0 !important; }
.vehicle-history-source {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #a3a3a3;
}
.vehicle-history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.vehicle-history-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}
.vehicle-history-row.is-ok .vehicle-history-icon {
  background: rgba(74,122,42,0.3);
  color: #a3d97a;
}
.vehicle-history-row.is-warn .vehicle-history-icon {
  background: rgba(138,74,42,0.3);
  color: #ffaa6b;
}
.vehicle-history-icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.vehicle-history-label { color: #e0e0e0; }
.vehicle-history-report {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  color: #6ba3c4;
  text-decoration: none;
  font-weight: 500;
}
.vehicle-history-report:hover { color: #fff; }

/* Test drive section */
.vehicle-testdrive {
  padding: 5rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}
.vehicle-testdrive-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.vehicle-testdrive-copy .label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6ba3c4;
  margin-bottom: 1rem;
}
.vehicle-testdrive-copy h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  font-style: normal;
  margin: 0 0 1rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.vehicle-testdrive-copy p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #c8c8c8;
  margin: 0 0 1.5rem;
}
.vehicle-testdrive-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.vehicle-testdrive-perks li {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #c8c8c8;
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
}
.vehicle-testdrive-perks li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #6ba3c4;
}
.vehicle-testdrive-callout {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(107,163,196,0.08);
  border-left: 3px solid #6ba3c4;
  border-radius: 0 4px 4px 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: #c8c8c8;
  font-style: normal;
}
.vehicle-testdrive-form {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 2rem;
  border-radius: 4px;
}
.automart-form-fallback-form {
  display: grid;
  gap: 1rem;
  font-family: 'Inter', sans-serif;
}
.automart-form-fallback-form .automart-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.automart-form-fallback-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a3a3a3;
}
.automart-form-fallback-form input,
.automart-form-fallback-form textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  letter-spacing: normal;
  text-transform: none;
  padding: 0.7rem 0.85rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  color: #fff;
}
.automart-form-fallback-form input:focus,
.automart-form-fallback-form textarea:focus {
  outline: none;
  border-color: #6ba3c4;
  background: rgba(255,255,255,0.06);
}
.automart-form-fallback-form input[readonly] {
  color: #c8c8c8;
  background: rgba(255,255,255,0.02);
}
.automart-form-fallback-form button {
  margin-top: 0.5rem;
  justify-self: start;
}
.automart-form-success {
  font-family: 'Inter', sans-serif;
  color: #a3d97a;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  background: rgba(74,122,42,0.15);
  border-radius: 3px;
  border-left: 3px solid #a3d97a;
}
@media (max-width: 600px) {
  .automart-form-fallback-form .automart-form-row { grid-template-columns: 1fr; }
}

/* Dealer section (location + hours + map) */
.vehicle-dealer {
  padding: 4rem 2rem;
  background: rgba(107,163,196,0.04);
  border-top: 1px solid rgba(107,163,196,0.15);
  border-bottom: 1px solid rgba(107,163,196,0.15);
}
.vehicle-dealer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.vehicle-dealer-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #a3a3a3;
  margin: 0 0 2rem;
}
.vehicle-dealer-hours {
  margin-bottom: 2rem;
}
.vehicle-dealer-hours h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6ba3c4;
  margin: 0 0 0.75rem;
}
.vehicle-dealer-hours table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
}
.vehicle-dealer-hours td {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: #c8c8c8;
}
.vehicle-dealer-hours td:last-child {
  text-align: right;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
}
.vehicle-dealer-contact {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.vehicle-dealer-map {
  position: relative;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.vehicle-dealer-map-iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.4) contrast(1.05) brightness(0.85);
}
.vehicle-dealer-map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -100%);
  background: rgba(10,10,10,0.85);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(107,163,196,0.4);
  border-radius: 2px;
  white-space: nowrap;
  pointer-events: none;
}

/* Related vehicles — full-width card grid with year + specs */
.vehicle-related {
  padding: 4rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}
.vehicle-related-inner {}
.vehicle-related-header { margin-bottom: 2.5rem; }
.vehicle-related-header .section-heading { margin-bottom: 0.5rem !important; }
.vehicle-related-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #a3a3a3;
  text-align: center;
  margin: 0;
}
.vehicle-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.vehicle-related-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.vehicle-related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(107,163,196,0.4);
}
.vehicle-related-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #111;
}
.vehicle-related-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.vehicle-related-card:hover .vehicle-related-img-wrap img { transform: scale(1.05); }
.vehicle-related-body { padding: 1.25rem 1.5rem; }
.vehicle-related-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: #6ba3c4;
  margin-bottom: 0.25rem;
}
.vehicle-related-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: #fff;
  line-height: 1.3;
}
.vehicle-related-specs {
  display: flex;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: #a3a3a3;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.vehicle-related-specs span:not(:last-child)::after {
  content: '·';
  margin-left: 0.5rem;
  color: #555;
}
.vehicle-related-price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  color: #6ba3c4;
}
.vehicle-related-footer { text-align: center; }

/* Sticky mobile CTA bar */
.vehicle-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.95);
  border-top: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  padding: 0.75rem 1rem;
  display: none;
}
.vehicle-cta-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.vehicle-cta-bar-price {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.vehicle-cta-bar-price-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: #a3a3a3;
  letter-spacing: 0.05em;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vehicle-cta-bar-price-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  color: #fff;
}
.vehicle-cta-bar-actions {
  display: flex;
  gap: 0.5rem;
}
.vehicle-cta-bar-actions .btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .vehicle-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .vehicle-hero-media { position: static; }
  .vehicle-narrative-grid { grid-template-columns: 1fr; gap: 2rem; }
  .vehicle-testdrive-inner { grid-template-columns: 1fr; gap: 2rem; }
  .vehicle-dealer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .vehicle-quick-specs-inner { grid-template-columns: repeat(3, 1fr); }
  .vehicle-cta-bar { display: block; }
  body { padding-bottom: 70px; }
}
@media (max-width: 600px) {
  .vehicle-quick-specs-inner { grid-template-columns: repeat(2, 1fr); }
}

.screen-reader-text { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

em, i, cite, q, dfn, address, var { font-style: normal; }

/* ─── Site Nav (inner pages) ─── */
.site-nav { position: sticky; top: 0; left: 0; right: 0; z-index: 100; background: rgba(10,10,10,0.92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 0.875rem 1.5rem; display: flex; align-items: center; justify-content: center; }
.site-nav-inner { display: flex; align-items: center; justify-content: center; gap: 0.25rem; max-width: 1200px; width: 100%; }
.site-nav-link { font-size: 0.6875rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.3s; padding: 0.5rem 1rem; }
.site-nav-link:hover { color: var(--accent); }
.site-nav-dot { color: var(--muted); opacity: 0.2; font-size: 0.75rem; }
@media (max-width: 768px) { .site-nav { padding: 0.625rem 0.75rem; } .site-nav-link { padding: 0.375rem 0.5rem; font-size: 0.625rem; } .site-nav-dot { display: none; } }

/* Overlay closed-state: untrapped focus (axe aria-hidden-focus) */
.vehicle-overlay { visibility: hidden; transition: opacity 0.4s, visibility 0s linear 0.4s; }
.vehicle-overlay.active { visibility: visible; transition: opacity 0.4s; }


/* ── Generic subpage content typography (the_content in page.php) ── */
.page-content { font-family: var(--font-sans, system-ui, sans-serif); color: var(--text, inherit); overflow-wrap: break-word; }
.page-content h2, .page-content h3, .page-content h4, .page-content h5, .page-content h6 {
  font-family: var(--font-display, var(--font-serif, inherit));
  color: var(--text, inherit); line-height: 1.25; margin: 2rem 0 0.75rem;
}
.page-content h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.page-content h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
.page-content h4 { font-size: 1.125rem; }
.page-content p { line-height: 1.7; margin: 0.9rem 0; }
.page-content ul, .page-content ol { padding-left: 1.4rem; margin: 0.9rem 0; line-height: 1.7; }
.page-content li { margin: 0.4rem 0; }
.page-content li::marker { color: var(--accent, currentColor); }
.page-content a { color: var(--accent-text, var(--accent, inherit)); text-decoration: underline; text-underline-offset: 3px; }
.page-content a:hover { opacity: 0.85; }
.page-content img { max-width: 100%; height: auto; }
.page-content table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; }
.page-content th, .page-content td { padding: 0.6rem 0.8rem; border: 1px solid var(--border, rgba(128,128,128,0.3)); text-align: left; }
.page-content th { font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8125rem; }
.page-content blockquote { margin: 1.25rem 0; padding: 0.25rem 0 0.25rem 1.1rem; border-left: 3px solid var(--accent, #888); color: var(--muted, inherit); font-style: normal; }
.page-content hr { border: 0; border-top: 1px solid var(--border, rgba(128,128,128,0.3)); margin: 2rem 0; }
.page-content iframe, .page-content video { max-width: 100%; }
.page-content > *:first-child { margin-top: 0; }

/* === 4.2.1 polish: shortlist heart + card wrapper === */
.vehicle-card-wrap { position: relative; display: block; }
.vehicle-save {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(200,200,200,0.14);
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(4px);
  color: var(--text);
  font-size: 15px; line-height: 1;
  transition: color 0.25s, border-color 0.25s, transform 0.25s, background 0.25s;
}
.vehicle-save:hover, .vehicle-save:focus-visible {
  color: var(--accent);
  border-color: rgba(74,122,154,0.5);
  transform: scale(1.08);
}
.vehicle-save.is-saved { color: var(--accent); background: rgba(74,122,154,0.18); border-color: rgba(74,122,154,0.5); }
.vehicle-save:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ================================================================
   4.3.0 — LEAD FORM OUTCOMES + VDP PAYMENT CALCULATOR
   ================================================================ */

/* Lead form confirmation card (global, all .automart-form wrappers) */
.am-lead-done {
  background: var(--panel, #14181f);
  border: 1px solid rgba(74,122,154,0.35);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  text-align: center;
}
.am-lead-done-mark {
  width: 44px; height: 44px;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(74,122,154,0.15);
  border: 1px solid rgba(74,122,154,0.5);
  color: var(--accent);
  font-size: 1.25rem;
}
.am-lead-done h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: 1.3rem;
  color: #fff;
  margin: 0 0 0.6rem;
}
.am-lead-done p { color: #a3a3a3; font-size: 0.925rem; line-height: 1.6; margin: 0 0 1.25rem; }
.am-lead-invalid {
  margin-top: 0.75rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(197,48,48,0.5);
  border-radius: 6px;
  background: rgba(197,48,48,0.12);
  color: #f3b6b6;
  font-size: 0.85rem;
}

/* Footer newsletter (CF7 inline) */
.site-footer-newsletter .wpcf7-form { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.site-footer-newsletter .wpcf7-form-control-wrap { flex: 1; }
.site-footer-newsletter input[type="email"] {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #333;
  background: #1a1a1a;
  color: #fff;
  border-radius: 4px;
  font-size: 0.875rem;
}
.site-footer-newsletter input[type="email"]:focus { border-color: var(--accent); outline: none; }
.site-footer-newsletter .wpcf7-submit {
  padding: 0.5rem 1rem;
  background: var(--accent, #4a7a9a);
  color: #fff;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.875rem;
}
.site-footer-newsletter .wpcf7-submit:hover { filter: brightness(1.15); }
.am-news-done { color: #a3a3a3; font-size: 0.85rem; margin-top: 0.75rem; }

/* VDP payment calculator */
.vehicle-hero-calc-toggle {
  margin-top: 1rem;
  background: none;
  border: none;
  border-bottom: 1px dashed rgba(107,163,196,0.5);
  color: #6ba3c4;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  padding: 0 0 2px;
}
.vehicle-hero-calc-toggle:hover { color: #9cc6e0; }
.vehicle-hero-calc-body {
  margin-top: 1.25rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
}
.vhc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.vhc-row label {
  display: flex; flex-direction: column; gap: 0.35rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a3a3a3;
}
.vhc-row input {
  padding: 0.55rem 0.75rem;
  background: #101216;
  border: 1px solid #2a2f38;
  border-radius: 6px;
  color: #fff;
  font-size: 1rem;
  font-family: 'JetBrains Mono', monospace;
}
.vhc-row input:focus { border-color: #6ba3c4; outline: none; }
.vhc-terms { display: flex; gap: 0.4rem; align-items: flex-end; flex-wrap: wrap; }
.vhc-terms button {
  padding: 0.5rem 0.7rem;
  background: transparent;
  border: 1px solid #2a2f38;
  border-radius: 6px;
  color: #a3a3a3;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  cursor: pointer;
  transition: all 0.2s;
}
.vhc-terms button:hover { border-color: #6ba3c4; color: #fff; }
.vhc-terms button.is-active {
  background: rgba(107,163,196,0.15);
  border-color: #6ba3c4;
  color: #6ba3c4;
}
.vhc-out { display: flex; gap: 1.5rem; align-items: center; margin: 1.25rem 0; flex-wrap: wrap; }
.vhc-monthly span {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: #a3a3a3;
}
.vhc-monthly strong {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  color: #6ba3c4;
  line-height: 1.2;
}
.vhc-out ul { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 200px; }
.vhc-out li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8rem;
  color: #a3a3a3;
}
.vhc-out li b { color: #fff; font-weight: 500; }
.vhc-note { font-size: 0.72rem; color: #6b6b6b; line-height: 1.5; margin: 0 0 1rem; }
.vehicle-testdrive-context {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #a3a3a3;
  margin: 0 0 1rem;
}

/* VDP mobile: sticky CTA bar replaces the site bottom-bar */
body.single-product .bottom-bar { display: none; }
.vehicle-cta-bar { z-index: 9997; }
@media (max-width: 600px) {
  .vhc-row { grid-template-columns: 1fr; }
  .vhc-out { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

/* CF7 field grids (trade-in / finance forms) + number/date inputs */
.am-form-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.am-form-duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
.am-form-trio label, .am-form-duo label { margin-bottom: 0.9rem; }
.wpcf7-number, .wpcf7-date {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(128,128,128,0.3);
    border-radius: 0;
    font-family: inherit;
    font-size: 0.9375rem;
    background: transparent;
    color: inherit;
    transition: border-color 0.3s;
}
.wpcf7-number:focus, .wpcf7-date:focus {
    outline: none;
    border-color: #8a8a8a;
    box-shadow: 0 0 0 1px #8a8a8a;
}
@media (max-width: 640px) {
  .am-form-trio, .am-form-duo { grid-template-columns: 1fr; }
}

/* ─── Shortlist ("Saved Vehicles") + Reservation checkout ("Request a
   Purchase Appointment") — brand templates ship their own markup and
   WooCommerce's styles are dequeued, so style everything here. ─── */

.shortlist-section { padding: 40px 24px 80px; }
.shortlist-inner { max-width: 1280px; margin: 0 auto; }

.shortlist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .shortlist-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .shortlist-grid { grid-template-columns: 1fr; } }

.shortlist-card { background: var(--surface); border: 1px solid rgba(74,122,154,0.1); overflow: hidden; transition: all 0.4s; }
.shortlist-card:hover { transform: translateY(-4px); border-color: rgba(74,122,154,0.2); box-shadow: 0 20px 48px rgba(0,0,0,0.2); }
.shortlist-image img { width: 100%; height: 200px; object-fit: cover; display: block; }
.shortlist-body { padding: 16px; }
.shortlist-meta { font-size: 0.625rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent, #4a7a9a); display: block; margin-bottom: 4px; }
.shortlist-body h3 { margin: 0 0 4px; font-size: 1.125rem; }
.shortlist-body h3 a { color: var(--text); text-decoration: none; }
.shortlist-mileage { font-size: 0.8rem; color: var(--dim, #8a93a0); display: block; margin-bottom: 8px; }
.shortlist-price { color: var(--text); font-weight: 600; margin-bottom: 12px; }
.shortlist-remove { font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim, #8a93a0); text-decoration: none; transition: color 0.3s; }
.shortlist-remove:hover { color: #ff8a8a; }

.shortlist-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 40px 0 56px; }

.shortlist-empty { text-align: center; padding: 40px 0; }
.shortlist-empty h2 { margin-bottom: 8px; }
.shortlist-empty p { color: var(--dim, #8a93a0); margin-bottom: 24px; }

.shortlist-testdrive { border-top: 1px solid rgba(74,122,154,0.1); padding-top: 48px; }
.shortlist-testdrive h2 { margin-bottom: 6px; }
.shortlist-testdrive > .shortlist-testdrive-inner > p { color: var(--dim, #8a93a0); margin-bottom: 24px; }

/* Reservation checkout */
.reservation-section { padding: 40px 24px 80px; }
.reservation-inner { max-width: 1280px; margin: 0 auto; }

.reservation-summary { background: var(--surface); border: 1px solid rgba(74,122,154,0.1); padding: 24px 28px; margin-bottom: 40px; }
.reservation-summary h2 { margin: 0 0 12px; font-size: 1.25rem; }
.reservation-list { list-style: none; margin: 0; padding: 0; }
.reservation-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(74,122,154,0.08); color: var(--text); }
.reservation-list li:last-child { border-bottom: none; }

.reservation-perks { margin-top: 48px; border-top: 1px solid rgba(74,122,154,0.1); padding-top: 32px; }
.reservation-perks h3 { margin-bottom: 12px; }
.reservation-perks ol { color: var(--dim, #8a93a0); padding-left: 20px; }
.reservation-perks li { margin-bottom: 6px; }

/* WooCommerce checkout form (WC styles are dequeued) */
.reservation-form .woocommerce-billing-fields > h3,
.reservation-form #order_review_heading,
.reservation-form #customer_details h3 { font-size: 1.25rem; margin-bottom: 20px; }
.reservation-form .col2-set { display: block; }
.reservation-form #order_review_heading { margin-top: 40px; }
.reservation-form .form-row { margin-bottom: 16px; }
.reservation-form .form-row label { display: block; font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim, #8a93a0); margin-bottom: 6px; }
.reservation-form .form-row .required { color: var(--accent, #ff8a00); text-decoration: none; }
.reservation-form .form-row input.input-text,
.reservation-form .form-row textarea,
.reservation-form .form-row select,
.reservation-form .select2-container .select2-selection--single {
  width: 100%; background: var(--surface, #14181f); border: 1px solid var(--line, #262c36);
  color: var(--text, #e8ebef); font-family: inherit; font-size: 0.95rem; padding: 12px 16px;
  border-radius: 2px; transition: border-color 0.3s;
}
.reservation-form .form-row input.input-text:focus,
.reservation-form .form-row textarea:focus,
.reservation-form .form-row select:focus { border-color: rgba(74,122,154,0.6); }
.reservation-form .select2-container .select2-selection--single { height: auto; min-height: 44px; display: flex; align-items: center; }
.reservation-form .select2-container .select2-selection--single .select2-selection__rendered { color: var(--text, #e8ebef); padding-left: 0; }
.reservation-form .select2-dropdown { background: var(--panel, #14181f); border: 1px solid var(--line, #262c36); }
.reservation-form .select2-results__option { color: var(--text, #e8ebef); }

.reservation-form #order_review { background: var(--surface); border: 1px solid rgba(74,122,154,0.1); padding: 24px 28px; }
.reservation-form #order_review .woocommerce-checkout-review-order-table { border-collapse: collapse; width: 100%; }
.reservation-form #order_review .woocommerce-checkout-review-order-table th,
.reservation-form #order_review .woocommerce-checkout-review-order-table td {
  text-align: left; padding: 10px 0; border-bottom: 1px solid rgba(74,122,154,0.08); font-weight: 400; color: var(--text, #e8ebef);
}
.reservation-form #order_review .woocommerce-checkout-review-order-table th { font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim, #8a93a0); }

.reservation-form #payment { background: transparent; }
.reservation-form #payment ul.payment_methods { list-style: none; margin: 0; padding: 0; }
.reservation-form #payment ul.payment_methods li { padding: 14px 0; border-bottom: 1px solid rgba(74,122,154,0.08); color: var(--text, #e8ebef); }
.reservation-form #payment ul.payment_methods .payment_box { background: rgba(74,122,154,0.08); padding: 14px 18px; margin-top: 10px; }
.reservation-form #payment ul.payment_methods .payment_box p { margin: 0; font-size: 0.9rem; color: var(--dim, #8a93a0); }
.reservation-form #payment ul.payment_methods .payment_box::before { display: none; }
.reservation-form #payment div.place-order { margin-top: 24px; }
.reservation-form #payment #place_order {
  display: inline-block; width: auto; padding: 14px 32px; border: none; cursor: pointer;
  font-family: inherit; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  background: #4a7a9a; color: #fff; transition: all 0.3s;
}
.reservation-form #payment #place_order:hover { background: rgba(74,122,154,0.8); transform: translateY(-2px); }
.reservation-form input[type="radio"], .reservation-form input[type="checkbox"] { accent-color: #4a7a9a; }

/* WooCommerce notices on the dark HUD */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  background: var(--panel, #14181f); border-top: 2px solid #4a7a9a;
  color: var(--text, #e8ebef); list-style: none; padding: 16px 32px 16px 56px !important;
}
.woocommerce-error { border-top-color: #ff8a8a; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button {
  color: var(--text, #e8ebef); border: 1px solid rgba(74,122,154,0.4); background: transparent;
  float: right; padding: 8px 16px;
}
.woocommerce .blockUI.blockOverlay { background: rgba(14,17,22,0.7) !important; }
