/* Steve's Plumbing Ventura — site styles
   Palette: harbor teal ink, cool chrome greys, safety-yellow calls to action. */

@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #13343b;          /* harbor teal-navy: headings, header, footer */
  --ink-deep: #0c252b;
  --text: #1c2a2e;         /* body copy */
  --muted: #4d6066;        /* secondary copy */
  --bg: #f4f7f7;           /* cool chrome page background */
  --surface: #ffffff;
  --line: #dbe3e5;
  --brand: #1a6479;        /* links */
  --brand-dark: #114a5a;
  --signal: #f2c230;       /* safety yellow: call buttons only */
  --signal-dark: #d9a913;
  --tint: #e6eff1;
  --ok: #3ccf7a;
  --on-dark: #d6e4e7;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(19, 52, 59, 0.06), 0 1px 3px rgba(19, 52, 59, 0.08);
  --shadow: 0 2px 4px rgba(19, 52, 59, 0.04), 0 10px 28px rgba(19, 52, 59, 0.09);
  --shadow-lg: 0 18px 50px rgba(8, 28, 33, 0.28);
  --measure: 68ch;
  --display: "Outfit", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--body);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-dark); text-decoration-thickness: 2px; }
a[href^="tel:"] { white-space: nowrap; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 2px; }
p, ul, ol, table, figure { margin: 0 0 1.1rem; }
ul, ol { padding-left: 1.3rem; }
li { margin-bottom: 0.4rem; }
strong { font-weight: 650; color: var(--ink); }
.i { width: 1.25em; height: 1.25em; flex: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.75rem;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.6rem); font-weight: 750; letter-spacing: -0.02em; line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); font-weight: 700; letter-spacing: -0.012em; margin-top: 2.6rem; }
h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: 0; margin-top: 1.8rem; }
h4 { font-size: 1.05rem; font-weight: 700; margin-top: 1.4rem; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--signal); color: var(--ink); padding: 0.6rem 1rem; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.wrap { width: min(100% - 2rem, 1180px); margin-inline: auto; }

/* Small labels */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 0.9rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.kicker {
  margin: 0 0 0.5rem; color: var(--brand); font-size: 0.82rem; font-weight: 750;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.kicker + h2 { margin-top: 0; }
.live {
  width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--ok); flex: none;
  box-shadow: 0 0 0 0 rgba(60, 207, 122, 0.6); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(60, 207, 122, 0.55); }
  70% { box-shadow: 0 0 0 0.5rem rgba(60, 207, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(60, 207, 122, 0); }
}

/* ---------- Header ---------- */
.topbar { background: var(--ink-deep); color: var(--on-dark); font-size: 0.85rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; justify-content: space-between; align-items: center; padding: 0.5rem 0; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 0.55rem; }
.topbar-meta { gap: 1.5rem !important; }
.topbar-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar-meta .i { width: 1rem; height: 1rem; color: var(--signal); }
@media (max-width: 760px) { .topbar-meta { display: none !important; } .topbar .wrap { justify-content: center; } }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.94); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.6) blur(10px); backdrop-filter: saturate(1.6) blur(10px);
  box-shadow: 0 1px 0 rgba(19, 52, 59, 0.02), 0 6px 18px rgba(19, 52, 59, 0.05);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.25rem; padding: 0.8rem 0; }
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand-logo { height: 60px; width: auto; flex: none; }

.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; gap: 0.15rem; }
.nav li { margin: 0; }
.nav a {
  position: relative; display: block; padding: 0.55rem 0.8rem; color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: 0.97rem; border-radius: var(--radius); transition: background 0.15s, color 0.15s;
}
.nav a:hover { background: var(--tint); }
.nav a[aria-current="page"] { color: var(--brand-dark); }
.nav > ul > li > a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.2rem; height: 3px; border-radius: 3px; background: var(--signal);
}

.header-call {
  display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink);
  font: 800 1.15rem/1.1 var(--display); padding: 0.3rem 0.4rem 0.3rem 0.3rem; border-radius: 999px;
}
.header-call small { display: block; font: 600 0.75rem/1.2 var(--body); color: var(--muted); letter-spacing: 0.02em; }
.header-call-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--signal); box-shadow: inset 0 0 0 2px var(--signal-dark); transition: transform 0.15s;
}
.header-call-icon svg { width: 20px; height: 20px; }
.header-call:hover { color: var(--brand-dark); }
.header-call:hover .header-call-icon { transform: scale(1.06); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 50px; padding: 0.7rem 1.35rem; border-radius: var(--radius);
  font: 700 1rem/1.2 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn svg { width: 20px; height: 20px; }
.btn-lg { min-height: 56px; padding: 0.85rem 1.6rem; font-size: 1.06rem; }
.btn-call { background: var(--signal); color: var(--ink); border-color: var(--signal-dark); box-shadow: 0 6px 18px rgba(217, 169, 19, 0.28); }
.btn-call:hover { background: #f6cd4a; color: var(--ink); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(217, 169, 19, 0.36); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.menu { display: none; }
.menu summary {
  list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 0.4rem;
  border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; padding: 0 0.8rem; color: var(--ink); background: var(--surface);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary .i { width: 1.2rem; height: 1.2rem; }

@media (max-width: 1060px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu[open] summary { background: var(--tint); }
  .menu[open] .menu-panel {
    max-height: calc(100vh - 13rem); overflow-y: auto;
    position: absolute; right: 0; top: calc(100% + 0.6rem); z-index: 50; width: min(88vw, 320px);
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 0.5rem;
    box-shadow: 0 18px 40px rgba(19, 52, 59, 0.2);
  }
  .menu-panel ul { list-style: none; margin: 0 0 0.5rem; padding: 0; }
  .menu-panel li { margin: 0; }
  .menu-panel a:not(.btn) { display: block; padding: 0.75rem; text-decoration: none; color: var(--ink); font-weight: 600; border-radius: var(--radius); }
  .menu-panel a:not(.btn):hover, .menu-panel a[aria-current="page"] { background: var(--tint); }
  .menu-panel .btn { width: 100%; }
}
/* Services dropdown (desktop) and expandable section (mobile menu) */
.site-header .wrap { position: relative; }
.has-drop > a { display: flex; align-items: center; gap: 0.25rem; }
.has-drop > a .i { width: 1rem; height: 1rem; transition: transform 0.15s; }
.has-drop:hover > a .i, .has-drop:focus-within > a .i { transform: rotate(180deg); }
.has-drop:hover > a { background: var(--tint); }
/* Invisible bridge so the panel stays open while the pointer moves down to it */
.has-drop > a::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 1.5rem; }
.drop {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 50; padding: 1.5rem 1.75rem 0;
  background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--signal);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: 0 18px 40px rgba(19, 52, 59, 0.18);
  max-height: calc(100vh - 8rem); overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.drop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 2rem; }
.drop-title { margin: 0 0 0.4rem; font-size: 0.75rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.drop-grid ul + .drop-title { margin-top: 1.1rem; }
.nav .drop-grid a { padding: 0.35rem 0.5rem; margin-left: -0.5rem; font-size: 0.93rem; font-weight: 500; line-height: 1.3; }
.nav .drop-grid a[aria-current="page"] { background: var(--tint); font-weight: 650; }
.drop-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin: 1.1rem -1.75rem 0; padding: 0.4rem 1.25rem; background: var(--bg); border-top: 1px solid var(--line); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.nav .drop-foot a { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.93rem; font-weight: 700; color: var(--brand-dark); }
.drop-foot .i { width: 1.05rem; height: 1.05rem; }

.menu-sub summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 0; padding: 0.75rem; border: 0; background: none; font-weight: 600; color: var(--ink); cursor: pointer; border-radius: var(--radius); }
.menu-sub summary::-webkit-details-marker { display: none; }
.menu-sub summary:hover { background: var(--tint); }
.menu-sub summary .i { transition: transform 0.15s; }
.menu-sub[open] summary .i { transform: rotate(180deg); }
.menu-sub-list { padding: 0 0 0.25rem 0.75rem; border-left: 2px solid var(--tint); margin-left: 0.75rem; }
.menu-sub-list .drop-title { margin: 0.75rem 0 0.1rem; padding-left: 0.75rem; }
.menu-sub-list ul { margin: 0; }
.menu-panel .menu-sub-list a:not(.btn) { padding: 0.5rem 0.75rem; font-weight: 500; font-size: 0.97rem; }
.menu-panel .menu-sub-list > a { font-weight: 650 !important; }
.menu-panel .drop-emergency { display: flex !important; align-items: center; gap: 0.45rem; }

@media (max-width: 640px) {
  .header-call small, .header-call > span:last-child { display: none; }
  .header-call { padding: 0; }
  .site-header .brand-logo { height: 48px; }
  .site-header .wrap { gap: 0.75rem; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: 0.9rem; color: var(--muted); padding: 1.25rem 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; padding: 0; margin: 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "›"; margin: 0 0.55rem; color: #9aabb0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(26, 100, 121, 0.55), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(242, 194, 48, 0.10), transparent 60%),
    linear-gradient(160deg, #163d45 0%, var(--ink) 45%, var(--ink-deep) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 3.5rem; padding: 4.5rem 0 5rem; align-items: center; }
.hero .eyebrow { color: #fff; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); padding: 0.4rem 0.8rem; border-radius: 999px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lede { font-size: 1.2rem; max-width: 52ch; color: var(--on-dark); }
.hero strong { color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 2rem; }
.hero .actions .btn { min-height: 56px; padding-inline: 1.6rem; font-size: 1.06rem; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem 1.5rem; max-width: 560px; }
.facts li { margin: 0; padding-left: 1.75rem; position: relative; font-weight: 600; color: #fff; }
.facts li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313343b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.7rem no-repeat;
}

.first-aid { background: var(--surface); color: var(--text); border-radius: var(--radius-lg); padding: 1.75rem 1.75rem 1.5rem; box-shadow: var(--shadow-lg); border-top: 5px solid var(--signal); }
.first-aid-tag { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0 0 0.6rem; padding: 0.25rem 0.6rem; border-radius: 999px; background: #fdf3d3; color: #7a5a00; font-size: 0.8rem; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase; }
.first-aid-tag .i { width: 1rem; height: 1rem; }
.first-aid h2 { letter-spacing: -0.005em; font-size: 1.45rem; margin: 0 0 1rem; }
.first-aid ol { list-style: none; counter-reset: fa; padding: 0; margin-bottom: 1.25rem; }
.first-aid li { counter-increment: fa; position: relative; padding-left: 2.4rem; margin-bottom: 0.85rem; font-size: 0.98rem; }
.first-aid li::before { content: counter(fa); position: absolute; left: 0; top: 0.05rem; width: 1.65rem; height: 1.65rem; border-radius: 50%; background: var(--tint); color: var(--ink); font: 800 0.85rem/1.65rem var(--body); text-align: center; }
.first-aid strong { color: var(--ink); }
.first-aid .btn { width: 100%; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; padding: 2.75rem 0 3rem; }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
}

/* Trust strip */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-list { list-style: none; margin: 0; padding: 1.6rem 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem 2rem; }
.trust-list li { margin: 0; display: flex; align-items: flex-start; gap: 0.85rem; font-size: 0.92rem; color: var(--muted); line-height: 1.45; }
.trust-list .i { width: 2.75rem; height: 2.75rem; padding: 0.65rem; border-radius: 12px; background: var(--tint); color: var(--brand); }
.trust-list strong { display: block; font-size: 1rem; color: var(--ink); margin-bottom: 0.1rem; }
@media (max-width: 900px) { .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .trust-list { grid-template-columns: 1fr; } }

/* ---------- Sections (home, hubs) ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section > .wrap > h2:first-child { margin-top: 0; }
.section-intro { max-width: 70ch; color: var(--muted); font-size: 1.1rem; }
@media (max-width: 600px) { .section { padding: 3.25rem 0; } }

.problem-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.25rem; }
.problem-group {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem 1.5rem 1rem;
  box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.problem-group:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #c6d4d7; }
.problem-group h3 { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 0.75rem; font-size: 1.15rem; }
.tile { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 12px; background: var(--ink); color: var(--signal); flex: none; }
.tile .i { width: 1.35rem; height: 1.35rem; }
.problem-group ul { list-style: none; padding: 0; margin: 0; }
.problem-group li { margin: 0; border-top: 1px solid var(--line); }
.problem-group a { position: relative; display: block; padding: 0.7rem 1.5rem 0.7rem 0; font-weight: 650; text-decoration: none; color: var(--ink); }
.problem-group a::after { content: "→"; position: absolute; right: 0.15rem; top: 0.65rem; color: var(--brand); transition: transform 0.15s; }
.problem-group a:hover { color: var(--brand); }
.problem-group a:hover::after { transform: translateX(3px); }
.problem-group a span { display: block; font-weight: 400; color: var(--muted); font-size: 0.92rem; line-height: 1.45; margin-top: 0.15rem; }
@media (max-width: 960px) { .problem-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .problem-groups { grid-template-columns: 1fr; } }

.more-link { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; color: var(--muted); }
.arrow-link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; text-decoration: none; }
.arrow-link .i { width: 1.1em; height: 1.1em; transition: transform 0.15s; }
.arrow-link:hover .i { transform: translateX(3px); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

.panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; }
.section:not(.section-alt) .panel { background: var(--surface); box-shadow: var(--shadow); }
.panel-dark { background: var(--ink) !important; border-color: var(--ink); color: var(--on-dark); }
.panel-dark h3, .panel-dark strong { color: #fff; }
.panel-dark ol.steps > li::before { background: var(--signal); color: var(--ink); }
.panel-dark ol.steps > li:not(:last-child)::after { background: rgba(255, 255, 255, 0.18); }

/* Hardness strip: the one data graphic on the home page */
.hardness { margin: 1.5rem 0 0.75rem; }
.hardness-row { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 4.5rem; align-items: center; gap: 0.75rem; margin-bottom: 0.85rem; font-size: 0.95rem; }
.hardness-row b { color: var(--ink); font-weight: 650; }
.hardness-bar { height: 14px; background: var(--tint); border-radius: 7px; overflow: hidden; }
.hardness-bar i { display: block; height: 100%; background: linear-gradient(90deg, #2a8aa5, var(--brand-dark)); border-radius: 7px; }
.hardness-row data { font-weight: 700; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.hardness-note { font-size: 0.88rem; color: var(--muted); }
@media (max-width: 520px) { .hardness-row { grid-template-columns: 1fr 4rem; } .hardness-bar { grid-column: 1 / -1; grid-row: 2; } }

.area-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin-top: 2rem; }
.area-list li { margin: 0; }
.area-list a {
  display: flex; align-items: flex-start; gap: 0.8rem; height: 100%; padding: 1.1rem 1.2rem; text-decoration: none;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.area-list a:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); background: var(--surface); }
.area-list .i { width: 1.35rem; height: 1.35rem; color: var(--brand); margin-top: 0.1rem; }
.area-list strong { display: block; color: var(--ink); }
.area-text span { display: block; color: var(--muted); font-weight: 400; font-size: 0.92rem; line-height: 1.45; margin-top: 0.15rem; }
@media (max-width: 900px) { .area-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .area-list { grid-template-columns: 1fr; } }

/* FAQ accordion (home) */
.faq-section details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm); transition: border-color 0.15s;
}
.faq-section details[open] { border-color: #b9cbcf; }
.faq-section summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.35rem; }
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary h3 { margin: 0; font-size: 1.08rem; }
.faq-section summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--tint); color: var(--ink); font: 700 1.25rem/1 var(--body); transition: transform 0.2s;
}
.faq-section details[open] summary::after { transform: rotate(45deg); background: var(--signal); }
.faq-section details p { padding: 0 1.35rem 1.2rem; margin: 0; color: var(--muted); }

/* ---------- Content pages ---------- */
.page { padding: 0.75rem 0 4.5rem; }
.page-grid { display: grid; grid-template-columns: minmax(0, var(--measure)) minmax(0, 340px); gap: 3.5rem; justify-content: space-between; align-items: start; }
.prose { max-width: var(--measure); }
.prose > h1 { margin-top: 1rem; }
.prose .answer { font-size: 1.2rem; color: var(--text); line-height: 1.6; }
.prose h2 { position: relative; padding-top: 1.1rem; margin-top: 3rem; }
.prose h2::before { content: ""; position: absolute; top: 0; left: 0; width: 2.75rem; height: 4px; border-radius: 4px; background: var(--signal); }
.prose ul:not([class]) { list-style: none; padding-left: 0; }
.prose ul:not([class]) > li { position: relative; padding-left: 1.6rem; }
.prose ul:not([class]) > li::before {
  content: ""; position: absolute; left: 0.1rem; top: 0.55em; width: 0.6rem; height: 0.6rem; border-radius: 2px;
  background: var(--brand); transform: rotate(45deg) scale(0.8);
}
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.96rem; background: var(--surface); }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 0.75rem 0.9rem; text-align: left; vertical-align: top; }
.prose th { background: var(--ink); color: #fff; font-weight: 650; }
.prose tbody tr:nth-child(even) td { background: #f8fafa; }
.prose tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; margin-bottom: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.table-scroll table { margin: 0; min-width: 520px; }
ol.steps { counter-reset: step; list-style: none; padding: 0; }
ol.steps > li { counter-increment: step; position: relative; padding-left: 3rem; margin-bottom: 1.15rem; min-height: 2.1rem; }
ol.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; z-index: 1; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--ink); color: #fff; font: 800 0.95rem/2.1rem var(--body); text-align: center; }
ol.steps > li:not(:last-child)::after { content: ""; position: absolute; left: calc(1.05rem - 1px); top: 2.3rem; bottom: -1.05rem; width: 2px; background: var(--line); }
.meta-line { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.25rem; }

.callout { background: #fffbea; border: 1px solid #f3e1a1; border-left: 6px solid var(--signal); border-radius: var(--radius); padding: 1.1rem 1.35rem; margin: 1.75rem 0; }
.callout p:last-child { margin-bottom: 0; }
.callout strong { display: block; font-family: var(--display); font-size: 1.1rem; margin-bottom: 0.25rem; }

.cta-band {
  position: relative; overflow: hidden;
  background: radial-gradient(500px 220px at 100% 0%, rgba(26, 100, 121, 0.6), transparent 70%), var(--ink);
  color: var(--on-dark); border-radius: var(--radius-lg); padding: 1.85rem 1.85rem; margin: 3rem 0 0.5rem;
  display: flex; flex-wrap: wrap; gap: 1.25rem 1.5rem; align-items: center; justify-content: space-between; box-shadow: var(--shadow);
}
.cta-band p { margin: 0; max-width: 42ch; }
.cta-band strong { color: #fff; display: block; font-family: var(--display); font-size: 1.35rem; margin-bottom: 0.25rem; }
.cta-band .actions { margin: 0; }

.faq h3 {
  position: relative; font-size: 1.08rem; margin: 1rem 0 0; padding: 1.1rem 1.25rem 0.35rem 3.1rem;
  background: var(--surface); border: 1px solid var(--line); border-bottom: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.faq h3::before {
  content: "Q"; position: absolute; left: 1.1rem; top: 1rem; width: 1.5rem; height: 1.5rem; border-radius: 6px;
  background: var(--signal); color: var(--ink); font: 800 0.85rem/1.5rem var(--body); text-align: center;
}
.faq h3 + p {
  margin: 0 0 0.5rem; padding: 0 1.25rem 1.1rem 3.1rem; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.aside { position: sticky; top: 6.5rem; display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.aside-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.aside-box h2 { letter-spacing: 0; font-size: 1.15rem; margin: 0 0 0.7rem; }
.aside-box p { font-size: 0.95rem; }
.aside-box ul { list-style: none; padding: 0; margin: 0; }
.aside-box li { margin: 0; border-top: 1px solid var(--line); }
.aside-box li a { position: relative; display: block; padding: 0.6rem 1.4rem 0.6rem 0; font-weight: 600; text-decoration: none; font-size: 0.96rem; }
.aside-box li a::after { content: "→"; position: absolute; right: 0.1rem; top: 0.6rem; opacity: 0.6; transition: transform 0.15s, opacity 0.15s; }
.aside-box li a:hover::after { transform: translateX(3px); opacity: 1; }
.aside-call {
  background: radial-gradient(360px 200px at 100% 0%, rgba(26, 100, 121, 0.7), transparent 70%), var(--ink);
  border-color: var(--ink); color: var(--on-dark); box-shadow: var(--shadow);
}
.aside-call .eyebrow { color: #c6f0d6; }
.aside-call h2 { color: #fff; font-size: 1.35rem; }
.aside-call .btn { width: 100%; }
.aside-call .btn + .btn { margin-top: 0.6rem; }
.aside-box .aside-trust { margin-top: 1.1rem; }
.aside-trust li { display: flex; align-items: flex-start; gap: 0.6rem; border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 0.6rem 0; font-size: 0.9rem; color: var(--on-dark); line-height: 1.4; }
.aside-trust li:last-child { padding-bottom: 0; }
.aside-trust .i { width: 1.1rem; height: 1.1rem; color: var(--signal); margin-top: 0.1rem; }
@media (max-width: 1000px) {
  .page-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .aside { position: static; }
}

/* ---------- Forms ---------- */
.form {
  display: grid; gap: 1.1rem; max-width: 600px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow);
}
.form label { font-weight: 650; color: var(--ink); display: block; margin-bottom: 0.35rem; }
.form input, .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 0.7rem 0.85rem; font: inherit; color: var(--text);
  background: #fbfcfc; border: 1px solid #b4c3c7; border-radius: var(--radius); transition: border-color 0.15s, box-shadow 0.15s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(26, 100, 121, 0.16); background: #fff; }
.form textarea { min-height: 130px; resize: vertical; }
.form .hint { font-size: 0.88rem; color: var(--muted); margin: 0.3rem 0 0; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }

/* ---------- Pre-footer CTA ---------- */
.pre-footer {
  position: relative; color: var(--on-dark);
  background: radial-gradient(700px 300px at 90% 0%, rgba(26, 100, 121, 0.55), transparent 65%), linear-gradient(160deg, #163d45, var(--ink));
}
.pre-footer .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; padding: 3.5rem 0; }
.pre-footer .eyebrow { color: #c6f0d6; }
.pre-footer-title { font: 800 clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem)/1.15 var(--display); color: #fff; margin: 0 0 0.6rem; max-width: 24ch; text-wrap: balance; }
.pre-footer p:last-child { margin: 0; }
.pre-footer .actions { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: #b8cdd1; padding: 3.5rem 0 6rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer h2 { color: #fff; font: 700 0.85rem/1.2 var(--body); letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 1rem; }
.site-footer a { color: #e3eef0; text-decoration: none; }
.site-footer a:hover { color: var(--signal); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer address { font-style: normal; margin: 1.1rem 0; }
.brand-footer { display: inline-flex; margin: 0; padding: 0.5rem 0.75rem; background: #fff; border-radius: var(--radius); }
.brand-footer .brand-logo { height: 56px; }
.footer-contact { display: flex !important; align-items: center; gap: 0.55rem; margin-top: 0.55rem; font-weight: 600; }
.footer-contact svg { width: 1.05rem; height: 1.05rem; color: var(--signal); }
.legal { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 2.5rem; padding-top: 1.4rem; font-size: 0.86rem; color: #93adb2; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Sticky call bar on phones */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar {
    display: flex; gap: 0.5rem; position: fixed; inset: auto 0 0 0; z-index: 60;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(19, 52, 59, 0.12);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .callbar .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print { .topbar, .site-header nav, .menu, .callbar, .aside, .pre-footer, .site-footer { display: none !important; } .site-header { position: static; } body { background: #fff; } }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.narrow { max-width: 860px; }

.prose address {
  font-style: normal; line-height: 1.9; margin: 0 0 1.25rem; padding: 1.25rem 1.5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}

.photo { margin: 1.75rem 0 0.5rem; }
.photo img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ---------- Full-width hub pages (services, service areas) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(800px 400px at 90% -20%, rgba(26, 100, 121, 0.55), transparent 60%),
    linear-gradient(160deg, #163d45 0%, var(--ink) 50%, var(--ink-deep) 100%);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%);
}
.page-hero .wrap { position: relative; padding: 1.5rem 0 3.5rem; }
.page-hero .eyebrow { margin-top: 2rem; color: #fff; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); padding: 0.4rem 0.8rem; border-radius: 999px; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .lede { font-size: 1.2rem; max-width: 62ch; color: var(--on-dark); }
.page-hero-sub { max-width: 66ch; color: #a9c2c7; }
.page-hero .actions { margin: 1.5rem 0 0; }
.crumbs-hero { font-size: 0.9rem; }
.crumbs-hero ol { list-style: none; display: flex; flex-wrap: wrap; padding: 0; margin: 0; }
.crumbs-hero li { margin: 0; color: #fff; }
.crumbs-hero li + li::before { content: "›"; margin: 0 0.55rem; color: #7f9ca2; }
.crumbs-hero a { color: #a9c2c7; text-decoration: none; }
.crumbs-hero a:hover { color: #fff; text-decoration: underline; }
.crumbs-hero [aria-current] { color: #fff; font-weight: 600; }

.section-tight { padding: 2.5rem 0; }

.card-grid { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 1.25rem; }
.card-grid-lg { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.card-grid > li { margin: 0; }

.svc-card, .area-card {
  display: flex; flex-direction: column; gap: 0.6rem; height: 100%; padding: 1.5rem; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.section:not(.section-alt) .svc-card { background: var(--surface); }
.section-alt .svc-card { background: var(--bg); box-shadow: none; }
.svc-card:hover, .area-card:hover { color: var(--text); border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-3px); background: var(--surface); }
.svc-card .tile { margin-bottom: 0.35rem; }
.svc-card strong { font: 650 1.15rem/1.25 var(--display); color: var(--ink); }
.svc-desc { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.svc-more { margin-top: auto; padding-top: 0.5rem; display: inline-flex; align-items: center; gap: 0.35rem; color: var(--brand); font-weight: 700; font-size: 0.93rem; }
.svc-more .i { width: 1.05em; height: 1.05em; transition: transform 0.15s; }
.svc-card:hover .svc-more .i, .area-card:hover .svc-more .i, .emergency-card:hover .svc-more .i { transform: translateX(4px); }

.emergency-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.25rem 1.5rem;
  padding: 1.75rem 2rem; text-decoration: none; color: var(--text);
  background: #fffbea; border: 1px solid #f3e1a1; border-left: 6px solid var(--signal); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, transform 0.2s;
}
.emergency-card:hover { color: var(--text); box-shadow: var(--shadow); transform: translateY(-2px); }
.emergency-body { display: flex; flex-direction: column; gap: 0.3rem; }
.emergency-body .kicker { margin: 0; color: #8a6500; }
.emergency-body strong { font: 700 1.5rem/1.2 var(--display); color: var(--ink); }
.emergency-body > span:last-child { color: var(--muted); max-width: 70ch; }
.emergency-card .svc-more { margin: 0; padding: 0; white-space: nowrap; }
.tile-signal { background: var(--signal); color: var(--ink); width: 3.25rem; height: 3.25rem; }
@media (max-width: 720px) {
  .emergency-card { grid-template-columns: 1fr; padding: 1.5rem; }
}

.area-card-head { display: flex; align-items: center; gap: 0.8rem; }
.area-card-head strong { font: 700 1.25rem/1.2 var(--display); color: var(--ink); }
.area-card dl { margin: 0.5rem 0 0; display: grid; gap: 0.75rem; }
.area-card dl > div { padding-top: 0.75rem; border-top: 1px solid var(--line); }
.area-card dt { font-size: 0.75rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); margin-bottom: 0.15rem; }
.area-card dd { margin: 0; color: var(--text); font-size: 0.97rem; line-height: 1.5; }

.callout-wide { margin: 0; padding: 1.5rem 1.75rem; }
.card-grid + .meta-line { margin-top: 1.5rem; }
