/*!
 * Lancaster Plumbing & Drain - mobile-first stylesheet
 * Shared by index.html and the service pages (drain-cleaning-lancaster-pa.html etc.)
 *
 * CONTENTS
 *  1. Tokens          5. Hero              9. Reviews / FAQ / map
 *  2. Base            6. Sections & cards 10. Footer
 *  3. Buttons         7. Value band       11. Mobile call bar
 *  4. Header & nav    8. Bands & CTA      12. Motion & utilities
 */

/* 1. TOKENS ============================================================= */
:root {
  --brand: #1849b8;
  --brand-strong: #12378f;
  --brand-soft: #eaf0fc;
  --brand-line: #cddaf5;
  --accent: #f5a524;
  --ink: #0b1630;
  --muted: #4a5870;
  --paper: #ffffff;
  --card: #ffffff;
  --hero-from: #f1f5fd;
  --header-bg: rgb(255 255 255 / .97);
  --footer-bg: #0a1a36;
  --brand-text: #1849b8;
  --brand-text-hover: #12378f;
  --surface: #f4f7fc;
  --line: #e1e7f1;
  --band: #143f85;
  --star: #f5a524;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgb(11 22 48 / .06), 0 2px 8px rgb(11 22 48 / .06);
  --shadow-md: 0 10px 28px -10px rgb(11 22 48 / .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 64px;
  --container: 1200px;
  --gutter: 1.125rem;
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

/* Dark mode: follows the visitor's OS, and the header button can force either mode */
:root[data-theme="dark"] {
  --paper: #0b1220;
  --card: #121c31;
  --surface: #0f1829;
  --hero-from: #0f1a30;
  --header-bg: rgb(11 18 32 / .96);
  --footer-bg: #070d18;
  --ink: #e8edf7;
  --muted: #a6b3c9;
  --line: #223049;
  --brand: #2d5fd3;
  --brand-strong: #4a78e6;
  --brand-soft: #16264a;
  --brand-line: #2a4380;
  --brand-text: #8fb0ff;
  --brand-text-hover: #bcd0ff;
  --band: #10306a;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .4);
  --shadow-md: 0 12px 30px -12px rgb(0 0 0 / .7);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --paper: #0b1220;
  --card: #121c31;
  --surface: #0f1829;
  --hero-from: #0f1a30;
  --header-bg: rgb(11 18 32 / .96);
  --footer-bg: #070d18;
  --ink: #e8edf7;
  --muted: #a6b3c9;
  --line: #223049;
  --brand: #2d5fd3;
  --brand-strong: #4a78e6;
  --brand-soft: #16264a;
  --brand-line: #2a4380;
  --brand-text: #8fb0ff;
  --brand-text-hover: #bcd0ff;
  --band: #10306a;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .4);
  --shadow-md: 0 12px 30px -12px rgb(0 0 0 / .7);
  color-scheme: dark;
  }
}

/* 2. BASE =============================================================== */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: clamp(1.65rem, 5.4vw, 2.5rem); scroll-margin-top: calc(var(--header-h) + 16px); }
h3 { font-size: 1.125rem; letter-spacing: -.01em; }
h1 em, h2 em { font-style: normal; color: var(--brand-text); }
p { margin: 0 0 1rem; }
a { color: var(--brand-text); text-decoration: none; }
a:hover { color: var(--brand-text-hover); }
:focus-visible { outline: 3px solid var(--brand-text); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: .75rem; top: -4rem; z-index: 100; padding: .7rem 1rem; background: #0a1a36; color: #fff; border-radius: 10px; }
.skip-link:focus { top: .75rem; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { width: 100%; max-width: calc(820px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow { display: inline-block; margin-bottom: .6rem; font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text); }
.lead { font-size: 1.0625rem; color: var(--muted); max-width: 62ch; }

/* 3. BUTTONS & BADGES =================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.4rem;
  font: inherit; font-weight: 800; font-size: 1rem; line-height: 1.2; text-align: center;
  color: #fff; background: var(--brand); border: 2px solid var(--brand); border-radius: 14px;
  cursor: pointer; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { color: #fff; background: var(--brand-strong); border-color: var(--brand-strong); }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 54px; padding-inline: 1.6rem; font-size: 1.0625rem; }
.btn--ghost { color: var(--brand-text); background: var(--card); }
.btn--ghost:hover { color: var(--brand-text-hover); background: var(--brand-soft); border-color: var(--brand); }
.btn--accent { color: #1d1400; background: var(--accent); border-color: var(--accent); }
.btn--accent:hover { color: #1d1400; background: #e39610; border-color: #e39610; }
.btn--outline-light { color: #12378f; background: #fff; border-color: #fff; }
.btn--outline-light:hover { color: #12378f; background: var(--brand-soft); border-color: var(--brand-soft); }
.btn--line-light { color: #fff; background: transparent; border-color: rgb(255 255 255 / .7); }
.btn--line-light:hover { color: #12378f; background: #fff; border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row .btn { flex: 1 1 100%; }
@media (min-width: 640px) { .btn-row .btn { flex: 0 0 auto; } }

.badge { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; font-size: .8125rem; font-weight: 800; color: var(--brand-text); background: var(--brand-soft); border-radius: 999px; }
.badge--dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgb(22 163 74 / .2); }

.link-arrow { display: inline-flex; align-items: center; gap: .35rem; margin-top: .75rem; font-weight: 800; color: var(--brand-text); }
.link-arrow .icon { width: 1em; height: 1em; transition: transform .2s; }

/* 4. TOP BAR, HEADER, NAV =============================================== */
.topbar { display: none; font-size: .8125rem; color: #fff; background: #0a1a36; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .4rem; }
.topbar ul { display: flex; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.topbar li, .topbar a { display: flex; align-items: center; gap: .4rem; }
.topbar a { color: #fff; font-weight: 700; }
.topbar .icon { width: 15px; height: 15px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 18px -8px rgb(11 22 48 / .22); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { width: 38px; height: 38px; flex: none; }
.lm-drop, .lm-bg { fill: var(--brand); }
.lm-pipe, .lm-arch { stroke: #fff; fill: none; }
.lm-key { fill: #fff; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font-size: 1.125rem; font-weight: 800; letter-spacing: -.02em; }
.logo-sub { font-size: .75rem; font-weight: 600; color: var(--muted); }

.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-phone { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; color: #fff; background: var(--brand); border-radius: 999px; }
.header-phone:hover { color: #fff; background: var(--brand-strong); }
.phone-icon { display: grid; place-items: center; width: 44px; height: 44px; }
.header-phone > span:not(.phone-icon) { display: none; }
.header-phone small { display: block; font-size: .7rem; font-weight: 600; opacity: .85; line-height: 1.1; }

.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
}

/* Mobile menu: full-width panel under the header */
.nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
  padding: .25rem var(--gutter) 1.25rem; background: var(--card);
  border-top: 1px solid var(--line); box-shadow: 0 22px 30px -14px rgb(11 22 48 / .3);
}
.site-header.nav-open .nav { display: block; }
.nav ul { margin: 0; padding: 0; list-style: none; }
.nav li:not(.nav-cta) a { display: flex; align-items: center; min-height: 54px; font-size: 1.0625rem; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
.nav li:not(.nav-cta) a[aria-current="page"] { color: var(--brand-text); }
.nav-cta { margin-top: 1.1rem; }
.nav-cta .btn { width: 100%; }

@media (max-width: 359px) { .logo-sub { display: none; } }

@media (min-width: 1021px) {
  :root { --header-h: 76px; }
  .topbar { display: block; }
  .header-phone { padding-right: 1.25rem; border-radius: 14px; }
  .header-phone > span:not(.phone-icon) { display: block; font-size: .9375rem; line-height: 1.2; }
  .nav-toggle { display: none; }
  .nav { display: flex; position: static; flex: 1; justify-content: center; max-height: none; overflow: visible; padding: 0; background: none; border: 0; box-shadow: none; }
  .nav ul { display: flex; gap: 2rem; }
  .nav li:not(.nav-cta) a { position: relative; min-height: 44px; font-size: .9688rem; border: 0; }
  .nav li:not(.nav-cta) a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; border-radius: 3px; background: var(--brand); transform: scaleX(0); transition: transform .2s var(--ease); }
  .nav li:not(.nav-cta) a:hover::after, .nav li:not(.nav-cta) a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-cta { display: none; }
}

/* 5. HERO =============================================================== */
.hero { position: relative; overflow: hidden; padding-block: 1.75rem 2.25rem; background: linear-gradient(180deg, var(--hero-from) 0, var(--paper) 100%); }
.hero-grid { display: grid; gap: 1.5rem; }
.hero h1 { margin: .35rem 0 .9rem; font-size: clamp(2.1rem, 8.6vw, 3.4rem); }
.hero .eyebrow { margin-bottom: 0; }
.hero .badge { margin-bottom: .6rem; }
.hero .lead { margin-bottom: 1.35rem; }

.hero-trust { display: grid; grid-template-columns: 1fr 1fr; gap: .95rem .75rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.hero-trust li { display: flex; align-items: center; gap: .6rem; font-size: .875rem; font-weight: 600; line-height: 1.25; }
.hero-trust .icon { width: 28px; height: 28px; color: var(--brand-text); stroke-width: 1.75; }
.hero-trust strong { display: block; font-weight: 800; }

.hero-art { position: relative; }
.hero-img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: 62% 30%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

.float-card { position: absolute; left: .75rem; bottom: .75rem; z-index: 2; display: flex; align-items: center; gap: .7rem; padding: .6rem .9rem; font-size: .8125rem; line-height: 1.3; background: var(--card); border-radius: 14px; box-shadow: var(--shadow-md); }
.float-card span { color: var(--muted); }
.float-card strong { display: block; font-size: .9375rem; }
.float-card .big { font-size: 1.75rem; font-weight: 800; line-height: 1; color: var(--ink); }
.float-card .stars { display: flex; color: var(--star); }
.float-card--br { left: auto; right: .75rem; }
.float-card--tl { bottom: auto; top: .75rem; }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars .icon { width: 16px; height: 16px; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: none; font-size: .8125rem; font-weight: 800; color: #fff !important; background: var(--brand); border-radius: 50%; }

@media (min-width: 1021px) {
  .hero { display: flex; align-items: center; min-height: 560px; padding-block: 0; background: var(--paper); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); width: 100%; }
  .hero-grid > div:first-child { position: relative; z-index: 2; max-width: 600px; padding-block: 4rem 4.5rem; }
  .hero h1 { font-size: clamp(2.8rem, 4.4vw, 3.6rem); }
  .hero-art { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; }
  .hero-art::before { content: ""; position: absolute; inset: 0 auto 0 0; z-index: 1; width: 40%; background: linear-gradient(90deg, var(--paper), transparent); pointer-events: none; }
  .hero-img { height: 100%; aspect-ratio: auto; object-position: 60% center; border-radius: 0; box-shadow: none; }
  .float-card { bottom: 2rem; }
  .float-card--br { right: 2rem; }
  .float-card--tl { top: 2rem; bottom: auto; left: auto; right: 2rem; }
}

/* Phones & tablets: put the photo right after the headline (text blocks are re-ordered with CSS only) */
@media (max-width: 1020px) {
  .hero-grid { gap: 0; }
  .hero-grid > div:first-child { display: contents; }
  .hero-art { order: 1; margin: .25rem 0 1.4rem; }
  .hero-grid > div:first-child > .lead,
  .hero-grid > div:first-child > .btn-row,
  .hero-grid > div:first-child > .hero-trust { order: 2; }
  .hero-img { aspect-ratio: 16 / 10; }
}

/* 6. SECTIONS & CARDS =================================================== */
.section { padding-block: clamp(2.75rem, 7vw, 5.5rem); }
.section--tight { padding-block: 1.25rem 2.5rem; }
.section--tint { background: var(--surface); }
.section-head { max-width: 720px; margin-bottom: 1.75rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--center h2::after { content: ""; display: block; width: 56px; height: 4px; margin: .9rem auto 0; border-radius: 4px; background: var(--brand); }

.grid { display: grid; gap: 1rem; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1021px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 800px) { .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
.text-block p { margin: 0 0 .85rem; }
.text-block p:last-of-type { margin-bottom: 0; }
.text-block .link-arrow { margin-top: 1rem; }
.prose p { max-width: 68ch; color: var(--muted); }

.card { position: relative; padding: 1.25rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card h3 { margin: 0 0 .4rem; }
.card p { margin: 0; color: var(--muted); }
@media (hover: hover) {
  .card--hover { transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
  .card--hover:hover { transform: translateY(-3px); border-color: var(--brand-line); box-shadow: var(--shadow-md); }
  .card--hover:hover .link-arrow .icon { transform: translateX(3px); }
}
.icon-tile { display: grid; place-items: center; width: 52px; height: 52px; flex: none; color: var(--brand-text); background: var(--brand-soft); border-radius: 14px; }
.icon-tile .icon { width: 26px; height: 26px; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card h3 a { color: var(--ink); }
.service-card .icon-tile { margin-bottom: .9rem; }
.price-from { margin-top: 1rem !important; }
.price-from strong { font-size: 1.6rem; color: var(--brand); }

/* Phones: icon on the left, text on the right = compact cards */
@media (max-width: 699px) {
  .service-card:has(> .icon-tile) { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: start; }
  .service-card:has(> .icon-tile) .icon-tile { grid-row: 1 / span 3; margin: 0; }
}

.steps { counter-reset: step; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: .9rem; font-weight: 800; color: #fff; background: var(--brand); border-radius: 50%; }

.split { display: grid; gap: 2.25rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.media-stack { position: relative; margin-bottom: 1rem; }
.media-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.media-stack .float-card { left: 1rem; bottom: -1rem; }

.checklist { display: grid; gap: 1rem; margin: 1.25rem 0 1.75rem; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: .8rem; }
.checklist li > .icon { width: 26px; height: 26px; margin-top: 2px; padding: 5px; color: var(--brand-text); background: var(--brand-soft); border-radius: 50%; stroke-width: 3; }
.checklist strong { display: block; }
.checklist span { font-size: .9375rem; color: var(--muted); }

/* 7. VALUE BAND (blue strip under the services) ========================= */
.value-band { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; padding: 1.5rem 1.25rem; color: #fff; background: var(--band); border-radius: var(--radius-lg); }
.value-item { display: flex; flex-direction: column; gap: .6rem; }
.value-item .icon { width: 34px; height: 34px; stroke-width: 1.6; }
.value-item > div { min-width: 0; }
.value-title { margin: 0; font-size: 1rem; font-weight: 800; line-height: 1.25; }
.value-text { margin: .25rem 0 0; font-size: .875rem; line-height: 1.45; color: rgb(255 255 255 / .82); }
@media (min-width: 900px) {
  .value-band { grid-template-columns: repeat(4, 1fr); gap: 0; padding: 1.75rem 1.5rem; }
  .value-item { flex-direction: row; align-items: flex-start; gap: 1rem; padding-inline: 1.25rem; border-left: 1px solid rgb(255 255 255 / .22); }
  .value-item:first-child { border-left: 0; }
}

/* 8. BANDS & FINAL CTA ================================================== */
.band { position: relative; overflow: hidden; padding: 1.75rem 1.25rem; color: #fff; background: linear-gradient(135deg, #12397a, #1849b8); border-radius: var(--radius-lg); }
.band h2 { color: #fff; font-size: clamp(1.5rem, 5.4vw, 2.2rem); }
.band p { color: rgb(255 255 255 / .88); }
.band .eyebrow { color: #ffd37a; }
.band-grid { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .band { padding: 2.5rem 3rem; } .band-grid { grid-template-columns: 1.5fr auto; } }
.band-phone { display: flex; align-items: center; justify-content: center; gap: .8rem; width: 100%; min-height: 64px; padding: .5rem 1.5rem .5rem .6rem; font-size: clamp(1.3rem, 6vw, 1.75rem); font-weight: 800; color: #12378f; background: #fff; border-radius: 999px; }
.band-phone:hover { color: #12378f; }
@media (min-width: 900px) { .band-phone { width: auto; } }
.pulse { position: relative; display: grid; place-items: center; width: 48px; height: 48px; color: #fff; background: var(--brand); border-radius: 50%; }
.pulse::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--brand); border-radius: 50%; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { to { transform: scale(1.6); opacity: 0; } }
.cta-final .band { text-align: center; }
.cta-final p { max-width: 56ch; margin-inline: auto; }
.cta-final .btn-row { justify-content: center; margin-top: 1.25rem; }

/* 9. AREAS, MAP, FAQ, BREADCRUMB =============================== */
.areas { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 1.5rem; padding: 0; list-style: none; }
.areas li { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; font-size: .9375rem; font-weight: 700; background: var(--card); border: 1px solid var(--line); border-radius: 999px; }
.areas .icon { width: 16px; height: 16px; color: var(--brand-text); }
.map-ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--brand-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.map-ph iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (min-width: 900px) { .map-ph { aspect-ratio: 5 / 4; } }

.faq { display: grid; gap: .75rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.faq details[open] { border-color: var(--brand-line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: .85rem 1.1rem; font-weight: 800; line-height: 1.35; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--brand-text); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { padding: 0 1.1rem 1.1rem; color: var(--muted); }
.faq .answer p { margin: 0; }

.breadcrumb { padding-block: .9rem 0; font-size: .875rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; color: var(--muted); }
.breadcrumb li + li::before { content: "\203A"; margin-right: .4rem; }

/* 10. FOOTER ============================================================ */
.site-footer { padding-block: 3rem calc(6.5rem + env(safe-area-inset-bottom)); font-size: .9375rem; color: rgb(255 255 255 / .8); background: var(--footer-bg); }
.site-footer a { color: rgb(255 255 255 / .88); }
.site-footer a:hover { color: #fff; }
.site-footer .logo, .site-footer .logo-name { color: #fff; }
.site-footer .logo-sub { color: rgb(255 255 255 / .65); }
.site-footer p { max-width: 42ch; margin: .9rem 0 0; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; }
.footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
.footer-title, .site-footer h2 { margin: 0 0 .7rem; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 36px; }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .85rem; }
.footer-contact .icon { margin-top: .2rem; color: #7fa4f0; }
.footer-contact address { font-style: normal; }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; background: rgb(255 255 255 / .1); border-radius: 12px; }
.footer-bottom { display: flex; flex-direction: column; gap: .75rem; margin-top: 2.25rem; padding-top: 1.25rem; font-size: .8125rem; border-top: 1px solid rgb(255 255 255 / .14); }
.footer-bottom p { margin: 0; max-width: none; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
@media (min-width: 700px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
@media (min-width: 900px) {
  .site-footer { padding-block: 4rem 1.75rem; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: auto; }
}

/* 11. MOBILE CALL BAR =================================================== */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: var(--header-bg); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -14px rgb(11 22 48 / .35); }
.callbar .btn { min-height: 50px; padding-inline: .5rem; }
@media (min-width: 900px) { .callbar { display: none; } }

/* 12. MOTION & UTILITIES ================================================ */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 2rem; }
/* Links inside the dark blue bands (used on the drain cleaning page) */
.band p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.band p a:hover { color: #ffd37a; }
/* Desktop: show image on the right */
.mobile-image {
  display: none;
}
.desktop-image {
  display: block;
}
/* Mobile: show image after the heading */
@media (max-width: 768px) {
  .mobile-image {
    display: block;
    margin: 1rem 0 1.5rem;
  }
  .desktop-image {
    display: none;
  }
}

/* ===== Other Services page ===== */
.page-head { padding-block: 1.25rem 2rem; background: linear-gradient(180deg, var(--hero-from) 0, var(--paper) 100%); }
.page-head h1 { margin: .35rem 0 .9rem; font-size: clamp(2rem, 7.5vw, 3.1rem); }
.page-head .eyebrow { margin-bottom: 0; }
.page-head .lead { margin-bottom: 0; }
@media (min-width: 900px) { .page-head { padding-block: 1.5rem 3rem; } }

.svc-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 700px) { .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
.svc-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.svc-media { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 8; color: #fff; background: linear-gradient(135deg, var(--band), var(--brand)); }
.svc-media .icon { width: 56px; height: 56px; stroke-width: 1.5; }
.svc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem; }
.svc-card .svc-title { margin: 0 0 .5rem; font-size: 1.25rem; scroll-margin-top: 0; }
.svc-card .svc-title a { color: var(--ink); }
.svc-card .svc-body p { margin: 0 0 1rem; color: var(--muted); }
.svc-card .link-arrow { margin-top: auto; }

/* Pagination arrows (before the footer) */
.pager { display: flex; align-items: center; justify-content: center; gap: 1rem; padding-block: 1.5rem 2.75rem; }
.pager-btn { display: inline-grid; place-items: center; width: 52px; height: 52px; color: var(--brand-text); background: var(--card); border: 2px solid var(--brand); border-radius: 50%; transition: background .15s, color .15s; }
.pager-btn .icon { width: 24px; height: 24px; stroke-width: 2.5; }
a.pager-btn:hover { color: #fff; background: var(--brand); }
.pager-btn[aria-disabled="true"] { color: var(--muted); border-color: var(--line); opacity: .55; pointer-events: none; }
.pager-status { min-width: 6rem; font-size: .9375rem; font-weight: 700; text-align: center; color: var(--muted); }

/* ===== Legal pages (privacy policy, terms) ===== */
.legal h2 { margin: 2.25rem 0 .75rem; font-size: clamp(1.25rem, 4.5vw, 1.6rem); scroll-margin-top: calc(var(--header-h) + 16px); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.legal li { margin-bottom: .5rem; }
.legal strong { color: var(--ink); }

/* ===== Contact form ===== */
.split--top { align-items: start; }
.form { padding: 1.25rem; }
.form h2 { margin: 0 0 .4rem; font-size: 1.5rem; }
.form-grid { display: grid; gap: 1rem; margin: 1.25rem 0; }
@media (min-width: 700px) {
  .form { padding: 1.75rem; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}
.field label { display: block; margin-bottom: .4rem; font-size: .9375rem; font-weight: 700; }
.field label span { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .75rem .9rem; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgb(24 73 184 / .22); }
.field--check { display: flex; align-items: flex-start; gap: .7rem; }
.field--check input { flex: none; width: 22px; min-height: 0; height: 22px; margin-top: 2px; accent-color: var(--brand); }
.field--check label { margin: 0; font-weight: 500; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn { width: 100%; }
@media (min-width: 700px) { .form .btn { width: auto; } }
.form-status { margin: 1rem 0 0; padding: .8rem 1rem; font-weight: 600; border-radius: 12px; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #14532d; background: #e8f7ee; }
.form-status.is-error { color: #7f1d1d; background: #fdecec; }
.form-note { margin: 1rem 0 0; font-size: .875rem; color: var(--muted); }
.page-contact .map-ph { margin-top: 1.5rem; }