/* =========================================================
   Garage Door Repair Master — Design System
   Style: matched to the client's actual logo (navy + brick red +
   silver-gray, cool white paper) instead of the earlier warm
   ink/amber placeholder palette. Colors below were sampled directly
   from the logo file (assets/logo.png), not eyeballed.
   Fonts: Fraunces (display serif) / Manrope (body) — unchanged;
   only the color system was reworked to match the provided logo.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,400..600&display=swap');

:root {
  /* Color tokens — navy + brick red from the logo, muted down from the
     first pass: less saturated and closer in depth to each other, so
     the gradient/accent reads as a considered dark tone rather than a
     stark navy-vs-red clash. Both are dark enough now that button/icon
     backgrounds using them need LIGHT foreground text, not dark. */
  --color-primary: #8C3B39;
  --color-primary-dark: #6E2E2C;
  --color-on-primary: #FDFDFC;
  --color-secondary: #C97674;
  --color-accent: #8C3B39;
  --color-accent-dark: #6E2E2C;
  --color-bg: #FDFDFC;
  --color-bg-alt: #F1F2F4;
  --color-bg-navy: #263646;
  --color-heading: #263646;
  --color-text: #333F4E;
  --color-text-muted: #5B6675;
  --color-border: #DADFE5;
  --color-muted-bg: #F1F2F4;
  --color-success: #3F7A47;
  --color-success-bg: #EBF3EA;
  --color-destructive: #A6453D;
  --color-destructive-bg: #F7EAE6;
  --color-ring: #8C3B39;

  /* Typography — Fraunces carries the point of view (soft-serif display,
     used large and sometimes italic); Manrope stays quiet in the body. */
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing (4/8 rhythm) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* Radius / shadow / motion — smaller, squarer radii than a typical
     SaaS template (no pill buttons); shadows are quieter, tinted ink
     instead of blue-black, since heavy card-shadow is a template tell. */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-full: 999px;
  --shadow-sm: 0 1px 2px rgba(23, 22, 15, 0.05), 0 1px 2px rgba(23, 22, 15, 0.06);
  --shadow-md: 0 6px 18px rgba(23, 22, 15, 0.08);
  --shadow-lg: 0 16px 36px rgba(23, 22, 15, 0.14);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 400ms;
  --header-h: 76px;
  --container-w: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.2;
  margin: 0 0 var(--space-4);
  font-weight: 700;
}
h1 { font-size: clamp(2.25rem, 4.4vw, 3.75rem); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; font-weight: 600; }
em, .accent-italic { font-style: italic; color: var(--color-primary); }
p { margin: 0 0 var(--space-4); }
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--space-5);
}
section { padding: var(--space-9) 0; }
@media (max-width: 768px) { section { padding: var(--space-7) 0; } }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--color-ring);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  min-height: 48px;
  cursor: pointer;
  position: relative;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
/* The muted brick red is dark enough that it needs light text, not dark. */
.btn-accent { background: var(--color-accent); color: var(--color-on-primary); box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: var(--color-accent-dark); color: var(--color-on-primary); box-shadow: var(--shadow-md); }
.btn-accent:active { transform: scale(0.97); }
.btn-primary { background: var(--color-bg-navy); color: var(--color-on-primary); }
.btn-primary:hover { background: var(--color-primary-dark); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: scale(0.97); }
.btn-outline { background: transparent; color: var(--color-on-primary); border-color: rgba(246,242,233,0.5); }
.btn-outline:hover { background: rgba(246,242,233,0.1); border-color: var(--color-on-primary); }
.btn-outline:active { transform: scale(0.97); }
.btn-outline-navy { background: transparent; color: var(--color-heading); border-color: var(--color-heading); }
.btn-outline-navy:hover { background: var(--color-heading); color: var(--color-on-primary); }
.btn-outline-navy:active { transform: scale(0.97); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 0.98rem; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none !important; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), height var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--color-border); }
/* Header chrome gets more breathing room than the 1200px reading-width container
   used for page content — otherwise the logo + 6 nav links + phone + CTA have
   nowhere to go and the whole bar looks cramped even on full desktop screens. */
.site-header .container { max-width: 1440px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: var(--space-6); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: var(--color-heading); min-width: 0; flex-shrink: 1; }
.brand-mark { height: 42px; width: auto; flex-shrink: 0; object-fit: contain; }
.brand-text { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; line-height: 1.3; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent); overflow: hidden; text-overflow: ellipsis; }

.main-nav { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.main-nav a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--color-text);
  position: relative;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.main-nav a:hover { color: var(--color-primary); background: var(--color-bg-alt); }
.main-nav a.active { color: var(--color-primary); background: var(--color-bg-alt); }
.main-nav a.active::after {
  content: "";
  position: absolute; left: 18px; right: 18px; bottom: 5px;
  height: 2px; background: var(--color-accent); border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: var(--space-5); flex-shrink: 0; padding-left: var(--space-5); border-left: 1px solid var(--color-border); }
.header-call { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.02rem; color: var(--color-primary); font-family: var(--font-heading); white-space: nowrap; }
.header-call svg { width: 20px; height: 20px; color: var(--color-accent); flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none; border: none; padding: 8px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
}
.nav-toggle svg { width: 26px; height: 26px; color: var(--color-heading); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 72px);
  padding-bottom: 96px;
  background: linear-gradient(155deg, var(--color-bg-navy) 0%, var(--color-primary-dark) 46%, var(--color-primary) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: -1;
  opacity: 0.35;
}
.hero::before { width: 520px; height: 520px; background: radial-gradient(circle, var(--color-secondary), transparent 70%); top: -180px; right: -120px; }
.hero::after { width: 420px; height: 420px; background: radial-gradient(circle, var(--color-accent), transparent 70%); bottom: -160px; left: -100px; opacity: 0.22; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-8); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding-bottom: 14px; margin-bottom: var(--space-6);
  border-bottom: 1px solid rgba(246,242,233,0.25);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(246,242,233,0.85);
}
.hero-badge svg { width: 16px; height: 16px; color: var(--color-secondary); }
.hero h1 { color: #fff; margin-bottom: var(--space-5); }
.hero h1 em { color: var(--color-secondary); font-style: italic; }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,0.86); max-width: 46ch; margin-bottom: var(--space-6); }
.hero-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-7); }
.hero-trust { display: flex; flex-wrap: wrap; gap: var(--space-6); }
.hero-trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.9); }
.hero-trust-item svg { width: 22px; height: 22px; color: var(--color-secondary); flex-shrink: 0; }

.hero-art { position: relative; perspective: 1000px; }
.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  backdrop-filter: blur(6px);
  transition: transform 0.2s var(--ease-out);
  transform-style: preserve-3d;
  will-change: transform;
}
.hero-illustration { width: 100%; height: auto; }

/* ---------- Cursor-reactive ember glow on dark surfaces ----------
   A soft warm light that follows the cursor on the hero and CTA bands —
   ties into the "ember" gradient theme. Desktop pointer only (added via JS
   only when hover+fine-pointer is supported); a real DOM layer rather than
   a pseudo-element since .hero/.cta-band already use ::before/::after for
   their own decorative blobs. */
.glow-host { position: relative; }
.glow-layer {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(231,168,87,0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.18s var(--ease-out);
}
.glow-host > *:not(.glow-layer) { position: relative; z-index: 1; }

/* ---------- Mobile scroll-snap position dots ---------- */
.scroll-dots { display: none; justify-content: center; gap: 8px; margin-top: var(--space-3); }
.scroll-dot { width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; background: var(--color-border); cursor: pointer; transition: background-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.scroll-dot.is-active { background: var(--color-accent); transform: scale(1.35); }
@media (max-width: 900px) {
  .scroll-dots { display: flex; }
}

/* Hero illustration load-in: the roofline draws in, then the door panels
   settle into place one at a time, then the wrench badge pops/fades last —
   a single, one-shot sequence (not a looping/idle animation) per the
   "animate 1-2 key elements max" and "no decorative infinite motion" rules. */
.hero-roofline { stroke-dasharray: 100; stroke-dashoffset: 100; animation: heroDrawLine 0.9s var(--ease-out) 0.1s forwards; }
@keyframes heroDrawLine { to { stroke-dashoffset: 0; } }

.door-panel { transform-box: fill-box; transform-origin: center; opacity: 0; transform: translateY(-10px); animation: heroPanelIn 0.55s var(--ease-out) forwards; }
.door-panel-1 { animation-delay: 0.55s; }
.door-panel-2 { animation-delay: 0.68s; }
.door-panel-3 { animation-delay: 0.81s; }
@keyframes heroPanelIn { to { opacity: 1; transform: translateY(0); } }

.door-badge-pop { transform-box: fill-box; transform-origin: center; opacity: 0; transform: scale(0.5); animation: heroBadgePop 0.5s var(--ease-out) 1.05s forwards; }
.wrench-fade { opacity: 0; animation: heroFadeIn 0.4s var(--ease-out) 1.2s forwards; }
@keyframes heroBadgePop { to { opacity: 1; transform: scale(1); } }
@keyframes heroFadeIn { to { opacity: 1; } }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-4); margin-top: var(--space-6); }
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-family: var(--font-heading); font-size: 1.9rem; font-weight: 800; color: #fff; }
.hero-stat span { font-size: 0.8rem; color: rgba(255,255,255,0.75); }

/* ---------- Page Hero (interior pages) ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 56px;
  background: linear-gradient(155deg, var(--color-bg-navy) 0%, var(--color-primary) 100%);
  color: #fff;
  text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero h1 em { color: var(--color-secondary); font-style: italic; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 60ch; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: var(--space-4); }
.breadcrumb a { color: rgba(255,255,255,0.85); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Section headers ---------- */
.section-head { max-width: 700px; margin: 0 auto var(--space-7); text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--color-accent); font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; font-size: 0.8rem; margin-bottom: var(--space-3);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--color-accent); border-radius: 2px; }
.section-head p { color: var(--color-text-muted); font-size: 1.05rem; }
.bg-alt { background: var(--color-bg-alt); }
.bg-navy { background: var(--color-bg-navy); color: #fff; }
.bg-navy h2 { color: #fff; }
.bg-navy p { color: rgba(255,255,255,0.8); }

/* ---------- Grids & Cards ---------- */
.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--color-secondary); }
.card-icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: var(--color-bg-alt); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.card-icon svg { width: 28px; height: 28px; }
.card:hover .card-icon { background: var(--color-accent); color: var(--color-on-primary); transform: scale(1.08) rotate(-4deg); }
.card h3 { margin-bottom: var(--space-2); }
.card p { color: var(--color-text-muted); margin-bottom: var(--space-3); font-size: 0.95rem; }
.card-link { font-weight: 700; color: var(--color-primary); display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; }
.card-link svg { width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease-out); }
.card:hover .card-link svg { transform: translateX(4px); }

/* Service icon list (compact) */
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.service-list li { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: var(--radius-sm); transition: background var(--dur-base); }
.service-list li:hover { background: var(--color-bg-alt); }
.service-list svg { width: 22px; height: 22px; color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }
.service-list strong { display: block; font-family: var(--font-heading); font-size: 1rem; color: var(--color-heading); margin-bottom: 2px; }
.service-list span { font-size: 0.88rem; color: var(--color-text-muted); }

/* Simple checkmark list — "signs you need this service" style content */
.signs-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3) var(--space-5); margin: var(--space-5) 0; }
.signs-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.98rem; color: var(--color-text); }
.signs-list svg { width: 20px; height: 20px; color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 640px) {
  .signs-list { grid-template-columns: 1fr; }
}

/* ---------- Steps / process ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 68px; margin-bottom: var(--space-6); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -8px;
  font-family: var(--font-heading); font-style: italic; font-weight: 600;
  font-size: 2.1rem; line-height: 1; color: var(--color-accent);
}
.step h3 { margin-bottom: 4px; }
.step p { color: var(--color-text-muted); margin-bottom: 0; }

/* ---------- Editorial numbered list (replaces card-grid for services) ----------
   Desktop: a rule-divided list, numerals in italic Fraunces — a deliberate,
   restrained alternative to another wall of shadowed cards.
   Mobile: becomes a horizontal scroll-snap strip — a genuinely different
   layout decision for touch, not the desktop list just squeezed narrower. */
.editorial-list { border-top: 1px solid var(--color-border); }
.editorial-item {
  display: flex; align-items: center; gap: var(--space-6);
  padding: var(--space-6) 6px;
  border-bottom: 1px solid var(--color-border);
  transition: padding-left var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out);
}
.editorial-item:hover { padding-left: 16px; background: var(--color-bg-alt); }
.editorial-num { font-family: var(--font-heading); font-style: italic; font-weight: 600; font-size: 1.6rem; color: var(--color-accent); flex-shrink: 0; width: 54px; }
.editorial-body { flex: 1; min-width: 0; }
.editorial-title { display: inline-block; font-family: var(--font-heading); font-weight: 600; font-size: 1.2rem; color: var(--color-heading); margin-bottom: 4px; position: relative; }
.editorial-title::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--color-accent); transition: width var(--dur-slow) var(--ease-out);
}
.editorial-item:hover .editorial-title::after { width: 100%; }
.editorial-desc { display: block; color: var(--color-text-muted); font-size: 0.95rem; }
.editorial-arrow { width: 20px; height: 20px; color: var(--color-primary); flex-shrink: 0; transition: transform var(--dur-base) var(--ease-out); }
.editorial-item:hover .editorial-arrow { transform: translateX(4px); }

@media (max-width: 900px) {
  .editorial-list {
    display: flex; flex-direction: row; gap: var(--space-4);
    border-top: none; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 4px 4px 12px; margin: 0 -4px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .editorial-list::-webkit-scrollbar { display: none; }
  .editorial-item {
    flex: 0 0 78%; scroll-snap-align: start; border: 1px solid var(--color-border);
    border-radius: var(--radius-md); background: var(--color-bg);
    flex-direction: column; align-items: flex-start; gap: var(--space-2);
  }
  .editorial-item:hover { padding-left: 6px; background: var(--color-bg); }
  .editorial-arrow { display: none; }
}

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--color-bg-alt); padding: var(--space-5) 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.trust-bar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-5); }
.trust-bar-item { display: flex; align-items: center; gap: 10px; font-weight: 700; font-family: var(--font-heading); font-size: 0.95rem; color: var(--color-heading); }
.trust-bar-item svg { width: 24px; height: 24px; color: var(--color-primary); }

/* ---------- Testimonial / trust cards replacement ---------- */
.value-card { text-align: center; padding: var(--space-6) var(--space-5); }
.value-card .card-icon { margin: 0 auto var(--space-4); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--color-primary-dark), var(--color-primary));
  color: #fff; border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-7);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::after { content:""; position:absolute; width:300px; height:300px; background: radial-gradient(circle, var(--color-accent), transparent 70%); opacity:0.25; right:-80px; top:-80px; border-radius:50%; }
.cta-band h2 { color: #fff; margin-bottom: var(--space-2); }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 0; }
.cta-band-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Service area ---------- */
.area-pill-grid { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.area-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius-full);
  background: #fff; border: 1px solid var(--color-border);
  font-weight: 600; font-size: 0.9rem; color: var(--color-heading);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast);
}
.area-pill:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--color-secondary); }
.area-pill svg { width: 16px; height: 16px; color: var(--color-accent); }

/* ---------- Map illustration ---------- */
.map-frame {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md); background: var(--color-bg-alt);
}

/* ---------- FAQ Accordion ---------- */
.accordion-item { border: 1px solid var(--color-border); border-radius: var(--radius-sm); margin-bottom: var(--space-4); overflow: hidden; background: #fff; }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4); padding: 20px 22px; background: none; border: none;
  text-align: left; font-family: var(--font-heading); font-weight: 600; font-size: 1.02rem; color: var(--color-heading);
}
.accordion-trigger svg { width: 22px; height: 22px; color: var(--color-primary); flex-shrink: 0; transition: transform var(--dur-base) var(--ease-out); }
.accordion-item[data-open="true"] .accordion-trigger svg { transform: rotate(180deg); }
.accordion-item[data-open="true"] .accordion-trigger { color: var(--color-primary); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease-in-out); }
.accordion-panel-inner { padding: 0 22px 22px; color: var(--color-text-muted); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-7); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field { margin-bottom: var(--space-5); }
.field label { display: block; font-weight: 600; font-size: 0.92rem; color: var(--color-heading); margin-bottom: 8px; }
.field .required { color: var(--color-accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border); font-family: var(--font-body);
  font-size: 1rem; color: var(--color-text); background: #fff;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(30,64,175,0.12);
}
.field-hint { font-size: 0.82rem; color: var(--color-text-muted); margin-top: 6px; }
.field-error { font-size: 0.82rem; color: var(--color-destructive); margin-top: 6px; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--color-destructive); }
.field.has-error .field-error { display: block; }
.field-checkbox { display: flex; align-items: flex-start; gap: 10px; }
.field-checkbox input { width: 20px; height: 20px; min-height: auto; flex-shrink: 0; margin-top: 2px; }
.field-checkbox label { margin: 0; font-weight: 500; font-size: 0.88rem; color: var(--color-text-muted); }

.form-alert { display: none; align-items: center; gap: 10px; padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: var(--space-5); font-weight: 600; font-size: 0.92rem; }
.form-alert svg { width: 20px; height: 20px; flex-shrink: 0; }
.form-alert.is-visible { display: flex; }
.form-alert.success { background: var(--color-success-bg); color: var(--color-success); }
.form-alert.error { background: var(--color-destructive-bg); color: var(--color-destructive); }

.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; display: none; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .btn-label { opacity: 0.85; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-bg-navy); color: rgba(255,255,255,0.75); padding: var(--space-8) 0 var(--space-6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-6); margin-bottom: var(--space-7); }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: #fff; margin-bottom: var(--space-3); }
.footer-brand svg { width: 34px; height: 34px; }
.site-footer h4 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-4); }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,0.75); transition: color var(--dur-fast); font-size: 0.92rem; }
.site-footer a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 0.92rem; }
.footer-contact-item svg { width: 18px; height: 18px; color: var(--color-accent); flex-shrink: 0; }
.footer-social { display: flex; gap: 10px; margin-top: var(--space-4); }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: background var(--dur-fast), transform var(--dur-fast); }
.footer-social a:hover { background: var(--color-accent); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: var(--space-5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); font-size: 0.85rem; }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- Sticky mobile call bar ---------- */
.mobile-cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: none; gap: 1px; background: var(--color-border);
  box-shadow: 0 -6px 24px rgba(20,32,74,0.14);
}
.mobile-cta-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 8px; font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; background: #fff; }
.mobile-cta-bar a svg { width: 20px; height: 20px; }
.mobile-cta-bar a.call { background: var(--color-accent); color: var(--color-on-primary); }
.mobile-cta-bar a.quote { color: var(--color-primary); }

/* ---------- Reveal animations ----------
   Used sparingly (section intros, hero, CTA bands) — NOT slapped on every
   card in every grid. A short settle, not a generic AOS fly-up. */
[data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="fade"] { transform: none; }
[data-reveal-group] > * { transition-delay: calc(var(--stagger-i, 0) * 70ms); }

/* Counter number animation companion */
.count-up { font-variant-numeric: tabular-nums; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 12px; top: -60px; background: var(--color-primary); color: #fff;
  padding: 12px 20px; border-radius: var(--radius-sm); z-index: 200; font-weight: 700;
  transition: top var(--dur-base) var(--ease-out);
}
.skip-link:focus { top: 12px; }
.badge-row { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
  border-radius: var(--radius-full); background: var(--color-bg-alt); border: 1px solid var(--color-border);
  font-weight: 700; font-size: 0.85rem; color: var(--color-primary-dark);
}
.badge svg { width: 16px; height: 16px; color: var(--color-accent); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .main-nav, .header-call { display: none; }
  .header-actions .btn-accent { display: none; }
  .header-actions { border-left: none; padding-left: 0; }
  .brand-text { max-width: 46vw; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 420px; margin: 0 auto; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 64px; }
  .cta-band { padding: var(--space-6); flex-direction: column; text-align: center; }
  .trust-bar .container { justify-content: center; text-align: center; }
  /* Area pills become a swipeable strip on touch instead of a wrapped,
     centered grid — a mobile-native pattern, not the desktop grid shrunk. */
  .area-pill-grid {
    flex-wrap: nowrap; justify-content: flex-start !important; overflow-x: auto;
    scroll-snap-type: x mandatory; padding: 4px 4px 10px; margin: 0 -4px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .area-pill-grid::-webkit-scrollbar { display: none; }
  .area-pill { flex-shrink: 0; scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
  .hero-stat strong { font-size: 1.4rem; }
}
@media (max-width: 480px) {
  .brand { font-size: 1rem; gap: 6px; }
  .brand-mark { height: 34px; width: auto; }
  .brand-text { max-width: 60vw; }
}

/* ---------- Mobile nav drawer ---------- */
.mobile-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(340px, 86vw);
  background: #fff; z-index: 150; box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform var(--dur-slow) var(--ease-in-out);
  padding: var(--space-6) var(--space-5); overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-6); }
.mobile-drawer nav a { display: block; padding: 14px 4px; font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem; color: var(--color-heading); border-bottom: 1px solid var(--color-border); }
.mobile-drawer nav a.active { color: var(--color-primary); }
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(16,42,86,0.5); z-index: 140;
  opacity: 0; pointer-events: none; transition: opacity var(--dur-base) var(--ease-out);
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.drawer-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: none; background: var(--color-bg-alt); border-radius: 50%; }
.drawer-close svg { width: 22px; height: 22px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
