/* ==========================================================================
   Desert Crest Garage Doors — shared stylesheet
   Plain CSS, no build step. Palette pulled from the shield logo.
   Edit the variables in :root to retune the whole site.
   ========================================================================== */

/* ---- Self-hosted fonts (see /assets/fonts) ------------------------------ */
/* Oswald = display/headings (industrial, condensed). Variable font. */
@font-face {
  font-family: "Oswald";
  src: url("../assets/fonts/oswald-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
/* Barlow = body (clean humanist sans, signage lineage). Static weights. */
@font-face {
  font-family: "Barlow";
  src: url("../assets/fonts/barlow-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../assets/fonts/barlow-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../assets/fonts/barlow-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../assets/fonts/barlow-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---- Design tokens ------------------------------------------------------- */
:root {
  /* Gunmetal charcoal — the brushed-steel shield frame + modern door + the
     near-black backdrop of the logo. Primary structure. */
  --slate-900: #141518;   /* near-black: header, footer, hero base (matches logo bg) */
  --slate-800: #1b1e22;
  --slate-700: #262a30;   /* heading text, dark bands, badges */
  --slate-600: #363b42;
  --slate-500: #545b64;
  --slate-400: #828a93;
  --slate-300: #b4bcc4;
  --slate-200: #d6dce1;
  --slate-100: #eceef0;
  --slate-50:  #f5f6f6;

  /* Desert sunset orange — the rays. THE accent + Call button (spend it here). */
  --orange:      #e0561f;   /* decorative brand accent */
  --orange-cta:  #c33f12;   /* Call button bg (white text ~5.2:1, passes AA) */
  --orange-dark: #9b3410;   /* hover / active / small accents on light */
  --orange-tint: #f7e2d5;   /* soft orange wash */

  /* Copper / bronze — the shield rim + "Garage Doors" lettering. Metallic
     accent for rules, dividers, hairlines. NOT an action color. */
  --copper:      #b5713c;
  --copper-dark: #8f5527;
  --copper-light:#cf9256;

  /* Golden amber / marigold — the mid-sky glow + sun. On-dark highlights. */
  --gold: #f0a02a;

  /* Warm cream / pale yellow — the sun. Soft section backgrounds. */
  --cream:      #f8f0da;
  --cream-soft: #fbf6ec;

  /* Secondary desert accents, used sparingly */
  --green: #5f6b2b;   /* saguaro */
  --brown: #7a3f28;   /* red-rock */

  --ink:   #23262b;   /* body text */
  --muted: #59616b;   /* secondary text */

  --maxw: 1140px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(35,43,52,.08), 0 1px 3px rgba(35,43,52,.06);
  --shadow-md: 0 4px 14px rgba(35,43,52,.10);
  --shadow-lg: 0 12px 34px rgba(35,43,52,.16);

  --font-display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---- Reset / base -------------------------------------------------------- */
*, *::before, *::after { 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: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;      /* 17px */
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  color: var(--slate-700);
  margin: 0 0 .5em;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); text-transform: uppercase; letter-spacing: .015em; }
h2 { font-size: clamp(1.65rem, 3.8vw, 2.35rem); text-transform: uppercase; }
h3 { font-size: 1.28rem; }
p  { margin: 0 0 1rem; }

/* ---- Layout helpers ------------------------------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tight { padding: clamp(2.25rem, 5vw, 3.5rem) 0; }
.bg-cream { background: var(--cream); }
.bg-cream-soft { background: var(--cream-soft); }
.bg-slate { background: var(--slate-700); color: #fff; }
.bg-slate-dark { background: var(--slate-900); color: #fff; }
.bg-slate h2, .bg-slate h3, .bg-slate-dark h2, .bg-slate-dark h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 2rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .82rem;
  font-weight: 600;
  color: var(--orange-dark);
  margin: 0 0 .6rem;
}
.bg-slate .eyebrow, .bg-slate-dark .eyebrow { color: var(--gold); }
.lead { font-size: 1.15rem; color: var(--muted); }
.bg-slate .lead, .bg-slate-dark .lead { color: var(--slate-200); }

/* Accent underline used under headings */
.rule { width: 68px; height: 4px; background: linear-gradient(90deg, var(--copper), var(--copper-light)); border-radius: 3px; margin: 0 0 1.25rem; }
.center .rule { margin-left: auto; margin-right: auto; }

/* ---- Skip link + focus --------------------------------------------------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--orange-cta); color: #fff; padding: 10px 16px;
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 3px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-display);
  font-weight: 600; text-transform: uppercase; letter-spacing: .03em;
  font-size: 1.05rem; line-height: 1;
  padding: .95em 1.5em;
  border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* THE Call button — highest-energy element on the page. */
.btn-call {
  background: var(--orange-cta); color: #fff;
  box-shadow: 0 3px 0 var(--orange-dark), var(--shadow-md);
}
.btn-call:hover { background: var(--orange-dark); box-shadow: 0 2px 0 var(--orange-dark), var(--shadow-md); transform: translateY(1px); }
.btn-call:active { transform: translateY(3px); box-shadow: 0 0 0 var(--orange-dark); }

.btn-lg { font-size: 1.2rem; padding: 1.05em 1.9em; }
.btn-xl { font-size: clamp(1.2rem, 3.5vw, 1.5rem); padding: 1.1em 2.1em; }

/* Secondary / outline button */
.btn-outline {
  background: transparent; color: var(--slate-700);
  border-color: var(--slate-300);
}
.btn-outline:hover { border-color: var(--slate-500); background: var(--slate-50); }
.bg-slate .btn-outline, .bg-slate-dark .btn-outline, .hero .btn-outline { color: #fff; border-color: rgba(255,255,255,.55); }
.bg-slate .btn-outline:hover, .bg-slate-dark .btn-outline:hover, .hero .btn-outline:hover { background: rgba(255,255,255,.10); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.btn-row.center { justify-content: center; }

.callnum { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--slate-900);
  border-bottom: 2px solid var(--copper);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: 74px; padding: 8px 20px;
  max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand img { width: 48px; height: auto; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  color: #fff; font-size: 1.18rem; letter-spacing: .02em;
}
.brand-name .accent { color: var(--gold); }
.brand-tag {
  font-family: var(--font-body); font-size: .68rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em; color: var(--slate-300); margin-top: 3px;
}

.main-nav ul { display: flex; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: .5rem .85rem; border-radius: var(--radius-sm);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em;
  font-weight: 500; font-size: 1rem; color: var(--slate-100); text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.main-nav a:hover { background: rgba(255,255,255,.10); color: #fff; }
.main-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }

.header-call { margin-left: .4rem; white-space: nowrap; }

/* Hamburger (mobile only) */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 2px solid rgba(255,255,255,.35);
  background: transparent; border-radius: var(--radius-sm); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2.5px; background: #fff; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after  { transform: translateY(4.5px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 82% -12%, rgba(224,86,31,.34), transparent 56%),
    radial-gradient(90% 70% at 84% 8%, rgba(240,160,42,.16), transparent 60%),
    linear-gradient(180deg, var(--slate-800) 0%, var(--slate-900) 58%, var(--slate-900) 100%);
  color: #fff;
}
/* Quiet sunburst rays echoing the logo — decorative, low-key */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    repeating-conic-gradient(from 210deg at 88% -6%,
      rgba(247,239,217,.06) 0deg 4deg, transparent 4deg 9deg);
  mask-image: radial-gradient(70% 70% at 88% -6%, #000 0%, transparent 62%);
  -webkit-mask-image: radial-gradient(70% 70% at 88% -6%, #000 0%, transparent 62%);
}
/* Keep the container's side gutters — the shorthand must not zero them out,
   or the hero text sits flush against the screen edge on phones. */
.hero-inner { position: relative; padding: clamp(3rem, 8vw, 6rem) 20px clamp(2.5rem, 6vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 2.5rem; align-items: center; }
.hero h1 { color: #fff; max-width: 15ch; }

/* Hero tagline headline — two-part treatment, left justified.
   Lead line in white, payoff line larger in brushed gold (echoes the logo
   lettering). Sizes are in `em` so both scale with the h1 clamp. */
.hero h1.hero-tagline { max-width: 19ch; margin-bottom: .65em; }
.hero-tagline .hl-1,
.hero-tagline .hl-2 { display: block; text-wrap: balance; }
.hero-tagline .hl-1 { font-size: .60em; color: #fff; letter-spacing: .025em; margin-bottom: .12em; }
.hero-tagline .hl-2 { font-size: 1em; color: var(--gold); line-height: 1.02; }
/* Brushed-metal gradient on the payoff line; solid gold stays the fallback. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-tagline .hl-2 {
    background: linear-gradient(178deg, #f9cd6b 0%, var(--gold) 46%, #c8801f 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.hero .subhead { font-size: clamp(1.1rem, 2.4vw, 1.4rem); color: var(--slate-200); max-width: 44ch; margin: 0 0 1.9rem; }
.hero .btn-row { align-items: center; }
.hero-badge { justify-self: center; position: relative; }
/* Warm backlight behind the shield — blends the badge into the dark hero and
   gives the mark a lit, premium feel. */
.hero-badge::before {
  content: ""; position: absolute; inset: -12%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(240,160,42,.22), rgba(224,86,31,.10) 55%, transparent 74%);
}
.hero-badge img { position: relative; z-index: 1; width: min(280px, 62vw); border-radius: 8px; filter: drop-shadow(0 14px 30px rgba(0,0,0,.5)); }

/* ---- Trust strip --------------------------------------------------------- */
.trust-strip { background: var(--slate-900); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.trust-strip ul {
  list-style: none; margin: 0; padding: 1rem 20px; max-width: var(--maxw);
  margin-inline: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem 1.5rem;
}
.trust-strip li { display: flex; align-items: center; gap: .55rem; font-weight: 500; font-size: .98rem; color: var(--slate-100); }
.trust-strip .chk { color: var(--gold); flex: none; width: 20px; height: 20px; }

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid { display: grid; gap: 1.4rem; }
.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(--slate-200); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }

/* Service cards link out */
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--slate-300); }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: .9rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange-tint); color: var(--orange-dark);
}
.card-icon svg { width: 28px; height: 28px; }
.card-more {
  display: inline-flex; align-items: center; gap: .35em; margin-top: .9rem;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em;
  font-size: .9rem; font-weight: 600; color: var(--orange-dark);
}
a.card:hover .card-more { gap: .6em; }

/* Feature list (Why us) */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.feature-list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.feature-ic {
  width: 44px; height: 44px; border-radius: 10px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--slate-100); color: var(--slate-700);
}
.bg-slate .feature-ic, .bg-slate-dark .feature-ic { background: rgba(255,255,255,.10); color: #fff; }
.feature-ic svg { width: 24px; height: 24px; }
.feature-list h3 { font-size: 1.15rem; margin-bottom: .15rem; }
.feature-list p { margin: 0; color: var(--muted); }
.bg-slate .feature-list p, .bg-slate-dark .feature-list p { color: var(--slate-200); }

/* ==========================================================================
   Photo placeholders (real before/after images drop in later)
   ========================================================================== */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.photo-slot {
  position: relative; border: 2px dashed var(--slate-300); border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, var(--cream-soft) 0 14px, #fff 14px 28px);
  aspect-ratio: 4 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 1.25rem; color: var(--muted);
}
.photo-slot .cam { width: 40px; height: 40px; color: var(--slate-400); margin-bottom: .6rem; }
.photo-slot .ba-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--slate-700); color: #fff; font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; font-weight: 600;
  padding: .3em .6em; border-radius: 4px;
}
.photo-slot .slot-label { font-weight: 500; font-size: .95rem; max-width: 24ch; }

/* Wide single slot */
.photo-slot.wide { aspect-ratio: 16 / 7; }

/* ---- Filled photo tiles (real work photos, open in lightbox) ------------- */
.photo-tile { margin: 0; }
.tile-btn {
  position: relative; display: block; width: 100%; margin: 0; padding: 0; border: 0;
  aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  background: var(--slate-100); box-shadow: var(--shadow-sm);
}
.tile-btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.tile-btn:hover img, .tile-btn:focus-visible img { transform: scale(1.05); }
.tile-btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
/* magnifier hint (appears on hover/focus) */
.tile-zoom {
  position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 9px;
  background: rgba(20,21,24,.6); color: #fff; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .15s ease; pointer-events: none;
}
.tile-btn:hover .tile-zoom, .tile-btn:focus-visible .tile-zoom { opacity: 1; }
.tile-zoom svg { width: 20px; height: 20px; }
/* count pill (multi-photo) / before-after tag */
.tile-count {
  position: absolute; top: 10px; right: 10px; display: flex; align-items: center; gap: .35em;
  background: rgba(20,21,24,.72); color: #fff; font: 600 .82rem/1 var(--font-body);
  padding: .4em .6em; border-radius: 100px;
}
.tile-count svg { width: 15px; height: 15px; }
.tile-tag {
  position: absolute; top: 10px; left: 10px; background: var(--slate-700); color: #fff;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em;
  font-size: .72rem; font-weight: 600; padding: .3em .6em; border-radius: 4px;
}
.tile-caption { margin: .6rem 0 0; font-size: .92rem; color: var(--muted); font-weight: 500; }

/* ==========================================================================
   Lightbox (vanilla JS, built once and appended to <body>)
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 3.5rem 1rem; background: rgba(10,11,13,.93);
  opacity: 0; visibility: hidden; transition: opacity .2s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .85rem; max-width: 100%; }
.lightbox-img {
  max-width: min(1100px, 94vw); max-height: 82vh; object-fit: contain;
  border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.55); background: var(--slate-800);
}
.lightbox figcaption { color: var(--slate-200); font-size: .96rem; text-align: center; max-width: 62ch; }
.lb-btn {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer;
  width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: background-color .15s ease;
}
.lb-btn:hover { background: rgba(255,255,255,.26); }
.lb-btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.lb-btn svg { width: 26px; height: 26px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-counter {
  position: absolute; top: 24px; left: 24px; color: #fff;
  font: 600 .95rem/1 var(--font-body); letter-spacing: .02em;
}
@media (max-width: 600px) {
  .lb-prev { left: 6px; } .lb-next { right: 6px; }
  .lb-btn { width: 44px; height: 44px; }
  .lightbox { padding: 4rem .5rem; }
}

/* ==========================================================================
   Services page — service blocks
   ========================================================================== */
.svc-block { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.svc { border-top: 3px solid var(--slate-200); padding-top: 1.75rem; }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc-head { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: .6rem; }
.svc-head h3 { font-size: 1.5rem; margin: 0; }
.badge {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em;
  font-size: .72rem; font-weight: 600; padding: .3em .65em; border-radius: 100px;
}
.badge-orange { background: var(--orange-tint); color: var(--orange-dark); }
.badge-slate  { background: var(--slate-100); color: var(--slate-700); }
.badge-green  { background: #eef0dc; color: #59631a; }
.svc-body { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.75rem; align-items: start; }
.checklist { list-style: none; margin: 1rem 0 0; padding: 0; columns: 2; column-gap: 1.5rem; }
.checklist li { display: flex; gap: .5rem; margin-bottom: .5rem; break-inside: avoid; }
.checklist li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px;
  background: var(--orange); border-radius: 5px;
  -webkit-mask: no-repeat center / 13px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
          mask: no-repeat center / 13px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
}

/* ==========================================================================
   About page
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 2.5rem; align-items: start; }
.prose p { margin-bottom: 1.1rem; max-width: 62ch; }
.prose p:first-of-type { font-size: 1.2rem; color: var(--slate-700); }
.trust-card { background: var(--cream); border: 1px solid #ece0bf; border-radius: var(--radius); padding: 1.6rem 1.6rem 1.2rem; }
.trust-card h3 { font-size: 1.1rem; letter-spacing: .04em; }
.trust-points { list-style: none; margin: 0; padding: 0; }
.trust-points li { display: flex; gap: .65rem; align-items: flex-start; padding: .7rem 0; border-bottom: 1px solid #ece0bf; font-weight: 500; }
.trust-points li:last-child { border-bottom: 0; }
.trust-points svg { width: 22px; height: 22px; color: var(--orange-dark); flex: none; margin-top: 1px; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.contact-primary { }
.call-hero {
  background: var(--slate-700); color: #fff; border-radius: var(--radius);
  padding: 2rem; text-align: center; box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,.06);
}
.call-hero .label { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; color: var(--gold); font-size: .85rem; margin-bottom: .5rem; }
.call-hero .btn { margin-top: .4rem; }
.contact-list { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.contact-list .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--orange-tint); color: var(--orange-dark); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list .k { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em; font-size: .82rem; color: var(--muted); }
.contact-list .v { font-weight: 600; font-size: 1.08rem; color: var(--slate-700); }
.contact-list a.v { color: var(--orange-dark); text-decoration: none; }
.contact-list a.v:hover { text-decoration: underline; }
.pending { font-style: italic; color: var(--muted); font-weight: 500; }

/* Small notes — travel fee / after-hours availability. Quiet, secondary. */
.note-callout {
  margin-top: 1.25rem; padding: .9rem 1.15rem;
  background: var(--cream-soft); border-left: 3px solid var(--copper);
  border-radius: 0 8px 8px 0; font-size: 1rem; color: var(--muted); max-width: 60ch;
}
.sub-note { margin: .4rem 0 0; font-size: .9rem; line-height: 1.5; color: var(--muted); }
/* On the dark closing-CTA band */
.cta-note { margin: 1.25rem auto 0; max-width: 48ch; font-size: .95rem; color: var(--slate-300); }

/* Secondary contact form (phase 2 — inert) */
.form-card { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.form-note { font-size: .9rem; color: var(--muted); background: var(--slate-50); border-left: 3px solid var(--slate-300); padding: .6rem .85rem; border-radius: 0 6px 6px 0; margin-bottom: 1.25rem; }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-size: .82rem; font-weight: 600; color: var(--slate-700); margin-bottom: .35rem; }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .7rem .8rem; border: 1.5px solid var(--slate-300); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(224,86,31,.18); }
.field textarea { resize: vertical; min-height: 120px; }

/* ==========================================================================
   Big CTA band (repeated closing call-to-action)
   ========================================================================== */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: .5rem; }
.cta-band p { max-width: 48ch; margin: 0 auto 1.6rem; font-size: 1.15rem; }
.bg-slate.cta-band p, .bg-slate-dark.cta-band p { color: var(--slate-200); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--slate-900); color: var(--slate-200); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 2rem; }
/* Footer brand = transparent shield + HTML wordmark (no image box) */
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-brand img { width: 66px; height: auto; flex: none; }
.footer-brand .brand-name {
  display: block; font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; color: #fff; font-size: 1.08rem; letter-spacing: .02em; line-height: 1;
}
.footer-brand .brand-tag {
  display: block; margin-top: 5px; font-size: .64rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em; color: var(--slate-400);
}
.footer h4 { color: #fff; font-size: 1rem; letter-spacing: .06em; margin-bottom: .9rem; }
.footer-col p, .footer-col ul { margin: 0 0 .5rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: .45rem; }
.footer a { color: var(--slate-200); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .fcall { color: var(--gold); font-weight: 600; font-size: 1.15rem; font-family: var(--font-display); letter-spacing: .02em; }
.footer-nav a { display: inline-block; padding: .15rem 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.25rem;
  font-size: .86rem; color: var(--slate-400); display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; justify-content: space-between;
}
.footer-bottom .legal { max-width: 60ch; }
.license-line { font-weight: 600; color: var(--slate-200); }

/* ==========================================================================
   Fixed mobile call bar (thumb-reachable — shown on small screens only)
   ========================================================================== */
.mobile-callbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: var(--slate-900); border-top: 2px solid var(--orange);
}
.mobile-callbar .btn { width: 100%; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-badge { display: none; }               /* keep hero focused on headline + Call on phones */
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .trust-strip ul { grid-template-columns: repeat(2, 1fr); }
  .svc-body { grid-template-columns: 1fr; gap: 1.25rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Header collapses to the compact form below ~940px, so the wordmark,
   nav, and Call button never crowd on tablets and narrow laptops --- */
@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--slate-800); border-bottom: 3px solid var(--orange);
    box-shadow: var(--shadow-lg);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .25s ease;
  }
  .main-nav.open { max-height: 340px; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; padding: .5rem; }
  .main-nav a { padding: .85rem 1rem; font-size: 1.1rem; border-radius: 8px; }
  .main-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--orange); background: rgba(255,255,255,.06); }

  /* header call button collapses to an icon-forward compact form */
  .header-call { padding: .7em .9em; font-size: .95rem; }
  .header-call .callnum { display: none; }
  .header-call .call-word { display: inline; }

  .brand-tag { display: none; }
  .brand img { width: 42px; }
  .brand-name { font-size: 1.05rem; }
}

@media (min-width: 941px) {
  .header-call .call-word { display: none; }   /* comfortable widths show the full number */
}

@media (max-width: 760px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .checklist { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }

  /* Show the fixed call bar; pad the page so it never covers content */
  .mobile-callbar { display: block; }
  body { padding-bottom: 76px; }
}
