/* ================================================================
   variables.css â€” Generated by tokens-to-css.ps1
   Make   : mercedes
   Mode   : light
   Source : themes/brands/mercedes/tokens.json
   DO NOT EDIT MANUALLY â€” run: .\tokens-to-css.ps1 -make mercedes
   MORPH-09: --surface is light for light-mode makes.
             --nav-bg / --footer-bg carry the dark surface.
   MORPH-16: --shadow-sm/md/lg and --dl-motion-speed/easing added.
================================================================ */

:root {
  /* === Mode === */
  --mode: "light";

  /* === Brand Colors === */
  --primary:          #0A4DA2;:          #1B5299;
  --primary-hover:    #16437D;
  --bg:               #F4F4F2;
  --surface:          #E3E3E1;
  --border:           rgba(0,0,0,0.09);
  --text:             #0D0D0F;
  --text-muted:       #607080;
  /* === MORPH-48: Decorative icon color — precision cool blue, lighter than --primary */
  /* Interactive: var(--primary) #0A4DA2 (buttons, links, CTAs) */
  /* Decorative:  #6B9FD4 (SVG icons, badge marks, credential codes) */
  --icon-color:         #6B9FD4;
  --icon-color-light:   rgba(107,159,212,0.10);

  /* === Derived Semantic Colors === */
  --text-inverse:       #FFFFFF;
  --text-muted-inverse: rgba(255,255,255,0.62);
  --footer-heading:     #607080;

  /* === Component Background Tokens (MORPH-09) === */
  /* --nav-bg and --footer-bg are the original dark surface: nav/footer stay dark. */
  /* --surface above is now the light elevated card/section background. */
  --nav-bg:             #1A1A1C;
  --nav-bg-rgb:         26,26,28;
  --footer-bg:          #1A1A1C;

  /* === Typography === */
  --font-head: 'Inter Tight', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* === Shape === */
  --radius-sm:   2px;
  --radius-md:   4px;
  --radius-lg:   8px;
  --radius-full: 9999px;

  /* === Shadows (MORPH-16: CSS-01) === */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);

  /* === Motion (MORPH-16: CSS-02) === */
  --speed:           150ms;
  --easing:          ease;
  --dl-motion-speed: 150ms;
  --dl-motion-easing: ease;

  /* === Spacing === */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* === Layout === */
  --max-w:  var(--dl-container-max, 1200px);
  --pad-h:  24px;
}

/* === Base Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
p + p { margin-top: 1em; }

/* fonts.css - make: mercedes - MORPH-29: @import removed — <link> in index.html is sufficient */

/* COVOS Morpheme Library — Shared Reset
   Applied to every assembled site.
   No class names — pure element resets only.
   ─────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* === Base Typography (MORPH-17: CSS-11) ===
   Element-level defaults. Component CSS may override.
   Depends on CSS custom properties from variables.css (loaded first).
   ─────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: var(--dl-heading-lh, 1.15);
  color: var(--text);
  font-weight: var(--dl-heading-weight, 700);
}

p {
  font-family: var(--font-body);
  font-size: var(--dl-body-size, 16px);
  line-height: var(--dl-body-lh, 1.7);
  color: var(--text);
}

li {
  font-family: var(--font-body);
  font-size: var(--dl-body-size, 16px);
  line-height: var(--dl-body-lh, 1.7);
  color: var(--text);
}

strong, b { font-weight: 700; }
em, i     { font-style: italic; }
small     { font-size: 0.85em; }

code, kbd, samp {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9em;
}


/*
 * COVOS Design Language System — index.css
 * Layer 1: Structural CSS variables per language
 * Body class (e.g. .lang-clinical) set by assembler from profile.json
 * Brand tokens (Layer 3) may override motion.speed and shape.radius only
 * Version: 1.0
 * MORPH-16: CSS-15 fix — color-mix() fallbacks added to vl-approachable.
 *           CSS-05 fix — section-alt rules added for all 7 visual languages.
 * MORPH-19: VL archetype color differentiation, scroll reveal classes added.
 */

/* === Global Focus Visibility (WCAG 2.1 AA — SC 2.4.7) === (MORPH-17: CSS-17) */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Nav links and buttons get a rounded focus ring to match their shape */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm, 2px);
}

/* FAQ buttons use an inset ring to avoid layout shift */
[class*="-faq-question"]:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

/* Remove focus ring on mouse click but not keyboard */
:focus:not(:focus-visible) { outline: none; }

/* ─────────────────────────────────────────────
   CLINICAL — Precision, engineering, restraint
───────────────────────────────────────────── */
.lang-clinical {
  --dl-spacing-base:        6px;
  --dl-section-padding-y:   56px;
  --dl-container-max:       1100px;
  --dl-container-px:        24px;
  --dl-component-gap:       14px;
  --dl-card-gap:            16px;

  --dl-hero-size:           clamp(2.2rem, 4.5vw, 3.6rem);
  --dl-h1-size:             clamp(1.8rem, 3.5vw, 2.8rem);
  --dl-h2-size:             clamp(1.2rem, 2vw, 1.6rem);
  --dl-h3-size:             1.1rem;
  --dl-body-size:           15px;
  --dl-body-lh:             1.65;
  --dl-hero-lh:             1.05;
  --dl-heading-lh:          1.1;
  --dl-heading-weight:      800;
  --dl-eyebrow-size:        0.7rem;
  --dl-eyebrow-ls:          0.12em;

  --dl-radius-sm:           0px;
  --dl-radius-md:           2px;
  --dl-radius-lg:           4px;
  --dl-radius-full:         2px;
  --dl-btn-radius:          2px;

  --dl-motion-speed:        100ms;
  --dl-motion-easing:       ease;

  --dl-hero-min-h:          58vh;
  --dl-hero-max-h:          68vh;
  --dl-hero-content-max:    580px;
  --dl-grid-columns:        3;
  --dl-sidebar-width:       280px;
}

/* ─────────────────────────────────────────────
   PERFORMANCE — Intensity, data-forward, bold
───────────────────────────────────────────── */
.lang-performance {
  --dl-spacing-base:        8px;
  --dl-section-padding-y:   64px;
  --dl-container-max:       1200px;
  --dl-container-px:        28px;
  --dl-component-gap:       20px;
  --dl-card-gap:            20px;

  --dl-hero-size:           clamp(2.8rem, 6vw, 5rem);
  --dl-h1-size:             clamp(2rem, 4vw, 3.2rem);
  --dl-h2-size:             clamp(1.4rem, 2.4vw, 1.9rem);
  --dl-h3-size:             1.2rem;
  --dl-body-size:           16px;
  --dl-body-lh:             1.6;
  --dl-hero-lh:             0.95;
  --dl-heading-lh:          1.0;
  --dl-heading-weight:      900;
  --dl-eyebrow-size:        0.65rem;
  --dl-eyebrow-ls:          0.18em;

  --dl-radius-sm:           0px;
  --dl-radius-md:           0px;
  --dl-radius-lg:           0px;
  --dl-radius-full:         0px;
  --dl-btn-radius:          0px;

  --dl-motion-speed:        80ms;
  --dl-motion-easing:       ease-out;

  --dl-hero-min-h:          72vh;
  --dl-hero-max-h:          88vh;
  --dl-hero-content-max:    720px;
  --dl-grid-columns:        3;
  --dl-sidebar-width:       0px;
}

/* ─────────────────────────────────────────────
   PREMIUM — Restraint, whitespace, earned luxury
───────────────────────────────────────────── */
.lang-premium {
  --dl-spacing-base:        8px;
  --dl-section-padding-y:   80px;
  --dl-container-max:       1040px;
  --dl-container-px:        32px;
  --dl-component-gap:       24px;
  --dl-card-gap:            24px;

  --dl-hero-size:           clamp(2.4rem, 4.8vw, 4.2rem);
  --dl-h1-size:             clamp(1.8rem, 3.2vw, 2.8rem);
  --dl-h2-size:             clamp(1.1rem, 1.8vw, 1.5rem);
  --dl-h3-size:             1rem;
  --dl-body-size:           16px;
  --dl-body-lh:             1.75;
  --dl-hero-lh:             1.05;
  --dl-heading-lh:          1.1;
  --dl-heading-weight:      300;
  --dl-eyebrow-size:        0.65rem;
  --dl-eyebrow-ls:          0.2em;

  --dl-radius-sm:           0px;
  --dl-radius-md:           0px;
  --dl-radius-lg:           0px;
  --dl-radius-full:         0px;
  --dl-btn-radius:          0px;

  --dl-motion-speed:        200ms;
  --dl-motion-easing:       cubic-bezier(0.25, 0.1, 0.25, 1);

  --dl-hero-min-h:          50vh;
  --dl-hero-max-h:          62vh;
  --dl-hero-content-max:    640px;
  --dl-grid-columns:        2;
  --dl-sidebar-width:       0px;
}

/* ─────────────────────────────────────────────
   HERITAGE — Craft, warmth, structural character
───────────────────────────────────────────── */
.lang-heritage {
  --dl-spacing-base:        8px;
  --dl-section-padding-y:   60px;
  --dl-container-max:       1100px;
  --dl-container-px:        28px;
  --dl-component-gap:       18px;
  --dl-card-gap:            20px;

  --dl-hero-size:           clamp(2.2rem, 4.5vw, 3.8rem);
  --dl-h1-size:             clamp(1.7rem, 3vw, 2.6rem);
  --dl-h2-size:             clamp(1.2rem, 2vw, 1.6rem);
  --dl-h3-size:             1.1rem;
  --dl-body-size:           16px;
  --dl-body-lh:             1.7;
  --dl-hero-lh:             1.1;
  --dl-heading-lh:          1.15;
  --dl-heading-weight:      700;
  --dl-eyebrow-size:        0.7rem;
  --dl-eyebrow-ls:          0.1em;

  --dl-radius-sm:           2px;
  --dl-radius-md:           4px;
  --dl-radius-lg:           6px;
  --dl-radius-full:         4px;
  --dl-btn-radius:          3px;

  --dl-motion-speed:        150ms;
  --dl-motion-easing:       ease;

  --dl-hero-min-h:          60vh;
  --dl-hero-max-h:          70vh;
  --dl-hero-content-max:    600px;
  --dl-grid-columns:        3;
  --dl-sidebar-width:       300px;
}

/* ─────────────────────────────────────────────
   APPROACHABLE — Friendly, human-scale, accessible
───────────────────────────────────────────── */
.lang-approachable {
  --dl-spacing-base:        8px;
  --dl-section-padding-y:   56px;
  --dl-container-max:       1100px;
  --dl-container-px:        24px;
  --dl-component-gap:       20px;
  --dl-card-gap:            20px;

  --dl-hero-size:           clamp(2rem, 4vw, 3.4rem);
  --dl-h1-size:             clamp(1.6rem, 3vw, 2.4rem);
  --dl-h2-size:             clamp(1.1rem, 1.8vw, 1.5rem);
  --dl-h3-size:             1.05rem;
  --dl-body-size:           16px;
  --dl-body-lh:             1.7;
  --dl-hero-lh:             1.15;
  --dl-heading-lh:          1.2;
  --dl-heading-weight:      700;
  --dl-eyebrow-size:        0.75rem;
  --dl-eyebrow-ls:          0.08em;

  --dl-radius-sm:           4px;
  --dl-radius-md:           8px;
  --dl-radius-lg:           12px;
  --dl-radius-full:         999px;
  --dl-btn-radius:          6px;

  --dl-motion-speed:        150ms;
  --dl-motion-easing:       ease-in-out;

  --dl-hero-min-h:          52vh;
  --dl-hero-max-h:          64vh;
  --dl-hero-content-max:    660px;
  --dl-grid-columns:        3;
  --dl-sidebar-width:       280px;
}

/* ─────────────────────────────────────────────
   EDITORIAL — Typography-led, destination feel
───────────────────────────────────────────── */
.lang-editorial {
  --dl-spacing-base:        8px;
  --dl-section-padding-y:   72px;
  --dl-container-max:       1080px;
  --dl-container-px:        28px;
  --dl-component-gap:       22px;
  --dl-card-gap:            24px;

  --dl-hero-size:           clamp(2.6rem, 5.5vw, 4.8rem);
  --dl-h1-size:             clamp(2rem, 3.8vw, 3.2rem);
  --dl-h2-size:             clamp(1.2rem, 2vw, 1.7rem);
  --dl-h3-size:             1.1rem;
  --dl-body-size:           17px;
  --dl-body-lh:             1.8;
  --dl-hero-lh:             1.05;
  --dl-heading-lh:          1.08;
  --dl-heading-weight:      600;
  --dl-eyebrow-size:        0.65rem;
  --dl-eyebrow-ls:          0.16em;

  --dl-radius-sm:           0px;
  --dl-radius-md:           0px;
  --dl-radius-lg:           0px;
  --dl-radius-full:         0px;
  --dl-btn-radius:          0px;

  --dl-motion-speed:        160ms;
  --dl-motion-easing:       ease;

  --dl-hero-min-h:          65vh;
  --dl-hero-max-h:          80vh;
  --dl-hero-content-max:    760px;
  --dl-grid-columns:        2;
  --dl-sidebar-width:       0px;
}


/* =======================================================================
   MORPH-10: Visual Language Body-Class Overrides
   Applied via body.vl-* classes injected by assembler from recipe.visualLanguage.
   All selectors use attribute wildcards to avoid CSS_PREFIX coupling.
======================================================================= */

/* ─────────────────────────────────────────────
   VL-PRECISION — Engineering exactness, monospace codes, zero ornament
───────────────────────────────────────────── */
body.vl-precision [class*="-service-card"] { border-radius: 0; }
body.vl-precision [class*="-service-icon"] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: monospace;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}
body.vl-precision [class*="-section"] + [class*="-section"] {
  border-top: 1px solid var(--border);
}
body.vl-precision [class*="-trust-item"] [class*="-trust-icon"] { display: none; }
body.vl-precision [class*="-trust-item"]::before {
  content: attr(data-code);
  font-family: monospace;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--primary);
  margin-right: 8px;
}

/* ─────────────────────────────────────────────
   VL-PRECISION: Section alternation (Audi, Mercedes)
   Uses --surface (light elevated tone ~#EAEAE8) for structural band effect.
   CSS-05 fix — MORPH-16
───────────────────────────────────────────── */
body.vl-precision [class*="-section-alt"] {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

/* ─────────────────────────────────────────────
   VL-PERFORMANCE — Bold, data-forward, numbered sections
───────────────────────────────────────────── */
body.vl-performance [class*="-service-icon"] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  border-radius: 0;
}
body.vl-performance [class*="-section-title"]::before {
  content: attr(data-num);
  position: absolute;
  left: -2rem;
  font-size: 4rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.08;
  line-height: 1;
}
body.vl-performance [class*="-section-title"] { position: relative; }

/* ─────────────────────────────────────────────
   VL-PERFORMANCE: Section alternation (BMW, Porsche)
   Uses --nav-bg (dark surface) for aggressive light→dark→light rhythm.
   Text/icon colors inside dark blocks overridden for legibility.
   CSS-05 fix — MORPH-16
───────────────────────────────────────────── */
body.vl-performance [class*="-section-alt"] {
  background: var(--nav-bg, var(--brand-dark, #1A1A1A));
}
body.vl-performance [class*="-section-alt"] [class*="-section-title"] { color: var(--text-inverse); }
body.vl-performance [class*="-section-alt"] [class*="-service-name"]  { color: var(--text-inverse); }
body.vl-performance [class*="-section-alt"] [class*="-service-desc"]  { color: var(--text-muted-inverse); }
body.vl-performance [class*="-section-alt"] [class*="-review-text"]   { color: var(--text-muted-inverse); }

/* ─────────────────────────────────────────────
   VL-PREMIUM — Restraint, whitespace, earned reveal
───────────────────────────────────────────── */
body.vl-premium [class*="-service-icon"] { display: none; }
body.vl-premium [class*="-service-card"] {
  border: none;
  background: transparent;
  border-left: 0px solid var(--primary);
  transition: border-left-width 150ms ease, padding-left 150ms ease;
  padding-left: 0;
}
body.vl-premium [class*="-service-card"]:hover {
  border-left-width: 3px;
  padding-left: 12px;
}
body.vl-premium [class*="-section-title"] { font-weight: 300; }
body.vl-premium [class*="-trust-strip"] { display: flex; gap: 24px; }
body.vl-premium [class*="-trust-item"] { display: inline; }
body.vl-premium [class*="-trust-item"] + [class*="-trust-item"]::before {
  content: " - ";
  color: var(--text-muted);
}
body.vl-premium [class*="-trust-icon"] { display: none; }

/* ─────────────────────────────────────────────
   VL-PREMIUM: Section alternation (Mercedes — clinical DIM)
   Uses --surface. Relies on whitespace alone (no border).
   CSS-05 fix — MORPH-16
───────────────────────────────────────────── */
body.vl-premium [class*="-section-alt"] {
  background: var(--surface);
}

/* ─────────────────────────────────────────────
   VL-APPROACHABLE — Pill shapes, warm, human-scale
   CSS-15 fix: color-mix() lines now have rgba() fallback preceding them.
───────────────────────────────────────────── */
body.vl-approachable [class*="-service-icon"] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);                                                    /* fallback */
  background: color-mix(in srgb, var(--primary) 15%, transparent);                /* modern */
  color: var(--primary);
  font-weight: 700;
}
body.vl-approachable [class*="-service-card"] { border-radius: var(--radius-full); }
body.vl-approachable [class*="-trust-item"] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.08);                                                    /* fallback */
  background: color-mix(in srgb, var(--primary) 10%, transparent);                /* modern */
}

/* ─────────────────────────────────────────────
   VL-APPROACHABLE: Section alternation (VW, European)
   Uses --surface for warm elevated band. Cards already have border-radius.
   CSS-05 fix — MORPH-16
───────────────────────────────────────────── */
body.vl-approachable [class*="-section-alt"] {
  background: var(--surface);
}

/* ─────────────────────────────────────────────
   VL-HERITAGE — Structural character, ruled accents
───────────────────────────────────────────── */
body.vl-heritage [class*="-service-card"] { border-top: 3px solid var(--primary); }
body.vl-heritage [class*="-eyebrow"]::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--primary);
  margin-top: 6px;
}
body.vl-heritage [class*="-trust-icon"] { display: none; }
body.vl-heritage [class*="-trust-item"]::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 1px solid var(--primary);
  margin-right: 10px;
  vertical-align: middle;
}

/* VL-HERITAGE: Section alternation — diagonal texture (original, kept) */
body.vl-heritage [class*="-section-alt"] {
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 24px,
    rgba(0,0,0,0.012) 24px,
    rgba(0,0,0,0.012) 25px
  );
}

/* ─────────────────────────────────────────────
   VL-EDITORIAL — Typography-led, destination feel, silence
───────────────────────────────────────────── */
body.vl-editorial [class*="-service-card"] { border: none; background: transparent; }
body.vl-editorial [class*="-service-icon"] { display: none; }
body.vl-editorial [class*="-service-name"] { color: var(--primary); }
body.vl-editorial [class*="-trust-strip"] { display: none; }
body.vl-editorial [class*="-section"] + [class*="-section"] {
  border-top: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
}
body.vl-editorial [class*="-hero-eyebrow"] { letter-spacing: 0.3em; }
body.vl-editorial footer { border-top: 1px solid var(--primary); }

/* ─────────────────────────────────────────────
   VL-EDITORIAL: Section alternation (European dark mode)
   Subtle white lift on dark background.
   CSS-05 fix — MORPH-16
───────────────────────────────────────────── */
body.dark [class*="-section-alt"] {
  background: rgba(255,255,255,0.04);
}

/* =======================================================================
   MORPH-10: Micro-Interaction Body-Class Overrides
   Applied via body.mi-* classes injected by assembler from recipe.microInteractions.
======================================================================= */

/* --- MI-MINIMAL: subtle border shift only, no lift --- */
body.mi-minimal [class*="-service-card"] { transition: border-color 100ms ease; }
body.mi-minimal [class*="-service-card"]:hover { transform: none; box-shadow: none; }

/* --- MI-CONSIDERED: gentle lift --- */
body.mi-considered [class*="-service-card"] {
  transition: transform 150ms ease, box-shadow 150ms ease;
}
body.mi-considered [class*="-service-card"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* --- MI-EXPRESSIVE: energetic lift + hero cascade animations --- */
body.mi-expressive [class*="-service-card"] {
  transition: transform 120ms ease-out, box-shadow 120ms ease-out;
}
body.mi-expressive [class*="-service-card"]:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
body.mi-expressive [class*="-hero-eyebrow"]  { animation: fadeInUp 0.4s ease both; }
body.mi-expressive [class*="-hero-heading"]  { animation: fadeInUp 0.4s 0.1s ease both; }
body.mi-expressive [class*="-hero-sub"]      { animation: fadeInUp 0.4s 0.2s ease both; }
body.mi-expressive [class*="-hero-cta"]      { animation: fadeInUp 0.4s 0.3s ease both; }

/* MORPH-18: CSS-12 — Staggered service card entrance for mi-expressive (BMW, Porsche) */
body.mi-expressive [class*="-service-card"]:nth-child(1) { animation: fadeInUp 0.4s 0.05s ease both; }
body.mi-expressive [class*="-service-card"]:nth-child(2) { animation: fadeInUp 0.4s 0.10s ease both; }
body.mi-expressive [class*="-service-card"]:nth-child(3) { animation: fadeInUp 0.4s 0.15s ease both; }
body.mi-expressive [class*="-service-card"]:nth-child(4) { animation: fadeInUp 0.4s 0.20s ease both; }
body.mi-expressive [class*="-service-card"]:nth-child(5) { animation: fadeInUp 0.4s 0.25s ease both; }
body.mi-expressive [class*="-service-card"]:nth-child(6) { animation: fadeInUp 0.4s 0.30s ease both; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- MI-CINEMATIC: long curves, left-border reveal, no bounce --- */
body.mi-cinematic * {
  transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1) !important;
  transition-duration: 240ms !important;
}
body.mi-cinematic [class*="-service-card"]:hover {
  transform: none;
  border-left: 3px solid var(--primary);
  padding-left: 12px;
  box-shadow: none;
}


/* =======================================================================
   MORPH-12-VT: Per-Design-Language Atmosphere Backgrounds
   Purely decorative. pointer-events: none. z-index: 0.
   Applied via body::after on each lang-* class.
======================================================================= */

/* ─────────────────────────────────────────────
   CLINICAL (Audi) — subtle dot-grid
───────────────────────────────────────────── */
body.lang-clinical::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.035) 1px, transparent 0);
  background-size: 20px 20px;
}

/* ─────────────────────────────────────────────
   PERFORMANCE (BMW, Porsche) — diagonal hash marks
───────────────────────────────────────────── */
body.lang-performance::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 11px,
      rgba(0,0,0,0.018) 11px,
      rgba(0,0,0,0.018) 12px
    );
}

/* ─────────────────────────────────────────────
   PREMIUM (Mercedes) — atmosphere IS the whitespace.
   No ::after pattern. Instead: increase section padding by 40%.
───────────────────────────────────────────── */
.lang-premium {
  --dl-section-padding-y: 112px;
}

/* ─────────────────────────────────────────────
   HERITAGE (Land Rover) — subtle SVG noise texture
───────────────────────────────────────────── */
body.lang-heritage::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ─────────────────────────────────────────────
   APPROACHABLE (VW) — soft radial from centre
───────────────────────────────────────────── */
body.lang-approachable::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(ellipse at 50% 30%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.02) 100%);
}

/* ─────────────────────────────────────────────
   EDITORIAL (European) — horizontal hairline rules at 33% + 66%
   Using body::before for first rule, body::after for second.
───────────────────────────────────────────── */
body.lang-editorial::before {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  top: 33%;
  height: 1px;
  background: var(--border, rgba(0,0,0,0.08));
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

body.lang-editorial::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  top: 66%;
  height: 1px;
  background: var(--border, rgba(0,0,0,0.08));
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ─────────────────────────────────────────────
   Mobile: reduce or disable atmosphere patterns
───────────────────────────────────────────── */
@media (max-width: 768px) {
  body.lang-clinical::after,
  body.lang-heritage::after {
    display: none;
  }
  body.lang-performance::after,
  body.lang-approachable::after {
    opacity: 0.5;
  }
  body.lang-editorial::before,
  body.lang-editorial::after {
    display: none;
  }
}


/* =======================================================================
   MORPH-12-VT: Section Rhythm — structural dividers + breathing room
======================================================================= */

/* ─────────────────────────────────────────────
   VL-PRECISION + VL-PREMIUM: strengthen section dividers
───────────────────────────────────────────── */
body.vl-precision [class*="-section"] + [class*="-section"] {
  padding-top: calc(var(--dl-section-padding-y, 56px) * 1.4);
}

body.vl-premium [class*="-section"] + [class*="-section"] {
  border-top: 1px solid var(--border);
  padding-top: calc(var(--dl-section-padding-y, 80px) * 1.4);
}


/* =======================================================================
   MORPH-19: Archetype-Differentiated Section Color Schemes
   VL body classes drive visual differentiation across archetypes.
   Task 2: Light → dark → light rhythm per archetype.
======================================================================= */

/* VL-PERFORMANCE: services section goes dark for light→dark rhythm (BMW, Porsche) */
body.vl-performance [class*="-section-alt"]:first-of-type {
  background: var(--nav-bg, var(--brand-dark, #1A1A1A));
  border-top: none;
}
body.vl-performance [class*="-section-alt"]:first-of-type [class*="-section-title"] {
  color: var(--text-inverse);
}
body.vl-performance [class*="-section-alt"]:first-of-type [class*="-eyebrow"] {
  color: rgba(255,255,255,0.55);
}
body.vl-performance [class*="-section-alt"]:first-of-type [class*="-service-card"] {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
}
body.vl-performance [class*="-section-alt"]:first-of-type [class*="-service-name"] {
  color: var(--text-inverse);
}
body.vl-performance [class*="-section-alt"]:first-of-type [class*="-service-desc"] {
  color: var(--text-muted-inverse);
}
body.vl-performance [class*="-section-alt"]:first-of-type [class*="-service-link"] {
  color: var(--primary);
}
body.vl-performance [class*="-section-alt"]:first-of-type [class*="-service-icon"] {
  background: var(--primary);
  color: #fff;
}

/* VL-PRECISION: trust strip gets extra visual weight — dark band immediately below hero */
body.vl-precision [class*="-trust-strip"] {
  border-top: 3px solid var(--primary);
  border-bottom: 1px solid var(--border);
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}
body.vl-precision [class*="-trust-credential-text"] {
  font-size: var(--dl-body-size, 15px);
}

/* VL-HERITAGE: "Why Us" section gets warm textured background (Land Rover) */
body.vl-heritage [class*="-why-us"] {
  background: color-mix(in srgb, var(--primary) 4%, var(--bg));
  border-top: 3px solid var(--primary);
}
/* Fallback for older browsers */
@supports not (background: color-mix(in srgb, red 4%, blue)) {
  body.vl-heritage [class*="-why-us"] {
    background: var(--surface);
  }
}

/* VL-PREMIUM: CTA band uses restrained dark treatment (Mercedes) */
body.vl-premium [class*="-cta-band"] {
  background: var(--nav-bg, var(--brand-dark, #1A1A1A));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
body.vl-premium [class*="-cta-band-headline"] {
  font-weight: 300;
  letter-spacing: 0.02em;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}


/* =======================================================================
   MORPH-19+: Section Title Base CSS
   Applied globally — DL classes provide override values.
   section-title is used in every section template but had no CSS.
======================================================================= */

[class*="-section-title"] {
  font-family: var(--font-head);
  font-size: var(--dl-h2-size, clamp(1.4rem, 2.5vw, 2rem));
  font-weight: var(--dl-heading-weight, 700);
  line-height: var(--dl-heading-lh, 1.15);
  color: var(--text);
  margin-bottom: var(--space-5, 24px);
  letter-spacing: -0.01em;
}

/* Eyebrow label — small uppercase text above section titles */
[class*="-eyebrow"] {
  font-family: var(--font-body);
  font-size: var(--dl-eyebrow-size, 0.7rem);
  font-weight: 600;
  letter-spacing: var(--dl-eyebrow-ls, 0.12em);
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: var(--space-2, 8px);
  opacity: 0.85;
}

/* =======================================================================
   MORPH-19: Scroll-Triggered Reveal Animations (Task 3)
   IntersectionObserver script injected via hero template.
   Classes applied to section titles and content grids in templates.
   Does NOT apply to hero (handled by mi-expressive), nav, or footer.
======================================================================= */

.reveal-ready {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--dl-motion-easing, ease),
              transform 0.5s var(--dl-motion-easing, ease);
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children within a reveal group */
.reveal-group > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-group > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-group > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-group > *:nth-child(4) { transition-delay: 0.20s; }
.reveal-group > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-group > *:nth-child(6) { transition-delay: 0.30s; }

/* Respect user preference */
@media (prefers-reduced-motion: reduce) {
  .reveal-ready { opacity: 1; transform: none; transition: none; }
}


/* ================================================================
   buttons.css -- Shared Button Component
   MORPH-17: CSS-10 fix -- extracted from hero.css.
   Buttons are used fleet-wide: hero CTA, sidebar CTA, cta-band,
   footer CTAs. This file must be loaded AFTER variables.css and
   BEFORE any component CSS that uses btn classes.
   ALL colors via CSS custom properties. Zero hardcoded hex.
================================================================ */

.mb-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 13px var(--space-5);
  border-radius: var(--dl-btn-radius, var(--radius-md));
  transition: background var(--dl-motion-speed, 150ms) var(--dl-motion-easing, ease),
              border-color var(--dl-motion-speed, 150ms) var(--dl-motion-easing, ease),
              color var(--dl-motion-speed, 150ms) var(--dl-motion-easing, ease);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.mb-btn-primary {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.mb-btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #ffffff;
}

.mb-btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.mb-btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Ghost: transparent bg, primary border, primary text */
.mb-btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
  opacity: 0.72;
}

.mb-btn-ghost:hover {
  opacity: 1;
  background: transparent;
}

/* Responsive: stack buttons below 480px */
@media (max-width: 480px) {
  .mb-btn {
    justify-content: center;
    width: 100%;
  }
}


/* ================================================================
   nav.css â€” Sticky Header + Mobile Overlay Panel
   ALL colors via CSS custom properties. Zero hardcoded hex values.
   Class prefix injected by assembler via mb.
   MORPH-09: uses --nav-bg (dark panel token) instead of --surface,
   so nav stays dark regardless of the new light --surface on cards.
================================================================ */

/* --- Container utility (shared across components) --- */
.mb-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-h);
  padding-right: var(--pad-h);
}

/* --- Header --- */
.mb-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg, var(--brand-dark, #1A1A1A));
  border-bottom: 1px solid var(--border);
}
.mb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--space-5);
}

/* --- Logo --- */
.mb-logo {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-inverse);
  letter-spacing: 0.4px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}
.mb-logo:hover { color: var(--primary); }

/* --- Desktop Nav --- */
.mb-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex: 1;
}
.mb-nav a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted-inverse);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  transition: color var(--speed) var(--easing), background var(--speed) var(--easing);
  white-space: nowrap;
  text-decoration: none;
}
.mb-nav a:hover,
.mb-nav a.active { color: var(--text-inverse); background: rgba(255,255,255,0.08); }
.mb-nav-cta {
  background: var(--primary) !important;
  color: var(--text-inverse) !important;
  padding: 7px 16px !important;
  font-weight: 600 !important;
  border-radius: var(--radius-md) !important;
  margin-left: var(--space-2);
}
.mb-nav-cta:hover { background: var(--primary-hover) !important; }

/* --- Header phone (desktop) --- */
.mb-header-phone {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}
.mb-header-phone:hover { color: var(--primary-hover); }

/* --- Hamburger (mobile only) --- */
.mb-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-1);
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.mb-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-inverse);
  border-radius: 2px;
  opacity: 0.7;
  transition: opacity var(--speed) var(--easing);
}
.mb-hamburger:hover span { opacity: 1; }

/* --- Mobile Panel --- */
.mb-panel {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--nav-bg, var(--brand-dark, #1A1A1A));
  flex-direction: column;
}
.mb-panel.open { display: flex; }
.mb-panel-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  padding: var(--space-5);
}
.mb-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--space-5);
}
.mb-panel-brand {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-inverse);
}
.mb-panel-close {
  background: none;
  border: none;
  color: var(--text-muted-inverse);
  font-size: 1.2rem;
  cursor: pointer;
  padding: var(--space-1);
  transition: color var(--speed) var(--easing);
}
.mb-panel-close:hover { color: var(--text-inverse); }
.mb-panel-nav { display: flex; flex-direction: column; flex: 1; }
.mb-panel-nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted-inverse);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  min-height: 48px;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color var(--speed) var(--easing);
}
.mb-panel-nav a:hover { color: var(--text-inverse); }
.mb-panel-foot {
  padding-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: auto;
}
.mb-panel-phone {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.mb-panel-cta {
  display: block;
  background: var(--primary);
  color: var(--text-inverse);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  text-align: center;
  text-decoration: none;
  transition: background var(--speed) var(--easing);
}
.mb-panel-cta:hover { background: var(--primary-hover); }

/* --- Responsive breakpoint --- */
@media (max-width: 768px) {
  .mb-nav          { display: none; }
  .mb-header-phone { display: none; }
  .mb-hamburger    { display: flex; }
}


/* ================================================================
   hero.css â€” Full-Width Hero Section
   Mode-aware: light mode = bg + dark text, dark mode = surface + light text
   ALL colors via CSS custom properties. Zero hardcoded hex values.
   MORPH-09: design language variables wired in for size, height, weight,
   content max-width, and button radius. Falls back to safe defaults if
   design-language.css is not linked (legacy mode safety).
================================================================ */

.mb-hero {
  background: var(--bg);
  padding: var(--space-9) 0 var(--space-8);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  min-height: var(--dl-hero-min-h, 52vh);
  max-height: var(--dl-hero-max-h, 72vh);
}
.mb-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--dl-hero-content-max, 800px);
}
.mb-hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--dl-eyebrow-size, 11px);
  font-weight: 600;
  letter-spacing: var(--dl-eyebrow-ls, 2.5px);
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-4);
  display: block;
}
.mb-hero-heading {
  font-family: var(--font-head);
  font-size: var(--dl-hero-size, clamp(2.2rem, 4.5vw, 3.6rem));
  font-weight: var(--dl-heading-weight, 800);
  color: var(--text);
  line-height: var(--dl-hero-lh, 1.1);
  margin-bottom: var(--space-4);
  max-width: 760px;
}
.mb-hero-sub {
  font-family: var(--font-body);
  font-size: var(--dl-body-size, 1.05rem);
  color: var(--text);
  max-width: 580px;
  line-height: var(--dl-body-lh, 1.8);
  margin-bottom: var(--space-6);
  opacity: 0.78;
}
.mb-hero-cta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  align-items: center;
}

/* --- Dark mode override (European / any dark-mode make) --- */
body.dark .mb-hero {
  background: var(--surface);
  border-bottom-color: var(--border);
}
body.dark .mb-hero-heading {
  color: var(--text-inverse);
}
body.dark .mb-hero-sub {
  color: var(--text-muted-inverse);
}

/* --- Responsive: stack CTA buttons below 480px --- */
@media (max-width: 480px) {
  .mb-hero-cta { flex-direction: column; align-items: stretch; }
  .mb-btn { justify-content: center; }
  .mb-hero { padding: var(--space-8) 0 var(--space-7); }
}


/* ================================================================
   footer.css â€” Multi-Column Dark Footer
   ALL colors via CSS custom properties. Zero hardcoded hex values.
   --footer-heading: computed by tokens-to-css.ps1 from primary hue
     - warm accent (gold hue 30-70 deg): --footer-heading = primary
     - cool/saturated (red, blue, green): --footer-heading = text-muted
   Result: European/LandRover get gold headings; Audi/BMW/etc get slate.
   MORPH-09: uses --footer-bg (dark panel token) instead of --surface,
   so footer stays dark regardless of the new light --surface on cards.
================================================================ */

.mb-footer {
  background: var(--footer-bg);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-7) 0 var(--space-5);
}
.mb-footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-7);
  margin-bottom: var(--space-6);
}
.mb-footer-brand p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted-inverse);
  line-height: 1.7;
  margin-top: var(--space-3);
}
.mb-footer-brand a {
  color: var(--primary);
  text-decoration: none;
}
.mb-footer-brand a:hover { color: var(--primary-hover); }

/* --- Column heading: derived from --footer-heading token --- */
.mb-footer-col-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--footer-heading);
  margin-bottom: var(--space-4);
}
.mb-footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.mb-footer-links a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-muted-inverse);
  text-decoration: none;
  transition: color var(--speed) var(--easing);
  line-height: 1.4;
}
.mb-footer-links a:hover { color: var(--text-inverse); }
.mb-footer-hours {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted-inverse);
  line-height: 1.8;
}
.mb-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.mb-footer-bottom p {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-muted-inverse);
  opacity: 0.6;
}
.mb-footer-bottom a {
  color: var(--text-muted-inverse);
  text-decoration: underline;
  opacity: 0.7;
  transition: opacity var(--speed) var(--easing);
}
.mb-footer-bottom a:hover { opacity: 1; }

/* --- Responsive --- */
@media (max-width: 860px) {
  .mb-footer-inner { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
}
@media (max-width: 480px) {
  .mb-footer-inner { grid-template-columns: 1fr; gap: var(--space-5); }
}


/* =============================================================================
   services.css -- Services section wrapper + service cards grid
   MORPH-11: No hardcoded hex values. Custom properties only.
   MORPH-16: CSS-02 fix â€” transitions now use var(--dl-motion-speed/easing).
   ============================================================================= */

.mb-services-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.mb-service-card {
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--dl-radius-lg, var(--radius-lg, 8px));
  background: var(--surface);
  transition: border-color var(--dl-motion-speed, 150ms) var(--dl-motion-easing, ease), box-shadow var(--dl-motion-speed, 150ms) var(--dl-motion-easing, ease);
}

.mb-service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.mb-service-icon {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.mb-service-name {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.mb-service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.mb-service-link {
  font-size: 0.85rem;
  color: var(--primary);
  text-decoration: none;
  margin-top: 12px;
  display: inline-block;
  transition: color var(--dl-motion-speed, 150ms) var(--dl-motion-easing, ease);
}

.mb-service-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .mb-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .mb-services-grid {
    grid-template-columns: 1fr;
  }
}


/* =============================================================================
   models.css -- Models section wrapper + model pill links
   MORPH-11: No hardcoded hex values. Custom properties only.
   ============================================================================= */

.mb-models-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mb-model-card {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--dl-radius-full, var(--radius-full, 9999px));
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color var(--dl-motion-speed, 150ms) var(--dl-motion-easing, ease),
              color var(--dl-motion-speed, 150ms) var(--dl-motion-easing, ease),
              background var(--dl-motion-speed, 150ms) var(--dl-motion-easing, ease);
  background: var(--surface);
}

.mb-model-card:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.mb-model-name {
  /* inherits from parent link */
}

/* ================================================================
   trust-signals.css â€” Icon + Text Trust Signal List
   Uses its own background class, not section-alt.
   Light mode: subtle off-white strip / Dark mode: surface strip
   ALL colors via CSS custom properties. Zero hardcoded hex values.
================================================================ */

.mb-trust-strip {
  padding: var(--space-5) 0;
  background: var(--bg);
  border-top: 2px solid var(--primary);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

body.dark .mb-trust-strip {
  background: var(--surface);
  border-top: 2px solid var(--primary);
  border-bottom-color: var(--border);
}

.mb-trust-signals {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
}

.mb-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.mb-trust-icon {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}

.mb-trust-item span:last-child {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

body.dark .mb-trust-item span:last-child {
  color: var(--text-muted-inverse);
}

/* --- Responsive --- */
@media (max-width: 600px) {
  .mb-trust-signals { gap: var(--space-2) var(--space-3); }
  .mb-trust-item span:last-child { font-size: 12px; white-space: normal; }
}

/* ================================================================
   MORPH-12-VT: Credential trust signal â€” data-strip presentation.
   Each credential item shows a monospace code prefix (via data-code
   attribute + ::before pseudo-element) + full credential text.
   Elevated from fine-print metadata to a deliberate design element.
================================================================ */
.mb-trust-strip--credential {
  padding: var(--space-6) 0;
  border-top: 2px solid var(--primary);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

body.dark .mb-trust-strip--credential {
  background: var(--surface);
}

.mb-trust-strip--credential .mb-trust-signals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5) var(--space-8);
  align-items: start;
}

.mb-trust-item--credential {
  width: 100%;
  display: block;
  padding: var(--space-3) 0;
  border-radius: var(--dl-radius-sm, var(--radius-sm, 0));
}

/* Monospace code prefix via data-code attribute */
.mb-trust-item--credential::before {
  content: attr(data-code);
  display: block;
  font-family: monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.mb-trust-credential-text {
  font-family: var(--font-body);
  font-size: var(--dl-h3-size, 1.1rem);
  line-height: 1.5;
  color: var(--text);
  font-weight: 600;
}

body.dark .mb-trust-credential-text {
  color: var(--text-inverse);
}

@media (max-width: 640px) {
  .mb-trust-strip--credential .mb-trust-signals {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}


/* ================================================================
   cta-bar.css â€” Fixed Sticky CTA Bottom Bar
   UNPREFIXED: .cta-sb-bar is a vertical-level component (not brand-scoped)
   ALL colors via CSS custom properties. Zero hardcoded hex values.
   JS: IntersectionObserver on #footer-sentinel (inline in template.html)
   MORPH-16: CSS-06/07 fix â€” .cta-sb-bar now uses var(--nav-bg, var(--brand-dark, #1A1A1A)) (always dark).
             .cta-sb-phone now uses rgba(255,255,255,0.12) â€” visible on dark bar.
             body.dark variant preserved for European (dark bg).
================================================================ */

.cta-sb-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: none;
  background: var(--nav-bg, var(--brand-dark, #1A1A1A));
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-3) var(--space-5);
  gap: var(--space-3);
  align-items: center;
  justify-content: center;
  transition: border-color var(--dl-motion-speed, 150ms) var(--dl-motion-easing, ease);
}
.cta-sb-bar.visible { display: flex; }

/* Dark mode (European): bar uses --surface (dark surface already), not nav-bg override needed */
body.dark .cta-sb-bar {
  background: var(--surface);
}

.cta-sb-phone,
.cta-sb-book {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px var(--space-5);
  border-radius: var(--radius-md);
  text-decoration: none;
  white-space: nowrap;
  flex: 1;
  justify-content: center;
  max-width: 220px;
}
.cta-sb-phone {
  background: rgba(255,255,255,0.12);
  color: var(--text-inverse);
  border: 1px solid rgba(255,255,255,0.15);
  transition: background var(--dl-motion-speed, 150ms) var(--dl-motion-easing, ease), color var(--dl-motion-speed, 150ms) var(--dl-motion-easing, ease);
}
.cta-sb-phone:hover {
  background: rgba(255,255,255,0.20);
  color: var(--text-inverse);
  border-color: var(--primary);
}
.cta-sb-book {
  background: var(--primary);
  color: #ffffff;
  transition: background var(--dl-motion-speed, 150ms) var(--dl-motion-easing, ease), color var(--dl-motion-speed, 150ms) var(--dl-motion-easing, ease);
}
.cta-sb-book:hover { background: var(--primary-hover); color: #ffffff; }

/* Hide on desktop if viewport is wide (optional â€” Audi shows on all widths) */
/* Uncomment to restrict to mobile only:
@media (min-width: 769px) { .cta-sb-bar { display: none !important; } }
*/


/* ================================================================
   cta-band.css â€” Full-Width Brand-Primary CTA Section Break
   Background: var(--primary). White text. Dual-button layout.
   European: primary is gold (#C8A850) â€” white text still works.
   No make-specific CSS branches â€” falls out of token consumption.
   ALL colors via CSS custom properties. Zero hardcoded hex values.
================================================================ */

.mb-cta-band {
  background: var(--primary);
  padding: var(--space-8) 0;
  text-align: center;
}

.mb-cta-band-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-h);
  padding-right: var(--pad-h);
}

.mb-cta-band-headline {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: #ffffff;
  margin-bottom: var(--space-5);
  line-height: 1.2;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.mb-cta-band-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Primary button: white bg, primary text (inverted from band) --- */
.mb-cta-band-btn-primary {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 13px var(--space-5);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: opacity var(--speed) var(--easing);
  white-space: nowrap;
}
.mb-cta-band-btn-primary:hover { opacity: 0.92; }

/* --- Secondary button: transparent bg, white border + text --- */
.mb-cta-band-btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.72);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 11px var(--space-5);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color var(--speed) var(--easing);
  white-space: nowrap;
}
.mb-cta-band-btn-secondary:hover { border-color: rgba(255,255,255,1); }

/* --- Responsive --- */
@media (max-width: 480px) {
  .mb-cta-band { padding: var(--space-7) 0; }
  .mb-cta-band-actions { flex-direction: column; align-items: center; }
}


/* ================================================================
   faq.css â€” FAQ Accordion Section
   ALL colors via CSS custom properties. Zero hardcoded hex values.
   JS (inline in template): click toggles .open, one-at-a-time,
   accessible aria-expanded + role=region.
================================================================ */

.mb-faq-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--text);
  margin-bottom: var(--space-5);
  line-height: 1.2;
}

.mb-faq-list {
  max-width: 820px;
}

/* --- Individual FAQ item --- */
.mb-faq-item {
  border-bottom: 1px solid var(--border);
}
.mb-faq-item:first-child {
  border-top: 1px solid var(--border);
}

/* --- Question button --- */
.mb-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-4) 0;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: var(--space-3);
  transition: color var(--speed) var(--easing);
  min-height: 48px;
}
.mb-faq-question:hover { color: var(--primary); }

/* +/x indicator --- */
.mb-faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary);
  flex-shrink: 0;
  line-height: 1;
  transition: transform var(--speed) var(--easing);
}
.mb-faq-item.open .mb-faq-question::after {
  transform: rotate(45deg);
}

/* --- Answer panel --- */
.mb-faq-answer {
  display: none;
  padding-bottom: var(--space-5);
}
.mb-faq-item.open .mb-faq-answer {
  display: block;
}

.mb-faq-answer p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.mb-faq-answer p + p { margin-top: 0.8em; }


/* =============================================================================
   reviews.css -- Reviews section: proof strip + featured blockquote
   MORPH-19: Replaced 3-card generic grid with social proof structure.
   DQ-03: proof strip (3 data points) + featured vehicle-specific testimonial.
   No hardcoded hex values. Custom properties only.
   ============================================================================= */

.mb-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin: var(--space-6) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-6) 0;
}

.mb-proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
}

.mb-proof-number {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.mb-proof-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mb-featured-review {
  max-width: 680px;
  margin: 0 auto;
  border-left: 3px solid var(--primary);
  padding-left: var(--space-5);
}

.mb-featured-review-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  font-style: italic;
  margin-bottom: var(--space-3);
}

.mb-featured-review-author {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .mb-proof-strip {
    grid-template-columns: 1fr;
    text-align: center;
  }
}


/* =============================================================================
   why-us.css -- Why Us / content section wrapper
   MORPH-11: Minimal wrapper. SECTION_BODY_HTML carries its own inline structure.
   MORPH-19: Added why-dealer comparison block styles.
   No hardcoded hex values. Custom properties only.
   ============================================================================= */

.mb-why-us {
  padding: var(--dl-section-padding-y) 0;
}

.mb-why-us .mb-container {
  max-width: var(--dl-content-max-w);
}

/* --- "Why Not The Dealer?" comparison block (MORPH-19) --- */
.mb-why-dealer {
  border-left: 3px solid var(--primary);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-6);
  background: rgba(0,0,0,0.025);
}

.mb-why-dealer-heading {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mb-why-dealer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.mb-why-dealer-list li {
  font-family: var(--font-body);
  font-size: var(--dl-body-size, 16px);
  line-height: 1.6;
  color: var(--text);
  padding-left: var(--space-4);
  position: relative;
}

.mb-why-dealer-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.mb-why-dealer-list strong {
  color: var(--primary);
  font-weight: 700;
}


/* ================================================================
   nav/variants/minimal-sticky/nav.css â€” Thin 48px Sticky Bar + Full-Screen Overlay
   Mercedes / European variant. No visible desktop nav links.
   Hamburger opens full-screen overlay with large links.
   ALL colors via CSS custom properties. Zero hardcoded hex values.
================================================================ */

.mb-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-h);
  padding-right: var(--pad-h);
}

/* --- Minimal sticky header bar (48px) --- */
.mb-header-minimal {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg, var(--brand-dark, #1A1A1A));
  border-bottom: 1px solid var(--border);
  height: 48px;
}
.mb-header-minimal-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
}

/* --- Logo --- */
.mb-logo {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-inverse);
  letter-spacing: 0.4px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}
.mb-logo:hover { color: var(--primary); }

/* --- Hamburger (always visible â€” no desktop nav links in this variant) --- */
.mb-hamburger-minimal {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-1);
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.mb-hamburger-minimal span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-inverse);
  border-radius: 2px;
  opacity: 0.7;
  transition: opacity var(--speed) var(--easing);
}
.mb-hamburger-minimal:hover span { opacity: 1; }

/* --- Full-screen overlay menu --- */
.mb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--nav-bg, var(--brand-dark, #1A1A1A));
  opacity: 0;
  transition: opacity 200ms ease;
}
.mb-overlay.open {
  display: flex;
  opacity: 1;
  flex-direction: column;
}
.mb-overlay-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-6) var(--space-7);
  position: relative;
}

.mb-overlay-close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-6);
  background: none;
  border: none;
  color: var(--text-muted-inverse);
  font-size: 1.4rem;
  cursor: pointer;
  padding: var(--space-2);
  transition: color var(--speed) var(--easing);
}
.mb-overlay-close:hover { color: var(--text-inverse); }

.mb-overlay-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  gap: var(--space-2);
  padding: var(--space-8) 0 var(--space-5);
}
.mb-overlay-nav a {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-muted-inverse);
  padding: var(--space-2) 0;
  text-align: center;
  text-decoration: none;
  transition: color var(--speed) var(--easing);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mb-overlay-nav a:hover { color: var(--text-inverse); }

.mb-overlay-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding-bottom: var(--space-7);
}
.mb-overlay-phone {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  text-align: center;
}
.mb-overlay-phone:hover { color: var(--primary-hover); }
.mb-overlay-cta {
  display: block;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  padding: var(--space-4) var(--space-7);
  border-radius: var(--radius-md);
  text-align: center;
  text-decoration: none;
  transition: background var(--speed) var(--easing);
  min-width: 240px;
}
.mb-overlay-cta:hover { background: var(--primary-hover); }


/* ================================================================
   hero/variants/centered-text/hero.css â€” Typography-Centered Hero
   MORPH-12-VT: No image column. Single column, centered layout.
   Uses for all 7 GAD satellites until professional photography arrives.
   MORPH-19: Hero phone number block added.
   ALL colors via CSS custom properties. Zero hardcoded hex.
================================================================ */

.mb-hero--centered-text {
  min-height: var(--dl-hero-min-h, 52vh);
  display: flex;
  align-items: center;
  background: var(--bg);
  padding: var(--dl-section-padding-y, 64px) 0;
  position: relative;
}

.mb-hero--centered-text .mb-hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-5);
  width: 100%;
}

.mb-hero--centered-text .mb-hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--dl-eyebrow-size, 0.7rem);
  font-weight: 600;
  letter-spacing: var(--dl-eyebrow-ls, 0.12em);
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-3);
  display: block;
  opacity: 0.85;
}

.mb-hero--centered-text .mb-hero-heading {
  font-size: var(--dl-hero-size, clamp(2.5rem, 5vw, 4rem));
  font-weight: var(--dl-heading-weight, 700);
  line-height: var(--dl-hero-lh, 1.05);
  max-width: 18ch;
  margin: 0 auto;
  text-wrap: balance;
  color: var(--text);
}

/* City line: block element below main heading, lighter treatment */
.mb-hero-city {
  display: block;
  font-weight: 400;
  font-size: 0.65em;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-top: 0.25em;
}

body.dark .mb-hero-city {
  color: var(--text-muted-inverse);
}

.mb-hero--centered-text .mb-hero-sub {
  font-size: var(--dl-body-size, 16px);
  line-height: var(--dl-body-lh, 1.65);
  max-width: 48ch;
  margin: 0 auto;
  opacity: 0.78;
  color: var(--text-muted);
}

body.dark .mb-hero--centered-text .mb-hero-sub {
  color: var(--text-muted-inverse);
}

/* --- Hero phone block (MORPH-19) --- */
.mb-hero--centered-text .mb-hero-phone-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: var(--space-2);
}

.mb-hero--centered-text .mb-hero-phone-number {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
  text-decoration: none;
  line-height: 1;
  transition: color var(--dl-motion-speed, 150ms) var(--dl-motion-easing, ease);
}

.mb-hero--centered-text .mb-hero-phone-number:hover {
  color: var(--primary-hover);
}

.mb-hero--centered-text .mb-hero-phone-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.75;
}

.mb-hero--centered-text .mb-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  align-items: center;
  margin-top: var(--space-2);
}

/* --- Responsive --- */
@media (max-width: 480px) {
  .mb-hero--centered-text {
    padding: var(--space-7) 0;
    min-height: 44vh;
  }
  .mb-hero--centered-text .mb-hero-cta {
    flex-direction: column;
    width: 100%;
  }
  .mb-hero--centered-text .mb-hero-cta a {
    width: 100%;
    text-align: center;
  }
}

/* --- Print styles (MORPH-19: CSS-19) --- */
/* ── DARK-SECTION TEXT CONTRAST FIX (MORPH-38 Cycle 1b) ──────────────────── */
/* Ensure all text inside section-dark is readable on dark backgrounds */
.mb-section-dark h2,
.mb-section-dark h3,
.mb-section-dark h4 {
  color: #fff;
}
/* MORPH-45: issue number elements on dark backgrounds */
.mb-section-dark .mb-issue-num {
  color: #fff;
}
.mb-section-dark p,
.mb-section-dark li {
  color: rgba(255,255,255,0.78);
}
.mb-section-dark a {
  color: var(--primary, #E8364E);
}
.mb-section-dark .mb-model-grid .mb-model-card {
  background: var(--surface, #F5F5F0);
}
.mb-section-dark .mb-model-grid .mb-model-card h4,
.mb-section-dark .mb-model-grid .mb-model-card h3 {
  color: var(--text, #111);
}
.mb-section-dark .mb-model-grid .mb-model-card p {
  color: var(--text-muted, #555);
}
.mb-section-dark .mb-model-grid .mb-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 */
.mb-section-dark [class*="-service-name"],
.mb-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 ───────────────────────────── */
.mb-section-dark [class*="-spoke"],
.mb-section-dark [class*="-hub"] {
  color: var(--primary, #E8364E);
}



/* ── HOMEPAGE CONTRAST FIX (MORPH-38 Cycle 1b, updated MORPH-39) ────────── */
/* Mercedes: hub section headings — scoped to dark contexts only */
.mb-section-dark h2.mb-h2,
.mb-hub-section h2.mb-h2,
body:not(:has(main)) h2.mb-h2 {
  color: #fff !important;
}
/* Interior pages (has <main>): headings stay dark on light backgrounds */
main h2.mb-h2 {
  color: var(--text, #111);
}
.mb-hub-section p,
.mb-section-dark p {
  color: rgba(255,255,255,0.78) !important;
}
a.mb-spoke-link,
a.mb-model-card {
  color: var(--primary, #E8364E) !important;
}

@media print {
  [class*="-hero"] { min-height: unset; padding: 20pt 0; }
  [class*="-hero-heading"] { color: #000 !important; }
  [class*="-hero-sub"] { color: #333 !important; }
  [class*="-hero-cta"] { display: none; }
  [class*="-hero-phone-number"] { color: #000 !important; font-size: 18pt; }
}


/* ================================================================
   footer/variants/minimal/footer.css â€” Centered Minimal Footer
   Mercedes / European variant.
   Single centered block: brand name, phone, address, copyright.
   European editorial modifier: gold rule above, brand name in gold.
   ALL colors via CSS custom properties. Zero hardcoded hex values.
================================================================ */

.mb-footer--minimal {
  background: var(--footer-bg);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 48px 24px;
  text-align: center;
}
.mb-footer-minimal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  max-width: 480px;
  margin: 0 auto;
}
.mb-footer-brand-name {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-inverse);
  opacity: 0.9;
}
.mb-footer-phone {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: block;
}
.mb-footer-phone:hover { color: var(--primary-hover); }
.mb-footer-address {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted-inverse);
  line-height: 1.5;
}
.mb-footer-copy {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted-inverse);
  opacity: 0.6;
  margin-top: var(--space-2);
}

/* --- European editorial modifier --- */
.vl-editorial .mb-footer--minimal {
  border-top: 1px solid var(--primary);
}
.vl-editorial .mb-footer--minimal .mb-footer-brand-name {
  color: var(--primary);
  opacity: 1;
}


/* ================================================================
   interior.css -- Interior Page Components
   MORPH-13: Interior page template system
   All classes use mb-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 .mb-hero" to scope without changing HTML.
================================================================ */

/* ── BREADCRUMB ──────────────────────────────────────────────────────────── */
.mb-breadcrumb {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.mb-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;
}
.mb-breadcrumb a {
  color: var(--text-muted, var(--text));
  text-decoration: none;
}
.mb-breadcrumb a:hover { color: var(--primary); }
.mb-breadcrumb .sep {
  opacity: 0.4;
  font-size: 12px;
}

/* ── INTERIOR HERO (scoped to main -- homepage has no <main>) ────────────── */
main .mb-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 .mb-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 .mb-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

/* Interior eyebrow + h1 -- homepage uses p-hero-eyebrow / p-hero-heading */
.mb-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
main .mb-hero .mb-eyebrow {
  color: rgba(255,255,255,0.55);
}
.mb-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 .mb-hero .mb-h1 { color: #fff; }
main .mb-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 ────────────────────────────────────────────────────── */
.mb-section { padding: 72px 0; }
.mb-section-white { background: var(--bg); }
.mb-section-dark  { background: var(--nav-bg, var(--brand-dark, #1A1A1A)); }
.mb-section-mid   { background: var(--surface); }

/* ── INTERIOR CONTENT CARDS (index pages) ────────────────────────────────── */
/* Scoped inside model-grid to avoid collision with homepage p-model-card pill */
.mb-model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.mb-model-grid .mb-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;
}
.mb-model-grid .mb-model-card:hover {
  border-top-color: var(--primary);
}
.mb-model-gen {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}
.mb-model-grid .mb-model-card h4,
.mb-model-grid .mb-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;
}
.mb-model-grid .mb-model-card p {
  font-size: 13px;
  color: var(--text-muted, #555);
  line-height: 1.7;
  margin-bottom: 14px;
}
.mb-model-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  margin-top: auto;
}
.mb-model-link:hover { text-decoration: underline; }

/* ── ARTICLE LAYOUT (article pages: 2-col main + sidebar) ───────────────── */
.mb-content-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .mb-content-sidebar { grid-template-columns: 1fr; }
}

/* ── ARTICLE BODY ─────────────────────────────────────────────────────────── */
.mb-article { max-width: 720px; }
.mb-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;
}
.mb-article h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 10px;
}
.mb-article p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1em;
}
.mb-article ul,
.mb-article ol {
  padding-left: 24px;
  margin-bottom: 1em;
  line-height: 1.7;
  color: var(--text);
}
.mb-article li { margin-bottom: 6px; }
.mb-article a { color: var(--primary); text-decoration: underline; }
.mb-article blockquote {
  border-left: 3px solid var(--primary);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-muted, #555);
}

/* ── TABLE ───────────────────────────────────────────────────────────────── */
.mb-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.mb-table th {
  background: var(--nav-bg, var(--brand-dark, #1A1A1A));
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
}
.mb-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}
.mb-table tr:nth-child(even) td { background: rgba(0,0,0,0.025); }
@media (max-width: 700px) {
  .mb-table { font-size: 13px; }
  .mb-table th,
  .mb-table td { padding: 10px 12px; }
}

/* ── SIDEBAR ─────────────────────────────────────────────────────────────── */
.mb-content-sidebar aside {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── SIDEBAR CTA ─────────────────────────────────────────────────────────── */
.mb-sidebar-cta {
  background: var(--nav-bg, var(--brand-dark, #1A1A1A));
  padding: 28px;
  border-radius: var(--radius-md, 8px);
}
.mb-sidebar-cta h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.mb-sidebar-cta p {
  font-size: 14px;
  color: rgba(255,255,255,0.62);
  line-height: 1.6;
  margin-bottom: 16px;
}
.mb-sidebar-cta .mb-btn,
.mb-sidebar-cta a.mb-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;
}
.mb-sidebar-cta .mb-btn:hover { opacity: 0.88; }

/* ── SIDEBAR CARD ────────────────────────────────────────────────────────── */
.mb-sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
}
.mb-sidebar-card h4 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.mb-sidebar-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mb-sidebar-card li {
  font-size: 14px;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.mb-sidebar-card li:last-child { border-bottom: none; }

/* ── SIDEBAR LINKS ───────────────────────────────────────────────────────── */
.mb-sidebar-links {
  display: flex;
  flex-direction: column;
}
.mb-sidebar-links a {
  display: block;
  font-size: 14px;
  color: var(--primary);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.mb-sidebar-links a:last-child { border-bottom: none; }
.mb-sidebar-links a:hover { text-decoration: underline; }

/* ── ISSUE LIST (common-problems pages) ──────────────────────────────────── */
.mb-issue-list { margin-top: 8px; }
.mb-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;
}
.mb-issue:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.mb-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;
}
.mb-section-dark .mb-issue h4 { color: #fff; }
.mb-section-dark .mb-issue h4 a { color: #fff; text-decoration: none; }
.mb-section-dark .mb-issue h4 a:hover { color: var(--primary); }
.mb-section-dark .mb-issue p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
}
/* Issue list on light background */
.mb-section-white .mb-issue,
.mb-section-mid .mb-issue {
  border-bottom-color: var(--border);
}
.mb-section-white .mb-issue:first-child,
.mb-section-mid .mb-issue:first-child {
  border-top-color: var(--border);
}
.mb-section-white .mb-issue h4,
.mb-section-white .mb-issue h4 a,
.mb-section-mid .mb-issue h4 { color: var(--text); }
.mb-section-white .mb-issue p,
.mb-section-mid .mb-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) ─────────────────────────────────── */
@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; }
}

/* DIM taste: background_css */
body::after { content: ''; position: fixed; inset: 0; background: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.035) 1px, transparent 0); background-size: 20px 20px; pointer-events: none; z-index: 0; }



/* === MORPH-28: Trust Strip Elevation === */
.mb-trust-strip {
  background: var(--brand-dark, #0D1117);
  padding: 14px 0;
  border-top: none;
  border-bottom: none;
}
.mb-trust-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  align-items: center;
}
.mb-trust-item {
  color: rgba(255,255,255,0.85);
  font-size: 0.8125rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.mb-trust-item:last-child { border-right: none; }
.mb-trust-item--credential[data-code]::before {
  content: attr(data-code) ': ';
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  color: #0A4DA2;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* === MORPH-28: Section Padding === */
.mb-section { padding: var(--section-padding, 5rem) 0; }
.mb-section-alt {
  padding: var(--section-padding, 5rem) 0;
  background: #F2F4F7;
  border-top: 1px solid #E0E4EC;
  border-bottom: 1px solid #E0E4EC;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 600; letter-spacing: -0.02em; max-width: 22ch; }
h2 { font-weight: 600; letter-spacing: -0.01em; }
.mb-hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0A4DA2;
  margin-bottom: 1rem;
}
.mb-diag-authority { background: var(--brand-dark, #0D1117); padding: 4rem 0; }
.mb-diag-authority-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.mb-diag-tool { padding: 1.5rem; border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; }
.mb-diag-tool-name { font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 1.5rem; color: #fff; margin: 0 0 0.5rem; }
.mb-diag-tool-desc { font-size: 0.875rem; color: rgba(255,255,255,0.65); line-height: 1.55; margin: 0 0 0.75rem; }
.mb-diag-tool-code { font-family: 'JetBrains Mono','Courier New',monospace; font-size: 0.7rem; font-weight: 600; color: #0A4DA2; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 768px) { .mb-diag-authority-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .mb-diag-authority-grid { grid-template-columns: 1fr; } }

/* === MORPH-28: Diagnostic Log Divider === */
.mb-diag-divider { padding: 10px 0; text-align: center; border-top: 1px solid #E0E4EC; border-bottom: 1px solid #E0E4EC; margin: 0; }
.mb-diag-code { font-family: 'JetBrains Mono','Courier New',monospace; font-size: 0.7rem; color: #0A4DA2; opacity: 0.4; letter-spacing: 0.04em; user-select: none; }

/* === MORPH-28: Focus Visible === */
*:focus-visible { outline: 2px solid #0A4DA2; outline-offset: 3px; border-radius: 2px; }

/* === MORPH-26: scroll-reveal === */
.reveal { opacity: 0; transform: translateY(var(--reveal-distance, 20px)); transition: opacity var(--reveal-duration, 0.6s) var(--reveal-easing, ease), transform var(--reveal-duration, 0.6s) var(--reveal-easing, ease); }
.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; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.visible { opacity: 1; transform: none; transition: none; }
  .reveal-delay-1, .reveal-delay-2, .reveal-delay-3 { transition-delay: 0s; }
}

/* === MORPH-26: card-hover-glow === */
:root { --hover-color: #0A4DA2; }
.card-hover { transition: box-shadow var(--card-transition, 0.3s ease), transform var(--card-transition, 0.3s ease), border-color var(--card-transition, 0.3s ease); }
.card-hover:hover { box-shadow: var(--hover-shadow, 0 8px 32px rgba(10,77,162,0.12), 0 2px 8px rgba(28,43,43,0.06)); transform: translateY(calc(-1 * var(--hover-lift, 3px))); border-color: var(--hover-border-color, rgba(10,77,162,0.25)); }
@media (prefers-reduced-motion: reduce) { .card-hover, .card-hover:hover { transition: none; transform: none; } }

/* === MORPH-26: cta-ripple === */
.cta-ripple { position: relative; overflow: hidden; }
.cta-ripple::after { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: var(--ripple-color, rgba(255,255,255,0.1)); border-radius: 50%; transform: translate(-50%,-50%); transition: width var(--ripple-duration, 0.4s) var(--ripple-easing, ease), height var(--ripple-duration, 0.4s) var(--ripple-easing, ease); pointer-events: none; }
.cta-ripple:hover::after { width: var(--ripple-size, 300px); height: var(--ripple-size, 300px); }
.cta-ripple:hover { transform: translateY(-1px); box-shadow: var(--cta-hover-shadow, 0 4px 12px rgba(0,0,0,0.15)); }
@media (prefers-reduced-motion: reduce) { .cta-ripple::after { display: none; } .cta-ripple:hover { transform: none; } }

/* === MORPH-26: trust-pill-lift === */
.trust-pill { transition: transform var(--pill-transition, 0.2s ease), box-shadow var(--pill-transition, 0.2s ease), background var(--pill-transition, 0.2s ease); cursor: default; }
.trust-pill:hover { transform: translateY(calc(-1 * var(--pill-lift, 1px))); box-shadow: var(--pill-shadow, 0 2px 8px rgba(10,77,162,0.15)); background: var(--pill-bg-hover, rgba(10,77,162,0.08)); }
@media (prefers-reduced-motion: reduce) { .trust-pill, .trust-pill:hover { transition: none; transform: none; } }

/* === MORPH-26: section-texture === */
.section-texture--full { position: relative; overflow: hidden; --dot-color: rgba(10,77,162,1); --dot-opacity: 0.025; background-image: radial-gradient(circle, rgba(10,77,162,var(--dot-opacity,0.025)) 1px, transparent 1px); background-size: var(--dot-size, 24px) var(--dot-size, 24px); }
@media (max-width: 639px) { .section-texture--full { --dot-opacity: 0.015; } }

/* ── MORPH-40: Hero Photograph Background ──────────────────────────────── */
/* Replaces solid-color hero with real photograph + dark overlay for text   */
.mb-hero--centered-text {
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.50) 55%, rgba(0,0,0,0.92) 100%),
    url('assets/hero-images/mercedes-hero-processed.webp') !important;
  background-size: cover !important;
  background-position: center 40% !important;
  background-repeat: no-repeat;
  background-color: #0D1117 !important;
}
/* Force white text over photo overlay */
.mb-hero--centered-text .mb-hero-eyebrow {
  color: rgba(255,255,255,0.85) !important;
}
.mb-hero--centered-text .mb-hero-heading {
  color: #ffffff !important;
}
.mb-hero--centered-text .mb-hero-sub {
  color: rgba(255,255,255,0.80) !important;
  opacity: 1;
}
.mb-hero--centered-text .mb-hero-city {
  color: rgba(255,255,255,0.65) !important;
}
.mb-hero--centered-text .mb-hero-phone-number {
  color: #ffffff !important;
}
.mb-hero--centered-text .mb-hero-phone-label {
  color: rgba(255,255,255,0.70) !important;
  opacity: 1;
}
.mb-hero--centered-text .mb-hero-cta .mb-btn-outline {
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.5) !important;
}
.mb-hero--centered-text .mb-hero-cta .mb-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;
}


/* === MORPH-48: Photo-backed model cards === */
.mb-models-grid--photo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
@media (max-width: 768px) {
  .mb-models-grid--photo { grid-template-columns: repeat(2, 1fr); }
}
.mb-model-card--photo {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mb-model-card--photo:hover {
  transform: scale(1.02);
  z-index: 2;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
}
.mb-model-photo-name {
  position: relative;
  z-index: 2;
  display: block;
  padding: 0.75rem 1rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  width: 100%;
}


/* === MORPH-48: Section image breaks === */
.mb-img-break {
  width: 100%;
  height: 280px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
@media (max-width: 768px) { .mb-img-break { height: 200px; } }
.mb-img-break-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.82) 100%);
}
.mb-img-break-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 2rem;
  z-index: 2;
}
.mb-img-break-caption p {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin: 0;
}
.mb-img-break-caption span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  font-style: italic;
}


/* === MORPH-48: Inline proof photos === */
.mb-proof-photo {
  margin: 2rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.mb-proof-photo {
  position: relative;
}
.mb-proof-photo img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.mb-proof-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.60) 100%);
  pointer-events: none;
}
.mb-proof-photo-caption {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  font-style: italic;
}


/* === MORPH-48: icon-color token applied to decorative elements === */
.mb-service-icon { color: var(--icon-color, #6B9FD4); }
.mb-diag-tool-name { color: var(--icon-color, #6B9FD4); }
.mb-diag-tool-code { color: var(--icon-color, #6B9FD4); }
.mb-diag-code { color: var(--icon-color, #6B9FD4); }


/* === MORPH-48: Model page photo heroes === */
.mb-page-hero--photo {
  position: relative;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  min-height: 280px;
}
.mb-page-hero--photo .mb-page-hero-inner { position: relative; z-index: 2; }
.mb-page-hero--photo .mb-eyebrow { color: rgba(255,255,255,0.80) !important; }
.mb-page-hero--photo h1 { color: #ffffff !important; }
.mb-page-hero--photo p { color: rgba(255,255,255,0.85) !important; }

/* MORPH-48d: Fix white strip above nav
   The empty <head></head> causes body to render before sticky nav starts.
   Setting html bg to nav color eliminates the visible cream gap. */
html {
  background: #1A1A1C;
}

/* === MORPH-48g: Models index photo card text overrides ===
   Cards on /models/ page now have dark photo backgrounds — all child text must be white */
.mb-model-card--photo h3,
.mb-model-card--photo .mb-model-gen,
.mb-model-card--photo p,
.mb-model-card--photo .mb-model-link {
  color: #ffffff !important;
}
.mb-model-card--photo p {
  color: rgba(255,255,255,0.80) !important;
}
.mb-model-card--photo .mb-model-link {
  color: rgba(255,255,255,0.90) !important;
  font-weight: 600;
}
.mb-model-card--photo:hover {
  transform: scale(1.02);
  z-index: 2;
  box-shadow: 0 8px 32px rgba(0,0,0,0.40);
}

/* === MORPH-48k: Scoped photo card rules ===
   Homepage cards (.mb-models-grid--photo): keep aspect-ratio:4/3, tight grid
   Models page cards (.mb-model-grid): flexible height, no aspect-ratio conflict */

/* Models page only: override padding and set proper min-height */
.mb-model-grid .mb-model-card--photo {
  padding-top: 0 !important;
  min-height: 360px !important;
  aspect-ratio: unset !important;
}

/* Homepage grid: enforce aspect-ratio, remove min-height override */
.mb-models-grid--photo .mb-model-card--photo {
  min-height: unset !important;
  padding-top: unset !important;
}

/* MORPH-48n: Hero bottom strip - solid DOM overlay kills any subpixel photo bleed */
.mb-hero--centered-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: #0D1117;
  pointer-events: none;
  z-index: 2;
}
