/* =====================================================================
   Joondalup Caravan Repairs - mockup stylesheet
   Implements 03-design/design-system.md verbatim:
   Saira Condensed (display) + Archivo (body); outback sand/steel/rust/amber;
   tow-chevron motif; border-radius:0 everywhere; flat shadows; AA contrast.
   ===================================================================== */

/* ----------------------------------------------------------------------
   1. Tokens (:root)
   ---------------------------------------------------------------------- */
:root {
  /* ---- Type ---- */
  --font-display: "Saira Condensed", "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-display: clamp(2.60rem, 1.40rem + 5.6vw, 4.30rem);
  --fs-h1: clamp(2.20rem, 1.55rem + 2.9vw, 3.05rem);
  --fs-h2: clamp(1.80rem, 1.45rem + 1.6vw, 2.30rem);
  --fs-h3: clamp(1.45rem, 1.25rem + 0.9vw, 1.70rem);
  --fs-h4: 1.35rem;
  --fs-h5: 1.15rem;
  --fs-h6: 1.00rem;
  --fs-lead: clamp(1.15rem, 1.02rem + 0.6vw, 1.30rem);
  --fs-body: 1.00rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.78rem;
  --fs-overline: 0.80rem;

  /* ---- Core palette ---- */
  --sand-50: #F7F3EC;
  --sand-100: #EFE8DB;
  --sand-200: #E2D7C4;
  --sand-300: #CBBBA0;
  --steel-400: #8A8579;
  --steel-600: #55534C;
  --steel-800: #2C2A26;
  --ink: #1C1B18;
  --rust-500: #A8431F;
  --rust-600: #8C3415;
  --rust-100: #F0DBCF;
  --amber-500: #E0922B;
  --amber-100: #F8E6C8;
  --white: #FFFFFF;
  --success: #3F6B3A;
  --error: #9A2C1B;

  /* ---- Semantic ---- */
  --bg: var(--sand-50);
  --bg-alt: var(--sand-100);
  --bg-dark: var(--steel-800);
  --surface: #FFFFFF;
  --surface-sunk: var(--sand-100);
  --surface-dark: #34322D;
  --ink-on-dark: #F7F3EC;
  --muted: var(--steel-600);
  --muted-on-dark: #B7B2A6;
  --accent: var(--rust-500);
  --accent-strong: var(--rust-600);
  --accent-tint: var(--rust-100);
  --highlight: var(--amber-500);
  --line: var(--sand-300);
  --line-strong: var(--steel-600);
  --line-on-dark: #45433C;
  --focus-ring: #1C5FB0;
  --ok: var(--success);
  --bad: var(--error);

  /* ---- Spacing ---- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* ---- Layout ---- */
  --maxw: 1280px;
  --maxw-narrow: 760px;
  --gutter: clamp(1rem, 4vw, 4rem);
  --measure: 65ch;
  --section-y: clamp(3rem, 6vw, 6rem);
  --header-h: 72px;
  --header-h-sm: 60px;

  /* ---- Borders / shadow / motion ---- */
  --radius: 0;
  --border-1: 1px solid var(--line);
  --border-2: 2px solid var(--ink);
  --border-accent: 2px solid var(--accent);
  --shadow-card: 0 2px 0 0 var(--sand-300);
  --shadow-raise: 0 6px 18px -8px rgba(28, 27, 24, 0.35);
  --shadow-stick: 0 2px 0 0 rgba(28, 27, 24, 0.12);
  --dur-fast: 120ms;
  --dur: 180ms;
  --ease: cubic-bezier(0.2, 0, 0.2, 1);

  /* ---- Breakpoints (reference) ---- */
  --bp-xs: 360px;
  --bp-sm: 480px;
  --bp-md: 768px;
  --bp-nav: 880px;
  --bp-lg: 1080px;
  --bp-xl: 1280px;
  --bp-xxl: 1440px;
}

/* ----------------------------------------------------------------------
   2. Reset + global element baseline
   ---------------------------------------------------------------------- */
*, *::before, *::after {
  border-radius: 0 !important; /* enforced globally; never override */
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@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;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--steel-800);
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -0.015em; font-weight: 700; }
h2 { font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -0.01em; font-weight: 700; }
h3 { font-size: var(--fs-h3); line-height: 1.12; font-weight: 600; }
h4 { font-size: var(--fs-h4); line-height: 1.20; font-weight: 600; }
h5 { font-family: "Archivo", sans-serif; font-size: var(--fs-h5); font-weight: 600; line-height: 1.25; margin: 0 0 var(--space-3); color: var(--steel-800); }
h6 { font-family: "Archivo", sans-serif; font-size: var(--fs-h6); font-weight: 700; line-height: 1.30; letter-spacing: 0.02em; margin: 0 0 var(--space-2); color: var(--steel-800); }

p { margin: 0 0 var(--space-4); max-width: var(--measure); }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--steel-600); }
small, .small { font-size: var(--fs-small); }
.xs { font-size: var(--fs-xs); color: var(--muted); }

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--dur) var(--ease);
}
a:hover { color: var(--accent-strong); text-decoration-thickness: 2px; }

img { max-width: 100%; height: auto; display: block; }
hr { border: 0; height: 1px; background: var(--line); margin: var(--section-y) 0; }

ul, ol { margin: 0 0 var(--space-4); padding-left: 1.25rem; }
li { margin-bottom: var(--space-2); }

strong { font-weight: 700; }

/* ----------------------------------------------------------------------
   3. Layout helpers
   ---------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: var(--ink-on-dark); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--ink-on-dark); }
.section--dark p { color: var(--muted-on-dark); }
.section--dark .overline { color: var(--highlight); }

.section__head { margin-bottom: var(--space-6); max-width: 60ch; }
.section__head p { color: var(--steel-600); }
.section--dark .section__head p { color: var(--muted-on-dark); }

.flow > * + * { margin-top: var(--space-4); }

.rule-soft { border: 0; height: 1px; background: var(--line); margin: 0; }
.rule-strong { border: 0; height: 2px; background: var(--steel-800); margin: 0; }

/* Eyebrow / overline with the chevron mark */
.overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--fs-overline);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-3);
}

/* ----------------------------------------------------------------------
   4. Signature motif - tow chevron
   ---------------------------------------------------------------------- */
.chevron-mark { display: inline-block; flex: 0 0 auto; }

.chevron-rule {
  position: relative;
  height: 6px;
  background: var(--steel-800);
  border: 0;
  margin: 0;
}
.chevron-rule::before {
  content: "";
  position: absolute;
  left: var(--gutter);
  bottom: 0;
  width: 34px;
  height: 18px;
  background: var(--accent);
  clip-path: polygon(0 100%, 50% 0, 100% 100%, 78% 100%, 50% 38%, 22% 100%);
}
.chevron-rule::after {
  content: "";
  position: absolute;
  left: calc(var(--gutter) + 8px);
  bottom: 3px;
  width: 34px;
  height: 18px;
  background: var(--highlight);
  clip-path: polygon(0 100%, 50% 0, 100% 100%, 78% 100%, 50% 38%, 22% 100%);
  z-index: -1;
}

/* ----------------------------------------------------------------------
   5. Skip link + focus
   ---------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -120%;
  z-index: 1000;
  background: var(--ink);
  color: var(--white);
  padding: var(--space-3) var(--space-4);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: var(--space-3); }

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}
:focus:not(:focus-visible) { outline: none; }

/* ----------------------------------------------------------------------
   6. Buttons
   ---------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-5);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--white); }

.btn--secondary { background: transparent; color: var(--steel-800); border-color: var(--steel-800); }
.btn--secondary:hover { background: var(--steel-800); color: var(--white); }

.btn--ondark { background: transparent; color: var(--ink-on-dark); border-color: var(--ink-on-dark); }
.btn--ondark:hover { background: var(--ink-on-dark); color: var(--steel-800); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  min-height: 44px;
}
.btn-link::after {
  content: "\203A";
  font-weight: 700;
  transition: transform var(--dur) var(--ease);
}
.btn-link:hover { color: var(--accent-strong); }
.btn-link:hover::after { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* ----------------------------------------------------------------------
   7. Header / primary nav
   ---------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 2px solid var(--steel-800);
  box-shadow: var(--shadow-stick);
  transition: height var(--dur) var(--ease);
}
.site-header[data-condensed="true"] { box-shadow: var(--shadow-raise); }
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--steel-800);
  text-decoration: none;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.brand:hover { color: var(--accent); }
.brand .brand__name { white-space: nowrap; }

.primary-nav { display: flex; align-items: center; gap: var(--space-5); margin-left: auto; }
.primary-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--steel-800);
  text-decoration: none;
  padding: var(--space-2) 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.primary-nav a:hover { color: var(--accent); }
.primary-nav a[aria-current="page"] { color: var(--accent); }
.primary-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 3px;
  background: var(--highlight);
}

.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.btn-tel {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0 var(--space-4);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--steel-800);
  text-decoration: none;
  border: 2px solid var(--steel-800);
  background: transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn-tel:hover { background: var(--steel-800); color: var(--white); }
.btn-tel svg { fill: currentColor; }

/* ----------------------------------------------------------------------
   8. Mobile nav
   ---------------------------------------------------------------------- */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid var(--steel-800);
  background: var(--bg);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--steel-800);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; transform: translateY(-6px); }
.nav-toggle__bars::after { position: absolute; transform: translateY(4px); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h-sm) 0 0 0;
  background: var(--bg);
  border-top: 2px solid var(--steel-800);
  padding: var(--space-5) var(--gutter);
  overflow-y: auto;
  z-index: 99;
  transform: translateX(8px);
  opacity: 0;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.mobile-menu[data-open="true"] {
  display: block;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu a.m-link {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--steel-800);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a.m-link:hover,
.mobile-menu a.m-link:focus-visible { color: var(--accent); }
.mobile-menu a.m-link[aria-current="page"] { color: var(--accent); }
.mobile-menu .btn { margin-top: var(--space-4); width: 100%; }

@media (max-width: 880px) {
  .primary-nav { display: none; }
  .header-actions .btn--primary { display: none; }
  .nav-toggle { display: inline-flex; }
  .btn-tel { padding: 0 var(--space-3); }
  .site-header { height: var(--header-h-sm); }
  .brand { font-size: 1.1rem; }
}
@media (max-width: 420px) {
  .btn-tel .btn-tel__num { display: none; }
  .btn-tel { padding: 0; width: 44px; justify-content: center; }
}

/* ----------------------------------------------------------------------
   9. Hero
   ---------------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  background: var(--bg);
  border-bottom: 2px solid var(--steel-800);
}
.hero__content {
  padding: var(--section-y) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
  margin-left: auto;
}
.hero h1 {
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--steel-800);
}
.hero .lead { margin-block: var(--space-4) var(--space-6); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero__media { position: relative; min-height: 420px; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.95); }
.hero__media::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 96px; height: 64px;
  z-index: 2;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.hero__media::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 96px; height: 64px;
  z-index: 1;
  background: var(--highlight);
  transform: translate(10px, 8px);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; }
  .hero__content { margin-left: 0; padding-block: var(--space-7); max-width: none; }
  .hero__media { min-height: 260px; order: -1; }
}

/* Compact page header (non-home pages) */
.page-head {
  background: var(--bg-alt);
  border-bottom: 2px solid var(--steel-800);
  padding-block: var(--section-y);
}
.page-head h1 { color: var(--steel-800); }
.page-head .lead { max-width: 60ch; margin-bottom: var(--space-5); }
.page-head .btn-row { margin-top: var(--space-2); }

/* ----------------------------------------------------------------------
   10. Trust strip
   ---------------------------------------------------------------------- */
.trust-strip {
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  border-bottom: 2px solid var(--steel-800);
}
.trust-strip ul {
  list-style: none;
  margin: 0;
  padding: var(--space-4) 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
  justify-content: center;
}
.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.trust-strip li::before {
  content: "";
  width: 16px;
  height: 10px;
  flex: 0 0 auto;
  background: var(--highlight);
  clip-path: polygon(0 100%, 50% 0, 100% 100%, 75% 100%, 50% 42%, 25% 100%);
}
@media (max-width: 600px) {
  .trust-strip ul { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
}

/* ----------------------------------------------------------------------
   11. Service cards (4-up)
   ---------------------------------------------------------------------- */
.card-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(4, 1fr);
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--steel-800);
  padding: var(--space-6) var(--space-5) var(--space-5);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: border-top-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.service-card:hover { border-top-color: var(--accent); transform: translateY(-3px); }
.service-card .chevron-mark { margin-bottom: var(--space-3); }
.service-card h3 { margin-bottom: var(--space-2); }
.service-card p { color: var(--steel-600); font-size: var(--fs-small); }
.service-card .btn-link { margin-top: auto; padding-top: var(--space-3); }

@media (max-width: 1080px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .card-grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------------
   12. Category cards (large, image-led)
   ---------------------------------------------------------------------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}
.category-card {
  position: relative;
  display: block;
  border: 2px solid var(--steel-800);
  background: var(--surface);
  text-decoration: none;
  overflow: hidden;
}
.category-card__img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  filter: saturate(0.95);
  transition: transform var(--dur) var(--ease);
}
.category-card:hover .category-card__img { transform: scale(1.03); }
.category-card__bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--steel-800);
  color: var(--ink-on-dark);
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h4);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  transition: background var(--dur) var(--ease);
}
.category-card:hover .category-card__bar { background: var(--accent); }
.category-card__bar .chevron-mark { flex: 0 0 auto; }
@media (max-width: 768px) { .category-grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------------
   13. Split feature (image + text)
   ---------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media {
  border: 2px solid var(--steel-800);
  box-shadow: var(--shadow-card);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.95); aspect-ratio: 16 / 11; }
.split__body h2 { margin-bottom: var(--space-4); }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: var(--space-5); }
  .split--reverse .split__media { order: 0; }
}

/* ----------------------------------------------------------------------
   14. Reviews
   ---------------------------------------------------------------------- */
.reviews { background: var(--bg-alt); }
.review-grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(2, 1fr); }
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
}
.review-card .chevron-mark { margin-bottom: var(--space-3); }
.review-card blockquote {
  margin: 0 0 var(--space-4);
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ink);
}
.review-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--steel-800);
  display: block;
}
.review-card .review-src { color: var(--muted); font-size: var(--fs-xs); }

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--steel-800);
  color: var(--ink-on-dark);
  padding: var(--space-2) var(--space-4);
  font-weight: 600;
}
.rating-badge .stars { color: var(--highlight); letter-spacing: 0.1em; }

@media (max-width: 768px) { .review-grid { grid-template-columns: 1fr; } }

/* Empty-state placard for components awaiting real client data (no lorem) */
.data-pending {
  border: 2px dashed var(--line-strong);
  background: var(--surface-sunk);
  padding: var(--space-6);
  color: var(--steel-600);
}
.data-pending h3 { margin-bottom: var(--space-3); }
.data-pending p { margin-bottom: var(--space-3); }
.data-pending p:last-child { margin-bottom: 0; }
.section--dark .data-pending {
  background: var(--surface-dark);
  border-color: var(--line-on-dark);
  color: var(--muted-on-dark);
}
.section--dark .data-pending h3 { color: var(--ink-on-dark); }

/* ----------------------------------------------------------------------
   15. Brands strip
   ---------------------------------------------------------------------- */
.brands { background: var(--bg); border-block: 1px solid var(--line); }
.brand-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--space-3);
  align-items: stretch;
}
.brand-tile {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  min-height: 88px;
  text-align: center;
}
.brand-tile span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--steel-800);
}
@media (max-width: 880px) { .brand-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .brand-grid { grid-template-columns: repeat(2, 1fr); } }

/* ----------------------------------------------------------------------
   16. Insurer grid + trust badge
   ---------------------------------------------------------------------- */
.insurer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.insurer-chip {
  border: 2px solid var(--steel-800);
  background: var(--surface);
  padding: var(--space-3) var(--space-4);
  font-weight: 600;
  font-size: var(--fs-small);
  text-align: center;
  color: var(--steel-800);
}
@media (max-width: 560px) { .insurer-grid { grid-template-columns: repeat(2, 1fr); } }

.cred-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--steel-800);
  color: var(--ink-on-dark);
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.05rem;
}

/* ----------------------------------------------------------------------
   17. Process steps
   ---------------------------------------------------------------------- */
.steps { display: grid; gap: var(--space-5); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: var(--space-4); align-items: start; margin: 0; }
.step__num {
  width: 56px;
  height: 56px;
  counter-increment: step;
  background: var(--steel-800);
  color: var(--ink-on-dark);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
}
.step__num::before { content: counter(step); }
.step h3 { margin-bottom: var(--space-2); }
.step p { margin-bottom: 0; color: var(--steel-600); }

/* ----------------------------------------------------------------------
   18. Hours table + open badge
   ---------------------------------------------------------------------- */
.hours { width: 100%; border-collapse: collapse; max-width: 420px; }
.hours th, .hours td {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--line);
}
.hours th { font-family: "Archivo", sans-serif; font-weight: 600; color: var(--steel-800); }
.hours tr:nth-child(odd) td, .hours tr:nth-child(odd) th { background: var(--surface-sunk); }
.hours td { font-variant-numeric: tabular-nums; color: var(--ink); }
.hours .closed { color: var(--muted); }
.open-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--ok);
  color: var(--white);
  padding: var(--space-1) var(--space-3);
  font-weight: 600;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ----------------------------------------------------------------------
   19. Service inclusions list (chevron bullets)
   ---------------------------------------------------------------------- */
.inclusions { list-style: none; padding: 0; margin: 0 0 var(--space-5); display: grid; gap: var(--space-3); }
.inclusions li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: var(--space-3);
  align-items: start;
  margin: 0;
  max-width: var(--measure);
}
.inclusions li::before {
  content: "";
  margin-top: 6px;
  width: 18px;
  height: 11px;
  background: var(--accent);
  clip-path: polygon(0 100%, 50% 0, 100% 100%, 75% 100%, 50% 42%, 25% 100%);
}
.inclusions strong { color: var(--steel-800); }

/* anchored service section spacing so sticky header doesn't cover headings */
.svc-section { scroll-margin-top: calc(var(--header-h) + var(--space-5)); }
.svc-section + .svc-section { margin-top: var(--space-8); }

/* ----------------------------------------------------------------------
   20. Detail / info cards + NAP
   ---------------------------------------------------------------------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  padding: var(--space-5);
  box-shadow: var(--shadow-card);
}
.info-card h3 { font-size: var(--fs-h4); margin-bottom: var(--space-3); }
.info-card p { color: var(--steel-600); font-size: var(--fs-small); margin-bottom: 0; }
@media (max-width: 880px) { .info-grid { grid-template-columns: 1fr; } }

.nap { font-style: normal; line-height: 1.8; }
.nap a { color: var(--accent); text-decoration: none; }
.nap a:hover { text-decoration: underline; }
.nap .nap__name { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h4); text-transform: uppercase; color: var(--steel-800); display: block; margin-bottom: var(--space-2); }

.contact-cols {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-7);
  align-items: start;
}
@media (max-width: 880px) { .contact-cols { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------------
   21. Forms
   ---------------------------------------------------------------------- */
.form { display: grid; gap: var(--space-5); max-width: var(--maxw-narrow); }
.form-row { display: grid; gap: var(--space-2); }
.form-row--2 { grid-template-columns: 1fr 1fr; gap: var(--space-5); }

label {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--steel-800);
}
label .req { color: var(--accent); margin-left: 2px; }

input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--space-3) var(--space-4);
  font-family: "Archivo", sans-serif;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 2px solid var(--steel-600);
  appearance: none;
  transition: border-color var(--dur) var(--ease);
}
textarea { min-height: 132px; resize: vertical; }
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--steel-600) 50%),
    linear-gradient(135deg, var(--steel-600) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: var(--space-7);
}
input::placeholder, textarea::placeholder { color: var(--steel-400); }

input:hover, select:hover, textarea:hover { border-color: var(--steel-800); }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 0;
  border-color: var(--steel-800);
}

input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--bad); }
.field-error { color: var(--bad); font-size: var(--fs-xs); font-weight: 600; }
.field-hint { color: var(--muted); font-size: var(--fs-xs); }
.form-success {
  background: var(--amber-100);
  border-left: 4px solid var(--ok);
  color: var(--steel-800);
  padding: var(--space-4) var(--space-5);
  font-weight: 600;
}

.file-field {
  border: 2px dashed var(--steel-600);
  background: var(--surface-sunk);
  padding: var(--space-5);
  text-align: center;
  color: var(--muted);
}
.file-field input { border: 0; min-height: auto; padding: var(--space-2) 0; background: transparent; }

.form .btn { justify-self: start; }
.form-note { font-size: var(--fs-xs); color: var(--muted); }
.form-note a { color: var(--muted); }

@media (max-width: 600px) { .form-row--2 { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------------
   22. CTA band
   ---------------------------------------------------------------------- */
.cta-band {
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  border-top: 2px solid var(--steel-800);
}
.cta-band h2 { color: var(--ink-on-dark); }
.cta-band p { color: var(--muted-on-dark); max-width: 56ch; }
.cta-band .btn-row { margin-top: var(--space-5); }

/* ----------------------------------------------------------------------
   23. Footer
   ---------------------------------------------------------------------- */
.site-footer { background: var(--bg-dark); color: var(--ink-on-dark); padding-top: var(--space-8); }
.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
}
.footer-cols h2, .footer-cols h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h5);
  color: var(--ink-on-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.site-footer a { color: var(--ink-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--highlight); text-decoration: underline; text-underline-offset: 3px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.footer-cols li { margin: 0; }
.footer-cols address { font-style: normal; line-height: 1.7; color: var(--muted-on-dark); }
.footer-cols address a { color: var(--ink-on-dark); }
.footer-intro { color: var(--muted-on-dark); max-width: 34ch; }

.footer-base {
  border-top: 1px solid var(--line-on-dark);
  padding-block: var(--space-4);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--fs-xs);
  color: var(--muted-on-dark);
}
.footer-base a { color: var(--muted-on-dark); }
.footer-base a:hover { color: var(--highlight); }

@media (max-width: 880px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
}

/* ----------------------------------------------------------------------
   24. Map embed frame
   ---------------------------------------------------------------------- */
.map-frame {
  border: 2px solid var(--steel-800);
  box-shadow: var(--shadow-card);
  background: var(--surface-sunk);
  width: 100%;
  aspect-ratio: 16 / 9;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ----------------------------------------------------------------------
   25. Scroll reveal
   ---------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ----------------------------------------------------------------------
   26. Prose (privacy)
   ---------------------------------------------------------------------- */
.prose { max-width: var(--maxw-narrow); }
.prose h2 { margin-top: var(--space-7); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--space-5); }
.prose ul { padding-left: 1.25rem; }
.prose li { max-width: var(--measure); }

/* ----------------------------------------------------------------------
   27. Print
   ---------------------------------------------------------------------- */
@media print {
  .site-header, .mobile-menu, .nav-toggle, .hero__media,
  .trust-strip, .brands, .form, .cta-band, .map-frame,
  .site-footer .footer-base, [data-reveal] { display: none; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after, a[href^="tel"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .section { padding-block: 12pt; }
}
