/* ==========================================================================
   Elite Auto Spa — Global Stylesheet
   Premium automotive restyling showroom UI
   Pure CSS3. Mobile-first. Respects prefers-reduced-motion.
   --------------------------------------------------------------------------
   TABLE OF CONTENTS
   1.  Design Tokens (custom properties)
   2.  Reset & Base
   3.  Typography
   4.  Layout Helpers (container, sections, grids)
   5.  Buttons & CTAs
   6.  Header / Navigation
   7.  Mobile Sticky CTA Bar
   8.  Hero
   9.  Cards (services, features, gallery)
   10. Sections (trust, service-area, testimonial, faq, cta)
   11. Footer
   12. Quote Modal / Multi-step Form
   13. Forms (fields, validation)
   14. Utilities & Effects (grain, metal, light-sweep)
   15. Accessibility (skip link, focus, sr-only)
   16. Motion / prefers-reduced-motion
   ========================================================================== */

/* ------------------------------------------------------------------ */
/* 1. DESIGN TOKENS                                                     */
/* ------------------------------------------------------------------ */
/* Self-hosted brand fonts (sovereign: no third-party font requests). */
@font-face{font-family:"Montserrat";font-style:normal;font-weight:100 900;font-display:swap;src:url("/assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2")}
@font-face{font-family:"Montserrat";font-style:italic;font-weight:100 900;font-display:swap;src:url("/assets/fonts/montserrat-latin-wght-italic.woff2") format("woff2")}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:100 800;font-display:swap;src:url("/assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2")}
@font-face{font-family:"Mrs Saint Delafield";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/mrs-saint-delafield-latin-400-normal.woff2") format("woff2")}

:root {
  /* Core palette — deep black, charcoal, graphite, silver, signature red */
  --color-black: #0a0a0a;
  --color-charcoal: #151515;
  --color-graphite: #202020;
  --color-graphite-2: #28292a;
  --color-line: #323335;          /* thin metallic borders */
  --color-line-strong: #454545;

  --color-silver: #c0c0c0;
  --color-silver-dim: #969696;
  --color-white: #ffffff;

  --color-accent: #d32f2f;        /* signature red */
  --color-accent-strong: #b71c1c;
  --color-accent-soft: rgba(211, 47, 47, 0.14);

  /* Semantic */
  --bg: var(--color-black);
  --bg-elevated: var(--color-charcoal);
  --surface: var(--color-graphite);
  --surface-2: var(--color-graphite-2);
  --text: var(--color-white);
  --text-muted: var(--color-silver-dim);
  --text-soft: var(--color-silver);
  --border: var(--color-line);
  --accent: var(--color-accent);

  /* Typography */
  --font-display: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Montserrat", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --fs-hero: clamp(2.6rem, 7vw, 5.5rem);
  --fs-h1: clamp(2.1rem, 5vw, 3.6rem);
  --fs-h2: clamp(1.7rem, 3.6vw, 2.6rem);
  --fs-h3: clamp(1.25rem, 2.2vw, 1.6rem);
  --fs-lead: clamp(1.05rem, 1.6vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  /* Metallic gradients / effects */
  --metal: linear-gradient(145deg, #28292a 0%, #181818 45%, #222325 100%);
  --metal-line: linear-gradient(90deg, transparent, var(--color-line-strong), transparent);
  --glass: rgba(35, 36, 37, 0.55);

  /* Spacing / shape */
  --radius: 4px;
  --radius-lg: 8px;
  --container: 1200px;
  --container-narrow: 820px;
  --section-y: clamp(3.5rem, 8vw, 7rem);

  --shadow-soft: 0 10px 40px -12px rgba(0, 0, 0, 0.7);
  --shadow-lift: 0 20px 60px -20px rgba(0, 0, 0, 0.85);

  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------------ */
/* 2. RESET & BASE                                                     */
/* ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

  * {
  margin: 0;
  }

  /* Ensure the [hidden] attribute always wins over component display rules
     (e.g. .btn { display:inline-flex }) so JS-toggled buttons hide correctly. */
  [hidden] {
  display: none !important;
  }
  
  html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle page-wide texture: metallic radial glow + fine grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(211, 47, 47, 0.10), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(135, 135, 135, 0.06), transparent 55%),
    var(--bg);
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* ------------------------------------------------------------------ */
/* 3. TYPOGRAPHY                                                       */
/* ------------------------------------------------------------------ */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 {
  font-size: var(--fs-h1);
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
}

p {
  color: var(--text-soft);
}

.lead {
  font-size: var(--fs-lead);
  color: var(--text-soft);
  line-height: 1.55;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.text-gradient {
  background: linear-gradient(180deg, #ffffff 0%, #a6a6a6 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------------ */
/* 4. LAYOUT HELPERS                                                   */
/* ------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head .lead {
  margin-top: 1rem;
}

.divider {
  height: 1px;
  border: 0;
  background: var(--metal-line);
  margin: 0;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ------------------------------------------------------------------ */
/* 5. BUTTONS & CTAs                                                   */
/* ------------------------------------------------------------------ */
.btn {
  --btn-bg: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  min-height: 52px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--btn-bg);
  color: var(--text);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  --btn-bg: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-strong) 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 8px 24px -8px rgba(211, 47, 47, 0.6);
}

.btn--primary:hover {
  box-shadow: 0 14px 34px -10px rgba(211, 47, 47, 0.75);
}

.btn--ghost {
  background: transparent;
  border-color: var(--color-line-strong);
}

.btn--ghost:hover {
  border-color: var(--color-silver);
  background: rgba(255, 255, 255, 0.03);
}

.btn--block {
  width: 100%;
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ------------------------------------------------------------------ */
/* 6. HEADER / NAVIGATION                                              */
/* ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(10, 11, 13, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.15rem;
}

.brand__mark {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 999px;
  object-fit: cover;
  background: var(--metal);
  border: 1px solid var(--color-line-strong);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.35);
  color: var(--accent);
  font-weight: 800;
}
.footer-brand .brand__mark {
  width: 44px;
  height: 44px;
}

.brand__name {
  line-height: 1;
}
.brand__name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 3px;
}

.primary-nav {
  display: none;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.primary-nav a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  font-size: 0.92rem;
  color: var(--text-soft);
  border-radius: var(--radius);
  position: relative;
  transition: color 0.2s var(--ease);
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.28rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--text);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-actions .btn {
  min-height: 44px;
  padding: 0.6rem 1.15rem;
}

/* Below the desktop breakpoint, the fixed bottom CTA bar carries Call /
   Get-a-Quote, so keep only the hamburger in the header to avoid crowding. */
.header-actions .btn {
  display: none;
}
@media (min-width: 980px) {
  .header-actions .btn {
    display: inline-flex;
  }
}

/* Mobile menu toggle */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 11px;
}

.nav-toggle span {
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 95;
  background: rgba(10, 11, 13, 0.97);
  backdrop-filter: blur(10px);
  padding: 1.5rem clamp(1.15rem, 4vw, 2.5rem) 6rem;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
  overflow-y: auto;
}

.mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.35s var(--ease);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav a {
  display: block;
  padding: 1rem 0.25rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
}

.mobile-nav a:hover {
  color: var(--text);
}

.mobile-nav .btn {
  margin-top: 1.5rem;
}

@media (min-width: 980px) {
  .primary-nav {
    display: block;
  }
  .nav-toggle {
    display: none;
  }
}

/* ------------------------------------------------------------------ */
/* 7. MOBILE STICKY CTA BAR                                            */
/* ------------------------------------------------------------------ */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding: 0.6rem clamp(0.9rem, 4vw, 1.25rem) calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(10, 11, 13, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
}

.mobile-cta-bar .btn {
  min-height: 50px;
  padding: 0.75rem 1rem;
}

@media (min-width: 980px) {
  .mobile-cta-bar {
    display: none;
  }
}

/* Add breathing room so the sticky bar doesn't cover footer content */
@media (max-width: 979px) {
  body {
    padding-bottom: 76px;
  }
}

/* ------------------------------------------------------------------ */
/* 8. HERO                                                             */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: clamp(820px, 108vh, 980px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* The car sits ~47% across the hero video frame; anchor the crop on it so it
   stays centered when the frame is cropped (e.g. portrait phones). */
.hero__media .hero__video {
  object-position: 47% 50%;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 11, 13, 0.88) 0%, rgba(10, 11, 13, 0.55) 30%, rgba(10, 11, 13, 0.05) 52%, rgba(10, 11, 13, 0.05) 72%, rgba(10, 11, 13, 0.85) 100%);
}

.hero__inner {
    padding-bottom: calc(56.25vw + 2rem);
  }
}

/* Copy is centered at the top and the trust items are pinned to the bottom,
   leaving the middle of the frame clear for the car in the hero video. */
.hero {
  align-items: stretch;
}

.hero > .container {
  display: flex;
  width: 100%;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
  padding-block: clamp(3rem, 7vw, 5rem) 2rem;
}

.hero h1 {
  font-size: var(--fs-hero);
  margin: 1.1rem 0 1.25rem;
}

.hero .lead {
  max-width: 620px;
  margin-inline: auto;
}

.hero .btn-row {
  justify-content: center;
  margin-top: 2rem;
}

.trust-line {
  margin-top: auto;
  padding-top: 2rem;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-line span:not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-line-strong);
  margin-left: 1rem;
}

.hero-claim {
  margin-top: 2.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(6px);
}

.hero-claim strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
}

.hero-claim span {
  font-size: var(--fs-small);
  color: var(--text-muted);
  max-width: 180px;
  line-height: 1.35;
}

/* ------------------------------------------------------------------ */
/* 9. CARDS                                                            */
/* ------------------------------------------------------------------ */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  background: var(--metal);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--metal-line);
  opacity: 0.6;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--color-line-strong);
  box-shadow: var(--shadow-lift);
}

/* Service card */
.service-card {
  min-height: 220px;
  justify-content: space-between;
}

.service-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(211, 47, 47, 0.08);
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
}

.service-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.service-card:hover .service-card__link svg {
  transform: translateX(4px);
}

/* Stretched link pattern for whole-card click */
.card--link .stretched {
  position: absolute;
  inset: 0;
}

/* Feature list card */
.feature-item {
  display: flex;
  gap: 0.9rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}

.feature-item:last-child {
  border-bottom: 0;
}

.feature-item__check {
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--color-accent);
  color: var(--accent);
}

.feature-item__check svg {
  width: 15px;
  height: 15px;
}

.feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ------------------------------------------------------------------ */
/* 10. GALLERY                                                         */
/* ------------------------------------------------------------------ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

@media (min-width: 760px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.6s var(--ease);
}

.gallery-item--tall img {
  aspect-ratio: 3 / 4;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  background: linear-gradient(0deg, rgba(10, 11, 13, 0.9), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.gallery-item:hover .gallery-item__caption {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------------------------ */
/* 11. TRUST / STATS / SERVICE AREA / TESTIMONIAL / CTA               */
/* ------------------------------------------------------------------ */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split--media-first .split__media {
    order: -1;
  }
}

.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.split__media img,
.split__media video {
  display: block;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.testimonial {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--metal);
  position: relative;
}

.testimonial blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  line-height: 1.35;
  font-weight: 600;
  color: var(--text);
  margin: 1rem 0 1.5rem;
}

.testimonial cite {
  font-style: normal;
  color: var(--text-muted);
  font-size: var(--fs-small);
}

.placeholder-note {
  display: block;
  padding: 1rem 1.25rem;
  border: 1px dashed var(--color-line-strong);
  border-radius: var(--radius);
  background: rgba(211, 47, 47, 0.05);
  color: var(--text-muted);
  font-size: var(--fs-small);
  line-height: 1.5;
}

/* Service area */
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.area-tag {
  padding: 0.55rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* Big CTA band */
.cta-band {
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.15rem, 4vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(211, 47, 47, 0.16), transparent 60%),
    var(--metal);
  position: relative;
  overflow: hidden;
}

.cta-band h2 {
  max-width: 640px;
  margin-inline: auto;
}

.cta-band .btn-row {
  justify-content: center;
  margin-top: 2rem;
}

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 760px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  background: var(--surface);
  padding: 1.75rem 1.25rem;
  text-align: center;
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--text);
}

.stat__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 0.35rem;
}

/* ------------------------------------------------------------------ */
/* Page hero (interior pages)                                          */
/* ------------------------------------------------------------------ */
.page-hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 11, 13, 0.94), rgba(10, 11, 13, 0.7));
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.breadcrumbs a:hover {
  color: var(--text);
}

.breadcrumbs li::after {
  content: "/";
  margin-left: 0.4rem;
  color: var(--color-line-strong);
}

.breadcrumbs li:last-child::after {
  content: "";
}

.breadcrumbs {
  list-style: none;
}

.prose {
  max-width: 72ch;
}

.prose p,
.prose li {
  color: var(--text-soft);
  margin-bottom: 1rem;
}

.prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.prose h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.6rem;
}

.prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.prose ul li {
  margin-bottom: 0.5rem;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------------ */
/* FAQ (accordion)                                                     */
/* ------------------------------------------------------------------ */
.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0.25rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .faq-icon {
  flex: none;
  width: 26px;
  height: 26px;
  position: relative;
  border: 1px solid var(--border);
  border-radius: 50%;
}

.faq-item summary .faq-icon::before,
.faq-item summary .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.faq-item summary .faq-icon::before {
  top: 50%;
  left: 25%;
  right: 25%;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq-item summary .faq-icon::after {
  left: 50%;
  top: 25%;
  bottom: 25%;
  width: 1.5px;
  transform: translateX(-50%);
}

.faq-item[open] summary .faq-icon::after {
  opacity: 0;
  transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
  padding: 0 0.25rem 1.4rem;
  color: var(--text-soft);
  max-width: 68ch;
}

.faq-answer p {
  margin-bottom: 0.75rem;
}

/* ------------------------------------------------------------------ */
/* 12. QUOTE MODAL / MULTI-STEP FORM                                   */
/* ------------------------------------------------------------------ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(5, 6, 8, 0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s var(--ease);
}

.modal__dialog {
  width: min(640px, 100%);
  max-height: min(88vh, 780px);
  overflow-y: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s var(--ease);
}

.modal.is-open .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.modal__head h2 {
  font-size: 1.25rem;
}

.modal__close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-soft);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.modal__close:hover {
  background: var(--surface);
  color: var(--text);
}

.modal__body {
  padding: 1.5rem;
}

/* Step progress */
.steps-progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.steps-progress li {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
  position: relative;
}

.steps-progress li[data-state="done"],
.steps-progress li[data-state="active"] {
  background: var(--accent);
}

.step-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.form-step {
  display: none;
  animation: fade-in 0.35s var(--ease);
}

.form-step.is-active {
  display: block;
}

.form-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

/* ------------------------------------------------------------------ */
/* 13. FORMS                                                           */
/* ------------------------------------------------------------------ */
.field {
  margin-bottom: 1.1rem;
}

.field > label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 0.45rem;
}

.field .req {
  color: var(--accent);
}

.field .hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--color-black);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.input::placeholder,
.textarea::placeholder {
  color: #676767;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.field-row {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 560px) {
  .field-row--2 {
    grid-template-columns: 1fr 1fr;
  }
  .field-row--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Option chips (radio-as-cards) */
.chip-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

@media (min-width: 560px) {
  .chip-group {
    grid-template-columns: repeat(3, 1fr);
  }
}

.chip {
  position: relative;
}

.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.chip span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 58px;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.9rem;
  color: var(--text-soft);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.chip input:checked + span {
  border-color: var(--accent);
  background: var(--color-accent-soft);
  color: var(--text);
}

.chip input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Consent + checkboxes */
.consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.consent input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 20px;
  height: 20px;
  flex: none;
  accent-color: var(--accent);
}

.consent label {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.consent label a {
  color: var(--accent);
  text-decoration: underline;
}

/* Honeypot — visually hidden but present for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Validation states */
.field .error-msg {
  display: none;
  font-size: 0.78rem;
  color: #ff6b6b;
  margin-top: 0.35rem;
}

.field.is-invalid .input,
.field.is-invalid .select,
.field.is-invalid .textarea {
  border-color: #ff6b6b;
}

.field.is-invalid .error-msg {
  display: block;
}

/* File upload */
.file-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
  border: 1px dashed var(--color-line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.file-drop svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

/* Form status messages */
.form-status {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.form-status[hidden] {
  display: none;
}

.form-status--success {
  border: 1px solid rgba(211, 47, 47, 0.55);
  background: rgba(211, 47, 47, 0.1);
  color: var(--color-accent);
}

.form-status--error {
  border: 1px solid rgba(255, 107, 107, 0.4);
  background: rgba(255, 107, 107, 0.1);
  color: #ff9d9d;
}

/* Contact page form layout */
.contact-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.info-card {
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--metal);
}

.info-card + .info-card {
  margin-top: 1.25rem;
}

.info-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.info-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.5rem 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.info-row svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: none;
  margin-top: 3px;
}

/* ------------------------------------------------------------------ */
/* 14. FOOTER                                                          */
/* ------------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--color-black);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  margin-top: var(--section-y);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.footer-col h3,
.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a,
.footer-col address {
  color: var(--text-soft);
  font-size: 0.92rem;
  font-style: normal;
  line-height: 1.6;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-brand p {
  margin: 1rem 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 34ch;
}

.social-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.social-row a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-soft);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
    background-color 0.2s var(--ease);
}

.social-row a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--color-accent-soft);
}

.social-row svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.legal-name {
  color: var(--text-soft);
}

/* ------------------------------------------------------------------ */
/* 15. ACCESSIBILITY                                                   */
/* ------------------------------------------------------------------ */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 300;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------------ */
/* 16. EFFECTS & MOTION                                                */
/* ------------------------------------------------------------------ */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal — JS toggles .is-visible */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

/* Slow light sweep on hero (GPU friendly) */
.light-sweep {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.04),
    transparent
  );
  transform: translateX(-120%);
  animation: sweep 9s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sweep {
  0%,
  100% {
    transform: translateX(-120%);
  }
  50% {
    transform: translateX(320%);
  }
}

/* ==========================================================================
   17. GENERATED CONTENT PAGES
   Service / location / gallery / about / faq / contact / legal pages emitted
   by build/*.mjs. Kept in one block so the generator's markup stays styled
   consistently with the hand-authored homepage above.
   ========================================================================== */

/* --- Section helpers ------------------------------------------------ */
.section--alt {
  background:
    linear-gradient(180deg, rgba(21, 21, 21, 0.9), rgba(10, 11, 13, 0.9)),
    var(--bg);
  border-block: 1px solid var(--border);
}
.section--top {
  padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4rem));
}
.container.narrow {
  max-width: var(--container-narrow);
}

/* --- Breadcrumb ----------------------------------------------------- */
.breadcrumb {
  padding-top: calc(var(--header-h) + 1.25rem);
  padding-bottom: 0.25rem;
  font-size: var(--fs-small);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: var(--color-line-strong);
}
.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}
.breadcrumb a:hover {
  color: var(--text);
}
.breadcrumb li[aria-current="page"] {
  color: var(--text-soft);
}

/* --- Page hero (image background + overlay content) ----------------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(340px, 52vh, 560px);
  padding-block: clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero--compact {
  min-height: clamp(240px, 34vh, 360px);
  align-items: center;
}
.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 11, 13, 0.95) 0%, rgba(10, 11, 13, 0.7) 45%, rgba(10, 11, 13, 0.25) 100%),
    linear-gradient(0deg, rgba(10, 11, 13, 0.95) 0%, transparent 55%);
}
.page-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(900px 400px at 15% 120%, rgba(211, 47, 47, 0.18), transparent 60%);
}
.page-hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}
.page-hero__inner {
  max-width: 720px;
}
.page-hero__inner .lead {
  margin-top: 0.9rem;
}
.page-hero__inner .btn-row {
  margin-top: 1.6rem;
}

/* --- Benefit list (cards) ------------------------------------------- */
.benefit-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.benefit-list li {
  display: flex;
  gap: 0.9rem;
  padding: 1.4rem;
  background: var(--metal);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.benefit-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  color: var(--text);
}
.benefit-list p {
  font-size: var(--fs-small);
  margin: 0;
}
.tick {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--accent-soft, var(--color-accent-soft));
  color: var(--accent);
  border: 1px solid rgba(211, 47, 47, 0.35);
}
.tick svg {
  width: 18px;
  height: 18px;
}

/* --- Process list --------------------------------------------------- */
.process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  counter-reset: proc;
}
.process-list li {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.4rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.proc-step__num {
  flex: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--accent);
  padding-right: 1.1rem;
  border-right: 1px solid var(--border);
}
.process-list h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.process-list p {
  font-size: var(--fs-small);
  margin: 0;
}

/* --- FAQ sub-elements (generator markup) ---------------------------- */
.faq-item__icon {
  flex: none;
  width: 26px;
  height: 26px;
  position: relative;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.faq-item__icon::before {
  top: 50%;
  left: 25%;
  right: 25%;
  height: 1.5px;
  transform: translateY(-50%);
}
.faq-item__icon::after {
  left: 50%;
  top: 25%;
  bottom: 25%;
  width: 1.5px;
  transform: translateX(-50%);
}
.faq-item[open] .faq-item__icon::after {
  opacity: 0;
  transform: translateX(-50%) rotate(90deg);
}
.faq-item__body {
  padding: 0 0.25rem 1.4rem;
  color: var(--text-soft);
  max-width: 68ch;
}
.faq-item__body p {
  margin-bottom: 0.75rem;
}

/* --- Pill links (related services) ---------------------------------- */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-soft);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.pill-link svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.pill-link:hover {
  color: var(--text);
  border-color: var(--color-line-strong);
  transform: translateY(-2px);
}

/* --- Contact page --------------------------------------------------- */
.contact-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--metal);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.contact-card h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.contact-card h3 {
  font-size: 1rem;
  margin: 1.5rem 0 0.6rem;
  color: var(--text);
}
.contact-card address {
  font-style: normal;
  color: var(--text-soft);
  line-height: 1.7;
}
.contact-line {
  margin-top: 0.9rem;
}
.contact-card--cta {
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(211, 47, 47, 0.12), transparent 60%),
    var(--surface);
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-small);
  color: var(--text-soft);
}
.hours-list li:last-child {
  border-bottom: 0;
}
.map-embed {
  margin-top: 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.4) contrast(1.05) brightness(0.85);
}

/* --- Inline text link ----------------------------------------------- */
.link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(211, 47, 47, 0.4);
  transition: text-decoration-color 0.2s var(--ease);
}
.link:hover {
  text-decoration-color: var(--accent);
}

/* --- Legal / prose disclaimer --------------------------------------- */
.disclaimer {
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.75rem;
  background: var(--color-accent-soft);
  border: 1px solid rgba(211, 47, 47, 0.35);
  border-radius: var(--radius);
  font-size: var(--fs-small);
  color: var(--text-soft);
}

/* --- Lazy image fade ------------------------------------------------ */
.lazy-img {
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.lazy-img.is-loaded {
  opacity: 1;
}

/* --- Responsive: promote grids at wider widths ---------------------- */
@media (min-width: 720px) {
  .benefit-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 640px) {
  .page-hero__inner {
    max-width: 640px;
  }
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .light-sweep {
    display: none;
  }
}

/* ==========================================================================
   18. THEME POLISH — showroom lighting
   Electric-blue "light on metal" effects layered over the base components.
   Decorative only; everything here is disabled under reduced motion.
   ========================================================================== */

/* Scroll progress hairline (CSS scroll-driven animation; progressive) */
@supports (animation-timeline: scroll()) {
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 100;
    background: linear-gradient(90deg, var(--color-accent-strong), var(--color-accent), #ff8f8f);
    box-shadow: 0 0 12px rgba(211, 47, 47, 0.7);
    transform-origin: left;
    transform: scaleX(0);
    animation: scroll-progress linear both;
    animation-timeline: scroll(root);
    pointer-events: none;
  }
}

@keyframes scroll-progress {
  to {
    transform: scaleX(1);
  }
}

/* Buttons: gloss sweep on hover, soft glow breathing on the main CTA */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}

.btn:hover::after,
.btn:focus-visible::after {
  transform: translateX(120%);
}

.btn--ghost:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent-soft), 0 10px 30px -12px rgba(211, 47, 47, 0.45);
}

.hero .btn--primary {
  animation: cta-breathe 3.6s ease-in-out infinite;
}

@keyframes cta-breathe {
  0%,
  100% {
    box-shadow: 0 8px 24px -8px rgba(211, 47, 47, 0.55);
  }
  50% {
    box-shadow: 0 10px 38px -6px rgba(211, 47, 47, 0.9);
  }
}

/* Hero: headline sheen, blue floor reflection under the car, vignette */
.hero .text-gradient {
  background: linear-gradient(100deg, #ffffff 0%, #a6a6a6 40%, #ffffff 50%, #a6a6a6 60%, #ffffff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: headline-sheen 7s ease-in-out 1.2s infinite;
}

@keyframes headline-sheen {
  0%,
  60%,
  100% {
    background-position: 100% 0;
  }
  30% {
    background-position: 0 0;
  }
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  z-index: 1;
  background:
    radial-gradient(60% 70% at 50% 100%, rgba(211, 47, 47, 0.22), transparent 70%),
    radial-gradient(120% 100% at 50% 100%, transparent 55%, rgba(10, 11, 13, 0.55) 100%);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: floor-glow 6s ease-in-out infinite;
}

@keyframes floor-glow {
  0%,
  100% {
    opacity: 0.65;
  }
  50% {
    opacity: 1;
  }
}

/* Eyebrow rule draws in */
.eyebrow::before {
  transform-origin: left;
}

.reveal.is-visible .eyebrow::before,
.eyebrow.reveal.is-visible::before {
  animation: rule-draw 0.9s var(--ease) both;
}

@keyframes rule-draw {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* Cards: cursor-follow spotlight + blue edge light (vars set by main.js) */
.card,
.gallery-item {
  --mx: 50%;
  --my: 50%;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(211, 47, 47, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.card:hover::after {
  opacity: 1;
}

.card:hover {
  border-color: rgba(211, 47, 47, 0.55);
  box-shadow: var(--shadow-lift), 0 0 0 1px rgba(211, 47, 47, 0.18), 0 0 36px -14px rgba(211, 47, 47, 0.5);
}

.service-card__icon {
  transition: transform 0.4s var(--ease), color 0.3s var(--ease);
}

.card:hover .service-card__icon {
  transform: translateY(-2px) scale(1.06);
}

/* Gallery tiles: slow zoom + blue underlight */
.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  transition: transform 0.9s var(--ease), filter 0.5s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: saturate(1.1) contrast(1.04);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(0deg, rgba(211, 47, 47, 0.22), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Process / benefit numbers get a quiet glow when revealed */
.proc-step__num {
  text-shadow: 0 0 18px rgba(211, 47, 47, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  .hero__media::before,
  .btn::after {
    display: none;
  }
  .hero .btn--primary,
  .hero .text-gradient {
    animation: none;
  }
  .gallery-item:hover img {
    transform: none;
  }
}

/* ==========================================================================
   19. COMPONENTS — before/after slider, stat counters, testimonial marquee
   Markup lives in build/components.mjs; behavior in assets/js/components.js.
   ========================================================================== */

/* --- Before / after slider ------------------------------------------ */
.compare {
  --pos: 50%;
  position: relative;
  aspect-ratio: 16 / 10;
  max-width: 860px;
  margin-inline: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-charcoal);
  box-shadow: var(--shadow-lift);
  touch-action: pan-y;
}

.compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.compare__img--before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.compare__img--dull {
  filter: grayscale(0.7) brightness(0.65) contrast(0.8);
}

.compare__tag {
  position: absolute;
  top: 0.9rem;
  padding: 0.3rem 0.7rem;
  font: 600 0.72rem/1 var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(10, 11, 13, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.compare__tag--before {
  left: 0.9rem;
}

.compare__tag--after {
  right: 0.9rem;
  color: #fff;
  border-color: rgba(211, 47, 47, 0.6);
}

.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  transform: translateX(-1px);
  background: linear-gradient(180deg, #ff8f8f, var(--color-accent), #ff8f8f);
  box-shadow: 0 0 16px rgba(211, 47, 47, 0.8);
  pointer-events: none;
}

.compare__handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f6fa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E")
      center / 22px no-repeat,
    rgba(10, 11, 13, 0.85);
  box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.18), 0 8px 24px rgba(0, 0, 0, 0.6);
  transition: box-shadow 0.3s var(--ease);
}

.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  appearance: none;
  -webkit-appearance: none;
}

.compare:focus-within .compare__handle::after {
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--color-accent);
}

.compare.is-hinting .compare__handle,
.compare.is-hinting .compare__img--before {
  transition: none;
}

.compare.is-hinting {
  animation: compare-hint 1.5s var(--ease);
}

@keyframes compare-hint {
  0%, 100% { --pos: 50%; }
  35% { --pos: 62%; }
  70% { --pos: 42%; }
}

@property --pos {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 50%;
}

.compare-note {
  margin: 1rem auto 0;
  max-width: 860px;
  text-align: center;
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* --- Stat counters --------------------------------------------------- */
.stat-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.stat {
  position: relative;
  padding: 1.6rem 1.4rem;
  text-align: center;
  background: var(--metal);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--metal-line);
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff 0%, #ff8f8f 140%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(211, 47, 47, 0.35);
}

.stat__label {
  display: block;
  margin-top: 0.45rem;
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* --- Testimonial marquee --------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding-block: 0.5rem;
  animation: marquee-scroll 55s linear infinite;
}

.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

.quote-card {
  flex: none;
  width: min(360px, 82vw);
  padding: 1.4rem;
  background: var(--metal);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.quote-card:hover {
  border-color: rgba(211, 47, 47, 0.5);
  box-shadow: 0 0 30px -12px rgba(211, 47, 47, 0.5);
}

.quote-card__stars {
  color: var(--color-accent);
  letter-spacing: 0.18em;
  font-size: 0.95rem;
}

.quote-card blockquote {
  margin: 0.8rem 0 1.1rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.quote-card figcaption {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.quote-card figcaption strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .marquee__track {
    animation: none;
  }
  .marquee__track [aria-hidden="true"] {
    display: none;
  }
  .compare.is-hinting {
    animation: none;
  }
}
