/* =========================================================================
   Goodhaus design system — mobile-first
   Tokens → base → components → templates → responsive
   ========================================================================= */

:root {
  /* ===================================================================
     COLOR LAW — one system, applied everywhere. Do not freelance colors.
     • BLUE  = navy (--gh-brand) for ALL structure, decoration & links at
               rest (headings, eyebrows, icons, bullets, faq +, links).
               Steel (--gh-accent) is ONLY a hover / focus shade — never
               a resting color.
     • GREEN = action only: every button/CTA + the verified check. Nothing
               else is green.
     • RED   = American accent only: thin rules/stripes + the logo star.
               Never used for text, links or icons.
     • NEUTRAL = text (--gh-ink / --gh-muted) on light; on dark use
               --gh-on-dark / --gh-on-dark-muted (one tone, no blue-greys).
     • SAND/CREAM = warm section backgrounds only, never text or icons.
     =================================================================== */
  /* Color — palette board (blue base · green = trust · red = Americana) */
  --gh-bg: #f8f6f1;          /* Light warm white — background (less brown) */
  --gh-surface: #ffffff;
  --gh-surface-2: #f1e9db;   /* Soft-sand tint surface */
  --gh-neutral-tile: #eef1f4;/* Cool light tile — neutral icon backgrounds */
  --gh-ink: #232629;         /* Near-black  — text (board swatch 7) */
  --gh-muted: #5f6a73;       /* Slate Gray  — secondary */
  --gh-brand: #103154;       /* Deep Navy   — primary (board swatch 1) */
  --gh-brand-strong: #0b2540;/* Darker navy — hover / deep panels */
  --gh-accent: #35608a;      /* Steel Blue  — HOVER/focus shade of navy only */
  --gh-accent-strong: #294c6f;
  --gh-on-dark: #ffffff;     /* Primary text on dark backgrounds */
  --gh-on-dark-muted: #a7b1bc;/* Secondary text/links on dark (one neutral tone) */
  --gh-sand: #e7cfa0;        /* Sand        — warm accent (board swatch 3) */
  --gh-sand-soft: #efe3ca;   /* Warm sand section background */
  --gh-sand-tile: #ecdcbf;   /* Warm sand icon tile */
  --gh-border: #e6dac2;      /* Sand-tinted border */
  --gh-success: #2e8055;     /* Green — trust / credibility (board swatch 5) */
  --gh-green-soft: #e6f2ea;  /* Soft green background */
  --gh-green-tile: #e1f3e7;  /* Very light green icon tile */
  --gh-success-strong: #24684a;/* Darker green — button hover */
  --gh-red: #c8323f;         /* Red — American accent (board swatch 6) */
  --gh-red-strong: #a9262f;
  --gh-star: #e2a12d;        /* Gold — star ratings ONLY (universal convention) */
  --gh-error: #c8323f;

  /* Type */
  --gh-font-display: "DM Serif Text", Georgia, "Times New Roman", serif;
  --gh-font-head: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --gh-font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing / layout */
  --gh-container: 1200px;
  --gh-container-narrow: 760px;
  --gh-radius: 14px;
  --gh-radius-sm: 10px;
  --gh-radius-lg: 22px;
  --gh-shadow-sm: 0 2px 10px rgba(20, 40, 66, 0.06);
  --gh-shadow: 0 10px 34px rgba(20, 40, 66, 0.10);
  --gh-shadow-lg: 0 24px 60px rgba(20, 40, 66, 0.16);
  --gh-gap: clamp(16px, 4vw, 28px);
  --gh-section: clamp(48px, 8vw, 96px);

  /* Controls */
  --gh-btn-h: 52px;
  --gh-input-h: 52px;

  --gh-header-h: 60px;
  --gh-safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--gh-font-body);
  color: var(--gh-ink);
  background: var(--gh-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gh-brand); text-decoration: none; }
a:hover { color: var(--gh-accent); }
a, button, .gh-opt, .gh-card, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
h1, h2, h3, h4 { font-family: var(--gh-font-head); color: var(--gh-ink); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 800; }
/* Large headings use the display serif (DM Serif Text — ships at weight 400 only) */
h1, h2 { font-family: var(--gh-font-display); font-weight: 400; letter-spacing: -0.01em; line-height: 1.14; }
h1 { font-size: clamp(30px, 6.2vw, 52px); }
h2 { font-size: clamp(25px, 4.8vw, 40px); }
h3 { font-size: clamp(19px, 3vw, 24px); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gh-accent); outline-offset: 2px; border-radius: 4px; }

/* Layout */
.gh-container { width: 100%; max-width: var(--gh-container); margin: 0 auto; padding: 0 20px; }
.gh-narrow { max-width: var(--gh-container-narrow); }
.gh-section { padding: var(--gh-section) 0; }
.gh-section--tint { background: var(--gh-surface-2); }
.gh-section--sand { background: var(--gh-sand-soft); }
.gh-section--ink { background: var(--gh-brand); color: #fff; }
.gh-section--ink h1, .gh-section--ink h2, .gh-section--ink h3 { color: #fff; }
.gh-eyebrow { font-family: var(--gh-font-head); text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; font-weight: 800; color: var(--gh-ink); margin: 0 0 10px; }
.gh-sec-head { max-width: 680px; margin: 0 0 clamp(28px, 5vw, 48px); }
.gh-sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.gh-sec-head p:not(.gh-eyebrow) { color: var(--gh-muted); font-size: clamp(16px, 2.4vw, 19px); margin: 10px 0 0; }
/* Red accent rule — recurring American motif under section titles */
.gh-lead { color: var(--gh-muted); font-size: clamp(16px, 2.4vw, 19px); }

/* Buttons */
.gh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--gh-btn-h); padding: 0 26px; border-radius: var(--gh-radius-sm);
  font-family: var(--gh-font-head); font-weight: 700; font-size: 16px; line-height: 1;
  border: 2px solid transparent; cursor: pointer; transition: transform .12s ease, background .18s ease, border-color .18s ease; text-align: center;
}
.gh-btn--primary { background: var(--gh-success); color: #fff; box-shadow: var(--gh-shadow-sm); }
.gh-btn--primary:hover { background: var(--gh-success-strong); color: #fff; transform: translateY(-1px); }
.gh-btn--secondary { background: transparent; color: var(--gh-brand); border-color: var(--gh-brand); }
.gh-btn--secondary:hover { background: var(--gh-brand); color: #fff; border-color: var(--gh-brand); }
.gh-btn--ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); }
.gh-btn--ghost-light:hover { background: rgba(255,255,255,.2); color: #fff; }
.gh-btn--block { width: 100%; }
.gh-btn--lg { min-height: 58px; font-size: 17px; padding: 0 32px; }

/* Header */
.gh-header {
  position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--gh-border);
}
.gh-header__bar { display: flex; align-items: center; justify-content: space-between; height: var(--gh-header-h); gap: 14px; }
.gh-logo { display: flex; align-items: center; gap: 9px; font-family: var(--gh-font-head); font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--gh-ink); }
.gh-logo__img { height: 42px; width: auto; display: block; }
.gh-footer .gh-logo__img { height: 46px; }
.gh-logo__mark { width: 34px; height: 34px; border-radius: 9px; background: var(--gh-brand); color: #fff; display: grid; place-items: center; font-size: 18px; }
.gh-logo b { color: var(--gh-brand); }
.gh-logo__star { color: var(--gh-red); font-size: 11px; margin-left: 1px; align-self: flex-start; margin-top: 2px; line-height: 1; }
.gh-nav-desktop { display: none; }
.gh-header__actions { display: flex; align-items: center; gap: 10px; }
.gh-header__phone { display: none; }
.gh-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--gh-border); background: #fff; border-radius: 10px; cursor: pointer; }
.gh-menu-toggle span { position: relative; width: 20px; height: 2px; background: var(--gh-ink); display: block; }
.gh-menu-toggle span::before, .gh-menu-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--gh-ink); }
.gh-menu-toggle span::before { top: -6px; } .gh-menu-toggle span::after { top: 6px; }
.gh-call-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--gh-brand); color: #fff; font-size: 18px; }
.gh-call-icon:hover { color: #fff; background: var(--gh-brand-strong); }

/* Mobile drawer */
.gh-drawer { position: fixed; inset: 0; z-index: 300; visibility: hidden; }
.gh-drawer.open { visibility: visible; }
.gh-drawer__scrim { position: absolute; inset: 0; background: rgba(10,20,30,.5); opacity: 0; transition: opacity .25s ease; }
.gh-drawer.open .gh-drawer__scrim { opacity: 1; }
.gh-drawer__panel { position: absolute; top: 0; right: 0; height: 100%; width: min(88%, 360px); background: #fff; transform: translateX(100%); transition: transform .28s ease; display: flex; flex-direction: column; padding: 18px; overflow-y: auto; }
.gh-drawer.open .gh-drawer__panel { transform: none; }
.gh-drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.gh-drawer__close { width: 42px; height: 42px; border: 1px solid var(--gh-border); border-radius: 10px; background: #fff; font-size: 22px; cursor: pointer; line-height: 1; }
.gh-appnav { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; overflow-y: auto; flex: 1; -webkit-overflow-scrolling: touch; }
.gh-appnav__row { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 4px; font-family: var(--gh-font-head); font-weight: 700; font-size: 17px; color: var(--gh-ink); border-bottom: 1px solid var(--gh-border); }
.gh-appnav__row .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--gh-surface-2); display: grid; place-items: center; font-size: 18px; flex: none; }
.gh-appnav__row .chev { margin-left: auto; color: var(--gh-muted); font-size: 22px; font-weight: 400; }
.gh-appnav__row:active { background: var(--gh-surface-2); }
.gh-appnav__sub { display: flex; flex-direction: column; padding: 2px 0 10px 52px; }
.gh-appnav__sub a { min-height: 42px; display: flex; align-items: center; font-size: 15px; font-weight: 600; color: var(--gh-muted); }
.gh-appnav__sub a:hover, .gh-appnav__sub a:active { color: var(--gh-accent); }
.gh-drawer__cta { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--gh-border); display: grid; gap: 10px; }

/* Hero */
.gh-hero { position: relative; overflow: hidden; background: var(--gh-brand); color: #fff; border-bottom: 5px solid var(--gh-red); }
.gh-hero__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: .20; }
.gh-hero__inner { position: relative; z-index: 2; padding-top: clamp(34px, 8vw, 76px); padding-bottom: clamp(40px, 8vw, 80px); }
/* Hero headings cap at two lines: 24ch clears every full-width hero, and the
   narrower two-column hero column needs a slightly smaller size to match. */
.gh-hero h1 { color: #fff; max-width: 26ch; }
.gh-hero .two-col h1 { font-size: clamp(30px, 5vw, 46px); }
.gh-hero .gh-hero__sub { color: rgba(255,255,255,.86); font-size: clamp(16px, 2.6vw, 20px); max-width: 52ch; margin: 16px 0 0; }
.gh-hero__cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
/* Photo hero: a real image behind a navy wash, so the text keeps its contrast */
.gh-hero__bg { position: absolute; inset: 0; z-index: 0; }
/* Photo hero: the picture is shown as it is, and a navy gradient fades in
   across the side that carries the headline and the form. */
.gh-hero--photo .gh-hero__bg { opacity: 1; }
/* A small copy of the first photo sits behind the stack, so the hero shows a
   picture from the first paint instead of bare navy while the full-size files
   are still downloading. */
.gh-hero--photo .gh-hero__bg { background-image: var(--gh-lqip); background-size: cover; background-position: 50% 0%; background-repeat: no-repeat; }
.gh-hero__bg .gh-hero__slide { position: absolute; inset: 0; display: block; }
/* Anchored to the top: if the hero ever does grow, it opens downwards and the
   part of the photo already on screen stays exactly where it was. */
.gh-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; display: block; }
.gh-hero--photo::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(16,49,84,0) 0%, rgba(16,49,84,.45) 14%, rgba(16,49,84,.90) 30%, rgba(16,49,84,.97) 58%); }
/* The left half of the hero stays open so the photo can be seen. */
.gh-hero__open { display: none; }
/* Phones: navy hero with the text and form, then the photo as a full-width band. */
@media (max-width: 699px) {
  .gh-hero--photo { display: flex; flex-direction: column; }
  .gh-hero--photo .gh-hero__inner { order: 1; }
  /* The band keeps the shape of the phone photo, so the slides can stack. */
  .gh-hero--photo .gh-hero__bg { order: 2; position: relative; aspect-ratio: var(--gh-band, 16 / 9);
    background-image: var(--gh-lqip-m, var(--gh-lqip)); background-position: 50% 50%; }
  .gh-hero--photo .gh-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
  /* The band fades out of the navy instead of starting on a hard edge. */
  /* The navy is pulled a long way down the photo and dies out gradually, so
     there is never a line where it stops. */
  .gh-hero--photo .gh-hero__bg::after { content: ""; position: absolute; inset: 0; height: 100%;
    background: linear-gradient(180deg, var(--gh-brand) 0%, rgba(16,49,84,.82) 7%, rgba(16,49,84,.58) 14%,
      rgba(16,49,84,.38) 21%, rgba(16,49,84,.22) 29%, rgba(16,49,84,.12) 38%, rgba(16,49,84,.06) 50%,
      rgba(16,49,84,.02) 68%, rgba(16,49,84,0) 100%); }
  .gh-hero--photo::after { content: none; }
}
@media (min-width: 700px) {
  /* Top-aligned: the card keeps its place while the steps change height. */
  .gh-hero--photo .gh-hero__inner { min-height: clamp(520px, 40vw, 720px); display: flex; align-items: flex-start; }
  .gh-hero--photo .two-col { width: 100%; }
  .gh-hero__open { display: block; }
  .gh-hero--photo::after { background: linear-gradient(90deg, rgba(16,49,84,0) 26%, rgba(16,49,84,.40) 42%, rgba(16,49,84,.88) 62%, rgba(16,49,84,.97) 82%); }
  .gh-hero--photo .two-col h1 { font-size: clamp(30px, 2.8vw, 42px); max-width: none; margin-bottom: 26px; }
}
.gh-hero--photo .gh-hero__sub { color: rgba(255,255,255,.92); }
.gh-hero__trust { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px 22px; }
.gh-hero__trust span { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.9); font-weight: 600; font-size: 14.5px; }
.gh-hero__trust .tick { color: #8fe3b0; }
.gh-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 7px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 700; font-family: var(--gh-font-head); letter-spacing: .04em; }

/* Placeholder media */
.gh-ph { background: var(--gh-surface-2); position: relative; overflow: hidden; }
.gh-ph::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; color: var(--gh-muted); font-family: var(--gh-font-head); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }

/* Cards */
.gh-grid { display: grid; gap: var(--gh-gap); }
.gh-grid--2 { grid-template-columns: 1fr; }
.gh-grid--3 { grid-template-columns: 1fr; }
.gh-grid--4 { grid-template-columns: 1fr 1fr; }

.gh-card { background: var(--gh-surface); border: 1px solid var(--gh-border); border-radius: var(--gh-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .16s ease, box-shadow .2s ease; }
.gh-card:hover { transform: translateY(-3px); box-shadow: var(--gh-shadow); }
.gh-card__media { aspect-ratio: 16/10; width: 100%; }
.gh-card__media img { width: 100%; height: 100%; object-fit: cover; }
.gh-card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gh-card__eyebrow { font-size: 12.5px; font-weight: 700; color: var(--gh-ink); font-family: var(--gh-font-head); letter-spacing: .04em; text-transform: uppercase; }
.gh-card h3 { margin: 0; font-size: 20px; }
.gh-card--compact .gh-card__body { padding: 18px 20px 20px; }
.gh-card--compact h3 { font-size: 18px; line-height: 1.35; }
.gh-card p { color: var(--gh-muted); margin: 0; font-size: 15px; }
.gh-card__link { margin-top: auto; padding-top: 10px; font-family: var(--gh-font-head); font-weight: 700; color: var(--gh-brand); display: inline-flex; align-items: center; gap: 6px; }
.gh-card--service .gh-card__icon { font-size: 30px; line-height: 0; }

/* Line icons (inline SVG, currentColor) */
.gh-ic { flex: none; display: block; }
.gh-opt .gh-ic { color: var(--gh-muted); }
.gh-opt.sel .gh-ic { color: var(--gh-brand); }
.gh-card__icon .gh-ic { color: var(--gh-brand); }
.gh-badge .gh-ic { display: inline-block; vertical-align: -3px; }
.gh-appnav__row .ic .gh-ic { color: var(--gh-brand); }


/* Stat / trust strip */
.gh-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gh-stat { background: var(--gh-surface); border: 1px solid var(--gh-border); border-radius: var(--gh-radius); padding: 18px; text-align: center; }
.gh-stat b { display: block; font-family: var(--gh-font-head); font-size: 26px; color: var(--gh-brand); }
.gh-stat span { font-size: 13px; color: var(--gh-muted); }

/* Value props */
.gh-why { display: grid; gap: 18px; grid-template-columns: 1fr; }
.gh-why__item { display: flex; gap: 14px; align-items: flex-start; }
.gh-why__ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--gh-neutral-tile); color: var(--gh-brand); display: grid; place-items: center; font-size: 20px; }
.gh-why__item h4 { margin: 2px 0 4px; font-size: 18px; }
.gh-why__item p { margin: 0; color: var(--gh-muted); font-size: 15px; }

/* Process steps */
.gh-process { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: 1fr; }
.gh-process__step { background: var(--gh-surface); border: 1px solid var(--gh-border); border-radius: var(--gh-radius); padding: 24px 22px; position: relative; }
.gh-process__n { width: 40px; height: 40px; border-radius: 50%; background: var(--gh-brand); color: #fff; display: grid; place-items: center; font-family: var(--gh-font-head); font-weight: 800; font-size: 16px; margin-bottom: 14px; }
.gh-process__title { margin: 0 0 6px; font-size: 18px; }
.gh-process__step p { margin: 0; color: var(--gh-muted); font-size: 15px; line-height: 1.6; }

/* Cost module */
.gh-cost { background: var(--gh-surface); border: 1px solid var(--gh-border); border-radius: var(--gh-radius); padding: clamp(20px, 4vw, 34px); }
.gh-cost__range { font-family: var(--gh-font-head); font-size: clamp(26px, 5vw, 40px); font-weight: 800; color: var(--gh-brand); margin: 6px 0 4px; }
.gh-cost ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.gh-cost li { padding-left: 26px; position: relative; color: var(--gh-ink); }
.gh-cost li::before { content: "•"; color: var(--gh-brand); position: absolute; left: 8px; font-weight: 800; }
.gh-cost__disc { margin-top: 16px; font-size: 13px; color: var(--gh-muted); }

/* Chips / list */
.gh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gh-chip { background: var(--gh-surface); border: 1px solid var(--gh-border); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; color: var(--gh-ink); }
.gh-chips--center { justify-content: center; }
/* City page: local know-how cards + service-area sub-headings */
.gh-know { display: grid; gap: 18px; grid-template-columns: 1fr; }
.gh-know__item { background: var(--gh-surface); border: 1px solid var(--gh-border); border-radius: var(--gh-radius); padding: 24px 22px; }
.gh-know__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--gh-surface-2); color: var(--gh-brand); display: grid; place-items: center; margin-bottom: 14px; }
.gh-know__item h3 { margin: 0 0 6px; font-size: 18px; }
.gh-know__item p { margin: 0; color: var(--gh-muted); font-size: 15px; line-height: 1.6; }
.gh-know__item p.gh-know__link { margin-top: 12px; font-weight: 700; font-size: 14px; }
.gh-area-sub { font-size: 16px; margin: 26px 0 10px; }
/* Cost chart: every level on one money scale, so the ranges can be compared */
.gh-chart { background: var(--gh-surface); border: 1px solid var(--gh-border); border-radius: var(--gh-radius); padding: 22px 20px 18px; }
.gh-chart__axis { position: relative; height: 26px; margin: 0 0 6px; }
.gh-chart__tick { position: absolute; left: var(--p); top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.gh-chart__tick:first-child { transform: none; align-items: flex-start; }
.gh-chart__tick:last-child { transform: translateX(-100%); align-items: flex-end; }
.gh-chart__tick b { font-family: var(--gh-font-head); font-size: 11.5px; font-weight: 700; color: var(--gh-muted); letter-spacing: .02em; }
.gh-chart__tick i { display: block; width: 1px; height: 8px; background: var(--gh-border); }
.gh-chart__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.gh-chart__row { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 12px 0; border-top: 1px solid var(--gh-border); }
.gh-chart__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.gh-chart__head b { font-family: var(--gh-font-head); font-size: 16px; font-weight: 800; color: var(--gh-ink); }
.gh-chart__price { font-family: var(--gh-font-head); font-weight: 800; font-size: 15px; color: var(--gh-brand); white-space: nowrap; }
.gh-chart__track { position: relative; height: 12px; border-radius: 999px; background: var(--gh-neutral-tile); overflow: hidden; }
/* Bars read at full width by default, so the chart is complete without JS. */
.gh-chart__bar { position: absolute; top: 0; bottom: 0; left: var(--gh-left); width: var(--gh-width); border-radius: 999px; background: var(--gh-success); transition: width .9s cubic-bezier(.22,.61,.36,1); transition-delay: var(--gh-delay); }
.gh-chart--anim .gh-chart__bar { width: 0; }
.gh-chart--anim.is-live .gh-chart__bar { width: var(--gh-width); }
.gh-chart__bar.is-open { background: linear-gradient(90deg, var(--gh-success), rgba(46,128,85,.15)); }
.gh-chart__text { margin: 0; color: var(--gh-muted); font-size: 14.5px; line-height: 1.6; }
.gh-chart__note { margin: 16px 0 0; font-size: 13px; color: var(--gh-muted); text-align: center; }
@media (min-width: 860px) {
  .gh-chart { padding: 26px 26px 20px; }
  .gh-chart__axis { margin-left: 220px; }
  .gh-chart__row { grid-template-columns: 220px 1fr; align-items: center; gap: 8px 18px; padding: 14px 0; }
  .gh-chart__head { flex-direction: column; align-items: flex-start; gap: 2px; }
  .gh-chart__text { grid-column: 2; margin-top: -2px; }
}
.gh-levels__factors { margin: 26px auto 0; max-width: var(--gh-container-narrow); }
.gh-levels__factors h3 { font-size: 16px; margin: 0 0 8px; }
.gh-levels__factors ul { margin: 0; padding-left: 20px; color: var(--gh-muted); font-size: 15px; line-height: 1.8; columns: 2; column-gap: 28px; }
@media (max-width: 700px) { .gh-levels__factors ul { columns: 1; } }
@media (prefers-reduced-motion: reduce) {
  .gh-chart__bar, .gh-chart--anim .gh-chart__bar { transition: none; width: var(--gh-width); }
}
/* FAQs in two columns on wider screens */
.gh-faq--2col { grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .gh-faq--2col { grid-template-columns: 1fr 1fr; gap: 12px 16px; } }
/* Topic filter on the guides archive */
.gh-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 clamp(24px, 4vw, 36px); }
.gh-filter__chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border: 1px solid var(--gh-border); border-radius: 999px; background: var(--gh-surface); font-family: var(--gh-font-head); font-weight: 700; font-size: 14px; color: var(--gh-ink); transition: border-color .2s ease, background .2s ease, color .2s ease; }
.gh-filter__chip:hover { border-color: var(--gh-brand); color: var(--gh-brand); }
.gh-filter__chip.is-on { background: var(--gh-brand); border-color: var(--gh-brand); color: #fff; }
/* Topic tags on guides */
.gh-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.gh-topics a { display: inline-block; padding: 4px 12px; border: 1px solid var(--gh-border); border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--gh-surface); }
.gh-topics a:hover { border-color: var(--gh-brand); }
@media (min-width: 720px) { .gh-know { grid-template-columns: repeat(2, 1fr); } }
a.gh-chip { transition: border-color .16s ease, color .16s ease; }
a.gh-chip:hover { border-color: var(--gh-brand); color: var(--gh-brand); }
.gh-ticklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gh-ticklist li { padding-left: 30px; position: relative; }
.gh-ticklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gh-success); font-weight: 800; }

/* FAQ accordion */
.gh-faq { display: grid; gap: 12px; }
.gh-faq details { background: var(--gh-surface); border: 1px solid var(--gh-border); border-radius: var(--gh-radius-sm); padding: 2px 18px; }
.gh-faq summary { list-style: none; cursor: pointer; font-family: var(--gh-font-head); font-weight: 700; font-size: 16.5px; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.gh-faq summary::-webkit-details-marker { display: none; }
.gh-faq summary::after { content: "+"; font-size: 24px; color: var(--gh-brand); flex: none; }
.gh-faq details[open] summary::after { content: "−"; }
.gh-faq details > div { padding: 0 0 18px; color: var(--gh-muted); }

/* Breadcrumbs */
/* Thin full-width rule (#e6dac2) — separates the breadcrumb from article content */
.gh-rule { height: 1px; background: var(--gh-border); }
.gh-crumbs { font-size: 13.5px; color: var(--gh-muted); padding-top: 14px; padding-bottom: 14px; }
.gh-crumbs a { color: var(--gh-muted); }
.gh-crumbs a:hover { color: var(--gh-accent); }
.gh-crumbs span { margin: 0 6px; opacity: .6; }

/* Testimonials */
.gh-tcard { background: var(--gh-surface); border: 1px solid var(--gh-border); border-radius: var(--gh-radius); padding: 24px; box-shadow: var(--gh-shadow-sm); }
.gh-tcard__stars { color: var(--gh-star); letter-spacing: 2px; font-size: 16px; }
.gh-tcard blockquote { margin: 10px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--gh-ink); }
.gh-tcard__who { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--gh-border); display: flex; align-items: center; gap: 12px; }
.gh-tcard__av { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--gh-brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; font-family: var(--gh-font-head); }
.gh-tcard__who b { display: block; font-size: 14.5px; line-height: 1.3; }
.gh-tcard__who span { font-size: 12.5px; color: var(--gh-muted); }
.gh-demo-note { font-size: 11px; color: var(--gh-muted); margin-top: 10px; font-style: italic; }

/* CTA panel */
.gh-cta-panel { background: var(--gh-brand); color: #fff; border-radius: var(--gh-radius-lg); padding: clamp(28px, 6vw, 56px); text-align: center; position: relative; overflow: hidden; border-top: 5px solid var(--gh-red); }
.gh-cta-panel > * { position: relative; z-index: 2; }
.gh-cta-panel h2 { color: #fff; }
.gh-cta-panel p { color: var(--gh-on-dark-muted); max-width: 52ch; margin: 10px auto 0; }
.gh-cta-panel .gh-hero__cta { justify-content: center; }

/* Trust strip — prominent, professional feature bar */
.gh-trust-strip { background: var(--gh-surface); border-bottom: 1px solid var(--gh-border); }
.gh-trust-strip__row { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 22px 20px; }
.gh-trust-item { display: flex; align-items: center; gap: 14px; }
.gh-trust-item__ic { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--gh-neutral-tile); display: grid; place-items: center; color: var(--gh-brand); }
.gh-trust-item__tx b { display: block; font-family: var(--gh-font-head); font-size: 15.5px; color: var(--gh-ink); line-height: 1.25; }
.gh-trust-item__tx span { display: block; font-size: 13px; color: var(--gh-muted); }

/* How it works — clean editorial steps */
.gh-next { display: grid; gap: 22px; grid-template-columns: 1fr; }
.gh-next__item { display: flex; gap: 16px; align-items: flex-start; }
.gh-next__num { flex: none; font-family: var(--gh-font-head); font-size: 34px; font-weight: 800; line-height: 1; color: var(--gh-brand); opacity: .25; }
.gh-next__item h4 { margin: 0 0 5px; font-size: 18px; }
.gh-next__item p { margin: 0; color: var(--gh-muted); font-size: 15px; }

/* CTA reassurance (on dark panels/hero) */
.gh-reassure { margin: 16px 0 0; font-size: 13px; color: rgba(255,255,255,.82); }

/* Form trust cues */
.gh-form-trust { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 4px; }
.gh-form-trust span { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--gh-muted); }
.gh-form-trust .gh-ic { color: var(--gh-muted); }
.gh-field-note { display: flex; align-items: flex-start; gap: 7px; font-size: 12.5px; color: var(--gh-muted); margin: 4px 0 0; }
/* The project the visitor is asking about — a quiet line, kept through the form */
.gh-form-sel { font-size: 13px; color: var(--gh-muted); margin: 0 0 12px; }
.gh-form-sel[hidden] { display: none; }
.gh-form-sel [data-gh-selected-label] { font-family: var(--gh-font-head); font-weight: 700; color: var(--gh-ink); }
.gh-field-note .gh-ic { color: var(--gh-success); flex: none; margin-top: 1px; }

/* Before / after */
.gh-ba { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.gh-ba figure { margin: 0; }
.gh-ba figcaption { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--gh-muted); margin-bottom: 6px; }
.gh-ba__img { aspect-ratio: 4/3; border-radius: var(--gh-radius-sm); overflow: hidden; }
.gh-ba__img img { width: 100%; height: 100%; object-fit: cover; }

/* Gallery scroller */
.gh-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; -webkit-overflow-scrolling: touch; }
.gh-scroller > * { scroll-snap-align: start; }
.gh-scroller .gh-card__media { aspect-ratio: 4/3; border-radius: var(--gh-radius); overflow: hidden; }

/* Swipe carousel dot indicators — mobile only (hidden here, shown in mobile block) */
.gh-dots { display: none; }

/* Article body */
.gh-article { max-width: var(--gh-container-narrow); }
.gh-article h2 { margin-top: 1.4em; }
.gh-article h3 { margin-top: 1.2em; }
.gh-article img { border-radius: var(--gh-radius-sm); margin: 1.2em 0; }
.gh-article ul, .gh-article ol { padding-left: 1.2em; }
.gh-article blockquote { border-left: 4px solid var(--gh-brand); margin: 1.4em 0; padding: 6px 0 6px 18px; color: var(--gh-muted); font-size: 18px; }
.gh-toc { background: var(--gh-surface); border: 1px solid var(--gh-border); border-radius: var(--gh-radius-sm); padding: 18px 20px; margin: 0 0 24px; }
.gh-toc b { font-family: var(--gh-font-head); }
.gh-toc ol { margin: 8px 0 0; padding-left: 1.1em; }
.gh-toc a { color: var(--gh-brand); }

/* Sticky mobile action bar */

/* Multi-step form */
.gh-form-card { background: var(--gh-surface); color: var(--gh-ink); border-radius: var(--gh-radius-lg); box-shadow: var(--gh-shadow-lg); overflow: visible; }
.gh-form-card__head { border-top-left-radius: var(--gh-radius-lg); border-top-right-radius: var(--gh-radius-lg); }
.gh-form-card .gh-q { color: var(--gh-ink); }
.gh-opt { color: var(--gh-ink); }
.gh-field label { color: var(--gh-ink); }
.gh-form-card__head { padding: 20px 22px; background: var(--gh-surface-2); border-bottom: 1px solid var(--gh-border); }
/* Desktop only: the three promises sit on the right of the title. */
@media (min-width: 992px) {
  .gh-form-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; }
  .gh-form-card__head .gh-form-trust { margin-top: 0; }
}
.gh-form-card__head h3 { margin: 0; font-size: 20px; }
.gh-form-card__head p { margin: 4px 0 0; font-size: 13.5px; color: var(--gh-muted); }
.gh-progress { height: 6px; background: var(--gh-border); }
.gh-progress > i { display: block; height: 100%; width: 20%; background: var(--gh-red); transition: width .35s ease; }
.gh-form-body { padding: 22px; }
.gh-step { display: none; }
.gh-step.active { display: block; animation: ghfade .3s ease; }
@keyframes ghfade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.gh-q { font-family: var(--gh-font-head); font-size: 18px; font-weight: 800; margin: 0 0 4px; }
.gh-q-hint { color: var(--gh-muted); font-size: 13.5px; margin: 0 0 16px; }
.gh-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gh-opt { display: flex; align-items: center; gap: 10px; border: 2px solid var(--gh-border); border-radius: 12px; padding: 14px 12px; cursor: pointer; font-weight: 600; background: #fff; transition: all .14s ease; }
.gh-opt:hover { border-color: var(--gh-brand); }
.gh-opt.sel { border-color: var(--gh-brand); background: #eef4fb; box-shadow: inset 0 0 0 1px var(--gh-brand); }
.gh-opt .emo { font-size: 22px; }
.gh-field { margin-bottom: 14px; }
.gh-field label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; }
.gh-field input, .gh-field textarea { width: 100%; min-height: var(--gh-input-h); border: 2px solid var(--gh-border); border-radius: 10px; padding: 12px 14px; font-size: 16px; font-family: var(--gh-font-body); color: var(--gh-ink); }
.gh-field textarea { min-height: 90px; }
.gh-field input:focus, .gh-field textarea:focus { outline: none; border-color: var(--gh-brand); }
/* Follow-up question: answers are full-width rows, they read like sentences. */
.gh-opts--rows { grid-template-columns: 1fr; }
.gh-opts--rows .gh-opt { justify-content: flex-start; }
/* "Other": the free-text project, revealed under the options. */
.gh-field.gh-other { margin-top: 14px; }
.gh-field.gh-other[hidden] { display: none; }
.gh-field.gh-other .gh-ac-list li b { font-weight: 600; }
/* Consent box: a real checkbox, with the same error behaviour as any field.
   These sit after the generic .gh-field rules on purpose, so they win. */
.gh-field.gh-consent { margin-top: 4px; }
.gh-field.gh-consent .gh-consent__row { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 13px; line-height: 1.45; color: var(--gh-muted); margin: 0; cursor: pointer; }
.gh-field.gh-consent .gh-consent__row input { width: 18px; height: 18px; min-height: 0; flex: none; margin: 2px 0 0; padding: 0; border-radius: 4px; border-width: 2px; accent-color: var(--gh-brand); }
.gh-field.gh-consent.invalid .gh-consent__row { color: var(--gh-ink); }
.gh-field.gh-consent.invalid .gh-consent__row input { outline: 2px solid var(--gh-red); outline-offset: 2px; }
.gh-field.invalid input, .gh-field.invalid textarea { border-color: var(--gh-error); }
.gh-field .err { color: var(--gh-error); font-size: 12.5px; margin-top: 4px; display: none; }
.gh-field.invalid .err { display: block; }

/* Live ZIP lookup (green check + resolved city) */
.gh-zip-wrap { display: flex; gap: 8px; align-items: stretch; }
.gh-zip-inputwrap { position: relative; flex: 1; }
.gh-zip-inputwrap input { width: 100%; padding-right: 42px; }
.gh-zip-check { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--gh-success); color: #fff; display: none; place-items: center; font-size: 13px; font-weight: 800; }
.gh-zip-field.valid .gh-zip-check { display: grid; }
.gh-zip-field.valid input { border-color: var(--gh-success); }
.gh-zip-geo { flex: none; width: 54px; border: 2px solid var(--gh-border); border-radius: 12px; background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--gh-brand); transition: border-color .15s ease; }
.gh-zip-geo:hover { border-color: var(--gh-brand); }
.gh-zip-geo.loading { opacity: .5; pointer-events: none; }
.gh-zip-result { margin-top: 8px; font-weight: 700; color: var(--gh-success); font-size: 15px; }
.gh-zip-result.is-error { color: var(--gh-error); }
.gh-zip-mirror input { background: var(--gh-surface-2); color: var(--gh-muted); }

/* Street autocomplete dropdown (Photon) */
.gh-ac { position: relative; }
.gh-ac-list { position: absolute; top: 100%; left: 0; right: 0; z-index: 30; margin: 6px 0 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--gh-border); border-radius: 12px; box-shadow: var(--gh-shadow); max-height: 260px; overflow-y: auto; }
.gh-ac-list li { padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.gh-ac-list li:hover, .gh-ac-list li.is-active { background: var(--gh-surface-2); }
.gh-ac-list li.gh-ac-msg { cursor: default; font-size: 13px; color: var(--gh-muted); }
.gh-ac-list li.gh-ac-msg:hover { background: transparent; }
.gh-ac-list li b { display: block; font-weight: 700; font-size: 15px; color: var(--gh-ink); }
.gh-ac-list li span { display: block; font-size: 12.5px; color: var(--gh-muted); }
.gh-form-nav { display: flex; gap: 10px; margin-top: 16px; }
.gh-form-nav .gh-btn { flex: 1; }
.gh-form-nav .back { flex: 0 0 auto; }
.gh-secure { margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--gh-muted); }
.gh-secure .gh-ic { color: var(--gh-muted); }
.gh-success { text-align: center; padding: 26px 6px 24px; }
/* Brand illustration on its own, the same on every page */
.gh-success__mark { width: 200px; margin: 0 auto 22px; }
.gh-success__mark img { width: 100%; height: auto; display: block; }
.gh-success h3 { font-size: 22px; color: var(--gh-brand); margin: 0; }
@media (max-width: 720px) {
  .gh-success__mark { width: 168px; margin-bottom: 18px; }
  .gh-success h3 { font-size: 20px; }
}

/* Footer */
/* Real service-area map */
.gh-map { height: 360px; width: 100%; border-radius: var(--gh-radius); border: 1px solid var(--gh-border); overflow: hidden; position: relative; z-index: 0; background: var(--gh-surface-2); }
.gh-map-pin span { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--gh-brand); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gh-brand); }
.leaflet-container { font: inherit; }

/* Footer — custom, credible (not stock WP) */
.gh-footer { background: var(--gh-ink); color: var(--gh-on-dark-muted); font-size: 14.5px; border-top: 5px solid var(--gh-red); }
.gh-footer a:not(.gh-btn) { color: var(--gh-on-dark-muted); }
.gh-footer a:not(.gh-btn):hover { color: var(--gh-on-dark); }
.gh-footer .gh-logo { color: #fff; font-size: 20px; }
.gh-footer__cta { background: var(--gh-brand); }
.gh-footer__cta-row { display: grid; gap: 16px; padding-top: clamp(28px, 5vw, 40px); padding-bottom: clamp(28px, 5vw, 40px); }
.gh-footer__cta h3 { color: #fff; font-size: clamp(20px, 3.2vw, 27px); margin: 0; }
.gh-verified { vertical-align: -0.18em; margin-left: 4px; }
.gh-footer__cta p { color: var(--gh-on-dark-muted); margin: 6px 0 0; font-size: 15px; }
.gh-footer__main { display: grid; grid-template-columns: 1fr; gap: 30px; padding-top: clamp(36px, 5vw, 52px); padding-bottom: clamp(28px, 4vw, 40px); }
.gh-footer__brand p { max-width: 44ch; margin: 12px 0 14px; line-height: 1.6; }
.gh-footer__badges { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.gh-footer__badges span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--gh-on-dark-muted); }
.gh-footer__badges .gh-ic { color: var(--gh-on-dark-muted); }
.gh-footer__col h5 { color: #fff; font-family: var(--gh-font-head); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
.gh-footer__col nav a { display: block; padding: 5px 0; }
.gh-footer__coverage { padding-top: 18px; padding-bottom: 18px; border-top: 1px solid #33373c; font-size: 13px; color: var(--gh-on-dark-muted); line-height: 1.7; }
.gh-footer__coverage-label { color: var(--gh-on-dark); font-weight: 700; margin-right: 6px; }
.gh-footer__legal { padding-top: 18px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--gh-on-dark-muted); border-top: 1px solid #33373c; }
.gh-footer__legal a { margin-left: 14px; }

/* Header lead CTA (replaces phone) */
.gh-header__cta { min-height: 42px; padding: 0 16px; font-size: 14.5px; }

/* App bottom dock (single CTA) — hidden by default, shown only on mobile */
.gh-dock { display: none; }

/* Drawer note under CTA */
.gh-drawer__note { margin: 4px 0 0; font-size: 12.5px; color: var(--gh-muted); text-align: center; }

/* Page padding so the bottom dock never covers content on mobile */
body.gh-has-sticky { padding-bottom: calc(74px + var(--gh-safe-b)); }

/* Utilities */
.gh-mt-lg { margin-top: clamp(28px, 5vw, 48px); }
.gh-center { text-align: center; }
/* Guides: "older guides" fallback link + cards that fade in as they load */
.gh-more a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border: 1px solid var(--gh-border); border-radius: 999px; font-family: var(--gh-font-head); font-weight: 700; background: var(--gh-surface); }
.gh-more a:hover { border-color: var(--gh-brand); }
.gh-more__status { color: var(--gh-muted); font-size: 14px; margin-top: 18px; }
.gh-card--in { animation: gh-fade-in .4s ease both; }
@keyframes gh-fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .gh-card--in { animation: none; } }
.gh-hide { display: none !important; }
.two-col { display: grid; gap: var(--gh-gap); grid-template-columns: 1fr; }

/* ---------- Editors: avatar, article byline, editor cards ---------- */
.gh-avatar { flex: none; border-radius: 50%; object-fit: cover; display: inline-block; }
.gh-avatar--initial { display: grid; place-items: center; background: var(--gh-brand); color: #fff; font-family: var(--gh-font-head); font-weight: 800; }
.gh-byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin: 16px 0 0; }
.gh-byline__who, .gh-byline__who:hover { display: flex; align-items: center; gap: 10px; color: var(--gh-ink); }
.gh-byline__who strong { display: block; font-family: var(--gh-font-head); font-size: 15px; line-height: 1.25; }
.gh-byline__who em { font-style: normal; font-size: 13px; color: var(--gh-muted); }
.gh-author { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.gh-author h1 { margin: 0; }
.gh-author__role { margin: 6px 0 0; font-family: var(--gh-font-head); font-weight: 700; color: var(--gh-muted); }
.gh-author__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 6px 0 0; }
.gh-author__meta .gh-author__role { margin: 0; }
.gh-editor .gh-avatar { margin-bottom: 6px; }
.gh-editor .gh-author__role { margin-top: 0; font-size: 14px; }

/* ---------- Service inspiration gallery ---------- */
.gh-gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.gh-gallery__item { position: relative; margin: 0; border-radius: var(--gh-radius); overflow: hidden; background: var(--gh-surface-2); box-shadow: var(--gh-shadow-sm); }
.gh-gallery__item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.gh-gallery__item::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to top, rgba(16, 49, 84, .28), transparent); opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.gh-gallery__item:hover img { transform: scale(1.06); }
.gh-gallery__item:hover::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .gh-gallery__item img { transition: none; } }
/* Even tiles: three across from tablet, four on a wide screen. */
@media (min-width: 700px) { .gh-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .gh-gallery { grid-template-columns: repeat(4, 1fr); } }
/* Phones: the tiles swipe sideways, like the card rows elsewhere. */
@media (max-width: 699px) {
  .gh-gallery.gh-carousel {
    display: grid; grid-auto-flow: column; grid-template-columns: none;
    grid-auto-columns: 82%; gap: 12px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin-left: -20px; margin-right: -20px;
    padding: 4px 20px 6px; scroll-padding: 0 20px;
    scrollbar-width: none;
  }
  .gh-gallery.gh-carousel::-webkit-scrollbar { display: none; }
  .gh-gallery.gh-carousel > * { scroll-snap-align: center; }
}

/* ---------- Service-area directory (homepage / lobby / state hub) ---------- */
.gh-states { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.gh-state { background: var(--gh-surface); border: 1px solid var(--gh-border); border-radius: var(--gh-radius); padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.gh-dir__title { margin: 0; font-size: 1rem; line-height: 1; }
.gh-state__head, .gh-state__head:hover { display: flex; align-items: center; gap: 12px; color: var(--gh-ink); }
.gh-state__abbr { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--gh-brand); color: #fff; display: grid; place-items: center; font-family: var(--gh-font-head); font-weight: 800; font-size: 15px; letter-spacing: .04em; }
/* DM Serif Text ships at 400 only — never let the h2/h3 weight fake-bold it */
.gh-state__name { font-family: var(--gh-font-head); font-weight: 800; font-size: 27px; line-height: 1.1; letter-spacing: -0.02em; }
.gh-state__cities, .gh-dir__cities { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.gh-state__cities li, .gh-dir__cities li { break-inside: avoid; }
.gh-state__cities a, .gh-dir__cities a { display: block; padding: 6px 0; font-weight: 600; }
.gh-dir__cities li { border-bottom: 1px solid var(--gh-border); }
.gh-state__all, .gh-dir__more { font-family: var(--gh-font-head); font-weight: 700; }
.gh-state__all { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--gh-border); }
.gh-dir { display: grid; gap: 30px; }
.gh-dir__state { padding-top: 26px; border-top: 1px solid var(--gh-border); }
.gh-dir__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
/* Services × cities grid on state hubs */
.gh-matrix { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.gh-matrix__col { background: var(--gh-surface); border: 1px solid var(--gh-border); border-radius: var(--gh-radius); padding: 20px 22px; }
.gh-matrix__col h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin: 0 0 10px; }
.gh-matrix__col h3 .gh-ic { color: var(--gh-brand); }
.gh-matrix__col ul { list-style: none; margin: 0; padding: 0; }
.gh-matrix__col li { border-top: 1px solid var(--gh-border); }
.gh-matrix__col li a { display: block; padding: 8px 0; font-weight: 600; }
/* Locations dropdown: states only */
.gh-drop__label { margin: 4px 12px 6px; font-family: var(--gh-font-head); font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gh-muted); }
.gh-drop--states a { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gh-drop--states a em { font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--gh-muted); margin-left: 6px; }
.gh-drop a.gh-drop__all { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--gh-border); border-radius: 0 0 8px 8px; color: var(--gh-ink); font-weight: 700; }
@media (min-width: 700px) { .gh-dir__cities { columns: 3; } }
@media (min-width: 1000px) { .gh-dir__cities { columns: 4; } }

/* ---------- Responsive ---------- */
@media (min-width: 700px) {
  .gh-grid--2 { grid-template-columns: 1fr 1fr; }
  .gh-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .gh-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .gh-stats { grid-template-columns: repeat(4, 1fr); }
  .gh-why { grid-template-columns: 1fr 1fr; }
  .gh-process { grid-template-columns: repeat(2, 1fr); }
  .gh-scroller { grid-auto-columns: 46%; }
  .two-col { grid-template-columns: 1.05fr .95fr; align-items: start; }
  .gh-trust-strip__row { grid-template-columns: repeat(4, 1fr); padding: 36px 20px; gap: 24px; }
  .gh-trust-strip__row .gh-trust-item + .gh-trust-item { border-left: 1px solid var(--gh-border); padding-left: 24px; }
  .gh-next { grid-template-columns: repeat(3, 1fr); }
  .gh-footer__main { grid-template-columns: 1fr 1fr; }
  .gh-footer__brand { grid-column: 1 / -1; }
}

@media (min-width: 1000px) {
  :root { --gh-header-h: 74px; }
  .gh-logo__img { height: 48px; }
  .gh-nav-desktop { display: flex; align-items: center; gap: 26px; }
  .gh-nav-desktop > a, .gh-nav-desktop .gh-has-drop > a { font-family: var(--gh-font-head); font-weight: 700; font-size: 15.5px; color: var(--gh-ink); }
  .gh-nav-desktop > a:hover { color: var(--gh-accent); }
  .gh-menu-toggle, .gh-call-icon { display: none; }
  .gh-header__cta { min-height: 46px; padding: 0 24px; font-size: 15px; }
  .gh-header__phone { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.1; font-family: var(--gh-font-head); }
  .gh-header__phone b { color: var(--gh-brand); font-size: 17px; }
  .gh-header__phone span { font-size: 11.5px; color: var(--gh-muted); font-weight: 600; }
  .gh-process { grid-template-columns: repeat(4, 1fr); }
  .gh-why { grid-template-columns: repeat(3, 1fr); }
  .gh-scroller { grid-auto-columns: 31%; }
  .gh-footer__main { grid-template-columns: 1.8fr 1fr 1fr 1fr; }
  .gh-footer__brand { grid-column: auto; }
  .gh-footer__cta-row { grid-template-columns: 1fr auto; align-items: center; }
  body.gh-has-sticky { padding-bottom: 0; }
  .gh-ba { grid-template-columns: 1fr 1fr; }

  /* Dropdowns */
  .gh-has-drop { position: relative; }
  .gh-drop { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border: 1px solid var(--gh-border); border-radius: var(--gh-radius-sm); box-shadow: var(--gh-shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .16s ease; }
  .gh-has-drop:hover .gh-drop { opacity: 1; visibility: visible; transform: none; }
  .gh-drop a { display: block; padding: 10px 12px; border-radius: 8px; font-weight: 600; font-size: 14.5px; color: var(--gh-ink); }
  .gh-drop a:hover { background: var(--gh-surface-2); color: var(--gh-ink); }
}

/* ============================================================
   APP-LIKE MOBILE  (≤ 999px) — precise, native-app feel
   ============================================================ */
@media (max-width: 999px) {
  :root { --gh-header-h: 58px; }
  .gh-logo__img { height: 34px; }

  /* Tap feedback — buttons/cards/options respond to touch */
  .gh-btn { transition: transform .1s ease, background .18s ease, border-color .18s ease; }
  .gh-btn:active { transform: scale(.97); }
  .gh-card { transition: transform .12s ease, box-shadow .2s ease; }
  .gh-card:active { transform: scale(.985); }
  .gh-opt:active { transform: scale(.98); }
  .gh-appnav__row, .gh-faq summary { transition: background .12s ease; }

  /* Header: elevate + auto-hide on scroll-down, reveal on scroll-up */
  .gh-header { transition: transform .28s cubic-bezier(.4,0,.2,1), box-shadow .2s ease; will-change: transform; }
  .gh-header.gh-header--scrolled { box-shadow: 0 2px 16px rgba(20,40,66,.10); }
  .gh-header.gh-header--hidden { transform: translateY(-100%); }

  /* Hero: compact so the primary CTA sits above the fold */
  .gh-hero__inner { padding-top: 24px; padding-bottom: 30px; }
  .gh-hero h1 { font-size: clamp(30px, 8.4vw, 40px); }
  .gh-hero .gh-hero__sub { font-size: 16px; margin-top: 12px; }
  .gh-hero__cta { margin-top: 20px; gap: 10px; }
  .gh-hero__cta .gh-btn { width: 100%; }
  /* The estimate form + sticky bar are the CTA on mobile — hide redundant hero buttons. */
  .gh-hero .gh-hero__cta { display: none; }
  /* Tighter hero copy on mobile */
  .gh-hero .gh-hero__sub { margin-top: 10px; }
  .gh-hero__trust { margin-top: 18px; gap: 8px 18px; }
  .gh-badge { font-size: 12px; }

  /* Section rhythm a touch tighter */
  .gh-section { padding: 44px 0; }
  .gh-sec-head { margin-bottom: 24px; }

  /* Card scrollers: peek the next card + crisp snap */
  .gh-scroller { grid-auto-columns: 84%; scroll-padding-left: 20px; gap: 14px; }

  /* ---- Swipe carousels (services / projects / testimonials / resources) ---- */
  .gh-grid.gh-carousel {
    display: grid; grid-auto-flow: column; grid-template-columns: none;
    grid-auto-columns: 82%; gap: 14px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    /* Edge-to-edge bleed so cards scroll under the screen edges, app-style */
    margin-left: -20px; margin-right: -20px;
    padding: 4px 20px 6px; scroll-padding: 0 20px;
    scrollbar-width: none;
  }
  .gh-grid.gh-carousel::-webkit-scrollbar { display: none; }
  .gh-grid.gh-carousel > * { scroll-snap-align: center; }

  .gh-dots {
    display: flex; justify-content: center; align-items: center; gap: 2px;
    margin-top: 10px;
  }
  /* The dot stays small, the tappable area around it does not. */
  /* The painted dot is a pseudo-element, so its radius is genuinely round while
     the button around it stays a comfortable touch target. */
  .gh-dots__dot {
    width: 26px; height: 44px; padding: 0; border: 0; background: none;
    display: grid; place-items: center; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .gh-dots__dot::before {
    content: ""; display: block;
    width: 7px; height: 7px; border-radius: 999px;
    background: var(--gh-border);
    transition: width .28s cubic-bezier(.4,0,.2,1), background .2s ease;
  }
  .gh-dots__dot.is-active::before { width: 22px; background: var(--gh-brand); }

  /* Larger, comfortable touch targets on interactive rows */
  .gh-chip { padding: 10px 16px; font-size: 14.5px; }
  .gh-faq summary { padding: 18px 0; font-size: 16px; }
  /* Topic filter behaves like app tabs: one swipeable row, not five stacked lines */
  .gh-filter {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto;
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; margin-left: -20px; margin-right: -20px;
    padding: 2px 20px 6px;
  }
  .gh-filter::-webkit-scrollbar { display: none; }
  .gh-filter__chip { flex: none; scroll-snap-align: start; padding: 10px 16px; font-size: 14.5px; }
  .gh-topics a { padding: 10px 16px; font-size: 14px; }
  /* Sentences stay readable on a phone; uppercase labels can stay small. */
  .gh-field-note, .gh-drawer__note, .gh-levels__note, .gh-tiers__note { font-size: 13.5px; }
  .gh-q-hint { font-size: 14px; }
  .gh-level__text, .gh-know__item p, .gh-why__item p { font-size: 15.5px; }

  /* ---- App drawer (right slide-in) ---- */
  .gh-drawer__panel { width: min(92%, 400px); padding: 14px 14px calc(16px + var(--gh-safe-b)); transition: transform .34s cubic-bezier(.32,.72,0,1); }
  .gh-drawer__scrim { transition: opacity .3s ease; }

  /* ---- App bottom dock (single "Get a quote" CTA) ---- */
  .gh-dock {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 250;
    padding: 10px 16px calc(10px + var(--gh-safe-b));
    background: rgba(255,255,255,.9);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-top: 1px solid var(--gh-border);
    box-shadow: 0 -6px 24px rgba(20,40,66,.10);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
  }
  .gh-dock__cta {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    width: 100%; min-height: 54px; border-radius: 14px;
    font-size: 16px; font-weight: 800;
    box-shadow: none; /* the dock already separates itself from the page */
  }
  .gh-dock__ic { display: inline-flex; line-height: 0; }
  /* The hand waves every few seconds: a small, friendly nudge, not a loop. */
  .gh-dock__ic svg { width: 21px; height: 21px; stroke-width: 1.9;
    transform-origin: 62% 88%; animation: gh-wave 3.2s ease-in-out infinite; }
  .gh-dock__cta:active { transform: scale(.98); }
  @keyframes gh-wave {
    0%, 62%, 100% { transform: rotate(0deg); }
    68% { transform: rotate(15deg); }
    74% { transform: rotate(-9deg); }
    80% { transform: rotate(13deg); }
    86% { transform: rotate(-6deg); }
    92% { transform: rotate(7deg); }
  }
  @media (prefers-reduced-motion: reduce) {
    .gh-dock__ic svg { animation: none; }
  }

  .gh-dock--hidden { transform: translateY(130%); }

  /* ---- Estimate form as app onboarding ---- */
  .gh-form-card { border-radius: 18px; box-shadow: var(--gh-shadow); }
  .gh-form-card__head { padding: 18px 18px; }
  .gh-form-body { padding: 18px 18px 20px; }
  .gh-q { font-size: 19px; }
  .gh-opts { gap: 12px; }
  .gh-opt { min-height: 60px; font-size: 15.5px; border-radius: 14px; padding: 12px 14px; }
  .gh-opt .emo { font-size: 25px; }
  .gh-field input, .gh-field textarea { min-height: 54px; font-size: 16px; border-radius: 12px; }
  .gh-form-nav { position: sticky; bottom: 0; }
  .gh-form-nav .gh-btn { min-height: 54px; border-radius: 12px; font-size: 16px; }
  .gh-step.active { animation: ghslide .32s cubic-bezier(.32,.72,0,1); }
  @keyframes ghslide { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
