/* ============================================================
   Denver Drain Cleaning Co. - Direction A: slab-serif classic
   Palette Teal Oat - tokens locked in design-system.md
   ============================================================ */

/* Self-hosted fonts (latin subset) */
@font-face {
  font-family: 'Arvo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/arvo-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Arvo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/arvo-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'PT Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/pt-sans-400-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/pt-sans-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/pt-sans-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --bg: #F5F3EC;
  --surface: #FFFFFF;
  --ink: #14262A;
  --ink-soft: #3A4B50;
  --primary: #14606B;
  --primary-dark: #0D454D;
  --accent: #E36414;
  --accent-cta: #C15511;
  --line: #D8D3C4;
  --radius: 4px;
  --shadow-soft: 0 2px 12px rgba(20, 38, 42, 0.10);
  --shadow-raised: 0 10px 28px rgba(20, 38, 42, 0.18);
  --font-head: "Arvo", Georgia, "Times New Roman", serif;
  --font-body: "PT Sans", "Helvetica Neue", Arial, sans-serif;
  --measure: 68ch;
  --header-h: 72px;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 1.5rem + 3.4vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.75vw, 2.375rem); font-weight: 700; }
h3 { font-size: clamp(1.3125rem, 1.17rem + 0.7vw, 1.5625rem); font-weight: 400; line-height: 1.25; }

p { margin: 0 0 1em; max-width: var(--measure); }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; max-width: var(--measure); }
li { margin-bottom: 0.45em; }

a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #fff;
  border-radius: var(--radius);
}
.cta-strip a:focus-visible, .site-footer a:focus-visible, .mobile-callbar a:focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px var(--ink); }

::selection { background: var(--primary); color: #fff; }

main { display: block; }

/* ---------- skip link ---------- */

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- layout helpers ---------- */

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section { padding: 88px 0; }
.section--tint { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--slim { padding: 64px 0; }

.two-col { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .two-col { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
  .two-col--sidebar { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .two-col--toc { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); }
}
.content-col, .footer-col { min-width: 0; }
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.justify-center { justify-content: center; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 3px solid var(--primary);
  min-height: var(--header-h);
}
.site-header.is-stuck { box-shadow: var(--shadow-soft); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
  min-height: 44px;
}
.site-brand svg { height: 50px; width: auto; display: block; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  width: 48px;
  height: 48px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.site-nav { display: block; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}

.nav-item { position: relative; margin: 0; }

.nav-link, .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  background: none;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-body);
  white-space: nowrap;
}
.nav-link:hover, .dropdown-toggle:hover { color: var(--primary); background: rgba(20, 96, 107, 0.08); }

.dropdown-toggle .caret {
  width: 0;
  height: 0;
  margin-left: 8px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  list-style: none;
  margin: 4px 0 0;
  padding: 8px;
  background: var(--surface);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-raised);
  z-index: 120;
  max-width: none;
}
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu li { margin: 0; }
.dropdown-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 0.98rem;
}
.dropdown-menu a:hover { background: rgba(20, 96, 107, 0.08); color: var(--primary); }

.phone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 22px;
  margin-left: 12px;
  background: var(--accent-cta);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid var(--accent-cta);
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
}
.phone-btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.phone-btn svg { width: 18px; height: 18px; flex: 0 0 18px; }
.phone-btn--menu { display: none; }

/* ---------- hero ---------- */

.hero {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 72px;
}
.hero-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.hero-copy .kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 6px 14px;
  margin-bottom: 20px;
}
.hero-copy h1 { margin-bottom: 16px; }
.hero-copy .lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin: 28px 0 16px; }
.zip-line { font-size: 0.95rem; font-weight: 700; color: var(--primary); }
.contact-phone {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  line-height: 1.2;
  color: var(--accent-cta);
  text-decoration: none;
  padding: 4px 8px;
}
.contact-phone:hover { color: var(--primary-dark); text-decoration: underline; }
.cta-line { margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.hero-media { position: relative; }
.hero-media .media-box { box-shadow: var(--shadow-raised); border: 3px solid var(--primary); }

.hero--compact { padding: 48px 0 56px; }
.hero--compact .hero-copy { max-width: 68ch; }

/* ---------- media boxes ---------- */

.media-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #E4DFD2;
}
.media-box--hero { aspect-ratio: 16 / 9; }
.media-box--card { aspect-ratio: 4 / 3; }
.media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn--accent { background: var(--accent-cta); border-color: var(--accent-cta); color: #fff; box-shadow: var(--shadow-soft); }
.btn--accent:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn--primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn--outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--white { background: #fff; border-color: #fff; color: var(--ink); }
.btn--white:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--lg { min-height: 60px; font-size: 1.2rem; padding: 14px 36px; }

/* ---------- boxed sections (signature: border draw-in) ---------- */

.box {
  position: relative;
  background: var(--surface);
  border: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.box::before {
  content: "";
  position: absolute;
  inset: -3px;
  border: 3px solid var(--accent);
  border-radius: var(--radius);
  clip-path: inset(0 100% 100% 0);
  pointer-events: none;
}
/* draw-in runs once the reveal observer adds .is-visible */
.js .box.is-visible::before {
  animation: border-draw 0.6s ease-out 0.05s both;
}
@keyframes border-draw {
  from { clip-path: inset(0 100% 100% 0); }
  50% { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}
.box--feature { border-top-width: 10px; }
.box h2:first-child, .box h3:first-child { margin-top: 0; }
.box > :last-child { margin-bottom: 0; }

/* ---------- checklist sidebar ---------- */

.checklist {
  background: var(--surface);
  border-left: 8px solid var(--primary);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  height: 100%;
}
.checklist-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  margin-bottom: 16px;
  color: var(--primary);
}
.checklist-list { list-style: none; margin: 0; padding: 0; max-width: none; }
.checklist-list li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 14px;
}
.checklist-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 2px;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

/* ---------- while you wait ---------- */

.while-wait {
  background: #FFF9F2;
  border: 3px dashed var(--accent);
  border-radius: var(--radius);
  padding: 32px;
}
.while-wait h2, .while-wait h3 { color: var(--ink); }
.while-wait h2:first-child, .while-wait h3:first-child { margin-top: 0; }

/* ---------- CTA strip ---------- */

.cta-strip {
  background: var(--accent-cta);
  color: #fff;
  padding: 64px 0;
  text-align: center;
  border-top: 6px solid var(--primary);
  border-bottom: 6px solid var(--primary);
}
.cta-strip h2 { color: #fff; margin-bottom: 12px; }
.cta-strip p { color: #fff; margin: 0 auto 24px; font-size: 1.1rem; }
.cta-strip .btn--white { box-shadow: var(--shadow-raised); }

/* ---------- table of contents ---------- */

.toc {
  background: var(--surface);
  border: 2px solid var(--line);
  border-top: 6px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.toc-title { font-family: var(--font-head); font-size: 1.1rem; margin: 0 0 12px; }
.toc-list { list-style: none; margin: 0; padding: 0; max-width: none; }
.toc-list li { margin-bottom: 6px; }
.toc-link {
  display: inline-block;
  min-height: 44px;
  padding: 10px 0;
  font: inherit;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--primary);
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.toc-link:hover { color: var(--primary-dark); text-decoration: underline; }

/* ---------- summary card (service hero) ---------- */

.summary-card {
  background: var(--surface);
  border: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.summary-card h2, .summary-card h3 { font-size: 1.25rem; color: var(--primary); margin-bottom: 12px; }
.summary-card ul { list-style: none; margin: 0; padding: 0; max-width: none; }
.summary-card li { padding-left: 32px; position: relative; margin-bottom: 10px; }
.summary-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
}

/* ---------- FAQ accordion ---------- */

.faq { border-top: 3px solid var(--primary); }
.faq-item { border-bottom: 2px solid var(--line); background: var(--surface); }
.faq-item:first-of-type { border-top: 0; }
.faq-item > h3 { margin: 0; font-size: 1rem; font-weight: 400; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 18px 24px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--ink);
}
.faq-question:hover { color: var(--primary); }
.faq-question .faq-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  position: relative;
}
.faq-question .faq-icon::before, .faq-question .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--primary);
  left: 50%;
  top: 50%;
}
.faq-question .faq-icon::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.faq-question .faq-icon::after { width: 2px; height: 12px; transform: translate(-50%, -50%); transition: transform 0.2s ease; }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-answer { padding: 0 24px; }
.faq-answer p { margin-bottom: 1em; }
.faq-item .faq-answer-inner { padding-bottom: 24px; }

/* ---------- breadcrumbs ---------- */

.breadcrumbs { padding: 20px 0 0; font-size: 0.95rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: none; }
.breadcrumbs li { margin: 0; flex: 0 0 auto; }
.breadcrumbs a { display: inline-block; padding: 10px 0; }
@media (max-width: 400px) { .breadcrumbs li { flex: 0 1 auto; } }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--ink-soft); }
.breadcrumbs [aria-current="page"] { color: var(--ink-soft); }

/* ---------- fact strip (area pages) ---------- */

.fact-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 28px 0;
}
@media (min-width: 700px) { .fact-strip { grid-template-columns: repeat(3, 1fr); } }
.fact {
  background: var(--surface);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.fact .fact-label { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); margin-bottom: 4px; }
.fact .fact-value { font-family: var(--font-head); font-size: 1.25rem; }

/* ---------- steps (how a call works) ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: 1fr; max-width: none; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: var(--surface);
  border: 3px solid var(--primary);
  border-top-width: 10px;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent-cta);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: 0.98rem; margin: 0; }

/* ---------- panels (services list, numbered) ---------- */

.panel-list { display: grid; gap: 24px; grid-template-columns: 1fr; max-width: none; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .panel-list { grid-template-columns: 1fr 1fr; } }
.panel {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  background: var(--surface);
  border: 2px solid var(--line);
  border-left: 8px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.panel-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
}
.panel h3 { margin-bottom: 8px; }
.panel p { font-size: 0.98rem; margin-bottom: 12px; }
.panel a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.panel:hover { border-left-color: var(--accent-cta); }
.panel a:focus-visible { outline: none; box-shadow: none; }
.panel:focus-within { outline: 3px solid var(--ink); outline-offset: 2px; }

/* ---------- area strip ---------- */

.area-strip { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.area-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 20px;
  background: var(--surface);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  color: var(--primary);
}
.area-strip a:hover { background: var(--primary); color: #fff; }

/* ---------- pull note ---------- */

.pull-note {
  border-left: 8px solid var(--accent);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px 32px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  line-height: 1.5;
  box-shadow: var(--shadow-soft);
  margin: 32px 0;
}

/* ---------- tables ---------- */

.table-wrap { overflow-x: auto; margin: 24px 0; border: 2px solid var(--primary); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 0.98rem; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 400; }
tr:last-child th, tr:last-child td { border-bottom: 0; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: #EDEAE0;
  padding: 72px 0 0;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  padding-bottom: 48px;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand p { font-size: 0.95rem; color: #C9C5B8; }
.footer-brand svg { height: 54px; width: auto; display: block; margin-bottom: 16px; }
.footer-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}
.footer-links { list-style: none; margin: 0; padding: 0; max-width: none; }
.footer-links li { margin-bottom: 4px; }
.footer-links a {
  display: inline-block;
  color: #EDEAE0;
  text-decoration: none;
  padding: 10px 0;
  min-height: 44px;
  font-size: 0.98rem;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 28px;
  background: var(--accent-cta);
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  border-radius: var(--radius);
  margin: 16px 0;
}
.footer-phone:hover { background: #fff; color: var(--ink); }
.service-area-line { font-size: 0.95rem; color: #C9C5B8; margin-bottom: 8px; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 32px 0 120px;
  font-size: 0.9rem;
  color: #C9C5B8;
}
.footer-legal p { max-width: 80ch; }
.disclosure { margin-top: 16px; }

/* ---------- mobile bottom call bar + floating call button ---------- */

.mobile-callbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  background: var(--surface);
  border-top: 3px solid var(--primary);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(20, 38, 42, 0.15);
}
.mobile-callbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  background: var(--accent-cta);
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  border-radius: var(--radius);
}
.mobile-callbar a svg { width: 20px; height: 20px; }

.float-call {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 140;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 24px;
  background: var(--accent-cta);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: var(--shadow-raised);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.float-call.is-on { opacity: 1; transform: none; pointer-events: auto; }
.float-call:hover { color: #fff; background: var(--primary-dark); }
.float-call svg { width: 20px; height: 20px; }

@media (max-width: 899px) {
  .mobile-callbar { display: block; }
  .float-call { display: none; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .footer-legal { padding-bottom: 32px; }
}
@media (min-width: 900px) and (max-width: 1140px) {
  .header-inner { gap: 8px; }
  .site-brand svg { height: 42px; }
  .nav-link, .dropdown-toggle { padding: 8px 10px; }
  .header-inner > .phone-btn { padding: 10px 14px; margin-left: 4px; font-size: 0; gap: 0; }
  .header-inner > .phone-btn svg { width: 22px; height: 22px; flex-basis: 22px; }
}

/* ---------- reveal animation ---------- */

.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
/* no-JS: .reveal stays visible because the .js gate never applies */

/* ---------- responsive ---------- */

@media (max-width: 899px) {
  .section { padding: 56px 0; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 3px solid var(--primary);
    box-shadow: var(--shadow-raised);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
  .nav-link, .dropdown-toggle { width: 100%; justify-content: space-between; min-height: 52px; font-size: 1.05rem; }
  .dropdown-menu { position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; margin: 0; min-width: 0; }
  .dropdown-menu a { min-height: 48px; font-size: 1rem; }
  .phone-btn--menu { display: inline-flex; margin: 8px 16px 16px; width: calc(100% - 32px); }
  .header-inner > .phone-btn { display: none; }
  .toc { position: static; margin-bottom: 32px; }
  .box { padding: 28px 22px; }
  .hero { padding: 48px 0 56px; }
}

@media (max-width: 400px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .hero-ctas .btn { width: 100%; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .box.is-visible::before { animation: none; clip-path: inset(0 0 0 0); }
}

/* ---------- print ---------- */

@media print {
  .site-header .site-nav, .nav-toggle, .mobile-callbar, .float-call, .cta-strip, .skip-link { display: none !important; }
  .site-header { position: static; }
  .section { padding: 24px 0; }
}
