/* 2 Sons Plumbing & Sewer — BND mockup
   Tokens are ACSS-mappable. One container, one gutter token. */

:root {
  /* Brand (sampled from the 2026 logo) */
  --primary: #3a6fb0;        /* 2 Sons blue */
  --primary-dark: #2b568c;
  --green: #00b336;          /* sewer green, deepened for contrast */
  --green-bright: #00c030;   /* badge accent */
  --green-dark: #008f2b;
  --ink: #22272b;            /* gunmetal, from the pipe-gray family */
  --ink-2: #2e3438;
  --steel: #6e7377;          /* pipe gray */
  --text: #2a2f33;
  --text-muted: #5c6469;
  --bg: #ffffff;
  --bg-light: #f2f4f6;
  --bg-blue-tint: #eef3f9;
  --line: #dde3e8;
  --amber: #f6a821;

  /* Type */
  --font-display: "Archivo Black", "Archivo", sans-serif;
  --font-body: "Barlow", sans-serif;

  /* Layout: ONE gutter token */
  --gutter: clamp(20px, 4vw, 40px);
  --container: 1200px;
  --radius: 14px;
  --radius-pill: 800px;
  --shadow-card: 0 6px 24px rgba(34, 39, 43, 0.10);
  --shadow-btn: 0 4px 14px rgba(34, 39, 43, 0.22);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  font-size: 16.5px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

h1, h2, h3, h4, .display { font-family: var(--font-display); font-weight: 400; line-height: 1.12; color: var(--ink); letter-spacing: 0.2px; }

.section { padding: clamp(52px, 6.5vw, 84px) 0; }
.section--light { background: var(--bg-light); }
.section--tint { background: var(--bg-blue-tint); }
.section--dark { background: var(--ink); color: #dfe5e9; }
.section--dark h2, .section--dark h3 { color: #fff; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  letter-spacing: 2.2px; text-transform: uppercase; color: var(--primary);
  margin-bottom: 14px;
}
.kicker::before { content: ""; width: 34px; height: 3px; background: var(--green); }
.section--dark .kicker { color: #8fc1f5; }

.h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.lede { font-size: clamp(17px, 2vw, 19.5px); color: var(--text-muted); max-width: 720px; }
.section--dark .lede { color: #b9c2c8; }

/* ---------- Buttons: chunky, uppercase, real shadow ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 800; font-size: 15.5px;
  letter-spacing: 1.1px; text-transform: uppercase;
  padding: 17px 30px; border-radius: var(--radius-pill);
  border: 0; cursor: pointer; box-shadow: var(--shadow-btn);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(34,39,43,0.3); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); }
.btn--blue { background: var(--primary); color: #fff; }
.btn--blue:hover { background: var(--primary-dark); }
.btn--white { background: #fff; color: var(--ink); box-shadow: 0 4px 14px rgba(0,0,0,0.25); }
.btn--white:hover { background: #eef3f9; }
.btn svg { flex: 0 0 auto; }

/* ---------- Slim top strip (merged utility + county bar) ---------- */
.topstrip { background: var(--ink); color: #c8cfd4; font-size: 13px; font-weight: 600; letter-spacing: 0.3px; }
.topstrip .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topstrip strong { color: #fff; font-weight: 700; }
.topstrip__right { display: flex; gap: 18px; align-items: center; white-space: nowrap; }
.topstrip__counties a { color: #8fd6a5; font-weight: 700; padding: 2px 4px; }
.topstrip__counties a:hover { color: #fff; }
.topstrip__phone { color: #fff; font-weight: 800; }
.topstrip__phone:hover { color: #8fd6a5; }

/* ---------- Legacy utility bar (unused after chrome merge) ---------- */
.utility {
  background: var(--ink); color: #c8cfd4; font-size: 13.5px; font-weight: 600;
  letter-spacing: 0.4px;
}
.utility .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.utility strong { color: #fff; font-weight: 700; }
.utility__right { display: flex; gap: 18px; align-items: center; white-space: nowrap; }
.utility__lic { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- County/geo bar (the Parker geo-detect analog) ---------- */
.geobar { background: var(--primary); color: #fff; font-size: 14px; font-weight: 700; }
.geobar .container { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 40px; flex-wrap: nowrap; }
.geobar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.geobar a:hover { color: #d3f9de; }
.geobar__short { display: none; }
@media (max-width: 768px) {
  .geobar__long { display: none; }
  .geobar__short { display: inline; white-space: nowrap; }
}

/* ---------- Header ---------- */
.header { background: #fff; position: relative; z-index: 60; }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.header__logo img { width: clamp(150px, 16vw, 210px); height: auto; }
.header__proof { display: flex; align-items: center; gap: 18px; }
.proof-cluster { display: flex; align-items: center; gap: 10px; }
.proof-cluster__seal { height: 44px; width: auto; }
.proof-cluster__score { line-height: 1.15; font-size: 13px; color: var(--text-muted); font-weight: 600; }
.proof-cluster__score strong { display: block; font-size: 17px; color: var(--ink); }
.stars { color: var(--amber); letter-spacing: 1px; font-size: 13px; }
.header__ctas { display: flex; gap: 12px; align-items: center; }
.header__ctas .btn { padding: 13px 22px; font-size: 14px; }

/* Sticky nav: single clean white header */
.nav { background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 70; border-bottom: 1px solid var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 18px; }
.nav__brand { display: flex; align-items: center; }
.nav__brand img { height: 46px; width: auto; }
.nav__list { display: flex; list-style: none; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700;
  font-size: 15px; padding: 26px 12px; letter-spacing: 0.3px; white-space: nowrap;
}
.nav__link:hover { color: var(--primary); }
.nav__link .car { font-size: 10px; opacity: 0.7; }
.nav__dd {
  position: absolute; top: 100%; left: 0; background: #fff; min-width: 258px;
  border-radius: 0 0 10px 10px; box-shadow: 0 18px 38px rgba(0,0,0,0.22);
  list-style: none; padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  border-top: 3px solid var(--green);
}
.nav__item:hover .nav__dd, .nav__item:focus-within .nav__dd { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dd a { display: block; padding: 9px 18px; color: var(--text); font-weight: 600; font-size: 14.5px; }
.nav__dd a:hover { background: var(--bg-blue-tint); color: var(--primary); }
.nav__dd .dd-head { padding: 9px 18px 4px; font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--steel); font-weight: 800; }
.nav__ctas { display: flex; gap: 12px; align-items: center; }
.nav__ctas .btn { padding: 13px 24px; font-size: 14px; }
.nav__phone { color: var(--ink); font-weight: 800; font-size: 15.5px; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.nav__phone svg { color: var(--primary); }
.nav__phone:hover { color: var(--primary); }
.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 10px; z-index: 95; }
.hamburger span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Mobile drawer ---------- */
.drawer {
  position: fixed; inset: 0; background: var(--ink); z-index: 90;
  transform: translateX(103%); transition: transform 0.3s ease, visibility 0s linear 0.3s;
  visibility: hidden; display: flex; flex-direction: column; overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); visibility: visible; transition: transform 0.3s ease; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--gutter); border-bottom: 1px solid rgba(255,255,255,0.12); }
.drawer__head img { height: 40px; width: auto; }
.drawer__close { background: none; border: 0; color: #fff; font-size: 30px; cursor: pointer; line-height: 1; padding: 6px; }
.drawer__nav { padding: 8px 0; flex: 1; }
.drawer__group { border-bottom: 1px solid rgba(255,255,255,0.08); }
.drawer__toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: none; border: 0; color: #fff; font-family: var(--font-body); font-weight: 700;
  font-size: 17px; padding: 16px var(--gutter); cursor: pointer;
}
.drawer__toggle .car { transition: transform 0.2s ease; font-size: 12px; opacity: 0.7; }
.drawer__group.is-open .drawer__toggle .car { transform: rotate(180deg); }
.drawer__panel { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.drawer__group.is-open .drawer__panel { max-height: 520px; }
.drawer__panel a { display: block; color: #b9c2c8; font-size: 15.5px; font-weight: 600; padding: 10px calc(var(--gutter) + 14px); }
.drawer__panel a:hover { color: #8fd6a5; }
.drawer__link { display: block; color: #fff; font-weight: 700; font-size: 17px; padding: 16px var(--gutter); }
.drawer__foot { padding: 18px var(--gutter) 28px; border-top: 1px solid rgba(255,255,255,0.12); display: grid; gap: 12px; }
.drawer__foot .btn { width: 100%; }
.drawer__call { text-align: center; color: #fff; font-size: 21px; font-weight: 800; }
.drawer__hours { text-align: center; color: #b9c2c8; font-size: 14px; }
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 80; opacity: 0; visibility: hidden; transition: opacity 0.25s ease; }
.scrim.is-open { opacity: 1; visibility: visible; }
body.drawer-locked { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 40%; }
.hero__scrim { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(92deg, rgba(20,26,31,0.92) 0%, rgba(20,26,31,0.82) 34%, rgba(20,26,31,0.42) 62%, rgba(20,26,31,0.12) 100%); }
.hero .container { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.hero__card { max-width: 620px; }
.hero__h1 {
  color: #9fd3ff; font-family: var(--font-body); font-weight: 800; font-size: clamp(13px, 1.5vw, 15px);
  letter-spacing: 2.4px; text-transform: uppercase; margin-bottom: 14px;
}
.hero__headline { font-family: var(--font-display); color: #fff; font-size: clamp(34px, 5.4vw, 58px); line-height: 1.08; margin-bottom: 22px; }
.hero__headline .u-green { color: var(--green-bright); }
.hero__bullets { list-style: none; margin-bottom: 28px; display: grid; gap: 11px; }
.hero__bullets li { display: flex; gap: 12px; align-items: flex-start; color: #e8edf1; font-size: clamp(15.5px, 1.8vw, 17.5px); font-weight: 600; }
.hero__bullets .tick { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 900; margin-top: 2px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero__chips { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__proof { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.hero__proof > span { background: #fff; border-radius: 12px; padding: 9px 14px; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 8px 22px rgba(0,0,0,0.32); }
.hero__proof img { height: 40px; width: auto; }
.hero__proof .gpill { line-height: 1.15; font-size: 12px; color: var(--text-muted); font-weight: 700; }
.hero__proof .gpill strong { display: block; font-size: 16px; color: var(--ink); }
.hero__proof .gpill .g { font-family: var(--font-display); font-size: 22px; color: var(--primary); margin-right: 8px; }

/* ---------- Stat band ---------- */
.stats { background: var(--primary); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 30px; padding-bottom: 30px; }
.stat { text-align: center; color: #d7e6f7; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px); color: #fff; line-height: 1.1; }
.stat strong span { font: inherit; }
.stat span { font-size: 13.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }

/* ---------- Service silos ---------- */
.silos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.silo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.silo:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(34,39,43,0.16); }
.silo__head { background: var(--ink); color: #fff; padding: 20px 24px; display: flex; align-items: center; gap: 14px; }
.silo__head svg { flex: 0 0 auto; }
.silo__head h3 { color: #fff; font-size: 20px; }
.silo__body { padding: 20px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.silo__body p { color: var(--text-muted); font-size: 15.5px; margin-bottom: 14px; }
.silo__links { list-style: none; margin-bottom: 18px; display: grid; gap: 4px; }
.silo__links a { color: var(--text); font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 11px; padding: 5px 8px; border-radius: 8px; transition: background 0.15s ease, color 0.15s ease; }
.silo__links a:hover { background: var(--bg-blue-tint); color: var(--primary); }
.silo__links .sicon { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 9px; background: #e8f1ea; color: var(--green-dark); display: inline-flex; align-items: center; justify-content: center; }
.silo__links .sicon svg { width: 18px; height: 18px; }
.silo__more { margin-top: auto; font-weight: 800; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--primary); }
.silo__more:hover { color: var(--green-dark); }

/* ---------- Coverage / county architecture ---------- */
.counties { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.county { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 24px 22px; border-top: 5px solid var(--green); }
.county h3 { font-size: 21px; margin-bottom: 6px; }
.county__tag { font-size: 13.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.county__cities { display: flex; flex-wrap: wrap; gap: 8px; }
.city { background: var(--bg-blue-tint); border: 1px solid var(--line); color: var(--text); font-size: 13.5px; font-weight: 600; padding: 6px 12px; border-radius: var(--radius-pill); white-space: nowrap; }

/* ---------- Story split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); position: relative; }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split__media figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(20,26,31,0.85)); color: #e8edf1; font-size: 13px; font-weight: 600; padding: 26px 18px 12px; }
.checklist { list-style: none; display: grid; gap: 12px; margin-top: 20px; }
.checklist li { display: flex; gap: 12px; font-weight: 600; align-items: flex-start; }
.checklist .tick { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 900; margin-top: 3px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; counter-reset: step; }
.step { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: 38px; color: var(--green-bright);
  display: block; margin-bottom: 10px; line-height: 1;
}
.step h3 { font-size: 17.5px; margin-bottom: 8px; color: #fff; }
.step p { font-size: 14.5px; color: #c3ccd2; }

/* ---------- Reviews ---------- */
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.gbadge { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 18px; box-shadow: var(--shadow-card); }
.gbadge__g { font-family: var(--font-display); font-size: 26px; color: var(--primary); }
.gbadge__meta { line-height: 1.2; font-size: 13px; color: var(--text-muted); font-weight: 600; }
.gbadge__meta strong { display: block; font-size: 16.5px; color: var(--ink); }
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 36px; }
.review { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 26px; }
.review .stars { font-size: 15px; margin-bottom: 12px; }
.review blockquote { font-size: 15.5px; color: var(--text); margin-bottom: 16px; }
.review figcaption { font-weight: 800; font-size: 14.5px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.review figcaption .vbadge { font-size: 11.5px; font-weight: 700; letter-spacing: 0.8px; color: var(--green-dark); background: #e5f8eb; padding: 3px 9px; border-radius: var(--radius-pill); text-transform: uppercase; }

/* ---------- CTA band ---------- */
.ctaband { position: relative; isolation: isolate; overflow: hidden; }
.ctaband__bg { position: absolute; inset: 0; z-index: -2; }
.ctaband__bg img { width: 100%; height: 100%; object-fit: cover; }
.ctaband__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,26,31,0.94), rgba(43,86,140,0.82)); }
.ctaband .container { padding-top: clamp(48px, 7vw, 84px); padding-bottom: clamp(48px, 7vw, 84px); text-align: center; }
.ctaband h2 { color: #fff; font-size: clamp(28px, 4.4vw, 46px); margin-bottom: 12px; }
.ctaband p { color: #cfd7dd; font-size: 18px; margin-bottom: 28px; }
.ctaband__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 40px auto 0; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: 0; text-align: left; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 16.5px; color: var(--ink);
  padding: 18px 22px;
}
.faq__q .car { transition: transform 0.2s ease; color: var(--primary); flex: 0 0 auto; }
.faq__item.is-open .faq__q .car { transform: rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq__a > div { padding: 0 22px 20px; color: var(--text-muted); font-size: 15.5px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #b9c2c8; }
.footer__cta { border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer__cta .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 34px; padding-bottom: 34px; flex-wrap: wrap; }
.footer__cta h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); }
.footer__trust { border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer__trust .container { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; justify-content: center; }
.footer__trust .titem { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; letter-spacing: 0.6px; color: #dfe5e9; }
.footer__trust img { height: 40px; width: auto; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-top: 48px; padding-bottom: 40px; }
.footer__grid h4 { color: #fff; font-family: var(--font-body); font-weight: 800; font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 16px; }
.footer__grid ul { list-style: none; display: grid; gap: 9px; }
.footer__grid a { color: #b9c2c8; font-size: 14.5px; font-weight: 600; }
.footer__grid a:hover { color: #8fd6a5; }
.footer__brand img { width: 190px; margin-bottom: 16px; }
.footer__brand p { font-size: 14px; margin-bottom: 8px; }
.footer__coverage { border-top: 1px solid rgba(255,255,255,0.1); }
.footer__coverage .container { padding-top: 22px; padding-bottom: 22px; font-size: 13.5px; line-height: 1.9; }
.footer__coverage strong { color: #dfe5e9; letter-spacing: 1px; text-transform: uppercase; font-size: 12.5px; }
.footer__legal { border-top: 1px solid rgba(255,255,255,0.1); }
.footer__legal .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 18px; font-size: 13px; flex-wrap: wrap; }
.backtop { position: fixed; right: 18px; bottom: 92px; width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff; border: 0; cursor: pointer; box-shadow: var(--shadow-btn); font-size: 18px; opacity: 0; visibility: hidden; transition: opacity 0.25s ease; z-index: 60; }
.backtop.is-visible { opacity: 1; visibility: visible; }

/* ---------- Mobile sticky CTA bar ---------- */
.mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; display: none; grid-template-columns: 1fr 1fr; box-shadow: 0 -4px 18px rgba(0,0,0,0.22); }
.mobilebar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 8px; font-weight: 800; font-size: 14.5px; letter-spacing: 0.8px; text-transform: uppercase; color: #fff; }
.mobilebar__call { background: var(--primary); }
.mobilebar__book { background: var(--green); }

/* ---------- Round-2 devices: pipe rule, swoosh, shrink nav ---------- */

/* Green hand-drawn swoosh under the hero's key phrase */
.u-swoosh { position: relative; display: inline-block; }
.u-swoosh::after { content: ""; position: absolute; left: 2%; right: 4%; bottom: -0.14em; height: 0.22em;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 20" preserveAspectRatio="none"><path d="M4 14 C50 4 150 4 196 12" fill="none" stroke="%2300c030" stroke-width="7" stroke-linecap="round"/></svg>') no-repeat center / 100% 100%; }

/* Blueprint pipe grid texture for brand bands */
.stats, .ctaband__scrim { position: relative; }
.stats::after, .ctaband .ctaband__scrim::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.1;
  background-image: linear-gradient(rgba(255,255,255,0.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.7) 1px, transparent 1px);
  background-size: 44px 44px; }
.stats .container { position: relative; z-index: 1; }

/* Shrink-on-scroll nav */
.nav { transition: box-shadow 0.2s ease; }
.nav .nav__link { transition: padding 0.2s ease; }
.nav.is-shrunk .nav__link { padding-top: 16px; padding-bottom: 16px; }
.nav.is-shrunk .container { min-height: 60px; }
.nav.is-shrunk .nav__brand img { height: 38px; }
.nav.is-shrunk { box-shadow: 0 4px 18px rgba(34,39,43,0.14); }

/* County card activation (geo bar click-through) */
.county { transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; scroll-margin-top: 120px; }
.county.is-active { transform: translateY(-4px); box-shadow: 0 0 0 3px var(--primary), 0 14px 34px rgba(34,39,43,0.18); }
.county__meta { display: flex; gap: 10px; margin-bottom: 14px; }
.county__meta span { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--green-dark); background: #e5f8eb; padding: 4px 10px; border-radius: var(--radius-pill); }

/* Promotions teaser band */
.promoband { background: var(--bg-blue-tint); border-block: 1px solid var(--line); }
.promoband .container { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-top: 30px; padding-bottom: 30px; flex-wrap: wrap; }
.promoband__copy strong { display: block; font-family: var(--font-display); font-size: 21px; color: var(--ink); margin-bottom: 4px; }
.promoband__copy span { color: var(--text-muted); font-size: 15px; }

/* Hero photo: slow settle-in */
@keyframes heroSettle { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero__bg img { animation: heroSettle 2.4s ease-out both; }
@media (prefers-reduced-motion: reduce) { .hero__bg img { animation: none; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Service page ---------- */
.pagehero { position: relative; isolation: isolate; background: var(--ink); }
.pagehero__bg { position: absolute; inset: 0; z-index: -2; }
.pagehero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.pagehero__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(92deg, rgba(20,26,31,0.94) 0%, rgba(20,26,31,0.8) 45%, rgba(20,26,31,0.35) 100%); }
.pagehero .container { padding-top: clamp(48px, 7vw, 84px); padding-bottom: clamp(48px, 7vw, 84px); }
.breadcrumbs { font-size: 13.5px; font-weight: 700; letter-spacing: 0.6px; color: #9fb4c6; margin-bottom: 16px; }
.breadcrumbs a { color: #9fd3ff; }
.pagehero h1 { color: #9fd3ff; font-family: var(--font-body); font-weight: 800; font-size: clamp(13px, 1.5vw, 15px); letter-spacing: 2.4px; text-transform: uppercase; margin-bottom: 12px; }
.pagehero .display { color: #fff; font-size: clamp(30px, 4.6vw, 50px); max-width: 700px; margin-bottom: 20px; }
.pagehero .lede { color: #cfd7dd; margin-bottom: 26px; }
.included { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.inc { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 24px; }
.inc svg { margin-bottom: 12px; }
.inc h3 { font-size: 17px; margin-bottom: 8px; }
.inc p { font-size: 14.5px; color: var(--text-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav__list, .nav__ctas { display: none; }
  .hamburger { display: block; }
  .silos, .counties, .included { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .utility__right .utility__hours { display: none; }
}
@media (max-width: 768px) {
  body { padding-bottom: 64px; }
  .mobilebar { display: grid; }
  .section { padding: 48px 0; }
  .review-grid { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: 1fr 1fr; gap: 22px 10px; }
  .topstrip .container { justify-content: center; }
  .topstrip__left, .topstrip__phone { display: none; }
  .topstrip__counties { white-space: nowrap; font-size: 12.5px; }
  .topstrip__right { gap: 0; }
  .hero__ctas .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__cta .container { justify-content: center; text-align: center; }
}
@media (max-width: 560px) {
  .silos, .counties, .included, .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .backtop { bottom: 78px; }
}

/* ---------- Full-bleed brand band: the real van, given a stage ---------- */
.vanband { position: relative; isolation: isolate; min-height: clamp(340px, 40vw, 500px); display: flex; align-items: center; overflow: hidden; }
.vanband__bg { position: absolute; inset: 0; z-index: -2; }
.vanband__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 55%; }
.vanband__scrim { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,26,31,0.05) 0%, rgba(20,26,31,0.10) 40%, rgba(20,26,31,0.86) 100%),
    linear-gradient(100deg, rgba(20,26,31,0.72) 0%, rgba(20,26,31,0.34) 34%, rgba(20,26,31,0) 58%); }
.vanband .container { padding-top: 56px; padding-bottom: 40px; width: 100%; }
.vanband__line { font-family: var(--font-display); color: #fff; font-size: clamp(22px, 3vw, 38px); line-height: 1.12; max-width: 430px; text-shadow: 0 2px 18px rgba(0,0,0,0.5); }
.vanband__line .u-green { color: var(--green-bright); }
.vanband__sub { color: #dfe5e9; font-size: 15px; margin-top: 12px; font-weight: 600; max-width: 430px; text-shadow: 0 2px 12px rgba(0,0,0,0.6); }

@media (max-width: 768px) {
  .vanband__bg img { object-position: 72% 55%; }
  .vanband__scrim { background: linear-gradient(180deg, rgba(20,26,31,0.35) 0%, rgba(20,26,31,0.55) 45%, rgba(20,26,31,0.92) 100%); }
  .vanband__line, .vanband__sub { max-width: none; }
}

/* ================= BRAND-DRENCH PASS =================
   The page was a white sheet with blue bits. 2 Sons' identity is gunmetal +
   water blue + sewer green, so the SECTIONS carry the brand, not just accents. */

/* Deep brand ground for major sections */
.section--brand { background: linear-gradient(150deg, #2b568c 0%, #1d3d66 100%); color: #dbe6f2; position: relative; overflow: hidden; }
.section--brand h2, .section--brand h3 { color: #fff; }
.section--brand .lede { color: #b9cbe0; }
.section--brand .kicker { color: #8fd6a5; }
.section--brand .kicker::before { background: #8fd6a5; }

/* Water-splash texture lifted from their real van wrap */
.section--brand::before, .section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background:
    radial-gradient(circle at 12% 18%, rgba(143,214,165,0.10), transparent 42%),
    radial-gradient(circle at 88% 82%, rgba(143,193,245,0.12), transparent 46%);
}
.section--brand > .container, .section--dark > .container { position: relative; z-index: 1; }

/* Silo cards pop off the dark ground */
.section--brand .silo { border-color: transparent; box-shadow: 0 18px 44px rgba(9,18,30,0.42); }

/* County cards get real brand headers + ghost initial (structure, not decoration) */
.county { padding: 0; border-top: 0; overflow: hidden; }
.county__head { position: relative; background: linear-gradient(135deg, var(--primary) 0%, #22456f 100%); padding: 22px 22px 18px; overflow: hidden; }
.county__ghost { position: absolute; right: 8px; top: -22px; font-family: var(--font-display); font-size: 104px; line-height: 1; color: rgba(255,255,255,0.09); pointer-events: none; }
.county__head h3 { color: #fff; position: relative; margin-bottom: 2px; }
.county__head .county__tag { color: #a9d8bb; margin-bottom: 0; position: relative; }
.county__body { padding: 18px 22px 22px; }
.county__meta { margin-bottom: 14px; }

/* Water-flow divider: the splash graphic from the van, as a repeating brand device */
.flowrule { height: 8px; background:
  repeating-linear-gradient(115deg, var(--primary) 0 22px, #4d86c9 22px 34px, var(--green) 34px 48px, #2b568c 48px 62px); }

/* Reviews on brand ground */
.section--brand .review { box-shadow: 0 18px 44px rgba(9,18,30,0.42); }
.section--brand .gbadge { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.section--brand .gbadge__meta { color: #b9cbe0; }
.section--brand .gbadge__meta strong { color: #fff; }
.section--brand .gbadge__g { color: #8fd6a5; }

/* Footer: ghost wordmark for weight */
.footer { position: relative; overflow: hidden; }
.footer::before { content: "2 SONS"; position: absolute; right: -14px; bottom: -46px; font-family: var(--font-display);
  font-size: clamp(120px, 20vw, 280px); line-height: 1; color: rgba(255,255,255,0.028); pointer-events: none; user-select: none; }
.footer > .container, .footer__legal, .footer__trust, .footer__cta, .footer__coverage { position: relative; }

/* ===== CRAFT PASS (taste-skill: physics motion + diffused depth) =====
   Adopted: spring easing, blur-fade reveals, magnetic button press, soft ambient shadow.
   Rejected: pill eyebrows and soft SaaS radii (Josh's documented AI-tells), and the
   skill's ban on sticky nav / mobile CTA bars, which are proven home-services patterns. */
:root { --ease-spring: cubic-bezier(0.32, 0.72, 0, 1); --ease-soft: cubic-bezier(0.16, 1, 0.3, 1); }

.reveal { filter: blur(6px);
  transition: opacity 0.85s var(--ease-soft), transform 0.85s var(--ease-spring), filter 0.85s var(--ease-soft); }
.reveal.in { filter: blur(0); }

.btn { transition: transform 0.55s var(--ease-spring), background 0.4s var(--ease-spring), box-shadow 0.55s var(--ease-spring); }
.btn:active { transform: scale(0.975); }

/* Diffused ambient depth instead of a single harsh drop shadow */
.silo, .county, .review, .step, .inc, .line-card, .gcstep, .cap, .branch, .qcard, .program, .loccard, .projects figure {
  transition: transform 0.55s var(--ease-spring), box-shadow 0.55s var(--ease-spring), border-color 0.55s var(--ease-spring);
}
@media (prefers-reduced-motion: reduce) { .reveal { filter: none; transition: none; } }
