/* ============================================================
   VW Repair Specialist — Approachable Volume v1.0
   MORPH-30: Plus Jakarta Sans / vivid blue / clean white
   CSS prefix: vw-
   ============================================================ */

/* --- Design tokens --- */
:root {
  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --brand-primary:   #0066FF;
  --brand-secondary: #00B341;
  --brand-gold:      #FFB800;
  --brand-dark:      #1A1A1A;
  --brand-bg:        #FFFFFF;
  --brand-bg-alt:    #F2F4F8;
  --brand-text:      #1A1A1A;
  --brand-muted:     #6B7280;
  --brand-border:    #E8EAED;

  --hover-color:     #0066FF;
  --section-padding: 5rem;
  --container-max:   1100px;
  --card-transition: 0.3s ease;
}

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--brand-text);
  background: var(--brand-bg);
}
*:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 3px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Container --- */
.vw-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Typography --- */
h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 22ch;
  line-height: 1.15;
}
h2 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.005em; }

/* --- Section rhythm --- */
.vw-section { background: var(--brand-bg); padding: var(--section-padding) 0; }
.vw-section-alt { background: var(--brand-bg-alt); padding: var(--section-padding) 0; }
.vw-section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  color: var(--brand-text);
  margin-bottom: 2rem;
}

/* --- Eyebrow --- */
.vw-eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-primary);
  margin-bottom: 0.75rem;
  display: block;
}

/* --- Sidebar nav --- */
.vw-sidebar {
  position: fixed; top: 0; left: 0; width: 260px; height: 100vh;
  background: var(--brand-dark); z-index: 200;
  transform: translateX(-100%); transition: transform 0.3s ease;
  display: flex; flex-direction: column;
}
.vw-sidebar.open { transform: translateX(0); }
.vw-sidebar-inner { display: flex; flex-direction: column; height: 100%; padding: 1.5rem; }
.vw-sidebar-logo-wrap { margin-bottom: 2rem; }
.vw-sidebar-logo { color: #fff; font-weight: 700; font-size: 0.9375rem; line-height: 1.4; }
.vw-sidebar-nav { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.vw-sidebar-nav a { color: rgba(255,255,255,0.75); font-size: 0.9375rem; font-weight: 500; padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); transition: color 0.2s; }
.vw-sidebar-nav a:hover { color: #fff; }
.vw-sidebar-foot { display: flex; flex-direction: column; gap: 0.75rem; }
.vw-sidebar-cred { font-size: 0.75rem; color: rgba(255,255,255,0.45); line-height: 1.5; }
.vw-sidebar-phone { color: #fff; font-weight: 700; font-size: 1rem; }
.vw-sidebar-cta { background: var(--brand-primary); color: #fff; text-align: center; padding: 10px; border-radius: 4px; font-weight: 600; font-size: 0.875rem; }
.vw-sidebar-hamburger { position: fixed; top: 14px; left: 14px; z-index: 300; background: var(--brand-dark); border: none; border-radius: 4px; padding: 8px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.vw-sidebar-hamburger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; }
.vw-sidebar-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 150; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.vw-sidebar-overlay.open { opacity: 1; pointer-events: auto; }
.vw-sidebar-layout { margin-left: 0; }

/* --- Hero --- */
.vw-hero { background: var(--brand-bg); padding: 5rem 0 4rem; }
.vw-hero--centered-text .vw-hero-center { max-width: 680px; margin: 0 auto; text-align: center; }
.vw-hero-eyebrow { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-primary); margin-bottom: 1rem; display: block; }
.vw-hero-heading { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 700; letter-spacing: -0.01em; max-width: 22ch; margin: 0 auto 1.25rem; color: var(--brand-text); line-height: 1.15; }
.vw-hero-city { display: block; font-size: 0.5em; font-weight: 400; color: var(--brand-muted); margin-top: 0.25em; letter-spacing: 0.01em; }
.vw-hero-sub { font-size: 1.05rem; color: var(--brand-muted); margin-bottom: 1.5rem; max-width: 50ch; margin-left: auto; margin-right: auto; }
.vw-hero-phone-block { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; margin-bottom: 1.75rem; }
.vw-hero-phone-number { font-size: 1.4rem; font-weight: 700; color: var(--brand-text); }
.vw-hero-phone-label { font-size: 0.8rem; color: var(--brand-muted); }
.vw-hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- Make strip --- */
.vw-make-strip {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  padding: 1.5rem 0; font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-muted);
  justify-content: center; border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border); margin: 0 auto;
}

/* --- Buttons --- */
.vw-btn { display: inline-block; padding: 12px 28px; border-radius: 6px; font-weight: 600; font-size: 0.9375rem; transition: all 0.2s; border: 2px solid transparent; }
.vw-btn-primary { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }
.vw-btn-primary:hover { background: #0055DD; border-color: #0055DD; }
.vw-btn-outline { background: transparent; color: var(--brand-primary); border-color: var(--brand-primary); }
.vw-btn-outline:hover { background: var(--brand-primary); color: #fff; }

/* --- Trust strip (light grey, approachable) --- */
.vw-trust-strip { background: var(--brand-bg-alt); padding: 14px 0; }
.vw-trust-signals { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; justify-content: center; }
.vw-trust-item {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(0,102,255,0.06); border: 1px solid rgba(0,102,255,0.15);
  border-radius: 20px; padding: 4px 12px;
  font-size: 0.8rem; font-weight: 500; color: var(--brand-text);
}
.vw-trust-item::before {
  content: attr(data-code);
  font-family: var(--font-mono);
  font-size: 0.65rem; font-weight: 600; color: var(--brand-primary);
  letter-spacing: 0.04em;
}
.vw-trust-credential-text { display: none; }

/* --- Diagnostic Coverage (light grey, NOT dark) --- */
.vw-diag-coverage { background: var(--brand-bg-alt); padding: var(--section-padding) 0; }
.vw-diag-coverage-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }
.vw-diag-coverage-heading { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 1.9rem); color: var(--brand-text); text-align: center; margin-bottom: 2.5rem; }
.vw-diag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.vw-diag-tool { background: #fff; border: 1px solid var(--brand-border); border-radius: 8px; padding: 1.5rem; transition: box-shadow 0.3s, border-color 0.3s; }
.vw-diag-tool:hover { box-shadow: 0 4px 20px rgba(0,102,255,0.08); border-color: rgba(0,102,255,0.2); }
.vw-diag-tool-code { font-family: var(--font-mono); font-size: 0.65rem; font-weight: 600; color: var(--brand-primary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.vw-diag-tool-name { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--brand-text); margin-bottom: 0.75rem; line-height: 1.2; }
.vw-diag-tool-desc { font-size: 0.875rem; color: var(--brand-muted); line-height: 1.65; }

/* --- Services grid --- */
.vw-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.vw-service-card { background: #fff; border: 1px solid var(--brand-border); border-radius: 8px; padding: 1.5rem; transition: box-shadow 0.3s, border-color 0.3s; }
.vw-service-card:hover { box-shadow: 0 4px 20px rgba(0,102,255,0.07); border-color: rgba(0,102,255,0.2); }
.vw-service-icon { display: block; color: var(--brand-primary); margin-bottom: 0.75rem; }
.vw-service-name { font-family: var(--font-head); font-weight: 700; font-size: 0.9375rem; color: var(--brand-text); margin-bottom: 0.4rem; }
.vw-service-desc { font-size: 0.875rem; color: var(--brand-muted); line-height: 1.6; margin-bottom: 0.75rem; }
.vw-service-link { font-size: 0.8125rem; font-weight: 600; color: var(--brand-primary); }
.vw-service-link:hover { text-decoration: underline; }

/* --- Benefit cards (What We Service 3-col) --- */
.vw-benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.vw-benefit-card { background: var(--brand-bg-alt); border: 1px solid var(--brand-border); border-radius: 8px; padding: 1.75rem 1.5rem; }
.vw-benefit-card-title { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--brand-text); margin-bottom: 0.5rem; }
.vw-benefit-card-desc { font-size: 0.875rem; color: var(--brand-muted); line-height: 1.6; }

/* --- Pricing comparison table --- */
.vw-pricing-section { background: var(--brand-bg); padding: var(--section-padding) 0; }
.vw-pricing-table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.vw-pricing-table th { background: var(--brand-bg-alt); padding: 12px 16px; text-align: left; font-weight: 600; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand-muted); }
.vw-pricing-table td { padding: 16px; border-bottom: 1px solid var(--brand-border); font-size: 0.9375rem; }
.vw-pricing-table tr:last-child td { border-bottom: none; }
.vw-pricing-table tr:hover td { background: rgba(0,102,255,0.02); }
.vw-savings-badge { background: #E8F8EE; color: #00832D; font-weight: 600; font-size: 0.8125rem; padding: 3px 10px; border-radius: 12px; display: inline-block; }
.vw-pricing-disclaimer { font-size: 0.8125rem; color: var(--brand-muted); margin-top: 1rem; line-height: 1.6; }
.vw-pricing-service-name { font-weight: 600; color: var(--brand-text); }
.vw-pricing-dealer { color: var(--brand-muted); text-decoration: line-through; font-size: 0.9rem; }
.vw-pricing-ours { font-weight: 700; color: var(--brand-primary); }

/* --- Models grid --- */
.vw-models-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.vw-model-card { background: var(--brand-bg-alt); border: 1px solid var(--brand-border); border-radius: 8px; padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: center; text-align: center; transition: border-color 0.3s, background 0.3s; }
.vw-model-card:hover { border-color: var(--brand-primary); background: #fff; }
.vw-model-name { font-family: var(--font-head); font-weight: 700; font-size: 0.9375rem; color: var(--brand-text); }

/* --- Proof / reviews --- */
.vw-proof-strip { display: flex; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.vw-proof-item { display: flex; flex-direction: column; gap: 0.25rem; }
.vw-proof-number { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--brand-primary); line-height: 1; }
.vw-proof-label { font-size: 0.8125rem; color: var(--brand-muted); font-weight: 500; }
.vw-featured-review { background: var(--brand-bg-alt); border: 1px solid var(--brand-border); border-left: 3px solid var(--brand-primary); border-radius: 8px; padding: 1.5rem 2rem; max-width: 680px; }
.vw-featured-review-text { font-size: 1rem; line-height: 1.7; color: var(--brand-text); font-style: italic; margin-bottom: 0.75rem; }
.vw-featured-review-author { font-size: 0.8125rem; font-weight: 600; color: var(--brand-muted); }

/* --- Why-us (legacy) --- */
.vw-why-us { background: var(--brand-bg); padding: var(--section-padding) 0; }
.vw-why-dealer { margin-bottom: 1.5rem; }
.vw-why-dealer-heading { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--brand-primary); }
.vw-why-dealer-list { padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.vw-why-dealer-list li { font-size: 0.9375rem; line-height: 1.65; }
.vw-why-us p { font-size: 0.9375rem; color: var(--brand-text); line-height: 1.7; margin-bottom: 1rem; }

/* --- FAQ --- */
.vw-faq-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--brand-border); }
.vw-faq-item { border-bottom: 1px solid var(--brand-border); }
.vw-faq-question { width: 100%; background: none; border: none; text-align: left; cursor: pointer; padding: 1.125rem 0; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-head); font-weight: 600; font-size: 0.9375rem; color: var(--brand-text); gap: 1rem; }
.vw-faq-question::after { content: '+'; font-size: 1.25rem; font-weight: 400; color: var(--brand-primary); flex-shrink: 0; }
.vw-faq-item.open .vw-faq-question::after { content: '−'; }
.vw-faq-answer { display: none; padding: 0 0 1.25rem; font-size: 0.9375rem; color: var(--brand-muted); line-height: 1.7; }
.vw-faq-item.open .vw-faq-answer { display: block; }

/* --- CTA band (vivid blue) --- */
.vw-cta-band { background: var(--brand-primary); padding: 4rem 0; text-align: center; }
.vw-cta-band-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.vw-cta-band-headline { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.25rem); color: #fff; max-width: 30ch; }
.vw-cta-band-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.vw-cta-band-btn-primary { background: #fff; color: var(--brand-primary); padding: 14px 32px; border-radius: 6px; font-weight: 700; font-size: 0.9375rem; transition: background 0.2s; }
.vw-cta-band-btn-primary:hover { background: rgba(255,255,255,0.9); }
.vw-cta-band-btn-secondary { background: rgba(255,255,255,0.12); color: #fff; padding: 14px 32px; border-radius: 6px; font-weight: 600; font-size: 0.9375rem; border: 1px solid rgba(255,255,255,0.25); transition: background 0.2s; }
.vw-cta-band-btn-secondary:hover { background: rgba(255,255,255,0.2); }

/* --- Footer --- */
.vw-footer { background: var(--brand-dark); color: rgba(255,255,255,0.6); padding: 1.5rem 0 0; }
.vw-footer--link-bar .vw-footer-lb-bar { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.vw-footer-lb-brand { font-weight: 600; color: rgba(255,255,255,0.8); font-size: 0.875rem; }
.vw-footer-lb-links { display: flex; gap: 1.25rem; flex-wrap: wrap; flex: 1; }
.vw-footer-lb-links a { font-size: 0.8125rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.vw-footer-lb-links a:hover { color: #fff; }
.vw-footer-lb-phone { font-weight: 600; color: rgba(255,255,255,0.8); font-size: 0.875rem; white-space: nowrap; }
.vw-footer-lb-copy { padding: 1rem 0; }
.vw-footer-lb-copy p { font-size: 0.75rem; color: rgba(255,255,255,0.35); }

/* --- Sticky CTA bar --- */
.cta-sb-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--brand-dark); display: flex; z-index: 500; transform: translateY(100%); transition: transform 0.3s ease; }
.cta-sb-bar.visible { transform: translateY(0); }
.cta-sb-phone, .cta-sb-book { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 14px; font-weight: 600; font-size: 0.875rem; }
.cta-sb-phone { color: rgba(255,255,255,0.9); border-right: 1px solid rgba(255,255,255,0.1); }
.cta-sb-book { background: var(--brand-primary); color: #fff; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .vw-diag-grid { grid-template-columns: repeat(2, 1fr); }
  .vw-benefit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .vw-services-grid { grid-template-columns: 1fr 1fr; }
  .vw-models-grid { grid-template-columns: 1fr 1fr; }
  .vw-pricing-table { font-size: 0.875rem; }
  .vw-sidebar { width: 280px; }
}
@media (max-width: 480px) {
  .vw-services-grid { grid-template-columns: 1fr; }
  .vw-diag-grid { grid-template-columns: 1fr; }
  .vw-pricing-table th, .vw-pricing-table td { padding: 10px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* interior-components: appended by assemble-interiors.js */
﻿/* ================================================================
   interior.css -- Interior Page Components
   MORPH-13: Interior page template system
   All classes use vw-prefix.
   Appended to styles.css bundle by assemble.ps1.
   DL/VL/MI body classes apply automatically.
   Key scoping rule: homepage has NO <main> tag; interior pages do.
   Use "main .vw-hero" to scope without changing HTML.
================================================================ */

/* ── BREADCRUMB ──────────────────────────────────────────────────────────── */
.vw-breadcrumb {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.vw-breadcrumb-inner {
  max-width: var(--max-w, 1200px);
  margin: 0 auto;
  padding: 11px 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted, var(--text));
  flex-wrap: wrap;
}
.vw-breadcrumb a {
  color: var(--text-muted, var(--text));
  text-decoration: none;
}
.vw-breadcrumb a:hover { color: var(--primary); }
.vw-breadcrumb .sep {
  opacity: 0.4;
  font-size: 12px;
}

/* ── INTERIOR HERO (scoped to main -- homepage has no <main>) ────────────── */
main .vw-hero {
  background: var(--nav-bg, var(--brand-dark, #1A1A1A));
  padding: 72px 0 56px;
  min-height: unset;
  max-height: unset;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}
main .vw-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(var(--primary-rgb, 200,50,50), 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}
main .vw-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

/* Interior eyebrow + h1 -- homepage uses p-hero-eyebrow / p-hero-heading */
.vw-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
main .vw-hero .vw-eyebrow {
  color: rgba(255,255,255,0.55);
}
.vw-h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: var(--dl-heading-weight, 800);
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 16px;
  text-wrap: balance;
  max-width: 18ch;
}
main .vw-hero .vw-h1 { color: #fff; }
main .vw-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.62);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 0;
}

/* ── SECTION WRAPPERS ────────────────────────────────────────────────────── */
.vw-section { padding: 72px 0; }
.vw-section-white { background: var(--bg); }
.vw-section-dark  { background: var(--nav-bg, var(--brand-dark, #1A1A1A)); }
.vw-section-mid   { background: var(--surface); }
/* MORPH-45: issue number elements on dark backgrounds */
.vw-section-dark .vw-issue-num { color: #fff; }

/* ── INTERIOR CONTENT CARDS (index pages) ────────────────────────────────── */
/* Scoped inside model-grid to avoid collision with homepage p-model-card pill */
.vw-model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.vw-model-grid .vw-model-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--nav-bg, var(--brand-dark, #1A1A1A));
  border-radius: 0;
  padding: 28px;
  transition: border-top-color 200ms ease;
  color: var(--text);
  text-decoration: none;
}
.vw-model-grid .vw-model-card:hover {
  border-top-color: var(--primary);
}
.vw-model-gen {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}
.vw-model-grid .vw-model-card h4,
.vw-model-grid .vw-model-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
  flex: 1;
}
.vw-model-grid .vw-model-card p {
  font-size: 13px;
  color: var(--text-muted, #555);
  line-height: 1.7;
  margin-bottom: 14px;
}
.vw-model-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  margin-top: auto;
}
.vw-model-link:hover { text-decoration: underline; }

/* ── ARTICLE LAYOUT (article pages: 2-col main + sidebar) ───────────────── */
.vw-content-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .vw-content-sidebar { grid-template-columns: 1fr; }
}

/* ── ARTICLE BODY ─────────────────────────────────────────────────────────── */
.vw-article { max-width: 720px; }
.vw-article h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin-top: 48px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.vw-article h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 10px;
}
.vw-article p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1em;
}
.vw-article ul,
.vw-article ol {
  padding-left: 24px;
  margin-bottom: 1em;
  line-height: 1.7;
  color: var(--text);
}
.vw-article li { margin-bottom: 6px; }
.vw-article a { color: var(--primary); text-decoration: underline; }
.vw-article blockquote {
  border-left: 3px solid var(--primary);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-muted, #555);
}

/* ── TABLE ───────────────────────────────────────────────────────────────── */
.vw-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.vw-table th {
  background: var(--nav-bg, var(--brand-dark, #1A1A1A));
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
}
.vw-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}
.vw-table tr:nth-child(even) td { background: rgba(0,0,0,0.025); }
@media (max-width: 700px) {
  .vw-table { font-size: 13px; }
  .vw-table th,
  .vw-table td { padding: 10px 12px; }
}

/* ── SIDEBAR ─────────────────────────────────────────────────────────────── */
.vw-content-sidebar aside {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── SIDEBAR CTA ─────────────────────────────────────────────────────────── */
.vw-sidebar-cta {
  background: var(--nav-bg, var(--brand-dark, #1A1A1A));
  padding: 28px;
  border-radius: var(--radius-md, 8px);
}
.vw-sidebar-cta h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.vw-sidebar-cta p {
  font-size: 14px;
  color: rgba(255,255,255,0.62);
  line-height: 1.6;
  margin-bottom: 16px;
}
.vw-sidebar-cta .vw-btn,
.vw-sidebar-cta a.vw-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm, 4px);
  transition: opacity 150ms ease;
}
.vw-sidebar-cta .vw-btn:hover { opacity: 0.88; }

/* ── SIDEBAR CARD ────────────────────────────────────────────────────────── */
.vw-sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
}
.vw-sidebar-card h4 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.vw-sidebar-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.vw-sidebar-card li {
  font-size: 14px;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.vw-sidebar-card li:last-child { border-bottom: none; }

/* ── SIDEBAR LINKS ───────────────────────────────────────────────────────── */
.vw-sidebar-links {
  display: flex;
  flex-direction: column;
}
.vw-sidebar-links a {
  display: block;
  font-size: 14px;
  color: var(--primary);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.vw-sidebar-links a:last-child { border-bottom: none; }
.vw-sidebar-links a:hover { text-decoration: underline; }

/* ── ISSUE LIST (common-problems pages) ──────────────────────────────────── */
.vw-issue-list { margin-top: 8px; }
.vw-issue {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  align-items: start;
}
.vw-issue:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.vw-issue-n {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: rgba(154,154,138,0.2);
  line-height: 1.2;
  padding-top: 2px;
}
.vw-section-dark .vw-issue h4 { color: #fff; }
.vw-section-dark .vw-issue h4 a { color: #fff; text-decoration: none; }
.vw-section-dark .vw-issue h4 a:hover { color: var(--primary); }
.vw-section-dark .vw-issue p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
}
/* Issue list on light background */
.vw-section-white .vw-issue,
.vw-section-mid .vw-issue {
  border-bottom-color: var(--border);
}
.vw-section-white .vw-issue:first-child,
.vw-section-mid .vw-issue:first-child {
  border-top-color: var(--border);
}
.vw-section-white .vw-issue h4,
.vw-section-white .vw-issue h4 a,
.vw-section-mid .vw-issue h4 { color: var(--text); }
.vw-section-white .vw-issue p,
.vw-section-mid .vw-issue p { color: var(--text-muted, #555); }

/* ── STICKY CONTACT BAR ──────────────────────────────────────────────────── */
.cta-sb-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--nav-bg, var(--brand-dark, #1A1A1A));
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 12px 24px;
  transition: transform 250ms ease, opacity 250ms ease;
}
.cta-sb-bar.cta-sb-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cta-sb-inner {
  max-width: var(--max-w, 1200px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-sb-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.cta-sb-phone {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.cta-sb-phone:hover { color: var(--primary); }
.cta-sb-btn {
  background: var(--primary);
  color: #fff;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm, 4px);
  transition: opacity 150ms ease;
}
.cta-sb-btn:hover { opacity: 0.88; }
@media (max-width: 480px) {
  .cta-sb-label { display: none; }
  .cta-sb-inner { gap: 12px; }
}

/* ── UNSTYLED LIST FIX (MORPH-38) ────────────────────────────────────────── */
main ul, main ol {
  padding-left: 1.5rem;
  margin: 0 0 1.25rem;
  line-height: 1.7;
  color: var(--brand-text, var(--text, #111));
}
main li {
  margin-bottom: 0.4rem;
}

/* ── INVISIBLE SECTION FIX (MORPH-38) ────────────────────────────────────── */
/* Sections with reveal-ready must be visible even without JS */
.reveal-ready {
  opacity: 1 !important;
  transform: none !important;
}

/* ── PRINT STYLESHEET (MORPH-19: CSS-19) ─────────────────────────────────── */
/* ── DARK-SECTION TEXT CONTRAST FIX (MORPH-38 Cycle 1b) ──────────────────── */
/* Ensure all text inside section-dark is readable on dark backgrounds */
.vw-section-dark h2,
.vw-section-dark h3,
.vw-section-dark h4 {
  color: #fff;
}
.vw-section-dark p,
.vw-section-dark li {
  color: rgba(255,255,255,0.78);
}
.vw-section-dark a {
  color: var(--primary, #E8364E);
}
.vw-section-dark .vw-model-grid .vw-model-card {
  background: var(--surface, #F5F5F0);
}
.vw-section-dark .vw-model-grid .vw-model-card h4,
.vw-section-dark .vw-model-grid .vw-model-card h3 {
  color: var(--text, #111);
}
.vw-section-dark .vw-model-grid .vw-model-card p {
  color: var(--text-muted, #555);
}
.vw-section-dark .vw-model-grid .vw-model-card a {
  color: var(--text, #111);
}

/* ── ARTICLE CARD CONTRAST FIX (MORPH-38 Cycle 1b) ──────────────────────── */
/* Cards on light backgrounds must have dark text regardless of parent context */
[class*="-article-card"] h4,
[class*="-article-card"] h3 {
  color: var(--text, #111) !important;
}
[class*="-article-card"] p {
  color: var(--text-muted, #555) !important;
}
[class*="-article-card"] a {
  color: var(--text, #111);
}

/* ── SERVICE CARD TEXT (Porsche) ──────────────────────────────────────────── */
/* Service cards with light backgrounds need dark text */
[class*="-service-name"],
[class*="-service-desc"] {
  color: var(--text, #111) !important;
}
/* Only override when parent has light bg */
.vw-section-dark [class*="-service-name"],
.vw-section-dark [class*="-service-desc"] {
  color: rgba(255,255,255,0.78) !important;
}

/* ── BUTTON CONTRAST FIX (Land Rover secondary buttons) ──────────────────── */
[class*="-btn-secondary"] {
  color: #fff !important;
}

/* ── HERO HEADING CONTRAST FIX ───────────────────────────────────────────── */
/* Ensure hero headings are always white on dark hero backgrounds */
main [class*="-hero-heading"] {
  color: #fff !important;
}

/* ── SPOKE/HUB LINK CONTRAST ON DARK SECTIONS ───────────────────────────── */
.vw-section-dark [class*="-spoke"],
.vw-section-dark [class*="-hub"] {
  color: var(--primary, #E8364E);
}



/* ── CONTRAST FIX CYCLE 2c (MORPH-39) ────────────────────────────────────── */
/* VW sidebar-cta: dark bg panel — force light text */
.vw-sidebar-cta h4 {
  color: #fff !important;
}
.vw-sidebar-cta p {
  color: rgba(255,255,255,0.78) !important;
}
.vw-sidebar-cta a:not([class*="btn"]) {
  color: var(--primary, #E8364E) !important;
}
.vw-sidebar-cta a[class*="btn"] {
  color: #fff !important;
}


@media print {
  /* Hide navigation and interactive elements */
  header, .cta-sb-bar, footer, [class*="-cta-band"], [class*="-nav"], [class*="-hamburger"], [class*="-panel"] {
    display: none !important;
  }
  /* Show full article content without sidebar */
  [class*="-content-sidebar"] {
    display: block;
  }
  aside, [class*="-sidebar-cta"], [class*="-sidebar-card"] {
    display: none !important;
  }
  /* Typography for print */
  body {
    font-size: 11pt;
    line-height: 1.5;
    color: #000 !important;
    background: #fff !important;
  }
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555;
  }
  a[href^="tel"]::after,
  a[href^="#"]::after {
    content: none;
  }
  h1, h2, h3 { color: #000 !important; page-break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
  [class*="-table"] { page-break-inside: avoid; }
}

/* ── MORPH-40: Hero Photograph Background ──────────────────────────────── */
/* Replaces solid-color hero with real photograph + dark overlay for text   */
.vw-hero--centered-text {
  background-image: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.55)),
                    url('assets/hero-images/vw-hero-processed.webp') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat;
  background-color: transparent !important;
}
/* Force white text over photo overlay */
.vw-hero--centered-text .vw-hero-eyebrow {
  color: rgba(255,255,255,0.85) !important;
}
.vw-hero--centered-text .vw-hero-heading {
  color: #ffffff !important;
}
.vw-hero--centered-text .vw-hero-sub {
  color: rgba(255,255,255,0.80) !important;
  opacity: 1;
}
.vw-hero--centered-text .vw-hero-city {
  color: rgba(255,255,255,0.65) !important;
}
.vw-hero--centered-text .vw-hero-phone-number {
  color: #ffffff !important;
}
.vw-hero--centered-text .vw-hero-phone-label {
  color: rgba(255,255,255,0.70) !important;
  opacity: 1;
}
.vw-hero--centered-text .vw-hero-cta .vw-btn-outline {
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.5) !important;
}
.vw-hero--centered-text .vw-hero-cta .vw-btn-outline:hover {
  border-color: #ffffff !important;
}
/* ── END MORPH-40 Hero Photograph ──────────────────────────────────────── */

/* MORPH-40c: Service/Guide index card styling */
[class$="-service-item"],
[class$="-spoke-card"],
[class$="-article-card"] {
  display: block;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border, rgba(0,0,0,0.09));
  border-radius: var(--radius-md, 4px);
  background: var(--surface, #E3E3E1);
  text-decoration: none;
  color: var(--text, #111);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
[class$="-service-item"]:hover,
[class$="-spoke-card"]:hover,
[class$="-article-card"]:hover {
  box-shadow: var(--shadow-md, 0 4px 12px rgba(0,0,0,0.10));
  border-color: var(--primary, #0A4DA2);
}
[class$="-service-item"] h3,
[class$="-service-item"] h4,
[class$="-spoke-card"] h3,
[class$="-spoke-card"] h4 {
  margin: 0 0 0.5rem 0;
  font-family: var(--font-head);
}
[class$="-service-item"] p,
[class$="-spoke-card"] p,
[class$="-article-card"] p {
  margin: 0 0 0.5rem 0;
  color: var(--text-muted, #545A67);
  font-size: 0.95rem;
  line-height: 1.6;
}
[class$="-service-cta"],
[class$="-spoke-link"] {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary, #0A4DA2);
}
[class$="-service-list"] {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}


/* ================================================================
   MORPH-43: Interior Prose Spacing (fleet-wide)
   Scoped under <main> so homepage (no <main> tag) is unaffected.
   Restores vertical rhythm stripped by CSS reset (p { margin: 0 }).
================================================================ */
main p { margin: 0 0 1.25rem 0; line-height: 1.7; }
main h2 { margin: 2.5rem 0 1rem 0; }
main h3 { margin: 2rem 0 0.75rem 0; }
main h4 { margin: 1.5rem 0 0.5rem 0; }
main ul, main ol { margin: 0 0 1.25rem 0; padding-left: 1.5rem; }
main li { margin: 0 0 0.5rem 0; line-height: 1.6; }
main blockquote { margin: 1.5rem 0; padding: 1rem 1.5rem; border-left: 3px solid var(--primary, #0A4DA2); background: var(--surface, #f5f5f3); }
main table { margin: 1.5rem 0; border-collapse: collapse; width: 100%; }
main th, main td { padding: 0.75rem 1rem; border: 1px solid var(--border, rgba(0,0,0,0.09)); text-align: left; }
main th { background: var(--surface, #f5f5f3); font-weight: 600; }
main img { max-width: 100%; height: auto; margin: 1rem 0; border-radius: var(--radius-md, 4px); }
main hr { margin: 2rem 0; border: none; border-top: 1px solid var(--border, rgba(0,0,0,0.09)); }
main section { padding: 3rem 0; }
main section + section { border-top: 1px solid var(--border, rgba(0,0,0,0.09)); }

/* ================================================================
   MORPH-43: Service card selector fix (adds -service-card pattern)
================================================================ */
[class$="-service-card"] {
  display: block;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border, rgba(0,0,0,0.09));
  border-radius: var(--radius-md, 4px);
  background: var(--surface, #E3E3E1);
  text-decoration: none;
  color: var(--text, #111);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
[class$="-service-card"]:hover {
  box-shadow: var(--shadow-md, 0 4px 12px rgba(0,0,0,0.10));
  border-color: var(--primary, #0A4DA2);
}
[class$="-service-card"] h3,
[class$="-service-card"] h4 {
  margin: 0 0 0.5rem 0;
  font-family: var(--font-head);
}
[class$="-service-card"] p {
  margin: 0 0 0.5rem 0;
  color: var(--text-muted, #545A67);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* MORPH-43: Icon visibility fix */
[class$="-service-icon"] {
  font-size: 1.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
}
