/* Jeff's Plumbing — ad landing pages (/offers/...).
 * Standalone styles: these pages skip the WordPress theme CSS entirely so they
 * load fast on phones, where most ad clicks happen. The structure follows the
 * page the client's marketer asked us to model (offers.precisiontoday.com),
 * in Jeff's own colours. Mobile-first; breakpoints at 600 / 900 / 1000px.
 * --------------------------------------------------------------------------- */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/assets/fonts/Inter-VariableFont_slnt,wght.woff2') format('woff2');
}

:root {
  --navy: #0a2a5e;
  --navy-deep: #071d43;
  --blue: #023e8a;
  --sky: #0193c7;
  --sky-soft: #e8f5fc;
  --red: #d4202a;
  --red-dark: #b3161f;
  --gold: #ffb81c;
  --ink: #13213c;
  --text: #38445c;
  --muted: #5d6780;
  --line: #dce4f0;
  --soft: #f3f7fc;
  --shadow: 0 12px 32px rgba(10, 42, 94, .14);
  --head: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--text); font: 400 17px/1.6 var(--body); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .45em; font-family: var(--head); color: var(--ink); line-height: 1.08; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .7em 1.5em; border: 2px solid transparent; border-radius: 999px;
  font: 800 16px/1.1 var(--head); letter-spacing: .03em; text-transform: uppercase;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(212, 32, 42, .35); }
.btn--red:hover { background: var(--red-dark); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--blue); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--sky-soft); }
.btn--outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--lg { min-height: 58px; padding: .8em 1.7em; font-size: 18px; }
.btn--block { width: 100%; }

/* Header: no site menu, on purpose — every link here is a call or the form - */
.lp-header { position: relative; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.lp-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 76px; }
.lp-logo { width: auto; height: 58px; }
.lp-header__trust { display: none; margin: 0; }
.lp-header__ctas { display: flex; align-items: center; gap: 8px; }
.lp-header .btn { min-height: 46px; padding: .55em 1em; font-size: 14px; }
.lp-header .btn--red { min-width: 48px; padding: .55em .8em; }
.lp-call-text { display: none; }
@media (min-width: 900px) {
  .lp-header { position: sticky; top: 0; box-shadow: 0 2px 14px rgba(10, 42, 94, .08); }
  .lp-header__inner { min-height: 92px; }
  .lp-logo { height: 74px; }
  .lp-header__trust { display: block; text-align: center; font-size: 14px; line-height: 1.4; color: var(--muted); }
  .lp-header__trust strong { display: block; font: 800 19px/1.25 var(--head); color: var(--navy); }
  .lp-header .btn { min-height: 50px; padding: .65em 1.4em; font-size: 15px; }
  .lp-call-text { display: inline; }
  html { scroll-padding-top: 108px; }
}

/* Hero ------------------------------------------------------------------ */
.hero { position: relative; isolation: isolate; padding: 30px 0 64px; color: #fff; background: var(--navy) center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 29, 67, .94), rgba(10, 42, 94, .9)); }
.hero--water-heater { background-image: url('/assets/img/wh-hero.webp'); }
.hero--leak { background-image: url('/assets/img/leak-hero.webp'); }
.hero__grid { display: grid; gap: 28px; align-items: center; }
.eyebrow {
  display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .13); color: #d4ecfa;
  font: 700 13px/1.35 var(--head); letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow__more { display: none; }
@media (min-width: 600px) { .eyebrow__more { display: inline; } }
.hero h1 { color: #fff; font-size: clamp(33px, 8vw, 58px); font-weight: 900; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero__sub { max-width: 34em; color: #d9e6f7; font-size: 18px; }
.checks { display: grid; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 17px; line-height: 1.4; }
.checks .icon { margin-top: 1px; color: var(--gold); }
.hero__ctas { display: grid; gap: 12px; }
.hero__note { margin: 14px 0 0; color: #cfe0f5; font-size: 15px; }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 40px; }
@media (min-width: 600px) { .hero__ctas { display: flex; flex-wrap: wrap; } }
@media (min-width: 1000px) {
  .hero { padding: 56px 0 112px; }
  .hero::before { background: linear-gradient(100deg, rgba(7, 29, 67, .97) 0%, rgba(10, 42, 94, .93) 50%, rgba(10, 42, 94, .62) 100%); }
  .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); gap: 52px; }
  .hero__wave { height: 76px; }
}

/* Estimate form --------------------------------------------------------- */
.form-card { padding: 26px 22px; border-top: 6px solid var(--red); border-radius: 22px; background: #fff; color: var(--text); box-shadow: 0 24px 60px rgba(0, 0, 0, .28); }
.form-card h2 { margin-bottom: 6px; font-size: 29px; font-weight: 900; }
.form-card h2 span { color: var(--red); }
.form-card__sub { margin-bottom: 18px; color: var(--muted); font-size: 15.5px; }
.lead-form label { display: block; margin-bottom: 14px; color: var(--ink); font-weight: 700; font-size: 14.5px; }
.lead-form .opt { color: var(--muted); font-weight: 500; }
.lead-form input, .lead-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 13px 14px;
  border: 1.5px solid #cdd8e8; border-radius: 10px; background: #fbfdff;
  color: var(--ink); font: 500 16px/1.4 var(--body);
}
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(1, 147, 199, .22); }
.lead-form textarea { min-height: 84px; resize: vertical; }
.lead-form .hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lead-form__msg { margin: 12px 0 0; padding: 11px 14px; border-radius: 10px; font-size: 15px; line-height: 1.4; }
.lead-form__msg.is-ok { background: #e7f6e7; color: #1e6b1e; }
.lead-form__msg.is-error { background: #fdecea; color: #a12b2b; }
.form-card__fine { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; text-align: center; }
.form-card__fine a { color: var(--blue); font-weight: 600; }
@media (min-width: 1000px) { .form-card { padding: 30px 30px 26px; } }

/* Trust strip ----------------------------------------------------------- */
.trust { padding: 10px 0 40px; background: #fff; }
.trust__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.trust__item { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.trust__item .icon { width: 32px; height: 32px; color: var(--red); }
.trust__item strong { display: block; font: 900 21px/1.05 var(--head); color: var(--navy); }
.trust__item span { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.3; }
@media (max-width: 599px) {
  .trust__item { flex-direction: column; align-items: flex-start; gap: 8px; }
  .trust__item .icon { width: 28px; height: 28px; }
  .trust__item strong { font-size: 19px; }
}
@media (min-width: 900px) {
  .trust__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .trust__item { padding: 18px; }
  .trust__item strong { font-size: 24px; }
}

/* Sections -------------------------------------------------------------- */
.section { padding: 56px 0; }
.section--soft { background: var(--soft); }
.section-title { font-size: clamp(28px, 5.4vw, 44px); font-weight: 900; text-align: center; text-transform: uppercase; }
.section-title .red { color: var(--red); }
.section-sub { max-width: 44em; margin: 0 auto 32px; color: var(--muted); font-size: 17.5px; text-align: center; }
@media (min-width: 900px) { .section { padding: 84px 0; } }

/* Offers: coupon cards -------------------------------------------------- */
.offers__grid { display: grid; gap: 18px; }
.coupon {
  display: flex; flex-direction: column; align-items: center; padding: 30px 24px 26px;
  border-radius: 18px; background: #fff; text-align: center; box-shadow: 0 6px 20px rgba(10, 42, 94, .08);
  outline: 2px dashed #b4c3da; outline-offset: -10px;
}
.coupon__big { margin: 0; color: var(--red); font: italic 900 42px/1 var(--head); }
.coupon h3 { margin: 10px 0 6px; font-size: 21px; }
.coupon__text { flex: 1; margin: 0 0 18px; color: var(--muted); font-size: 15.5px; }
.offers__fine { margin: 20px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
@media (min-width: 860px) { .offers__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }

/* Service cards --------------------------------------------------------- */
.cards { display: grid; gap: 16px; }
.card { padding: 24px 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 4px 14px rgba(10, 42, 94, .05); }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 14px; background: var(--sky-soft); color: var(--blue); }
.card__icon .icon { width: 26px; height: 26px; }
.card h3 { margin-bottom: 6px; font-size: 21px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }

/* Warning signs (split layout) ------------------------------------------ */
.split { display: grid; gap: 32px; align-items: center; }
.split h2 { font-size: clamp(28px, 5vw, 42px); font-weight: 900; }
.split__media img { width: 100%; border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; }
.split__media--wide img { aspect-ratio: 3 / 2; }
.signs { display: grid; gap: 12px; margin: 0 0 26px; padding: 0; list-style: none; }
.signs li {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  color: var(--ink); font-weight: 600; font-size: 16.5px; line-height: 1.4;
}
.signs li span { display: block; margin-top: 2px; color: var(--muted); font-weight: 400; font-size: 15px; }
.signs .icon { margin-top: 1px; color: var(--red); }
.split__ctas { display: grid; gap: 12px; }
@media (min-width: 600px) { .split__ctas { display: flex; flex-wrap: wrap; } }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 60px; }
  .split--flip .split__media { order: -1; }
}

/* Emergency band: Jeff + the phone number ------------------------------- */
.emergency { overflow: hidden; background: var(--red); color: #fff; }
.emergency__inner { display: grid; align-items: end; }
.emergency__copy { padding: 44px 0 48px; text-align: center; }
.emergency h2 { color: #fff; font-size: clamp(29px, 5.2vw, 44px); font-style: italic; font-weight: 900; }
.emergency p { margin-bottom: 24px; color: #ffe2e3; font-size: 18px; }
.emergency__jeff { display: none; }
@media (min-width: 900px) {
  .emergency__inner { grid-template-columns: 260px minmax(0, 1fr); gap: 44px; }
  .emergency__jeff { display: block; width: 260px; margin-top: 26px; }
  .emergency__copy { padding: 56px 0; text-align: left; }
}

/* Why choose us --------------------------------------------------------- */
.why { background: var(--navy); color: #fff; }
.why .section-title { color: #fff; }
.why .section-title em { color: var(--gold); font-style: italic; }
.why .section-sub { color: #c4d3ea; }
.why__grid { display: grid; gap: 14px; }
.why__item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 16px; background: rgba(255, 255, 255, .06); }
.why__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: #fff; color: var(--red); }
.why__icon .icon { width: 24px; height: 24px; }
.why__item h3 { margin: 0 0 4px; color: #fff; font-size: 19px; }
.why__item p { margin: 0; color: #c9d6ec; font-size: 15.5px; }
@media (min-width: 760px) { .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .why__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }

/* Real-work gallery ----------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.gallery img { width: 100%; border-radius: 16px; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; margin: 0 auto; }
}

/* How it works (numbered steps) ----------------------------------------- */
.steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 26px 22px 22px 78px; border: 1px solid var(--line); border-radius: 18px; background: #fff; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 20px; top: 22px; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; font: 900 20px/1 var(--head);
}
.steps h3 { margin-bottom: 4px; font-size: 20px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }

/* Reviews --------------------------------------------------------------- */
.reviews { display: grid; gap: 16px; align-items: start; }
.review { display: flex; flex-direction: column; margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 4px 14px rgba(10, 42, 94, .05); }
.stars { display: flex; gap: 3px; margin-bottom: 12px; color: var(--gold); }
.stars .icon { width: 20px; height: 20px; }
.review blockquote { flex: 1; margin: 0 0 16px; color: var(--ink); font-size: 16.5px; line-height: 1.55; }
.review figcaption { color: var(--blue); font: 800 15px/1.2 var(--head); }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }

/* FAQ ------------------------------------------------------------------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; list-style: none; cursor: pointer; color: var(--ink); font: 800 18px/1.3 var(--head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--red); font: 900 28px/1 var(--head); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; }
.faq a { color: var(--blue); font-weight: 600; }

/* Service area ---------------------------------------------------------- */
.area { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.area li { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; }
.area .icon { width: 16px; height: 16px; color: var(--red); }
.area-note { margin: 0; color: var(--muted); font-size: 15px; text-align: center; }

/* Final call to action -------------------------------------------------- */
.final { background: linear-gradient(135deg, var(--navy-deep), var(--blue)); color: #fff; }
.final__grid { display: grid; gap: 30px; align-items: center; }
.final h2 { color: #fff; font-size: clamp(30px, 5.6vw, 48px); font-weight: 900; }
.final__copy p { color: #d3e1f5; font-size: 18px; }
.final .coupon { width: 100%; max-width: 420px; margin: 0 auto; }
@media (min-width: 900px) { .final__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 60px; } }

/* Footer ---------------------------------------------------------------- */
.lp-footer { padding: 34px 0 40px; border-top: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 14.5px; text-align: center; }
.lp-footer img { width: auto; height: 64px; margin: 0 auto 14px; }
.lp-footer p { margin: 0 0 6px; }
.lp-footer a { color: var(--blue); font-weight: 600; }

/* Sticky call bar on phones --------------------------------------------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); box-shadow: 0 -6px 20px rgba(10, 42, 94, .15);
}
.mbar .btn { min-height: 50px; padding: .6em .8em; font-size: 15px; }
body { padding-bottom: 76px; }
@media (min-width: 900px) {
  .mbar { display: none; }
  body { padding-bottom: 0; }
}

/* ===========================================================================
 * Main site (everything outside /offers/). Same design system as the ad
 * landing pages, plus site navigation, inner-page headers and a full footer.
 * ======================================================================== */

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.btn--sm { min-height: 46px; padding: .55em 1.1em; font-size: 14px; }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .85); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.icon-box { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--sky-soft); color: var(--blue); }
.icon-box .icon { width: 24px; height: 24px; }

/* Background photos for heroes (always under a navy gradient) */
.bg-home { background-image: url('/assets/img/home-hero.webp'); }
.bg-water-heater { background-image: url('/assets/img/wh-hero.webp'); }
.bg-leak { background-image: url('/assets/img/leak-hero.webp'); }
.bg-sewer { background-image: url('/assets/img/sewer-hero.webp'); }
.bg-commercial { background-image: url('/assets/img/commercial-hero.webp'); }
.bg-residential { background-image: url('/assets/img/residential-hero.webp'); }
.bg-general { background-image: url('/assets/img/general-hero.webp'); }

/* Top bar ------------------------------------------------------------------ */
.topbar { background: var(--navy-deep); color: #cfe0f5; font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar p { margin: 0; }
.topbar strong { color: #fff; }
.topbar__tag { display: none; }
.topbar__phone { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.topbar__phone .icon { width: 15px; height: 15px; color: var(--gold); }
@media (max-width: 599px) { .topbar__more { display: none; } }
@media (min-width: 1000px) { .topbar__tag { display: block; font-style: italic; } }

/* Site header + navigation ------------------------------------------------- */
.site-header { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 14px; min-height: 76px; }
.site-logo { flex: none; }
.site-logo img { width: auto; height: 58px; }
.site-header__ctas { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.site-header__book { display: none; }
.nav-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .i-close, .site-header.is-open .nav-toggle .i-open { display: none; }
.site-header.is-open .nav-toggle .i-close { display: block; }
.nav__list, .nav__sub { margin: 0; padding: 0; list-style: none; }
.nav__link { color: var(--ink); text-decoration: none; }
.nav__chev { width: 16px; height: 16px; }

@media (max-width: 1099px) {
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    max-height: calc(100vh - 140px); overflow-y: auto;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(10, 42, 94, .16);
  }
  .site-header.is-open .nav { display: block; max-height: calc(100dvh - 120px); }
  .site-header.is-open ~ .mbar { display: none; }
  .nav__list { padding: 6px 20px 22px; }
  .nav__item { position: relative; }
  .nav__link { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 14px 2px; border-bottom: 1px solid var(--line); font: 800 18px/1.2 var(--head); }
  .nav__item--has-sub > .nav__link { padding-right: 60px; }
  .nav__link[aria-current] { color: var(--red); }
  .nav__chev { display: none; }
  /* Services: the chevron button opens the grouped list in place */
  .nav__expand {
    position: absolute; top: 2px; right: 0; display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
    border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); cursor: pointer;
  }
  .nav__expand .icon { width: 22px; height: 22px; transition: transform .2s; }
  .nav__item--has-sub.is-expanded .nav__expand .icon { transform: rotate(180deg); }
  .nav__mega { display: none; padding: 4px 0 12px; border-bottom: 1px solid var(--line); }
  .nav__item--has-sub.is-expanded .nav__mega { display: block; }
  .nav__group-title { margin: 14px 0 2px; padding-left: 12px; color: var(--muted); font: 800 13px/1.3 var(--head); letter-spacing: .08em; text-transform: uppercase; }
  .nav__sub a { display: block; padding: 13px 2px 13px 12px; color: var(--text); font-weight: 600; text-decoration: none; }
  .nav__sub a[aria-current] { color: var(--red); }
  .nav__promo { display: none; }
  .nav__all { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 4px; padding-left: 12px; color: var(--red); font-weight: 800; text-decoration: none; }
  .nav__all .icon { width: 18px; height: 18px; }
  .nav__item--cta { padding-top: 14px; }
  .nav__item--cta + .nav__item--cta { padding-top: 10px; }
}
@media (min-width: 1100px) {
  .site-header { position: sticky; top: 0; box-shadow: 0 2px 14px rgba(10, 42, 94, .08); }
  .site-header__inner { min-height: 92px; gap: 18px; }
  .site-logo img { height: 74px; }
  .site-header__inner { position: relative; }
  .nav { margin-left: auto; }
  .nav__list { display: flex; align-items: center; gap: 2px; }
  .nav__link { display: inline-flex; align-items: center; gap: 5px; padding: 10px 13px; border-radius: 10px; font: 700 16.5px/1.2 var(--head); }
  .nav__link:hover, .nav__link[aria-current] { color: var(--red); }
  .nav__expand { display: none; }
  /* Services mega menu: spans the header, anchored to .site-header__inner */
  .nav__mega {
    display: none; position: absolute; top: 100%; left: 20px; right: 20px; z-index: 5;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 250px; gap: 0 24px; padding: 24px 26px 18px;
    border: 1px solid var(--line); border-top: 0; border-radius: 0 0 20px 20px; background: #fff; box-shadow: var(--shadow);
  }
  .nav__mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 34px; } /* keeps hover alive between link and panel */
  .nav__item--has-sub:hover .nav__mega, .nav__item--has-sub:focus-within .nav__mega { display: grid; }
  .nav__group + .nav__group { margin-top: 16px; }
  .nav__group-title { margin: 0 0 6px; padding: 0 12px; color: var(--red); font: 800 13px/1.3 var(--head); letter-spacing: .08em; text-transform: uppercase; }
  .nav__sub a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-weight: 600; text-decoration: none; }
  .nav__sub a:hover, .nav__sub a[aria-current] { background: var(--soft); color: var(--red); }
  .nav__promo { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding: 22px; border-radius: 16px; background: var(--navy); color: #fff; }
  .nav__promo strong { font: italic 900 22px/1.15 var(--head); }
  .nav__promo p { margin: 0; color: #c9d6ec; font-size: 15px; line-height: 1.45; }
  .nav__all { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 6px; justify-self: start; margin: 14px 0 0 12px; color: var(--red); font: 800 14.5px/1 var(--head); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
  .nav__all .icon { width: 18px; height: 18px; }
  .nav__item--cta { display: none; }
  .site-header__ctas { margin-left: 6px; }
  .site-header__book { display: inline-flex; }
  .nav-toggle { display: none; }
  html { scroll-padding-top: 108px; }
}

/* Inner-page header -------------------------------------------------------- */
.page-hero { position: relative; isolation: isolate; padding: 30px 0 72px; color: #fff; background-color: var(--navy); background-position: center; background-size: cover; background-repeat: no-repeat; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(7, 29, 67, .96) 0%, rgba(10, 42, 94, .88) 100%); }
.page-hero h1 { max-width: 18em; color: #fff; font-size: clamp(32px, 6.6vw, 54px); font-weight: 900; }
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero__sub { max-width: 40em; color: #d9e6f7; font-size: 18px; }
.page-hero .hero__ctas { margin-top: 6px; }
.crumbs { margin: 0 0 14px; color: #b9cce6; font-size: 14px; }
.crumbs a { color: #fff; font-weight: 600; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { margin: 0 7px; opacity: .55; }
@media (min-width: 1000px) { .page-hero { padding: 52px 0 104px; } }

/* Home hero: Jeff stands in front of the wave ------------------------------ */
.hero__person { display: none; }
@media (min-width: 1000px) {
  .hero--home { padding-bottom: 0; }
  .hero--home .hero__grid { align-items: end; }
  .hero--home .hero__copy { padding-bottom: 120px; }
  .hero__person { position: relative; z-index: 1; display: block; justify-self: center; width: 100%; max-width: 380px; margin-bottom: -40px; }
  .hero__person img { width: 100%; }
  .hero__badge {
    position: absolute; left: -18px; top: 26%; display: grid; place-items: center; width: 146px; height: 146px;
    border: 5px solid #fff; border-radius: 50%; background: var(--red); color: #fff; text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .3); transform: rotate(-8deg);
  }
  .hero__badge strong { display: block; font: italic 900 40px/1 var(--head); }
  .hero__badge span { display: block; max-width: 8.4em; margin: 0 auto; font: 800 13px/1.15 var(--head); text-transform: uppercase; letter-spacing: .02em; }
}

/* Long-form copy ----------------------------------------------------------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; font-size: clamp(26px, 4vw, 34px); font-weight: 900; }
.prose h3 { margin-top: 1.3em; font-size: 22px; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--blue); font-weight: 600; }
.prose strong { color: var(--ink); }
.lead { color: var(--ink); font-size: 19px; }
.kicker { margin: 0 0 8px; color: var(--red); font: 800 14px/1.3 var(--head); letter-spacing: .1em; text-transform: uppercase; }
.why .kicker, .final .kicker { color: var(--gold); }

/* Check-mark list for content ---------------------------------------------- */
.ticks { display: grid; gap: 10px; margin: 0 0 1.4em; padding: 0; list-style: none; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 600; }
.ticks .icon { margin-top: 2px; color: var(--red); }
@media (min-width: 700px) { .ticks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; } }

/* Service photo cards ------------------------------------------------------ */
.svc-grid { display: grid; gap: 18px; }
.svc-card {
  display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 18px;
  background: #fff; color: inherit; text-decoration: none; box-shadow: 0 6px 20px rgba(10, 42, 94, .07);
  transition: transform .15s, box-shadow .15s;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.svc-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-card__body { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 22px; }
.svc-card h3 { margin-bottom: 6px; font-size: 22px; }
.svc-card p { flex: 1; margin-bottom: 14px; color: var(--muted); font-size: 16px; }
.svc-card__more { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font: 800 14.5px/1 var(--head); letter-spacing: .04em; text-transform: uppercase; }
.svc-card__more .icon { width: 18px; height: 18px; }
@media (min-width: 700px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.svc-grid--compact .svc-card img { aspect-ratio: 16 / 9; }
.svc-grid--compact .svc-card h3 { font-size: 19px; }
@media (min-width: 1000px) { .svc-grid--compact { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; } .svc-grid--compact .svc-card__body { padding: 16px; } .svc-grid--compact .svc-card p { display: none; } }

/* Section helpers ---------------------------------------------------------- */
.section-head { margin-bottom: 30px; text-align: center; }
.section-head .section-sub { margin-bottom: 0; }
.center-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.split--top { align-items: start; }
.split .ticks { margin-bottom: 26px; }
.emergency--plain .emergency__inner { grid-template-columns: minmax(0, 1fr); }
.emergency--plain .emergency__copy { text-align: center; }
.cards--4 { }
@media (min-width: 1000px) { .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card ul { margin: 10px 0 0; padding-left: 1.15em; color: var(--muted); font-size: 15.5px; }
.card li { margin-bottom: 4px; }

/* About: facts at a glance ------------------------------------------------- */
.facts { display: grid; gap: 14px; }
.fact { padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.fact h3 { margin-bottom: 8px; color: var(--muted); font: 800 13.5px/1.3 var(--head); letter-spacing: .09em; text-transform: uppercase; }
.fact p { margin: 0; color: var(--ink); font-weight: 600; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pills li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); color: var(--ink); font-weight: 600; font-size: 14.5px; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Contact ------------------------------------------------------------------ */
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.contact-card h3 { margin-bottom: 4px; font-size: 18px; }
.contact-card p { margin: 0; }
.contact-card > div { min-width: 0; }
.contact-card a { color: var(--blue); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-card a:hover { text-decoration: underline; }
@media (min-width: 700px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.area-lines { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.area-lines li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.area-lines span { color: var(--text); font-weight: 600; }
.area-lines a { color: var(--blue); font: 800 18px/1.2 var(--head); text-decoration: none; white-space: nowrap; }
.area-lines .is-main { border-color: var(--navy); background: var(--navy); }
.area-lines .is-main span { color: #cfe0f5; }
.area-lines .is-main a { color: #fff; }
.office-lines { margin: 16px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
.office-lines a { color: inherit; }
@media (min-width: 800px) { .area-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.skyline { width: 100%; max-width: 560px; margin: 0 auto 26px; opacity: .9; }

/* Video, single testimonial ------------------------------------------------ */
.video { overflow: hidden; border-radius: 20px; background: #000; box-shadow: var(--shadow); }
.video video { display: block; width: 100%; height: auto; }
.video--vertical { max-width: 360px; margin: 0 auto; }
.video-caption { max-width: 360px; margin: 12px auto 0; color: var(--muted); font-size: 15px; text-align: center; }
.quote { margin: 0; padding: 30px 26px; border-left: 6px solid var(--red); border-radius: 18px; background: #fff; box-shadow: 0 6px 20px rgba(10, 42, 94, .07); }
.quote blockquote { margin: 0 0 14px; color: var(--ink); font-size: 18.5px; line-height: 1.6; }
.quote figcaption { color: var(--blue); font: 800 16px/1.2 var(--head); }

/* Forms on light backgrounds ----------------------------------------------- */
.form-card--flat { box-shadow: var(--shadow); }
.lead-form select {
  display: block; width: 100%; margin-top: 6px; padding: 13px 40px 13px 14px; appearance: none;
  border: 1.5px solid #cdd8e8; border-radius: 10px; color: var(--ink); font: 500 16px/1.4 var(--body);
  background: #fbfdff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313213c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 14px;
}
.lead-form select:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(1, 147, 199, .22); }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 600px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.req { color: var(--red); }

/* Call-to-action band, shown above the footer ------------------------------ */
.cta-band { background: var(--red); color: #fff; }
.cta-band__inner { display: grid; gap: 20px; align-items: center; padding-top: 42px; padding-bottom: 42px; text-align: center; }
.cta-band h2 { margin: 0 0 6px; color: #fff; font-size: clamp(26px, 4.6vw, 38px); font-style: italic; font-weight: 900; }
.cta-band p { margin: 0; color: #ffe2e3; font-size: 17.5px; }
.cta-band .hero__ctas { justify-content: center; }
@media (min-width: 900px) {
  .cta-band__inner { grid-template-columns: minmax(0, 1fr) auto; text-align: left; }
  .cta-band .hero__ctas { justify-content: flex-end; }
}

/* Site footer -------------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: #c3d1e8; font-size: 15.5px; }
.site-footer__grid { display: grid; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.site-footer__logo { display: inline-block; margin-bottom: 16px; padding: 10px 14px; border-radius: 16px; background: #fff; }
.site-footer__logo img { width: auto; height: 70px; }
.site-footer__tag { margin-bottom: 8px; color: #fff; font: italic 800 20px/1.25 var(--head); }
.site-footer p { margin: 0 0 8px; }
.site-footer h2 { margin-bottom: 14px; color: #fff; font: 800 14.5px/1.3 var(--head); letter-spacing: .1em; text-transform: uppercase; }
.site-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .btn { margin-top: 10px; }
.site-footer .btn:hover { text-decoration: none; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { margin-top: 3px; color: var(--gold); }
.site-footer__bottom { padding: 18px 0 22px; border-top: 1px solid rgba(255, 255, 255, .12); color: #9fb2cf; font-size: 13.5px; text-align: center; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: #fff; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.35fr 1fr 1fr 1.35fr; } }

/* Legal copy (privacy policy) ---------------------------------------------- */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { margin-top: 1.6em; color: var(--blue); font-size: 26px; }
.legal h3 { margin-top: 1.4em; color: var(--blue); font-size: 20px; }
.legal h4 { margin: 1.3em 0 .4em; color: var(--ink); font: 700 17px/1.3 var(--head); }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: .5em; }
.legal a { color: var(--blue); font-weight: 600; }
.legal__updated { color: var(--muted); font-size: 15px; }

/* Thank-you page ----------------------------------------------------------- */
.next-steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.next-steps li { position: relative; padding: 18px 20px 18px 74px; border: 1px solid var(--line); border-radius: 16px; background: #fff; counter-increment: step; }
.next-steps li::before {
  content: counter(step); position: absolute; left: 18px; top: 18px; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font: 900 19px/1 var(--head);
}
.next-steps strong { display: block; color: var(--ink); font: 800 18px/1.3 var(--head); }

/* Small utilities ---------------------------------------------------------- */
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--navy); font-weight: 700; }
.skip:focus { left: 16px; }
.gallery--wide img { aspect-ratio: 4 / 3; }
.split__media--person img {
  max-width: 400px; margin: 0 auto; border-radius: 0; box-shadow: none; aspect-ratio: auto; object-fit: contain;
  background: radial-gradient(circle at 50% 56%, var(--sky-soft) 0 57%, transparent 58%);
}
.kicker--center { text-align: center; }
.video-caption--wide { max-width: none; }
.mt-lg { margin-top: 28px; }
.mt-md { margin: 18px 0 0; }

/* Reviews page: staggered columns so long and short reviews pack together */
.reviews--masonry { display: block; columns: 3 300px; column-gap: 22px; }
.reviews--masonry .review { margin-bottom: 22px; break-inside: avoid; }
@media (max-width: 599px) {
  .hero__sub, .page-hero__sub { font-size: 16.5px; }
  .checks li { font-size: 16px; }
}

/* Touch targets: links people tap on phones and tablets get at least 44px of
 * height. Padding with a matching negative margin grows the tap area without
 * moving anything on screen. */
@media (max-width: 1099px) {
  .site-footer ul { gap: 0; }
  .site-footer ul a, .site-footer__contact a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
  .site-footer__contact li { align-items: center; min-height: 44px; }
  .site-footer__contact .icon { margin-top: 0; }
  .site-footer__bottom a { display: inline-block; padding: 12px 2px; margin: -12px 0; }
  .topbar__phone { padding: 12px 0; margin: -12px 0; }
  .area-lines a { padding: 12px 0; margin: -12px 0; }
  .contact-card a { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .office-lines a { display: inline-block; padding: 12px 2px; margin: -12px 0; }
}
/* iPad landscape and small laptops: the two-column hero is narrow, so the
 * headline steps down a size instead of wrapping onto five lines. */
@media (min-width: 1000px) and (max-width: 1199px) {
  .hero h1 { font-size: 46px; }
  .page-hero h1 { font-size: 48px; }
}

/* Service detail pages (Oct 2026) ------------------------------------------ */
.bg-emergency { background-image: url('/assets/img/emergency-hero.webp'); }
.bg-drain { background-image: url('/assets/img/drain-hero.webp'); }
.bg-hydro { background-image: url('/assets/img/hydro-hero.webp'); }
.bg-trenchless { background-image: url('/assets/img/trenchless-hero.webp'); }
.bg-camera { background-image: url('/assets/img/camera-hero.webp'); }
.bg-tankless { background-image: url('/assets/img/tankless-hero.webp'); }
.bg-hoa { background-image: url('/assets/img/hoa-hero.webp'); }

/* "Learn more" link at the foot of a service card */
.card__link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 8px;
  color: var(--red); font: 800 14.5px/1.2 var(--head); letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
}
.card__link .icon { width: 18px; height: 18px; }
.card__link:hover { text-decoration: underline; }

/* Related-service cards: two across on phones, five across on desktop */
.svc-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.svc-grid--compact .svc-card p { display: none; }
.svc-grid--compact .svc-card__body { padding: 12px 14px 14px; }
.svc-grid--compact .svc-card h3 { font-size: 16.5px; }
.svc-grid--compact .svc-card__more { font-size: 13px; }
@media (min-width: 700px) { .svc-grid--compact { gap: 16px; } .svc-grid--compact .svc-card h3 { font-size: 18px; } }

/* Services hub: one block per group */
.svc-group + .svc-group { margin-top: 56px; }
.svc-group__title { margin-bottom: 18px; font-size: clamp(24px, 4vw, 32px); font-weight: 900; }
.svc-group__title span { color: var(--red); }

/* Home: quick links to popular services */
.pill-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.pill-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none;
}
.pill-links a:hover { border-color: var(--red); color: var(--red); }
@media (min-width: 1000px) { .svc-grid--compact { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Keep phone numbers on one line */
.nowrap { white-space: nowrap; }

/* Services hub: the two-service groups share a row on desktop */
.svc-group-row + .svc-group { margin-top: 56px; }
.svc-group-row .svc-group + .svc-group { margin-top: 56px; }
@media (min-width: 1000px) {
  .svc-group-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .svc-group-row .svc-group + .svc-group { margin-top: 0; }
  .svc-group-row .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}

/* Mega menu call-out: number on one line */
@media (min-width: 1100px) {
  .nav__mega { grid-template-columns: repeat(3, minmax(0, 1fr)) 262px; }
  .nav__promo .btn { padding: .7em 1.05em; font-size: 15px; white-space: nowrap; }
}

/* Buttons may wrap between words ("Call" / the number) when space is very
 * tight, but never inside the number itself. */
.btn { flex-wrap: wrap; row-gap: .25em; }
@media (max-width: 374px) {
  .btn--lg { padding: .75em 1.1em; font-size: 16px; }
}

/* Even out heading line lengths so a word like "24/7." never sits alone on the
 * last line. Browsers without support just wrap normally. */
h1, h2, h3, .coupon__big { text-wrap: balance; }
