/* ============================================================
   Beverly Sewer & Drain — design system v2 "Western Rooter"
   DNA: navy #122247 hero + photo cover + gradient overlay |
   Fjalla One display / Open Sans body | red #C22318 CTA |
   sky #247DA5/#38A5D6 accents | white cards, 1px #DBDBDB
   borders, radius 8-10px, soft shadows | dark navy footer
   ============================================================ */

:root {
  /* brand ramp (navy/blue, Western Rooter style) */
  --brand-50: #f7f9ff; --brand-100: #e8f1f8; --brand-200: #c6d3de;
  --brand-300: #7cc4e8; --brand-400: #38a5d6; --brand-500: #247da5;
  --brand-600: #1d6887; --brand-700: #125e74; --brand-800: #123248;
  --brand-900: #122247; --brand-950: #0d131e;
  /* accent (CTA red ramp) */
  --accent-300: #ff9d96; --accent-400: #fc3a2e; --accent-500: #c22318;
  --accent-600: #a81d13; --accent-700: #8a1810;
  /* neutrals (cool slate) */
  --neutral-50: #f8fafc; --neutral-100: #f1f5f9; --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1; --neutral-400: #94a3b8; --neutral-500: #64748b;
  --neutral-600: #55627a; --neutral-700: #44506b; --neutral-800: #2b3446;
  --neutral-900: #1a1a1a; --neutral-950: #0d131e;
  /* semantic */
  --ink: var(--neutral-900);
  --ink-soft: var(--neutral-700);
  --paper: var(--brand-50);
  --surface: #ffffff;
  --line: #dbdbdb;
  --cta: var(--accent-500);
  --cta-ink: #ffffff;
  --on-dark: #ffffff;
  --on-dark-soft: #c7d3e8;
  /* type */
  --font-display: "Fjalla One", "Arial Narrow", Impact, sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  /* shape */
  --radius-card: 10px;
  --radius-inner: 8px;
  --radius-btn: 8px;
  --radius-pill: 999px;
  --shadow-card: 0 14px 30px -14px rgba(13, 19, 30, 0.22);
  --shadow-soft: 0 1px 3px rgba(13, 19, 30, 0.08);
  --shadow-cta: 0 6px 16px -6px rgba(194, 35, 24, 0.45);
  /* rhythm */
  --section-y: clamp(4rem, 9vw, 8.5rem);
  --gap-card: clamp(1.25rem, 2.4vw, 2rem);
  --wrap: 1180px;
  --measure: 68ch;
}

/* ---------- reset + mobile hardening contract ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
iframe { max-width: 100%; }
a { color: var(--brand-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-950); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; letter-spacing: 0.01em; margin: 0 0 0.6em; color: var(--brand-900); overflow-wrap: normal; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25rem; }
li { margin-bottom: 0.5em; }
ul li::marker, ol li::marker { color: var(--accent-400); }
strong { font-weight: 700; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-body); font-weight: 700; color: var(--brand-900); background: var(--brand-50); overflow-wrap: normal; }
summary { cursor: pointer; }

/* number/label tokens must never break mid-token */
.btn, .chip, .stat-number, .overline, .badge-cap, th, td.num { overflow-wrap: normal; }
.stat-number, .tel-plain { white-space: nowrap; }

.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap table { min-width: 560px; }
.table-wrap td.num, .table-wrap td.price { white-space: nowrap; font-weight: 700; color: var(--brand-800); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 1.5rem); }
.measure { max-width: var(--measure); }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--brand-900); color: #fff; padding: 0.6rem 1rem;
  border-radius: 0 0 8px 0; text-decoration: none;
}
.skip-link:focus { left: 0; color: #fff; }
.center { text-align: center; }
.overline {
  display: inline-block; font-family: var(--font-body); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-700);
}
.on-dark .overline { color: var(--brand-300); }
.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section h2 { margin-bottom: 0.5em; }
.lead { font-size: 1.125rem; color: var(--ink-soft); max-width: 62ch; }
.on-dark { background: var(--brand-900); color: var(--on-dark); }
.on-dark h2, .on-dark h3, .on-dark h4 { color: var(--on-dark); }
.on-dark p, .on-dark li { color: var(--on-dark-soft); }
.on-dark a { color: var(--brand-300); }
.on-dark a:hover { color: var(--brand-400); }

/* ---------- announcement bar (utility strip) ---------- */
.announcement-bar {
  background: var(--brand-900); color: #fff;
  font-size: 0.85rem; letter-spacing: 0.02em;
  text-align: center; padding: 0.5rem 1rem;
}
.announcement-bar strong { color: var(--brand-300); font-weight: 700; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(13, 19, 30, 0.05);
}
.header-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; padding-block: 0.7rem;
}
.logo { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; min-width: 0; }
.logo svg, .logo img { flex: none; }
.logo-text { font-family: var(--font-display); font-weight: 400; font-size: 1.22rem; color: var(--brand-900); line-height: 1.1; letter-spacing: 0.01em; }
.logo-text small { display: block; font-family: var(--font-body); font-weight: 700; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-700); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }

.nav-row { display: none; }
.btn-call {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--cta); color: var(--cta-ink);
  font-weight: 700; font-size: 0.9rem; text-decoration: none;
  padding: 0.55rem 1rem; border-radius: var(--radius-btn);
  box-shadow: var(--shadow-cta); white-space: nowrap; flex: none;
}
.btn-call:hover { background: var(--accent-600); color: var(--cta-ink); }
.btn-call svg { flex: none; }
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px;
  background: var(--brand-50); border: 1px solid var(--line); border-radius: 8px;
  cursor: pointer; flex: none;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--brand-900); border-radius: 2px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0.75rem clamp(1rem, 4vw, 1.5rem) 1rem; }
.mobile-nav li { margin: 0; }
.mobile-nav a {
  display: block; padding: 0.7rem 0.25rem; text-decoration: none;
  font-weight: 600; color: var(--brand-900); border-bottom: 1px solid var(--neutral-100);
}
.mobile-nav a:hover { color: var(--brand-700); }

@media (min-width: 1024px) {
  .nav-toggle, .mobile-nav { display: none; }
  .header-top { justify-content: center; padding-block: 0.85rem 0.25rem; }
  .nav-row { display: flex; align-items: center; justify-content: center; gap: 1.6rem; padding-block: 0.35rem 0.75rem; position: relative; }
  .nav-row nav { display: flex; gap: 1.6rem; }
  .nav-row nav a { text-decoration: none; font-weight: 600; font-size: 0.97rem; color: var(--brand-900); }
  .nav-row nav a:hover { color: var(--accent-500); }
  .nav-call { position: absolute; right: 0; }
  .header-call { display: none; }
}

/* compact mobile header: one-line brand + icon-only call button */
@media (max-width: 539px) {
  .site-header .logo-text small { display: none; }
  .logo-text { white-space: nowrap; font-size: 1.05rem; }
  .logo { gap: 0.45rem; }
  .header-call span { display: none; }
  .header-call { padding: 0.55rem 0.75rem; }
}
@media (max-width: 400px) {
  .logo-text { font-size: 0.98rem; }
  .logo svg { width: 34px; height: 34px; }
}
@media (max-width: 350px) {
  .logo-text { white-space: normal; font-size: 0.95rem; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  padding: 0.85rem 1.6rem; border-radius: var(--radius-btn);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  min-height: 48px;
}
.btn-primary { background: var(--cta); color: var(--cta-ink); box-shadow: var(--shadow-cta); }
.btn-primary:hover { background: var(--accent-600); color: var(--cta-ink); }
.btn-dark { background: var(--brand-900); color: #fff; }
.btn-dark:hover { background: var(--brand-800); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-outline { background: #fff; color: var(--brand-900); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand-500); color: var(--brand-700); }

@media (max-width: 479px) {
  .btn { white-space: normal; }
}

/* ---------- hero (full-bleed photo + navy gradient) ---------- */
.hero { position: relative; background: var(--brand-900); color: #fff; overflow: clip; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(18,34,71,0.95) 0%, rgba(18,34,71,0.86) 42%, rgba(18,34,71,0.38) 100%);
}
.hero-inner { position: relative; padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(6.5rem, 12vw, 8.5rem); }
.hero .overline { color: var(--brand-300); }
.hero h1 { color: #fff; max-width: 22ch; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #dbe5f4; max-width: 56ch; margin-bottom: 1.5rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.hero-tel { color: #fff; font-weight: 700; font-size: 1.05rem; text-decoration: none; display: inline-flex; gap: 0.5rem; align-items: center; }
.hero-tel:hover { color: var(--brand-300); }

.value-strip {
  position: relative; margin-top: calc(-1 * clamp(3.2rem, 7vw, 5.2rem));
}
.value-strip-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card); overflow: hidden;
}
.value-strip-grid .vp {
  display: flex; align-items: flex-start; gap: 0.7rem; padding: 1.1rem 1.2rem;
  border-left: 1px solid var(--line); min-width: 0;
}
.value-strip-grid .vp:first-child { border-left: 0; }
.vp svg { flex: none; margin-top: 2px; }
.vp b { display: block; color: var(--brand-900); font-size: 0.95rem; line-height: 1.3; }
.vp span { display: block; font-size: 0.82rem; color: var(--ink-soft); line-height: 1.4; }

@media (max-width: 1023px) {
  .value-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-strip-grid .vp:nth-child(3) { border-left: 0; }
  .value-strip-grid .vp:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .value-strip-grid { grid-template-columns: 1fr; }
  .value-strip-grid .vp { border-left: 0; }
  .value-strip-grid .vp:nth-child(n+2) { border-top: 1px solid var(--line); }
}

/* service pages: same full-bleed photo hero */
.hero.split { background: var(--brand-900); }
.hero.split .hero-inner { display: block; position: static; }
.hero-media.split-img { position: absolute; inset: 0; min-height: 0; height: auto; border-radius: 0; border: 0; overflow: hidden; }
.hero-media.split-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media.split-img::after {
  display: block; content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(18,34,71,0.95) 0%, rgba(18,34,71,0.86) 42%, rgba(18,34,71,0.38) 100%);
}
.hero.split .hero-inner > :not(.hero-media) { position: relative; z-index: 2; }
@media (max-width: 900px) {
  .hero.split .hero-inner { display: block; }
  .hero-media.split-img { position: absolute; inset: 0; }
}

/* ---------- cards & grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-card); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-card); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-card); }
.grid-3 > *, .grid-2 > *, .grid-4 > * { min-width: 0; }
@media (max-width: 1023px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft); overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { box-shadow: var(--shadow-card); border-color: var(--brand-400); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.25rem; margin-bottom: 0.4em; }
.card-body p { color: var(--ink-soft); font-size: 0.95rem; flex: 1; }
.card-link { font-weight: 700; text-decoration: none; color: var(--brand-700); display: inline-flex; align-items: center; gap: 0.35rem; }
.card:hover .card-link { color: var(--accent-500); }
a.card { text-decoration: none; color: inherit; }

/* icon squares (blue on light tint) */
.icon-sq {
  width: 52px; height: 52px; border-radius: var(--radius-inner);
  background: var(--brand-100); color: var(--brand-600);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.icon-sq svg { width: 26px; height: 26px; }
.on-dark .icon-sq { background: rgba(255,255,255,0.1); color: var(--brand-300); }

/* ---------- process strip ---------- */
.process-grid { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-card); }
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.5rem; box-shadow: var(--shadow-soft); min-width: 0; }
.step-num { font-family: var(--font-display); font-weight: 400; font-size: 2.2rem; color: var(--accent-500); line-height: 1; display: block; margin-bottom: 0.5rem; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ---------- stat band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-card); }
@media (max-width: 900px) { .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { min-width: 0; }
.stat-number { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--brand-400); display: block; line-height: 1.1; }
.stat-label { font-size: 0.92rem; color: var(--on-dark-soft); }
.section .stat-number { color: var(--brand-700); }
.section .stat-label { color: var(--ink-soft); }

/* ---------- why choose us ---------- */
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.6rem; box-shadow: var(--shadow-soft); min-width: 0; }
.pillar .icon-sq { margin-bottom: 1rem; }
.pillar h3 { font-size: 1.28rem; }
.pillar p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }
.pillar .pillar-stat { display: block; margin-top: 0.9rem; font-weight: 700; color: var(--brand-700); font-size: 0.92rem; }

/* ---------- pricing ---------- */
.pricing-note { font-size: 0.9rem; color: var(--ink-soft); max-width: 70ch; }
.cost-section { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: clamp(1.25rem, 3vw, 2.5rem); }
.cost-section .table-wrap { border: 1px solid var(--line); border-radius: var(--radius-inner); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-inner);
  margin-bottom: 0.75rem; overflow: hidden;
}
.faq summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem; font-weight: 700; color: var(--brand-900); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--accent-500);
  flex: none; line-height: 1; transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.25rem 1.15rem; margin: 0; color: var(--ink-soft); }
.on-dark .faq details { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); }
.on-dark .faq summary { color: #fff; }
.on-dark .faq details p { color: var(--on-dark-soft); }

/* ---------- forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: clamp(1.25rem, 3vw, 2rem); }
.form-card h2, .form-card h3 { margin-top: 0; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin: 0.75rem 0 0; }
.field { margin-bottom: 0.9rem; }
.field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.3rem; color: var(--brand-900); }
.field input, .field select {
  width: 100%; font-size: 16px; font-family: var(--font-body);
  padding: 0.7rem 0.9rem; border: 1px solid var(--neutral-300);
  border-radius: var(--radius-btn); background: var(--neutral-50); color: var(--ink);
}
.field input:focus, .field select:focus { outline: 2px solid var(--brand-500); border-color: var(--brand-500); }
.form-status { display: none; margin-top: 0.75rem; padding: 0.75rem 1rem; border-radius: var(--radius-btn); font-size: 0.92rem; }
.form-status.ok { display: block; background: var(--brand-50); color: var(--brand-800); border: 1px solid var(--brand-200); }
.form-status.err { display: block; background: #fdf1f1; color: #8a2323; border: 1px solid #ecc7c7; }
.form-steps { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-700); margin-bottom: 0.75rem; }
.service-grid-select { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.service-grid-select input { position: absolute; opacity: 0; pointer-events: none; }
.service-grid-select label {
  display: flex; align-items: center; gap: 0.55rem; font-weight: 500; font-size: 0.9rem;
  border: 1px solid var(--neutral-300); border-radius: var(--radius-btn); padding: 0.65rem 0.7rem;
  cursor: pointer; color: var(--ink); margin: 0; background: #fff;
}
.service-grid-select label:hover { border-color: var(--brand-500); }
.service-grid-select input:checked + label { border-color: var(--brand-500); background: var(--brand-50); color: var(--brand-800); }
.service-grid-select input:focus-visible + label { outline: 2px solid var(--brand-500); }
.form-step2 { display: none; }
.form-step2.is-visible { display: block; }
.hero-form .form-card { background: rgba(255,255,255,0.99); }
.form-dark { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.18); box-shadow: none; }
.form-dark label { color: #fff; }
.form-dark .field input, .form-dark .field select { background: rgba(255,255,255,0.95); }
.form-dark .form-note, .form-dark .form-steps { color: var(--on-dark-soft); }

/* ---------- chips (areas, neighborhoods) ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 0 0 1.25rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #fff; border: 1px solid var(--line); color: var(--brand-800);
  border-radius: var(--radius-btn); padding: 0.42rem 0.95rem;
  font-size: 0.9rem; font-weight: 600; text-decoration: none; min-height: 44px;
}
.chip:hover { border-color: var(--brand-500); color: var(--brand-700); background: var(--brand-50); }
.chip-static { color: var(--ink); text-decoration: none; cursor: default; }
.on-dark .chip { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.22); color: #fff; }
.on-dark .chip:hover { background: rgba(255,255,255,0.16); color: #fff; }

/* ---------- two-col feature ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.two-col > * { min-width: 0; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.photo-frame { border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-soft); }
.photo-frame img { width: 100%; }
figcaption { font-size: 0.85rem; color: var(--ink-soft); padding: 0.6rem 1rem; background: #fff; border-top: 1px solid var(--line); }

/* check list */
.check-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.check-list li { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.35rem 0; color: var(--ink-soft); }
.check-list svg { flex: none; margin-top: 4px; }
.on-dark .check-list li { color: var(--on-dark-soft); }
.hero .check-list li { color: #dbe5f4; }
.hero .check-list svg path { stroke: var(--accent-400); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand-900); color: #fff; border-radius: var(--radius-card); padding: clamp(1.75rem, 4vw, 3rem); box-shadow: var(--shadow-card); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% -10%, rgba(252,58,46,0.30), transparent 70%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 0.3em; }
.cta-band p { color: var(--on-dark-soft); max-width: 60ch; }
.cta-band .hero-ctas { margin-top: 1.25rem; }
.cta-band .tel-plain { color: var(--brand-300); font-weight: 700; text-decoration: none; }
.cta-band .tel-plain:hover { color: var(--brand-400); }

/* ---------- breadcrumbs ---------- */
.breadcrumbs { font-size: 0.85rem; color: var(--ink-soft); padding-block: 0.9rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: 0.35rem; }
.breadcrumbs li + li::before { content: "/"; color: var(--neutral-400); }
.breadcrumbs a { color: var(--brand-700); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink-soft); }

/* ---------- blog ---------- */
.post-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 1.25rem; }
.post-meta time { font-weight: 600; }
.article-body { max-width: 76ch; }
.article-body h2 { margin-top: 2em; }
.article-body h3 { margin-top: 1.5em; }
.article-body img { border-radius: var(--radius-card); border: 1px solid var(--line); margin-block: 1.75rem; }
.article-body figure { margin: 1.75rem 0; }
.article-body figure img { margin: 0; }
.article-body ul li, .article-body ol li { margin-bottom: 0.6em; }
.post-card .card-body { padding-bottom: 1.25rem; }
.post-date { font-size: 0.82rem; color: var(--ink-soft); display: block; margin-bottom: 0.35rem; }
.byline { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: var(--ink-soft); }
.byline .avatar-sq { width: 40px; height: 40px; border-radius: var(--radius-btn); background: var(--brand-100); color: var(--brand-800); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-display); }
.related-band { background: var(--brand-50); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.5rem; }
.related-band h2 { font-size: 1.3rem; }

/* ---------- footer (dark navy, Western Rooter style) ---------- */
.site-footer { background: var(--brand-950); color: var(--on-dark-soft); border-top: 4px solid var(--accent-500); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); padding-block: clamp(2.5rem, 5vw, 4rem); }
.footer-grid > * { min-width: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-body); font-weight: 700; color: #8fa1c0; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li::marker { color: var(--brand-950); }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: #b8c4d9; text-decoration: none; }
.site-footer a:hover { color: var(--brand-300); text-decoration: underline; }
.nap-block { font-size: 0.95rem; color: #e3eaf6; line-height: 1.75; }
.nap-block a { font-weight: 700; color: #ffffff; }
.footer-hours { font-size: 0.9rem; color: #93a3bf; margin-top: 0.75rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-block: 1.1rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; align-items: center; font-size: 0.85rem; color: #93a3bf; }
.footer-bottom a { color: #93a3bf; }
/* Footer logo on dark brand-950 background: invert mark plate, lift text */
.site-footer .logo-text { color: #ffffff; }
.site-footer .logo-text small { color: var(--accent-300); }
.site-footer .logo svg rect { fill: #ffffff; }
.site-footer .logo svg .logo-rim { stroke: #122247; }
.site-footer .logo svg .logo-dot { fill: #122247; }

/* ---------- sticky mobile CTA + FAB ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.97); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(13,19,30,0.12);
  transform: translateY(0); transition: transform 0.25s ease;
}
.sticky-cta.is-hidden { transform: translateY(110%); }
.sticky-cta .s-cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  flex: 1; min-height: 48px; border-radius: var(--radius-btn);
  font-weight: 700; font-size: 0.95rem; text-decoration: none; white-space: nowrap;
}
.sticky-cta .s-call { background: var(--cta); color: var(--cta-ink); flex: 1.2; }
.sticky-cta .s-quote { background: var(--brand-900); color: #fff; border: 1px solid var(--brand-800); }
@media (max-width: 767px) { .sticky-cta { display: flex; gap: 8px; } body { padding-bottom: 72px; } }

.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--cta); color: var(--cta-ink);
  display: none; align-items: center; justify-content: center;
  box-shadow: var(--shadow-cta); text-decoration: none;
}
.fab:hover { background: var(--accent-600); }
@media (min-width: 768px) { .fab { display: inline-flex; } }

/* ---------- motion ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp 0.4s ease-out both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { animation: none; }
  * { transition: none !important; }
}

/* ---------- misc ---------- */
.map-embed { border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-soft); }
.map-embed iframe { display: block; width: 100%; border: 0; }
.prose-note { font-size: 0.9rem; color: var(--ink-soft); background: var(--brand-50); border: 1px solid var(--brand-200); border-radius: var(--radius-inner); padding: 1rem 1.25rem; }
.hours-table { max-width: 480px; }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.eyebrow-list { list-style: none; padding: 0; }
.eyebrow-list li { padding-left: 0; }
.tag { display: inline-block; background: var(--brand-100); color: var(--brand-800); border-radius: var(--radius-btn); font-size: 0.78rem; font-weight: 700; padding: 0.2rem 0.75rem; letter-spacing: 0.02em; }

/* ---------- permit cards (hub: Permits & Compliance) ---------- */
.permit-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.permit-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-inner);
  padding: 1.05rem 1.2rem;
  box-shadow: 0 1px 2px rgba(13, 19, 30, 0.05);
  color: var(--ink-soft);
  line-height: 1.6;
}
.permit-card-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-btn);
  background: var(--brand-50);
  display: grid;
  place-items: center;
}
.permit-card-body { min-width: 0; }
.permit-card-body strong { display: block; color: var(--ink); margin-bottom: 0.25rem; }
.permit-card-body p { margin: 0; }
#permits .photo-frame { position: sticky; top: 1.25rem; margin: 0; }
#permits .photo-frame img { display: block; }
@media (max-width: 480px) {
  .permit-card { padding: 0.9rem 0.95rem; gap: 0.7rem; }
}
