/* Self-hosted fonts, latin subset, byte-identical to what Google was serving.
   Going via fonts.googleapis.com cost a blocking round trip for the CSS plus a
   second one to fonts.gstatic.com for the files, and text could not paint until
   both landed. Regenerate with the localizer, not by hand. */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/public-sans-var-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Zilla Slab';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/zilla-slab-500-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Zilla Slab';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/zilla-slab-600-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Zilla Slab';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/zilla-slab-700-latin.woff2') format('woff2');
}

/* Wrenwater Plumbing — one stylesheet, mobile-first.
   Palette carried over from the original single-page site so the rebuild is
   recognisably the same company: deep navy, teal, warm cream, gold stars. */

:root {
  --navy: #16303e;
  --navy-deep: #0e2230;
  --navy-line: #2c4653;
  --teal: #0e6b66;
  --teal-dark: #0b5752;
  --teal-bright: #35a39c;
  --teal-pale: #7fb8b3;
  --cream: #f7f2e8;
  --cream-2: #f1ead9;
  --paper: #fdfbf5;
  --line: #d9d0ba;
  --line-2: #c8bda2;
  --ink: #22303a;
  --ink-2: #33454f;
  --muted: #4c5c66;
  --dim: #5F6C75;
  --faint: #6B767C;
  --gold: #f2b23e;
  --danger: #b3261e;
  --danger-bg: #fdecea;
  --ok-bg: #e7f3f1;
  --radius: 3px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Public Sans', -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px; /* sticky bar */
}

h1, h2, h3, h4 { font-family: 'Zilla Slab', Georgia, serif; font-weight: 700; line-height: 1.15; margin: 0; color: var(--navy); }
p { margin: 0 0 1em; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--navy); }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 18px; font-weight: 700;
}
.skip:focus { left: 0; color: #fff; }

:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 2px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--cream); border-bottom: 1px solid var(--line);
}
.hdr-in {
  max-width: var(--wrap); margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; background: var(--navy); display: grid; place-items: center; flex-shrink: 0; }
.brand-drop { width: 14px; height: 14px; background: var(--teal-bright); border-radius: 0 50% 50% 50%; transform: rotate(45deg); }
.brand-text { display: block; }
.brand-name { display: block; font-family: 'Zilla Slab', serif; font-weight: 700; font-size: 17px; line-height: 1; color: var(--navy); }
.brand-tag { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-top: 3px; }
.hdr-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.hdr-call {
  background: var(--teal); color: var(--paper); font-weight: 700; font-size: 13px;
  padding: 10px 13px; white-space: nowrap;
}
.hdr-call:hover { background: var(--teal-dark); color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* 44px square: the minimum comfortable tap target. */
.nav-toggle {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 1px solid var(--line-2); cursor: pointer; padding: 0;
}
.nav-toggle:hover { border-color: var(--teal); }
.nav-bars { display: grid; gap: 4px; }
.nav-bars span { display: block; width: 20px; height: 2px; background: var(--navy); }
.nav-toggle[aria-expanded="true"] { background: var(--cream-2); border-color: var(--teal); }

.nav { display: none; width: 100%; flex-direction: column; gap: 0; }
.nav.open { display: flex; border-top: 1px solid var(--line); padding-top: 6px; margin-top: 10px; }
.nav a { font-size: 15px; font-weight: 600; color: var(--muted); padding: 10px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); }
.nav a[aria-current="page"] { box-shadow: inset 2px 0 0 var(--teal-bright); padding-left: 10px; }

/* ---- Hero ---- */
.hero { background: var(--navy); color: #e9e2d2; padding: 34px 0 32px; }
.hero-in { display: grid; gap: 26px; }
.hero h1 { font-size: 32px; color: #fff; margin-bottom: 14px; }
.hero p { font-size: 15px; line-height: 1.6; color: #b9c6cc; margin-bottom: 20px; }
.eyebrow { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-pale); margin-bottom: 12px; font-weight: 600; }
.eyebrow.light { color: var(--teal-pale); }
.section .eyebrow { color: var(--teal); }
.band .eyebrow { color: var(--teal-pale); }

.rating-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; }
.rating-text { font-size: 14px; color: #cdd8dc; }
.rating-text b { color: #fff; }
.section .rating-text { color: var(--muted); }
.section .rating-text b { color: var(--navy); }

.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-primary {
  display: inline-block; background: var(--teal-bright); color: var(--navy-deep);
  font-weight: 700; font-size: 15px; padding: 14px 22px;
}
.btn-primary:hover { background: #4fbdb5; color: var(--navy-deep); }
.btn-ghost {
  display: inline-block; border: 1px solid var(--teal-pale); color: #f0ebdd;
  font-weight: 600; font-size: 15px; padding: 13px 22px;
}
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ---- Lead form ---- */
.lead-card { background: var(--paper); border: 1px solid var(--line); padding: 20px 18px; color: var(--ink); }
.lead-title { font-family: 'Zilla Slab', serif; font-weight: 600; font-size: 20px; color: var(--navy); margin-bottom: 4px; }
.lead-sub { font-size: 13px; color: var(--dim); margin-bottom: 16px; line-height: 1.5; }
.lead-form { display: grid; gap: 10px; }
.field { display: grid; gap: 5px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--faint); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line-2); background: #fff; padding: 12px; font-size: 15px;
  font-family: 'Public Sans', sans-serif; color: var(--ink); width: 100%;
  text-transform: none; letter-spacing: 0; font-weight: 400;
}
.field textarea { resize: vertical; }
.field select { appearance: auto; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--danger); }
.field-error { font-size: 12.5px; color: var(--danger); font-weight: 600; margin-top: -4px; }
.consent {
  display: flex; gap: 9px; align-items: flex-start; font-size: 11px; line-height: 1.5;
  color: var(--faint); cursor: pointer;
}
.consent input { margin-top: 2px; accent-color: var(--teal); flex-shrink: 0; }
.consent-tag {
  display: inline-block; background: var(--cream-2); color: var(--muted); font-weight: 700;
  font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 6px; margin-right: 6px;
}
/* Honeypot: display:none so password managers will not autofill it. An
   off-screen but visible box gets filled by 1Password and silently killed
   every real submission. Some bots skip hidden fields, which is why a filled
   box now only flags the lead instead of dropping it. */
.hp { display: none; }
.lead-submit {
  background: var(--teal); color: var(--paper); border: none; font-family: 'Public Sans', sans-serif;
  font-weight: 700; font-size: 16px; padding: 14px; cursor: pointer; letter-spacing: .02em; margin-top: 4px;
}
.lead-submit:hover { background: var(--teal-dark); }
.lead-submit:disabled { background: var(--dim); cursor: default; }
.lead-fine { font-size: 12px; line-height: 1.5; color: var(--faint); margin: 0; }

.lead-state { text-align: left; padding: 22px 6px; }
.lead-badge {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-size: 20px; font-weight: 700; margin-bottom: 14px;
}
.lead-state.ok { background: var(--ok-bg); padding: 22px 18px; }
.lead-state.ok .lead-badge { background: var(--teal); color: #fff; }
.lead-state.bad { background: var(--danger-bg); padding: 22px 18px; border-left: 4px solid var(--danger); }
.lead-state.bad .lead-badge { background: var(--danger); color: #fff; }
.lead-state-title { font-family: 'Zilla Slab', serif; font-weight: 600; font-size: 20px; color: var(--navy); margin-bottom: 6px; }
.lead-state-body { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.lead-detail { font-size: 12px; color: var(--faint); margin-top: 10px; font-family: ui-monospace, Menlo, monospace; }

/* ---- Trust bar ---- */
.trust { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; }
.trust-grid { display: grid; gap: 14px 20px; }
.trust-item { display: flex; align-items: flex-start; gap: 10px; }
.trust-dot { width: 8px; height: 8px; background: var(--teal); transform: rotate(45deg); flex-shrink: 0; margin-top: 7px; }
.trust-item b { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy); line-height: 1.35; }
.trust-item span { display: block; font-size: 12.5px; color: var(--dim); line-height: 1.4; margin-top: 1px; }

/* ---- Sections ---- */
.section { padding: 40px 0; }
.section h2 { font-size: 26px; margin-bottom: 14px; }
.sec-lede { font-size: 15.5px; color: var(--muted); max-width: 46em; margin-bottom: 26px; }
.band { background: var(--navy); color: #e9e2d2; }
.band h2, .band h3 { color: #fff; }
.band .sec-lede, .band p { color: #b9c6cc; }
.sub-h { font-size: 19px; margin: 30px 0 12px; }
.inline-more { display: inline-block; font-weight: 700; font-size: 15px; margin-top: 22px; border-bottom: 2px solid var(--teal-bright); padding-bottom: 2px; }
.inline-more.light { color: var(--teal-pale); }
.inline-more.light:hover { color: #fff; }
.muted-note { font-size: 14px; color: var(--dim); }
.area-note { margin-top: 18px; font-size: 14px; color: var(--dim); }

/* ---- Breadcrumbs / page hero ---- */
.crumbs { background: var(--cream-2); border-bottom: 1px solid var(--line); font-size: 13px; padding: 10px 0; }
.crumbs .wrap { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.crumbs a { color: var(--dim); }
.crumbs a:hover { color: var(--navy); }
.crumbs span[aria-current] { color: var(--navy); font-weight: 600; }
.crumb-sep { color: var(--line-2); }
.page-hero { padding: 34px 0 26px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: 30px; }
.page-intro { font-size: 16.5px; color: var(--muted); max-width: 46em; margin-top: 14px; margin-bottom: 0; }

/* ---- Service cards ---- */
.svc-grid { display: grid; gap: 14px; }
.svc-card { background: var(--paper); border: 1px solid var(--line); display: block; color: var(--ink); }
.svc-card:hover { border-color: var(--teal-bright); color: var(--ink); }
.svc-media { border-bottom: 1px solid var(--line); background: var(--cream-2); }
.svc-media img { width: 100%; height: 170px; object-fit: cover; }
.svc-glyph { height: 110px; display: grid; place-items: center; color: var(--teal); background: var(--cream-2); }
.svc-icon { width: 40px; height: 40px; }
.svc-body { padding: 16px; }
.svc-body h3 { font-size: 18px; margin-bottom: 6px; }
.svc-body p { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin: 0 0 10px; }
.svc-more { font-size: 13px; font-weight: 700; color: var(--teal); }

/* Cards keep their own light-surface colours even inside a dark band, or the
   heading inherits `.band h3` and renders white on cream — i.e. invisible. */
.band .svc-card h3, .band .town-card h3, .band .gtee h3 { color: var(--navy); }
.band .svc-card p, .band .town-card p, .band .gtee p { color: var(--muted); }
.band .lead-card p, .band .lead-card .lead-sub { color: var(--dim); }
/* .lead-fine is a <p> inside the cream lead card, and the card sits inside .hero
   (and inside .band on interior pages). Both of those set a light-on-dark grey on
   bare `p`, which outranked the single-class .lead-fine rule and left this text at
   1.68:1 on cream. Two classes outrank `.hero p`, so this scoping settles it in
   every context the card appears in. */
.lead-card .lead-fine { color: var(--faint); }
/* Inline links in prose. The teal only reaches ~1.2:1 against the grey it sits
   in, well under the 3:1 that colour-alone requires, so every link inside a
   paragraph carries an underline as the non-colour cue. All 22 such links on
   the site are plain prose links; the button-styled ones are not inside <p>. */
.lead-card .lead-fine a { color: var(--teal-dark); }
p a { text-decoration: underline; }

/* ---- Reviews ---- */
.rev-grid { display: grid; gap: 14px; }
.rev-card { background: var(--paper); border: 1px solid var(--line); padding: 16px; margin: 0; }
.rev-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.rev-svc { font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.rev-card blockquote { margin: 0 0 10px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.rev-card blockquote::before { content: "\201C"; }
.rev-card blockquote::after { content: "\201D"; }
.rev-card figcaption { font-size: 13px; font-weight: 700; color: var(--navy); }
.rev-card figcaption span { font-weight: 400; color: var(--dim); }

/* ---- Steps ---- */
.steps { display: grid; gap: 0; }
.step { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--navy-line); }
.step:last-child { border-bottom: 1px solid var(--navy-line); }
.step-num { font-family: 'Zilla Slab', serif; font-weight: 700; font-size: 22px; color: var(--teal-bright); line-height: 1; flex-shrink: 0; }
.step-title { font-weight: 700; font-size: 15px; color: #fff; margin-bottom: 3px; }
.step-body { font-size: 13.5px; line-height: 1.55; color: #b9c6cc; }
.section:not(.band) .step { border-color: var(--line); }
.section:not(.band) .step-title { color: var(--navy); }
.section:not(.band) .step-body { color: var(--muted); }
.section:not(.band) .step-num { color: var(--teal); }

/* ---- Lists ---- */
.ticks, .crosses, .plain-list, .do-now { padding: 0; margin: 0 0 4px; list-style: none; }
.ticks li, .crosses li { position: relative; padding-left: 26px; margin-bottom: 9px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 700; }
.crosses li::before { content: "—"; position: absolute; left: 0; top: 0; color: var(--faint); font-weight: 700; }
.band .ticks li, .band .crosses li { color: #b9c6cc; }
.band .ticks li::before { color: var(--teal-bright); }
.plain-list li { font-size: 15px; color: var(--muted); margin-bottom: 6px; }
.do-now { counter-reset: n; }
.do-now li {
  counter-increment: n; position: relative; padding-left: 40px; margin-bottom: 16px;
  font-size: 15.5px; line-height: 1.6; color: var(--muted);
}
.do-now li::before {
  content: counter(n); position: absolute; left: 0; top: 1px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.do-now b { color: var(--navy); }

/* ---- Two column ---- */
.two-col { display: grid; gap: 28px; }
.side-card { align-self: start; }

/* ---- Chips ---- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line-2); background: var(--paper); font-size: 13px; color: var(--ink-2); padding: 7px 12px; }
a.chip:hover { border-color: var(--teal); color: var(--teal); }
.chips.plain .chip { background: var(--cream-2); }

/* ---- Town cards ---- */
.town-grid { display: grid; gap: 14px; }
.town-card { background: var(--paper); border: 1px solid var(--line); padding: 18px; display: block; color: var(--ink); }
.town-card:hover { border-color: var(--teal-bright); color: var(--ink); }
.town-card h3 { font-size: 19px; margin-bottom: 7px; }
.town-card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin-bottom: 10px; }
.local-note { margin-bottom: 22px; }
.local-note h3 { font-size: 17px; margin-bottom: 7px; }
.local-note p { font-size: 15px; color: var(--muted); line-height: 1.6; margin: 0; }

/* ---- Guarantees / licences ---- */
.gtee-grid, .lic-grid { display: grid; gap: 14px; }
.gtee { background: var(--paper); border: 1px solid var(--line); padding: 18px; }
.gtee h3 { font-size: 17px; margin-bottom: 7px; }
.gtee p { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0; }
.lic { background: rgba(255,255,255,.06); border: 1px solid var(--navy-line); padding: 18px; }
.lic-state { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-pale); margin-bottom: 6px; }
.lic-num { font-family: 'Zilla Slab', serif; font-size: 26px; font-weight: 700; color: #fff; }

/* ---- Service page hero image ---- */
.svc-hero-img { max-width: var(--wrap); margin: 0 auto; padding: 24px 20px 0; }
.svc-hero-img img { width: 100%; height: 240px; object-fit: cover; border: 1px solid var(--line); }

/* ---- Emergency hero ---- */
.emerg-hero { background: var(--navy-deep); color: #e9e2d2; padding: 40px 0; }
.emerg-hero h1 { color: #fff; font-size: 30px; margin-bottom: 14px; }
.emerg-hero p { font-size: 16px; color: #b9c6cc; max-width: 40em; margin-bottom: 22px; }
.btn-emerg {
  display: inline-block; background: var(--gold); color: var(--navy-deep);
  font-weight: 700; font-size: 19px; padding: 16px 30px; font-family: 'Zilla Slab', serif;
}
.btn-emerg:hover { background: #ffc25c; color: var(--navy-deep); }
.emerg-note { font-size: 13.5px; color: var(--teal-pale); margin-top: 14px; font-weight: 600; }

/* ---- FAQ ---- */
.faq-wrap .faq-list { border-top: 1px solid var(--line); max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 15px 0;
  font-weight: 700; font-size: 15.5px; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex-shrink: 0; width: 14px; height: 14px; position: relative; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--teal); transition: transform .15s;
}
.faq-icon::before { left: 0; top: 6px; width: 14px; height: 2px; }
.faq-icon::after { left: 6px; top: 0; width: 2px; height: 14px; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); }
.faq-a { font-size: 15px; line-height: 1.65; color: var(--muted); padding: 0 0 17px; max-width: 62em; }

/* ---- Contact ---- */
.big-phone { font-family: 'Zilla Slab', serif; font-size: 32px; font-weight: 700; color: var(--navy); display: inline-block; margin-bottom: 8px; }
.big-phone:hover { color: var(--teal); }

/* ---- Legal ---- */
.legal h2 { font-size: 21px; margin: 28px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p { font-size: 15.5px; color: var(--muted); line-height: 1.7; }

/* ---- Final CTA ---- */
.final-cta { background: var(--teal); color: var(--cream); padding: 40px 0; text-align: center; }
.final-cta h2 { font-size: 27px; color: #fff; margin-bottom: 8px; }
.final-cta p { font-size: 15px; color: #cfe5e2; margin: 0 auto 22px; max-width: 40em; }
.final-cta .cta-btns { display: flex; flex-direction: column; gap: 10px; max-width: 320px; margin: 0 auto; }
.final-cta .btn-primary { background: var(--cream); color: var(--teal); }
.final-cta .btn-primary:hover { background: #fff; color: var(--teal-dark); }
.final-cta .btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.cta-note { font-size: 13px; color: #cfe5e2; margin-top: 16px; }

/* ---- Footer ---- */
.site-footer { background: var(--navy); color: #8fa3ad; padding: 32px 0 20px; font-size: 14px; line-height: 1.6; }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; display: grid; gap: 26px; }
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.foot-mark { width: 28px; height: 28px; background: var(--navy-deep); display: grid; place-items: center; }
.foot-drop { width: 11px; height: 11px; background: var(--teal-bright); border-radius: 0 50% 50% 50%; transform: rotate(45deg); }
.foot-name { font-family: 'Zilla Slab', serif; font-weight: 700; font-size: 16px; color: #f0ebdd; }
.foot-blurb { font-size: 13.5px; color: #8fa3ad; max-width: 30em; }
.foot-phone { display: inline-block; font-family: 'Zilla Slab', serif; font-size: 21px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.foot-phone:hover { color: var(--teal-bright); }
.foot-hours { font-size: 13px; color: #8fa3ad; }
.foot-emerg { color: var(--teal-pale); font-weight: 600; margin-top: 4px; }
.foot-label { font-weight: 700; color: #cdd8dc; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.site-footer a { color: #a9bcc5; display: block; padding: 3px 0; font-size: 13.5px; }
.site-footer a:hover { color: #fff; }
.foot-legal {
  max-width: var(--wrap); margin: 22px auto 0; padding: 16px 20px 0;
  border-top: 1px solid var(--navy-line); font-size: 12px; color: #8297A2;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ---- Sticky mobile bar ---- */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border-top: 1px solid var(--line);
}
.sticky-call { background: var(--teal); color: var(--paper); font-weight: 700; font-size: 15px; text-align: center; padding: 16px 0; }
.sticky-call:hover { background: var(--teal-dark); color: #fff; }
.sticky-text { background: var(--navy); color: var(--cream); font-weight: 700; font-size: 15px; text-align: center; padding: 16px 0; }
.sticky-text:hover { background: var(--navy-deep); color: #fff; }

/* On the narrowest phones the brand tagline is 177px wide on its own and forces
   the header onto a second row. It is decorative here and is repeated in the
   footer and on the About page, so it goes rather than the phone number. */
@media (max-width: 560px) {
  .hdr-in { padding: 10px 16px; gap: 8px; }
  .brand { min-width: 0; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-drop { width: 12px; height: 12px; }
  .brand-tag { display: none; }
  .brand-name { font-size: 16px; white-space: nowrap; }
  .hdr-call { font-size: 13px; padding: 10px 11px; }
}

/* ---- Tablet ---- */
@media (min-width: 640px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .rev-grid { grid-template-columns: 1fr 1fr; }
  .town-grid { grid-template-columns: 1fr 1fr; }
  .gtee-grid { grid-template-columns: 1fr 1fr; }
  .lic-grid { grid-template-columns: 1fr 1fr; }
  .final-cta .cta-btns { flex-direction: row; justify-content: center; max-width: none; }
}

/* ---- Desktop ---- */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .sticky-bar { display: none; }

  .hdr-in { padding: 14px 20px; flex-wrap: nowrap; }
  .brand-name { font-size: 19px; }
  .nav-toggle { display: none; }
  /* Wins over .nav / .nav.open regardless of toggle state, so a menu left open
     on a phone does not render as a stacked column after a rotate or resize. */
  .nav {
    display: flex; flex-direction: row; width: auto; gap: 18px;
    border-top: none; padding-top: 0; margin-top: 0; order: 2;
  }
  .nav a { font-size: 14px; padding: 3px 0; }
  .nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--teal-bright); padding-left: 0; }
  .hdr-actions { order: 3; }
  .hdr-call { font-size: 15px; padding: 11px 17px; }

  .hero { padding: 56px 0; }
  /* Top-aligned, not centred: the quote form is roughly twice the height of the
     copy, so centring buries the headline ~230px down and leaves a dead navy
     band across the top of the fold. */
  .hero-in { grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; }
  .hero h1 { font-size: 44px; }
  .hero p { font-size: 16px; }

  .section { padding: 60px 0; }
  .section h2 { font-size: 32px; }
  .page-hero { padding: 44px 0 34px; }
  .page-hero h1 { font-size: 42px; }
  .emerg-hero { padding: 64px 0; }
  .emerg-hero h1 { font-size: 42px; }

  .trust { padding: 22px 0; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }

  .svc-grid { grid-template-columns: repeat(4, 1fr); }
  .svc-grid.all { grid-template-columns: repeat(4, 1fr); }
  .svc-media img { height: 150px; }
  .rev-grid { grid-template-columns: repeat(3, 1fr); }
  .town-grid { grid-template-columns: repeat(4, 1fr); }
  .gtee-grid { grid-template-columns: repeat(4, 1fr); }
  .lic-grid { grid-template-columns: repeat(2, 1fr); max-width: 640px; }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .step { flex-direction: column; gap: 10px; padding: 18px 0 0; border-top: 3px solid var(--teal-bright); }
  .step:last-child { border-bottom: none; }
  .section:not(.band) .step { border-top-color: var(--teal); }

  .two-col { grid-template-columns: 1.35fr .85fr; gap: 44px; align-items: start; }
  .two-col.reverse { grid-template-columns: .95fr 1.05fr; }

  .svc-hero-img img { height: 340px; }

  .foot-in { grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 30px; }
  .final-cta { padding: 60px 0; }
  .final-cta h2 { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
