/* ============================================================
   European Auto Specialist — Approachable Volume (dark/gold) v1.0
   MORPH-30: Plus Jakarta Sans / antique gold / cinematic dark
   CSS prefix: eu-
   ============================================================ */

/* --- Design tokens --- */
:root {
  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --brand-primary:   #C9A84C;
  --brand-dark:      #0A0A0C;
  --brand-alt:       #141414;
  --brand-surface:   #1A1A1A;
  --brand-bg:        #0A0A0C;
  --brand-text:      #F5F5F5;
  --brand-muted:     rgba(255,255,255,0.55);
  --brand-border:    #1A1A1A;
  --brand-light-bg:  #F5F4F0;
  --brand-light-text: #1A1A1A;

  --hover-color:     #C9A84C;
  --section-padding: 5rem;
  --container-max:   1100px;
  --card-transition: 0.3s ease;
}

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--brand-text);
  background: var(--brand-bg);
}
*:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 3px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Container --- */
.eu-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Typography --- */
h1 { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 700; letter-spacing: -0.01em; max-width: 22ch; line-height: 1.15; }
h2 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.005em; }

/* --- Section rhythm (dark by default) --- */
.eu-section { background: var(--brand-bg); padding: var(--section-padding) 0; color: var(--brand-text); }
.eu-section-alt { background: var(--brand-alt); padding: var(--section-padding) 0; color: var(--brand-text); }
.eu-section-light { background: var(--brand-light-bg); padding: var(--section-padding) 0; color: var(--brand-light-text); }

.eu-section-title {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  color: var(--brand-text); margin-bottom: 2rem;
}
.eu-section-light .eu-section-title { color: var(--brand-light-text); }

/* --- Eyebrow --- */
.eu-eyebrow {
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--brand-primary);
  margin-bottom: 0.75rem; display: block;
}

/* --- Header (minimal sticky) --- */
.eu-header-minimal { position: sticky; top: 0; z-index: 100; background: rgba(10,10,12,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 12px 0; }
.eu-header-minimal-inner { display: flex; justify-content: space-between; align-items: center; }
.eu-logo { font-family: var(--font-head); font-weight: 700; font-size: 0.9375rem; color: var(--brand-text); }
.eu-hamburger-minimal { background: none; border: none; cursor: pointer; padding: 4px; display: flex; flex-direction: column; gap: 5px; }
.eu-hamburger-minimal span { display: block; width: 22px; height: 2px; background: var(--brand-text); border-radius: 2px; }

/* --- Full-screen overlay nav --- */
.eu-overlay { position: fixed; inset: 0; background: var(--brand-dark); z-index: 200; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.eu-overlay.open { opacity: 1; pointer-events: auto; }
.eu-overlay-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 2rem; padding: 2rem; }
.eu-overlay-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: var(--brand-text); font-size: 1.5rem; cursor: pointer; }
.eu-overlay-nav { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.eu-overlay-nav a { color: rgba(255,255,255,0.85); font-size: 1.75rem; font-weight: 700; transition: color 0.2s; }
.eu-overlay-nav a:hover { color: var(--brand-primary); }
.eu-overlay-foot { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.eu-overlay-phone { color: #fff; font-size: 1.25rem; font-weight: 700; }
.eu-overlay-cta { background: var(--brand-primary); color: var(--brand-dark); padding: 12px 32px; border-radius: 4px; font-weight: 700; }

/* --- Hero (dark bg, white text, gold eyebrow) --- */
.eu-hero { background: var(--brand-bg); padding: 5rem 0 4rem; }
.eu-hero--centered-text .eu-hero-center { max-width: 680px; margin: 0 auto; text-align: center; }
.eu-hero-eyebrow { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-primary); margin-bottom: 1rem; display: block; }
.eu-hero-heading { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 700; letter-spacing: -0.01em; max-width: 22ch; margin: 0 auto 1.25rem; color: var(--brand-text); line-height: 1.15; }
.eu-hero-city { display: block; font-size: 0.5em; font-weight: 400; color: var(--brand-muted); margin-top: 0.25em; }
.eu-hero-sub { font-size: 1.05rem; color: var(--brand-muted); margin-bottom: 1.5rem; max-width: 50ch; margin-left: auto; margin-right: auto; }
.eu-hero-phone-block { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; margin-bottom: 1.75rem; }
.eu-hero-phone-number { font-size: 1.4rem; font-weight: 700; color: var(--brand-text); }
.eu-hero-phone-label { font-size: 0.8rem; color: var(--brand-muted); }
.eu-hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- Buttons --- */
.eu-btn { display: inline-block; padding: 12px 28px; border-radius: 4px; font-weight: 600; font-size: 0.9375rem; transition: all 0.2s; border: 2px solid transparent; }
.eu-btn-primary { background: var(--brand-primary); color: var(--brand-dark); border-color: var(--brand-primary); font-weight: 700; }
.eu-btn-primary:hover { background: #b8933a; border-color: #b8933a; }
.eu-btn-outline { background: transparent; color: var(--brand-primary); border-color: var(--brand-primary); }
.eu-btn-outline:hover { background: var(--brand-primary); color: var(--brand-dark); }

/* --- Trust strip (dark, gold accents) --- */
.eu-trust-strip { background: var(--brand-alt); padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.eu-trust-signals { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; justify-content: center; }
.eu-trust-item { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 500; color: rgba(255,255,255,0.8); }
.eu-trust-item::before { content: attr(data-code); font-family: var(--font-mono); font-size: 0.65rem; font-weight: 600; color: var(--brand-primary); background: rgba(201,168,76,0.12); padding: 2px 7px; border-radius: 3px; letter-spacing: 0.04em; }
.eu-trust-credential-text { display: none; }

/* --- Make breadth grid (dark cards) --- */
.eu-make-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--brand-surface);
  border: 1px solid var(--brand-surface);
  margin: 2rem auto; max-width: 900px;
}
.eu-make-card { background: var(--brand-bg); padding: 2rem 1.5rem; transition: background 0.2s; }
.eu-make-card:hover { background: var(--brand-alt); }
.eu-make-card-name { font-family: var(--font-head); font-size: 0.875rem; font-weight: 700; color: var(--brand-primary); text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 0.5rem; }
.eu-make-card-caps { font-size: 0.8125rem; color: var(--brand-muted); line-height: 1.55; }

/* --- Diagnostic tools section (light warm contrast break) --- */
.eu-diag-section { background: var(--brand-light-bg); color: var(--brand-light-text); padding: var(--section-padding) 0; }
.eu-diag-section-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }
.eu-diag-section-heading { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 1.9rem); color: var(--brand-light-text); text-align: center; margin-bottom: 2.5rem; }
.eu-diag-section .eu-eyebrow { color: var(--brand-primary); }
.eu-diag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.eu-diag-tool { background: #fff; border: 1px solid #E5E1D8; border-radius: 6px; padding: 1.5rem; transition: box-shadow 0.3s, border-color 0.3s; }
.eu-diag-tool:hover { box-shadow: 0 4px 20px rgba(201,168,76,0.1); border-color: rgba(201,168,76,0.3); }
.eu-diag-tool-code { font-family: var(--font-mono); font-size: 0.65rem; font-weight: 600; color: var(--brand-primary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.eu-diag-tool-name { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--brand-light-text); margin-bottom: 0.75rem; line-height: 1.2; }
.eu-diag-tool-desc { font-size: 0.875rem; color: #5C5550; line-height: 1.65; }

/* --- Services grid --- */
.eu-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.eu-service-card { background: var(--brand-surface); border: 1px solid rgba(255,255,255,0.07); border-radius: 6px; padding: 1.5rem; transition: border-color 0.3s; }
.eu-service-card:hover { border-color: rgba(201,168,76,0.3); }
.eu-service-icon { display: block; color: var(--brand-primary); margin-bottom: 0.75rem; }
.eu-service-name { font-family: var(--font-head); font-weight: 700; font-size: 0.9375rem; color: var(--brand-text); margin-bottom: 0.4rem; }
.eu-service-desc { font-size: 0.875rem; color: var(--brand-muted); line-height: 1.6; margin-bottom: 0.75rem; }
.eu-service-link { font-size: 0.8125rem; font-weight: 600; color: var(--brand-primary); }
.eu-service-link:hover { text-decoration: underline; }

/* --- Models grid --- */
.eu-models-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.eu-model-card { background: var(--brand-surface); border: 1px solid rgba(255,255,255,0.07); border-radius: 6px; padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: center; text-align: center; transition: border-color 0.3s; }
.eu-model-card:hover { border-color: var(--brand-primary); }
.eu-model-name { font-family: var(--font-head); font-weight: 700; font-size: 0.9375rem; color: var(--brand-text); }

/* --- Proof / reviews --- */
.eu-proof-strip { display: flex; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.eu-proof-item { display: flex; flex-direction: column; gap: 0.25rem; }
.eu-proof-number { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--brand-primary); line-height: 1; }
.eu-proof-label { font-size: 0.8125rem; color: var(--brand-muted); font-weight: 500; }
.eu-featured-review { background: var(--brand-surface); border: 1px solid rgba(255,255,255,0.07); border-left: 3px solid var(--brand-primary); border-radius: 6px; padding: 1.5rem 2rem; max-width: 680px; }
.eu-featured-review-text { font-size: 1rem; line-height: 1.7; color: var(--brand-text); font-style: italic; margin-bottom: 0.75rem; }
.eu-featured-review-author { font-size: 0.8125rem; font-weight: 600; color: var(--brand-muted); }

/* --- Why-us (legacy, preserved) --- */
.eu-why-us { background: var(--brand-bg); padding: var(--section-padding) 0; }
.eu-why-dealer { margin-bottom: 1.5rem; }
.eu-why-dealer-heading { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--brand-primary); }
.eu-why-dealer-list { padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.eu-why-dealer-list li { font-size: 0.9375rem; line-height: 1.65; color: var(--brand-text); }
.eu-why-us p { font-size: 0.9375rem; color: var(--brand-muted); line-height: 1.7; margin-bottom: 1rem; }

/* --- FAQ --- */
.eu-faq-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid rgba(255,255,255,0.08); }
.eu-faq-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.eu-faq-question { width: 100%; background: none; border: none; text-align: left; cursor: pointer; padding: 1.125rem 0; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-head); font-weight: 600; font-size: 0.9375rem; color: var(--brand-text); gap: 1rem; }
.eu-faq-question::after { content: '+'; font-size: 1.25rem; font-weight: 400; color: var(--brand-primary); flex-shrink: 0; }
.eu-faq-item.open .eu-faq-question::after { content: '−'; }
.eu-faq-answer { display: none; padding: 0 0 1.25rem; font-size: 0.9375rem; color: var(--brand-muted); line-height: 1.7; }
.eu-faq-item.open .eu-faq-answer { display: block; }

/* --- CTA band (gold background — the one warm moment) --- */
.eu-cta-band { background: var(--brand-primary); padding: 4rem 0; text-align: center; }
.eu-cta-band-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.eu-cta-band-headline { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.25rem); color: var(--brand-dark); max-width: 30ch; }
.eu-cta-band-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.eu-cta-band-btn-primary { background: var(--brand-dark); color: #fff; padding: 14px 32px; border-radius: 4px; font-weight: 700; font-size: 0.9375rem; transition: background 0.2s; }
.eu-cta-band-btn-primary:hover { background: #1A1A1A; }
.eu-cta-band-btn-secondary { background: rgba(0,0,0,0.12); color: var(--brand-dark); padding: 14px 32px; border-radius: 4px; font-weight: 600; font-size: 0.9375rem; border: 1px solid rgba(0,0,0,0.2); transition: background 0.2s; }
.eu-cta-band-btn-secondary:hover { background: rgba(0,0,0,0.2); }

/* --- Footer (dark) --- */
.eu-footer { background: var(--brand-bg); border-top: 1px solid rgba(255,255,255,0.06); padding: 1.5rem 0; }
.eu-footer--minimal .eu-footer-minimal-inner { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center; }
.eu-footer-brand-name { font-family: var(--font-head); font-weight: 700; font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.eu-footer-phone { color: var(--brand-primary); font-weight: 600; font-size: 0.875rem; }
.eu-footer-address { font-size: 0.8125rem; color: rgba(255,255,255,0.35); }
.eu-footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.25); margin-top: 0.25rem; }

/* --- Sticky CTA bar --- */
.cta-sb-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--brand-alt); display: flex; z-index: 500; transform: translateY(100%); transition: transform 0.3s ease; }
.cta-sb-bar.visible { transform: translateY(0); }
.cta-sb-phone, .cta-sb-book { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 14px; font-weight: 600; font-size: 0.875rem; }
.cta-sb-phone { color: rgba(255,255,255,0.9); border-right: 1px solid rgba(255,255,255,0.1); }
.cta-sb-book { background: var(--brand-primary); color: var(--brand-dark); font-weight: 700; }

/* --- Responsive --- */
@media (max-width: 900px) { .eu-diag-grid { grid-template-columns: repeat(2, 1fr); } .eu-make-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .eu-services-grid { grid-template-columns: 1fr 1fr; } .eu-models-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .eu-services-grid { grid-template-columns: 1fr; } .eu-diag-grid { grid-template-columns: 1fr; } .eu-make-grid { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }


/* interior-components: appended by assemble-interiors.js */
﻿/* ================================================================
   interior.css -- Interior Page Components
   MORPH-13: Interior page template system
   All classes use eu-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 .eu-hero" to scope without changing HTML.
================================================================ */

/* ── BREADCRUMB ──────────────────────────────────────────────────────────── */
.eu-breadcrumb {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.eu-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;
}
.eu-breadcrumb a {
  color: var(--text-muted, var(--text));
  text-decoration: none;
}
.eu-breadcrumb a:hover { color: var(--primary); }
.eu-breadcrumb .sep {
  opacity: 0.4;
  font-size: 12px;
}

/* ── INTERIOR HERO (scoped to main -- homepage has no <main>) ────────────── */
main .eu-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 .eu-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 .eu-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

/* Interior eyebrow + h1 -- homepage uses p-hero-eyebrow / p-hero-heading */
.eu-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
main .eu-hero .eu-eyebrow {
  color: rgba(255,255,255,0.55);
}
.eu-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 .eu-hero .eu-h1 { color: #fff; }
main .eu-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 ────────────────────────────────────────────────────── */
.eu-section { padding: 72px 0; }
.eu-section-white { background: var(--bg); }
.eu-section-dark  { background: var(--nav-bg, var(--brand-dark, #1A1A1A)); }
.eu-section-mid   { background: var(--surface); }

/* ── INTERIOR CONTENT CARDS (index pages) ────────────────────────────────── */
/* Scoped inside model-grid to avoid collision with homepage p-model-card pill */
.eu-model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.eu-model-grid .eu-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;
}
.eu-model-grid .eu-model-card:hover {
  border-top-color: var(--primary);
}
.eu-model-gen {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}
.eu-model-grid .eu-model-card h4,
.eu-model-grid .eu-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;
}
.eu-model-grid .eu-model-card p {
  font-size: 13px;
  color: var(--text-muted, #555);
  line-height: 1.7;
  margin-bottom: 14px;
}
.eu-model-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  margin-top: auto;
}
.eu-model-link:hover { text-decoration: underline; }

/* ── ARTICLE LAYOUT (article pages: 2-col main + sidebar) ───────────────── */
.eu-content-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .eu-content-sidebar { grid-template-columns: 1fr; }
}

/* ── ARTICLE BODY ─────────────────────────────────────────────────────────── */
.eu-article { max-width: 720px; }
.eu-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;
}
.eu-article h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 10px;
}
.eu-article p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1em;
}
.eu-article ul,
.eu-article ol {
  padding-left: 24px;
  margin-bottom: 1em;
  line-height: 1.7;
  color: var(--text);
}
.eu-article li { margin-bottom: 6px; }
.eu-article a { color: var(--primary); text-decoration: underline; }
.eu-article blockquote {
  border-left: 3px solid var(--primary);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-muted, #555);
}

/* ── TABLE ───────────────────────────────────────────────────────────────── */
.eu-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.eu-table th {
  background: var(--nav-bg, var(--brand-dark, #1A1A1A));
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
}
.eu-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}
.eu-table tr:nth-child(even) td { background: rgba(0,0,0,0.025); }
@media (max-width: 700px) {
  .eu-table { font-size: 13px; }
  .eu-table th,
  .eu-table td { padding: 10px 12px; }
}

/* ── SIDEBAR ─────────────────────────────────────────────────────────────── */
.eu-content-sidebar aside {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── SIDEBAR CTA ─────────────────────────────────────────────────────────── */
.eu-sidebar-cta {
  background: var(--nav-bg, var(--brand-dark, #1A1A1A));
  padding: 28px;
  border-radius: var(--radius-md, 8px);
}
.eu-sidebar-cta h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.eu-sidebar-cta p {
  font-size: 14px;
  color: rgba(255,255,255,0.62);
  line-height: 1.6;
  margin-bottom: 16px;
}
.eu-sidebar-cta .eu-btn,
.eu-sidebar-cta a.eu-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;
}
.eu-sidebar-cta .eu-btn:hover { opacity: 0.88; }

/* ── SIDEBAR CARD ────────────────────────────────────────────────────────── */
.eu-sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
}
.eu-sidebar-card h4 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.eu-sidebar-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.eu-sidebar-card li {
  font-size: 14px;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.eu-sidebar-card li:last-child { border-bottom: none; }

/* ── SIDEBAR LINKS ───────────────────────────────────────────────────────── */
.eu-sidebar-links {
  display: flex;
  flex-direction: column;
}
.eu-sidebar-links a {
  display: block;
  font-size: 14px;
  color: var(--primary);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.eu-sidebar-links a:last-child { border-bottom: none; }
.eu-sidebar-links a:hover { text-decoration: underline; }

/* ── ISSUE LIST (common-problems pages) ──────────────────────────────────── */
.eu-issue-list { margin-top: 8px; }
.eu-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;
}
.eu-issue:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.eu-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;
}
.eu-section-dark .eu-issue h4 { color: #fff; }
.eu-section-dark .eu-issue h4 a { color: #fff; text-decoration: none; }
.eu-section-dark .eu-issue h4 a:hover { color: var(--primary); }
.eu-section-dark .eu-issue p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
}
/* Issue list on light background */
.eu-section-white .eu-issue,
.eu-section-mid .eu-issue {
  border-bottom-color: var(--border);
}
.eu-section-white .eu-issue:first-child,
.eu-section-mid .eu-issue:first-child {
  border-top-color: var(--border);
}
.eu-section-white .eu-issue h4,
.eu-section-white .eu-issue h4 a,
.eu-section-mid .eu-issue h4 { color: var(--text); }
.eu-section-white .eu-issue p,
.eu-section-mid .eu-issue p { color: var(--text-muted, #555); }

/* ── STICKY CONTACT BAR ──────────────────────────────────────────────────── */
.cta-sb-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--nav-bg, var(--brand-dark, #1A1A1A));
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 12px 24px;
  transition: transform 250ms ease, opacity 250ms ease;
}
.cta-sb-bar.cta-sb-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cta-sb-inner {
  max-width: var(--max-w, 1200px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-sb-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.cta-sb-phone {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.cta-sb-phone:hover { color: var(--primary); }
.cta-sb-btn {
  background: var(--primary);
  color: #fff;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm, 4px);
  transition: opacity 150ms ease;
}
.cta-sb-btn:hover { opacity: 0.88; }
@media (max-width: 480px) {
  .cta-sb-label { display: none; }
  .cta-sb-inner { gap: 12px; }
}

/* ── UNSTYLED LIST FIX (MORPH-38) ────────────────────────────────────────── */
main ul, main ol {
  padding-left: 1.5rem;
  margin: 0 0 1.25rem;
  line-height: 1.7;
  color: var(--brand-text, var(--text, #111));
}
main li {
  margin-bottom: 0.4rem;
}

/* ── INVISIBLE SECTION FIX (MORPH-38) ────────────────────────────────────── */
/* Sections with reveal-ready must be visible even without JS */
.reveal-ready {
  opacity: 1 !important;
  transform: none !important;
}

/* ── PRINT STYLESHEET (MORPH-19: CSS-19) ─────────────────────────────────── */
/* ── DARK-SECTION TEXT CONTRAST FIX (MORPH-38 Cycle 1b) ──────────────────── */
/* Ensure all text inside section-dark is readable on dark backgrounds */
.eu-section-dark h2,
.eu-section-dark h3,
.eu-section-dark h4 {
  color: #fff;
}
.eu-section-dark p,
.eu-section-dark li {
  color: rgba(255,255,255,0.78);
}
.eu-section-dark a {
  color: var(--primary, #E8364E);
}
.eu-section-dark .eu-model-grid .eu-model-card {
  background: var(--surface, #F5F5F0);
}
.eu-section-dark .eu-model-grid .eu-model-card h4,
.eu-section-dark .eu-model-grid .eu-model-card h3 {
  color: var(--text, #111);
}
.eu-section-dark .eu-model-grid .eu-model-card p {
  color: var(--text-muted, #555);
}
.eu-section-dark .eu-model-grid .eu-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 */
.eu-section-dark [class*="-service-name"],
.eu-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 ───────────────────────────── */
.eu-section-dark [class*="-spoke"],
.eu-section-dark [class*="-hub"] {
  color: var(--primary, #E8364E);
}



/* ── CONTRAST FIX CYCLE 2 (MORPH-39) ─────────────────────────────────────── */
/* European homepage: service-name/desc dark text on dark bg sections */
/* Homepage has no <main>, so services sit on dark-bg homepage sections */
body:not(:has(main)) p.eu-service-name {
  color: #fff !important;
}
body:not(:has(main)) p.eu-service-desc {
  color: rgba(255,255,255,0.78) !important;
}
/* Also catch any dark section service text */
.eu-section-dark p.eu-service-name {
  color: #fff !important;
}
.eu-section-dark p.eu-service-desc {
  color: rgba(255,255,255,0.78) !important;
}
/* Interior pages: keep dark text on light bg */
main p.eu-service-name {
  color: var(--text, #111);
}
main p.eu-service-desc {
  color: var(--text-muted, #555);
}


@media print {
  /* Hide navigation and interactive elements */
  header, .cta-sb-bar, footer, [class*="-cta-band"], [class*="-nav"], [class*="-hamburger"], [class*="-panel"] {
    display: none !important;
  }
  /* Show full article content without sidebar */
  [class*="-content-sidebar"] {
    display: block;
  }
  aside, [class*="-sidebar-cta"], [class*="-sidebar-card"] {
    display: none !important;
  }
  /* Typography for print */
  body {
    font-size: 11pt;
    line-height: 1.5;
    color: #000 !important;
    background: #fff !important;
  }
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555;
  }
  a[href^="tel"]::after,
  a[href^="#"]::after {
    content: none;
  }
  h1, h2, h3 { color: #000 !important; page-break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
  [class*="-table"] { page-break-inside: avoid; }
}

/* ── MORPH-40: Hero Photograph Background ──────────────────────────────── */
/* Replaces solid-color hero with real photograph + dark overlay for text   */
.eu-hero--centered-text {
  background-image: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.55)),
                    url('assets/hero-images/european-hero-processed.webp') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat;
  background-color: transparent !important;
}
/* Force white text over photo overlay */
.eu-hero--centered-text .eu-hero-eyebrow {
  color: rgba(255,255,255,0.85) !important;
}
.eu-hero--centered-text .eu-hero-heading {
  color: #ffffff !important;
}
.eu-hero--centered-text .eu-hero-sub {
  color: rgba(255,255,255,0.80) !important;
  opacity: 1;
}
.eu-hero--centered-text .eu-hero-city {
  color: rgba(255,255,255,0.65) !important;
}
.eu-hero--centered-text .eu-hero-phone-number {
  color: #ffffff !important;
}
.eu-hero--centered-text .eu-hero-phone-label {
  color: rgba(255,255,255,0.70) !important;
  opacity: 1;
}
.eu-hero--centered-text .eu-hero-cta .eu-btn-outline {
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.5) !important;
}
.eu-hero--centered-text .eu-hero-cta .eu-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;
}
