/* Advanced Backflow Solutions — site styles
   Palette: deep navy (trust) · clean-water aqua (brand) · safety orange (action) */

:root {
  --ink: #0b1b2b;
  --navy: #0e2a47;
  --navy-2: #12375c;
  --aqua: #14a3c7;       /* on dark backgrounds */
  --aqua-ink: #0b7a99;   /* aqua text on light backgrounds (AA) */
  --aqua-soft: #d9f1f8;
  --orange: #ff6a2b;     /* accents on dark backgrounds */
  --orange-btn: #d4430c; /* white text on this passes AA */
  --orange-btn-hover: #b53809;
  --orange-dark: #c2410c; /* orange text on light backgrounds (AA) */
  --paper: #f6f8f9;
  --mist: #eaf2f5;
  --line: #dbe4e9;
  --text: #1c2b39;
  --muted: #5b6b7a;
  --white: #fff;

  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(11, 27, 43, .06), 0 8px 24px rgba(11, 27, 43, .08);
  --shadow-lg: 0 24px 60px rgba(11, 27, 43, .18);
  --wrap: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--aqua-ink); margin-bottom: 14px;
}
.hero .eyebrow, .page-hero .eyebrow, .section-dark .eyebrow, .cta-band .eyebrow { color: var(--aqua); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--orange-btn); color: #fff; box-shadow: 0 8px 20px rgba(212, 67, 12, .3); }
.btn-primary:hover { background: var(--orange-btn-hover); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 18px 32px; font-size: 1.08rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #c9d6e2; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--orange); }
.topbar .emergency { display: inline-flex; align-items: center; gap: 8px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.topbar .hours { display: none; }
@media (min-width: 900px) { .topbar .hours { display: inline; } }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 46px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.22rem; letter-spacing: -.02em; }
.brand-text span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav { display: none; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav li { position: relative; }
.nav a, .nav button {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 10px; border: 0; background: none;
  font: 600 .96rem var(--font-body); color: var(--text); text-decoration: none; cursor: pointer;
}
.nav a:hover, .nav button:hover, .nav li:focus-within > button { background: var(--mist); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--orange-dark); }
.nav button svg { width: 14px; height: 14px; transition: transform .2s; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 290px;
  list-style: none; margin: 0; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.dropdown a { display: block; padding: 10px 12px; }
.dropdown a small { display: block; font-weight: 400; color: var(--muted); font-size: .84rem; margin-top: 2px; }
.nav li:hover > .dropdown, .nav li:focus-within > .dropdown, .nav li.open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav li:hover > button svg, .nav li.open > button svg { transform: rotate(180deg); }
.header-cta { display: none; }
.header-phone { display: none; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-phone small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }

@media (min-width: 1100px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}
@media (min-width: 1280px) { .header-phone { display: block; } }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 150; background: var(--ink); color: #fff;
  padding: 20px 20px 120px; overflow-y: auto;
  transform: translateX(100%); transition: transform .28s ease; visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.drawer-head .brand { color: #fff; }
.drawer-head .brand-text span { color: #9fb3c6; }
.drawer .menu-toggle { background: transparent; border-color: rgba(255, 255, 255, .2); color: #fff; }
.drawer .drawer-label { color: #7f96ab; font: 700 .75rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; margin: 26px 0 8px; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer a { display: block; padding: 10px 0; color: #fff; text-decoration: none; font-size: 1.15rem; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.drawer .btn { margin-top: 28px; width: 100%; }
body.no-scroll { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(88vh, 820px);
  display: flex; align-items: flex-end;
  color: #fff; background: var(--ink);
}
.hero-media, .hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 27, 43, .92) 0%, rgba(11, 27, 43, .7) 45%, rgba(11, 27, 43, .15) 100%),
    linear-gradient(0deg, rgba(11, 27, 43, .85) 0%, rgba(11, 27, 43, 0) 40%);
}
.hero .wrap { padding: 120px 0 70px; }
.hero h1 { color: #fff; max-width: 820px; }
.hero h1 em { font-style: normal; color: var(--aqua); }
.hero .lede { color: #d3e0ea; font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.hero .btn-row { margin-top: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 40px; padding: 0; list-style: none; font-size: .95rem; color: #d3e0ea; }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 20px; height: 20px; color: var(--aqua); flex: none; }

.page-hero { position: relative; isolation: isolate; color: #fff; background: var(--navy); overflow: hidden; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 27, 43, .94), rgba(14, 42, 71, .72) 60%, rgba(14, 42, 71, .35)); }
.page-hero .wrap { padding: 90px 0 80px; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 820px; }
.page-hero .lede { color: #d3e0ea; }
.page-hero .btn-row { margin-top: 26px; }
.crumbs { font-size: .88rem; color: #9fb3c6; margin-bottom: 18px; }
.crumbs a { color: #d3e0ea; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- Trust strip ---------- */
.trust { background: var(--navy); color: #fff; }
.trust ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.trust li { display: flex; gap: 14px; align-items: center; }
.trust strong { display: block; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; }
.trust span { font-size: .9rem; color: #b9cbdb; }
.trust .ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(20, 163, 199, .16); color: var(--aqua); display: grid; place-items: center; flex: none; }
.trust .ico svg { width: 24px; height: 24px; }
@media (min-width: 900px) { .trust ul { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section-tint { background: var(--paper); }
.section-dark { background: var(--ink); color: #c9d6e2; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lede { color: #b9cbdb; }
.section-head { margin-bottom: 50px; }
.section-head.split { display: grid; gap: 20px; align-items: end; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1.2fr 1fr; } }

/* Service cards */
.cards { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards.four { grid-template-columns: repeat(4, 1fr); } .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; color: var(--text); transition: transform .2s ease, box-shadow .2s ease;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: .98rem; }
.card-link { margin-top: auto; font-weight: 700; color: var(--orange-dark); display: inline-flex; gap: 6px; align-items: center; }
.card-link svg { width: 16px; height: 16px; transition: transform .2s; }
a.card:hover .card-link svg { transform: translateX(4px); }
.tag { position: absolute; top: 14px; left: 14px; background: #fff; color: var(--ink); font-size: .75rem; font-weight: 700; padding: 6px 10px; border-radius: 999px; letter-spacing: .04em; }

/* Split feature */
.split { display: grid; gap: 50px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } .split.flip > :first-child { order: 2; } }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-stack { position: relative; padding: 0 0 40px 40px; }
.media-stack .float {
  position: absolute; left: 0; bottom: 0; width: 46%;
  border: 6px solid #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat-badge {
  position: absolute; right: -10px; top: 24px; background: var(--orange-btn); color: #fff;
  padding: 16px 20px; border-radius: var(--radius); box-shadow: var(--shadow-lg); text-align: center;
}
.stat-badge strong { display: block; font: 800 2rem/1 var(--font-display); }
.stat-badge span { font-size: .8rem; font-weight: 600; }

.checks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--aqua-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7fa0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checks.two { grid-template-columns: 1fr; }
@media (min-width: 640px) { .checks.two { grid-template-columns: 1fr 1fr; } }
.section-dark .checks li::before { background-color: rgba(20, 163, 199, .18); }

/* Process steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; padding: 30px 26px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); counter-increment: step; }
.section-tint .steps li, .section .steps.light li { background: #fff; border-color: var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font: 800 2.4rem/1 var(--font-display); color: var(--orange-dark); margin-bottom: 18px;
}
.section-dark .steps li::before { color: var(--orange); }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; font-size: .97rem; }

/* How it works (valve diagram) */
.diagram { border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); }

/* Feature grid */
.features { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .features.three { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.feature .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--aqua-soft); color: #0e7fa0; margin-bottom: 18px; }
.feature .ico svg { width: 26px; height: 26px; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }
.section-dark .feature { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section-dark .feature p { color: #b9cbdb; }
.section-dark .feature .ico { background: rgba(20, 163, 199, .16); color: var(--aqua); }

/* Audience tabs */
.audience { display: grid; gap: 22px; }
@media (min-width: 900px) { .audience { grid-template-columns: repeat(3, 1fr); } }
.audience .feature h3 { display: flex; align-items: center; gap: 10px; }

/* Team */
.team { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .team { grid-template-columns: repeat(3, 1fr); } }
.person { text-align: left; }
.person-img { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 18px; background: var(--mist); }
.person-img img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { margin-bottom: 2px; }
.person .role { color: var(--orange-dark); font-weight: 600; font-size: .95rem; margin-bottom: 10px; }
.person a { display: block; font-size: .94rem; text-decoration: none; color: var(--muted); }
.person a:hover { color: var(--orange-dark); }

/* Service area */
.areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.areas li { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .95rem; }
.section-dark .areas li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #fff; }
.map-embed { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative;
  font: 700 1.08rem/1.4 var(--font-display); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--mist); display: grid; place-items: center;
  font: 600 1.2rem/28px var(--font-body); text-align: center; color: var(--navy);
}
.faq details[open] summary::after { content: "–"; background: var(--orange); color: #fff; }
.faq details > div { padding: 0 0 20px; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 70px); }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(600px 300px at 90% 10%, rgba(20, 163, 199, .35), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(255, 106, 43, .25), transparent 60%);
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #c9d6e2; max-width: 620px; }
.cta-band .inner { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .cta-band .inner { grid-template-columns: 1.4fr auto; } }
.cta-phone { display: block; font: 800 clamp(1.6rem, 3vw, 2.2rem)/1 var(--font-display); color: #fff; text-decoration: none; margin-top: 14px; }
.cta-phone:hover { color: var(--orange); }

/* Prose (long-form pages) */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: #334454; }
.prose li { margin-bottom: .4em; }
.legal h2 { font-size: 1.5rem; }
.legal h3 { font-size: 1.15rem; }

/* Sidebar layout */
.with-aside { display: grid; gap: 50px; }
@media (min-width: 1000px) { .with-aside { grid-template-columns: minmax(0, 1fr) 360px; gap: 70px; } }
.aside-card { position: sticky; top: calc(var(--header-h) + 20px); background: var(--ink); color: #c9d6e2; border-radius: var(--radius-lg); padding: 32px; }
.aside-card h3 { color: #fff; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.aside-card .line { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .95rem; }
.aside-card .line svg { width: 20px; height: 20px; color: var(--aqua); flex: none; margin-top: 3px; }
.aside-card .line a { color: #fff; font-weight: 700; text-decoration: none; }
.aside-card .line a:hover { color: var(--orange); }

/* Device table / glossary */
.devices { display: grid; gap: 18px; }
@media (min-width: 800px) { .devices { grid-template-columns: repeat(2, 1fr); } }
.device { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.device .abbr { display: inline-block; font: 800 .8rem var(--font-body); letter-spacing: .08em; color: var(--navy); background: var(--aqua-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.device p { color: var(--muted); margin: 0; font-size: .97rem; }
.glossary-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 30px; position: sticky; top: calc(var(--header-h) + 8px); background: #fff; padding: 10px 0; z-index: 5; }
.glossary-nav a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--mist); text-decoration: none; font-weight: 700; color: var(--navy); }
.glossary-nav a:hover { background: var(--orange-btn); color: #fff; }
.glossary dl { margin: 0; }
.glossary dt { font: 700 1.15rem var(--font-display); color: var(--ink); margin-top: 26px; scroll-margin-top: 160px; }
.glossary dd { margin: 6px 0 0; color: #334454; }
.glossary h2 { margin-top: 40px; font-size: 2rem; color: var(--aqua-ink); scroll-margin-top: 160px; }

/* Gallery */
.gallery { columns: 1; column-gap: 18px; }
@media (min-width: 640px) { .gallery { columns: 2; } }
@media (min-width: 1000px) { .gallery { columns: 3; } }
.gallery figure { margin: 0 0 18px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in; }
.gallery img { width: 100%; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; color: #fff; font-size: .9rem; font-weight: 600; background: linear-gradient(0deg, rgba(11, 27, 43, .85), transparent); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6, 14, 22, .94); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; width: auto; border-radius: 10px; }
.lightbox button { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; font-size: 1.6rem; cursor: pointer; }
.lightbox p { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #fff; margin: 0; }

/* Pricing / plans */
.plans { display: grid; gap: 22px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 28px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--orange-btn); box-shadow: var(--shadow-lg); }
.plan .ribbon { position: absolute; top: -13px; left: 28px; background: var(--orange-btn); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan .for { color: var(--muted); font-size: .95rem; min-height: 3em; }
.plan .price { font: 800 1.2rem var(--font-display); color: var(--ink); margin: 6px 0 20px; }
.plan .checks { flex: 1; }
.plan .btn { width: 100%; }

/* Offers */
.offers { display: grid; gap: 22px; }
@media (min-width: 800px) { .offers { grid-template-columns: repeat(2, 1fr); } }
.offer { position: relative; border-radius: var(--radius-lg); padding: 34px; background: #fff; border: 2px dashed var(--line); }
.offer .big { font: 800 2.4rem/1 var(--font-display); color: var(--orange-dark); margin-bottom: 10px; }
.offer p { color: var(--muted); }
.offer .fine { font-size: .82rem; color: #8494a3; margin: 0; }

/* Jobs */
.jobs { display: grid; gap: 18px; }
.job { display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
@media (min-width: 800px) { .job { grid-template-columns: 1fr auto; align-items: center; } }
.job h3 { margin-bottom: 6px; }
.job .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.job .meta span { font-size: .8rem; font-weight: 600; background: var(--mist); padding: 4px 10px; border-radius: 999px; color: var(--navy); }
.job p { margin: 0; color: var(--muted); }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--ink); }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; font-size: 1rem; color: var(--text); background: var(--paper); transition: border-color .15s, background .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--aqua); background: #fff; box-shadow: 0 0 0 4px rgba(20, 163, 199, .15); }
.field textarea { min-height: 130px; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-block; padding: 11px 18px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .95rem; background: var(--paper); }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--aqua); outline-offset: 2px; }
.form-note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
.form-success { display: none; padding: 20px; border-radius: 12px; background: #e6f8ee; color: #135c34; font-weight: 600; margin-top: 16px; }
.form-success.show { display: block; }

/* Contact cards */
.contact-cards { display: grid; gap: 18px; }
@media (min-width: 800px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.contact-card.urgent { background: var(--orange-btn); border-color: var(--orange-btn); color: #fff; }
.contact-card.urgent h3, .contact-card.urgent a { color: #fff; }
.contact-card .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--aqua-soft); color: #0e7fa0; margin-bottom: 16px; }
.contact-card.urgent .ico { background: rgba(255, 255, 255, .2); color: #fff; }
.contact-card .ico svg { width: 24px; height: 24px; }
.contact-card a.big { display: block; font: 800 1.45rem var(--font-display); color: var(--ink); text-decoration: none; margin: 4px 0; }
.contact-card p { margin: 0; font-size: .95rem; }
.contact-card a.big.email { font-size: 1.02rem; overflow-wrap: anywhere; word-break: normal; }
@media (max-width: 420px) { .contact-card a.big.email { font-size: .92rem; } }

/* Emergency hero */
.emergency-hero { background: linear-gradient(135deg, #b8330a, var(--orange)); }
.emergency-hero::after { background: linear-gradient(90deg, rgba(90, 20, 0, .75), rgba(90, 20, 0, .35)); }
.big-call { display: inline-flex; align-items: center; gap: 16px; margin-top: 18px; padding: 20px 30px; background: #fff; color: var(--ink); border-radius: 999px; text-decoration: none; font: 800 clamp(1.4rem, 3vw, 2rem)/1 var(--font-display); box-shadow: var(--shadow-lg); }
.big-call svg { width: 30px; height: 30px; color: var(--orange); }
.big-call:hover { color: var(--orange-dark); }

/* Footer */
.site-footer { background: var(--ink); color: #9fb3c6; font-size: .95rem; }
.footer-cta { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-cta .wrap { display: grid; gap: 20px; padding: 50px 0; align-items: center; }
@media (min-width: 900px) { .footer-cta .wrap { grid-template-columns: 1fr auto; } }
.footer-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.footer-main { display: grid; gap: 40px; padding: 60px 0 40px; }
@media (min-width: 700px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-main { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .brand-text span { color: #7f96ab; }
.site-footer h3 { color: #fff; font: 700 .8rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #c9d6e2; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--aqua); flex: none; margin-top: 4px; }
.footer-contact strong { color: #fff; display: block; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); }
.social a:hover { background: var(--orange-btn); color: #fff; }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0 100px; font-size: .85rem; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
@media (min-width: 900px) { .footer-bottom { padding-bottom: 22px; } }

/* Mobile sticky action bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 27, 43, .96); backdrop-filter: blur(8px);
}
.mobile-bar .btn { padding: 14px 10px; font-size: .95rem; }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ======================================================================
   Additional components
   ====================================================================== */

.site-header.scrolled { box-shadow: 0 6px 24px rgba(11, 27, 43, .08); }

/* Mega-menu for cities */
.dropdown.wide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 440px; gap: 0 6px; left: -120px; }
.dropdown.wide a { padding: 8px 12px; font-weight: 500; }
.dropdown.wide .full { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.dropdown.wide .full a { font-weight: 700; color: var(--orange-dark); }
.dropdown a[href="/Services.html"] { color: var(--orange-dark); }

/* Hero details */
.hero .wrap { position: relative; }
.hero-card {
  display: none; position: absolute; right: 0; bottom: 70px; width: 300px;
  background: rgba(255, 255, 255, .96); color: var(--text); border-radius: var(--radius-lg); padding: 22px 24px;
  box-shadow: var(--shadow-lg);
}
.hero-card h2 { font-size: 1.1rem; margin-bottom: 10px; }
.hero-card ol { margin: 0 0 12px; padding-left: 1.2em; font-size: .95rem; color: var(--muted); }
.hero-card ol li { margin-bottom: 6px; }
.hero-card ol li::marker { color: var(--orange-dark); font-weight: 800; }
.hero-card a { font-weight: 700; color: var(--orange-dark); text-decoration: none; font-size: .95rem; }
@media (min-width: 1180px) { .hero-card { display: block; } .hero-copy { max-width: 760px; } }

/* Stat row */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 36px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat strong { display: block; font: 800 clamp(2.2rem, 4vw, 3rem)/1 var(--font-display); color: var(--ink); letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: .95rem; }
.section-dark .stat strong { color: #fff; }
.section-dark .stat span { color: #b9cbdb; }

/* "Got a notice in the mail?" panel */
.notice-panel { display: grid; gap: 40px; align-items: center; background: var(--aqua-soft); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 60px); }
@media (min-width: 960px) { .notice-panel { grid-template-columns: 1fr 1.1fr; } }
.notice-panel .steps { grid-template-columns: 1fr; }
.notice-panel .steps li { display: grid; grid-template-columns: auto 1fr; gap: 0 18px; padding: 22px; background: #fff; border-color: transparent; }
.notice-panel .steps li::before { margin: 0; grid-row: span 2; font-size: 1.8rem; }

/* Diagram */
.diagram { padding: clamp(16px, 3vw, 30px); margin: 0; }
.diagram svg { width: 100%; height: auto; display: block; }
.diagram figcaption { font-size: .9rem; color: var(--muted); margin-top: 14px; }

/* City cards */
.city-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .city-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .city-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .city-grid.four { grid-template-columns: repeat(4, 1fr); } }
.city-card {
  display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.city-card:hover { border-color: var(--aqua); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.city-name { font: 700 1.2rem var(--font-display); color: var(--ink); }
.city-meta { display: flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); }
.city-meta svg { width: 14px; height: 14px; }
.city-link { display: block; font-weight: 700; font-size: .92rem; color: var(--orange-dark); margin-top: 6px; }
.city-link svg { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; margin-left: 4px; transition: transform .2s; }
.city-card:hover .city-link svg { transform: translateX(4px); }
.areas a { color: inherit; text-decoration: none; }
.areas li:has(a):hover { border-color: var(--aqua); }
.county-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 40px 0 18px; }
.county-head h3 { margin: 0; }
.county-head span { color: var(--muted); font-size: .92rem; }

/* Info boxes */
.info-grid { display: grid; gap: 18px; margin: 30px 0; }
@media (min-width: 700px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
.info { border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); padding: 22px; }
.info h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 10px; }
.info h3 svg { width: 20px; height: 20px; color: var(--aqua-ink); flex: none; }
.info p, .info ul { margin: 0; color: #334454; font-size: .97rem; }
.info ul { padding-left: 1.1em; columns: 2; column-gap: 20px; }
.callout { border-left: 4px solid var(--aqua); background: var(--aqua-soft); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin: 26px 0; color: #173247; }
.callout.warn { border-color: var(--orange-btn); background: #fff1ea; color: #5c2208; }
.callout p:last-child { margin: 0; }

/* Article / guides */
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #b9cbdb; font-size: .92rem; margin-top: 18px; }
.article-meta span { display: inline-flex; gap: 6px; align-items: center; }
.article-meta svg { width: 16px; height: 16px; }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 36px; }
.toc strong { display: block; font-family: var(--font-display); margin-bottom: 8px; color: var(--ink); }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.prose h2[id], .prose h3[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
.prose > :first-child { margin-top: 0; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--paper); font-weight: 700; color: var(--ink); }
.kicker { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua-ink); margin-bottom: 8px; }

/* Related links */
.related { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.related a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 600; color: var(--ink); background: #fff; }
.related a:hover { border-color: var(--aqua); color: var(--ink); }
.related svg { width: 16px; height: 16px; color: var(--orange-dark); flex: none; }

.aside-stack { display: grid; gap: 22px; align-content: start; }
@media (min-width: 1000px) { .aside-stack { position: sticky; top: calc(var(--header-h) + 20px); } }
.aside-stack .aside-card { position: static; }
.aside-light { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.aside-light h3 { font-size: 1.1rem; }

.cols-2 { columns: 1; }
@media (min-width: 640px) { .cols-2 { columns: 2; column-gap: 30px; } }

.round-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.round-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

/* 404 */
.lost { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.lost .big { font: 800 clamp(5rem, 14vw, 9rem)/1 var(--font-display); color: var(--aqua-soft); -webkit-text-stroke: 2px var(--aqua); }

.hero-media img { object-position: 62% 18%; }
.trust strong span { font-size: inherit; color: inherit; }

/* Full-width diagram */
.diagram-wide { max-width: 1040px; margin: 0 auto; }
.diagram-key.three { max-width: 1040px; margin: 34px auto 0; }
@media (min-width: 900px) { .diagram-key.three { grid-template-columns: repeat(3, 1fr); gap: 30px; } }

/* Numbered key under the backflow diagram */
.diagram-key { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; counter-reset: key; }
.diagram-key li { position: relative; padding-left: 44px; counter-increment: key; color: #334454; }
.diagram-key li::before {
  content: counter(key); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--orange-btn); color: #fff; font: 800 .95rem/30px var(--font-body); text-align: center;
}
.diagram-key strong { color: var(--ink); }

/* Steps inside a narrow text column */
.prose .steps { grid-template-columns: 1fr; margin: 10px 0 20px; }
@media (min-width: 640px) { .prose .steps { grid-template-columns: 1fr 1fr; } }
.prose .steps h3 { margin-top: 0; }
.prose .steps li { margin: 0; }
.prose .faq { margin-top: 10px; }
.prose .related { margin: 10px 0 10px; }
.prose .devices { margin-top: 10px; }
.prose .device h3, .prose .feature h3, .prose .plan h3 { margin-top: 0; }
.prose .checks { padding-left: 0; }
.prose .checks li { margin-bottom: 0; }

/* Link-style feature cards */
a.feature { color: var(--text); text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
a.feature:hover { border-color: var(--aqua); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--text); }
.section-dark a.feature { color: #c9d6e2; }

/* Phone refinements */
@media (max-width: 759px) {
  .hero::after { background: linear-gradient(0deg, rgba(11, 27, 43, .96) 0%, rgba(11, 27, 43, .82) 55%, rgba(11, 27, 43, .7) 100%); }
  .hero .wrap { padding: 70px 0 50px; }
  .hero-badges { margin-top: 28px; }
  .page-hero .wrap { padding: 60px 0 56px; }
  .stat-badge { right: 10px; top: 14px; padding: 12px 14px; }
  .stat-badge strong { font-size: 1.5rem; }
  .media-stack { padding: 0 0 30px 24px; }
  .city-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .city-card { padding: 14px 16px; }
  .city-card .city-meta, .city-card .city-link { display: none; }
  .city-name { font-size: 1rem; }
  .btn-lg { padding: 16px 24px; font-size: 1rem; }
  .hero .btn-row .btn, .page-hero .btn-row .btn { flex: 1 1 100%; }
}

.plan .checks { align-content: start; }
.form-note a, .callout a[href^="tel:"], .prose a[href^="tel:"] { white-space: nowrap; }

.offer .big svg { width: 42px; height: 42px; }
.offer h3 { margin-top: 6px; }

/* ======================================================================
   Online booking
   ====================================================================== */
.page-hero-compact .wrap { padding: 56px 0 52px; }
.section-tight { padding-top: 48px; }
.sched-progress { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sched-progress li { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--muted); }
.sched-progress li span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); font-size: .85rem; flex: none; background: #fff; }
.sched-progress li em { font-style: normal; }
.sched-progress li[aria-current="step"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.sched-progress li[aria-current="step"] span { background: var(--orange-btn); border-color: var(--orange-btn); color: #fff; }
.sched-progress li.is-done { color: var(--ink); }
.sched-progress li.is-done span { background: var(--aqua-soft); border-color: var(--aqua); color: var(--aqua-ink); }
@media (max-width: 640px) { .sched-progress li em { display: none; } .sched-progress li { justify-content: center; padding: 10px; } }

.sched-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.sched-step > .field + .field, .sched-step > .field + .form-grid { margin-top: 22px; }
.sched-title { font: 700 1.5rem/1.2 var(--font-display); color: var(--ink); margin: 0 0 20px; padding: 0; letter-spacing: -.01em; }
.sched-title:focus { outline: none; }
.field-label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 8px; color: var(--ink); }
.sched-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.btn[disabled], .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.sched-error, p.sched-error { background: #fff1ea; border: 1px solid #f6c7b1; color: #7a2a0a; border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; font-weight: 600; }

.sched-pick { display: grid; gap: 24px; }
@media (min-width: 760px) { .sched-pick { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; } }
.cal { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: #fff; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-month { margin: 0; font-size: 1.1rem; }
.cal-nav { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--navy); }
.cal-nav svg { width: 18px; height: 18px; }
.cal-nav[data-cal="-1"] svg { transform: rotate(90deg); }
.cal-nav[data-cal="1"] svg { transform: rotate(-90deg); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { text-align: center; font-size: .72rem; font-weight: 700; color: var(--muted); padding: 6px 0; text-transform: uppercase; letter-spacing: .04em; }
.cal-day { aspect-ratio: 1; min-height: 36px; border: 0; border-radius: 10px; background: transparent; font: 600 .95rem var(--font-body); color: #a3afba; position: relative; padding: 0; }
.cal-day.is-open { background: var(--aqua-soft); color: var(--ink); cursor: pointer; }
.cal-day.is-open:hover { background: #bfe7f3; }
.cal-day.is-full { color: #a3afba; text-decoration: line-through; }
.cal-day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--orange-btn); }
.cal-day.is-selected { background: var(--navy); color: #fff; }
.cal-legend { display: flex; gap: 16px; margin: 12px 0 0; font-size: .82rem; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.dot-open { background: var(--aqua-soft); border: 1px solid var(--aqua); }
.dot-full { background: #fff; border: 1px solid var(--line); }

.sched-windows-title { font-size: 1.15rem; margin: 0 0 4px; }
.sched-hint { color: var(--muted); font-size: .95rem; margin: 0 0 12px; }
.win-list { display: grid; gap: 10px; }
.win { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 18px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font: inherit; text-align: left; transition: border-color .15s, background .15s; }
.win strong { font-weight: 700; color: var(--ink); }
.win span { font-size: .82rem; color: var(--aqua-ink); font-weight: 700; white-space: nowrap; }
.win:hover { border-color: var(--aqua); }
.win.is-selected { border-color: var(--navy); background: var(--navy); }
.win.is-selected strong, .win.is-selected span { color: #fff; }
.win.is-off { cursor: not-allowed; opacity: .5; }
.win.is-off span { color: var(--muted); }

.sched-summary { margin: 0; }
.sched-summary > div { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.sched-summary > div:last-child { border-bottom: 0; }
.sched-summary dt { font-weight: 700; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; padding-top: 3px; }
.sched-summary dd { margin: 0; color: var(--ink); }
.btn-link { background: none; border: 0; padding: 0; font: 600 .92rem var(--font-body); color: var(--orange-dark); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) { .sched-summary > div { grid-template-columns: 1fr auto; } .sched-summary dt { grid-column: 1 / -1; } }

.sched-done { text-align: center; }
.sched-done:focus { outline: none; }
.done-icon { width: 72px; height: 72px; border-radius: 50%; background: #e6f8ee; color: #178a4a; display: grid; place-items: center; margin: 0 auto 18px; }
.done-icon svg { width: 36px; height: 36px; }
.sched-done .sched-summary { text-align: left; max-width: 520px; margin: 22px auto; }
.sched-done .sched-summary > div, .sched-receipt .sched-summary > div { grid-template-columns: 110px 1fr; }
.sched-done .btn-row { justify-content: center; }
.sched-done .lede { margin-inline: auto; }

/* ======================================================================
   Admin + booking-management pages
   ====================================================================== */
.plain-page { background: var(--paper); }
.plain-page .site-header { position: static; }
.plain-page .site-header .wrap { justify-content: space-between; }
.admin-bar { background: var(--ink); color: #fff; }
.admin-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.admin-bar .brand { color: #fff; margin: 0; }
.admin-bar .brand-text span { color: #9fb3c6; }
.admin-links { display: flex; gap: 18px; flex-wrap: wrap; }
.admin-links a { color: #c9d6e2; text-decoration: none; font-weight: 600; font-size: .92rem; }
.admin-links a:hover { color: #fff; }
.admin-main { padding: 28px 0 60px; }
.admin-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 800px) { .admin-stats { grid-template-columns: repeat(4, 1fr); } }
.admin-stats div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.admin-stats strong { display: block; font: 800 1.8rem/1 var(--font-display); color: var(--ink); margin-bottom: 4px; }
.admin-stats span { font-size: .85rem; color: var(--muted); }
.admin-tabs { display: flex; gap: 4px; margin: 24px 0 8px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.admin-tabs a { padding: 10px 14px; text-decoration: none; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.admin-tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--orange-btn); }
.badge { display: inline-block; min-width: 20px; padding: 2px 7px; border-radius: 999px; background: var(--orange-btn); color: #fff; font: 700 .72rem/1.4 var(--font-body); text-align: center; vertical-align: 3px; }
.admin-day h2 { font-size: 1.15rem; margin: 26px 0 10px; }
.admin .job { display: grid; gap: 12px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 10px; }
@media (min-width: 900px) { .admin .job { grid-template-columns: 170px minmax(0, 1fr) 240px; align-items: start; } }
.admin .job.is-done { opacity: .6; }
.job-when strong { display: block; color: var(--ink); }
.job-main h3 { font-size: 1.05rem; margin: 0 0 6px; }
.job-meta { margin: 0 0 4px; font-size: .92rem; color: var(--muted); overflow-wrap: anywhere; }
.job-notes { margin: 8px 0 0; padding: 10px 12px; background: var(--paper); border-radius: 10px; font-size: .92rem; }
.job-actions { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.job-actions select { padding: 8px 10px; border-radius: 10px; border: 1.5px solid var(--line); font: inherit; background: #fff; }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.check-line { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.check-line.small { font-size: .82rem; color: var(--muted); }
.status { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .03em; }
.status-booked { background: #fff1ea; color: #9a3412; }
.status-confirmed { background: var(--aqua-soft); color: #075e76; }
.status-completed { background: #e6f8ee; color: #166534; }
.status-cancelled { background: #eef1f4; color: #5b6b7a; }
.admin-empty { color: var(--muted); padding: 30px 0; }
.job-side { display: grid; gap: 12px; align-content: start; }
.job-move summary { cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--orange-dark); text-decoration: underline; text-underline-offset: 3px; list-style: none; }
.job-move summary::-webkit-details-marker { display: none; }
.job-move form { display: grid; gap: 8px; margin-top: 10px; padding: 12px; background: var(--paper); border-radius: 10px; }
.job-move input, .job-move select { padding: 8px 10px; border-radius: 10px; border: 1.5px solid var(--line); font: inherit; background: #fff; }
.admin-closures { list-style: none; padding: 0; display: grid; gap: 8px; }
.admin-closures li { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.admin-closures form { margin: 0; }
.admin-block-form h2 { font-size: 1.3rem; }
.code-block { background: var(--ink); color: #d9f1f8; padding: 14px 16px; border-radius: 10px; overflow-x: auto; font-size: .85rem; white-space: pre-wrap; word-break: break-all; }

/* ======================================================================
   Service-area map, seasons, mega menu
   ====================================================================== */
.map-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #f6f8f9; }
.area-map { width: 100%; height: auto; display: block; }
.area-map .map-road { fill: none; stroke: #dde6ec; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.area-map .map-road-label { font: 800 11px var(--font-body); fill: #8a9aa8; letter-spacing: .04em; }
.area-map .map-ring { fill: none; stroke: #14a3c7; stroke-opacity: .5; stroke-width: 1.5; stroke-dasharray: 4 6; }
.area-map .map-ring-label { font: 700 11px var(--font-body); fill: #0b7a99; }
.area-map .map-dot { fill: #0b7a99; stroke: #fff; stroke-width: 2; transition: fill .15s; }
.area-map .map-label { font: 600 13px var(--font-body); fill: #0b1b2b; paint-order: stroke; stroke: #f6f8f9; stroke-width: 4px; stroke-linejoin: round; }
.area-map .map-label-strong { font-weight: 800; }
.area-map .map-label-sub { font-size: 11px; font-weight: 600; fill: #c2410c; }
.area-map a:hover .map-dot, .area-map a:focus .map-dot { fill: #d4430c; }
.area-map a:hover .map-label, .area-map a:focus .map-label { fill: #c2410c; }
.area-map .map-shop { fill: #d4430c; stroke: #fff; stroke-width: 3; }
.area-map .map-shop-halo { fill: #ff6a2b; opacity: .2; }

.seasons { display: grid; gap: 14px; margin: 10px 0 20px; }
@media (min-width: 640px) { .seasons { grid-template-columns: 1fr 1fr; } }
.season { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.season-name { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua-ink); margin-bottom: 6px; }
.prose .season h3 { margin: 0 0 6px; font-size: 1.1rem; }
.season p { margin: 0; font-size: .95rem; color: var(--muted); }

.dropdown.mega { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(6, auto); min-width: 600px; gap: 0 8px; }
.dropdown .dd-head { padding: 10px 12px 4px; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua-ink); }
.dropdown.wide { grid-template-columns: repeat(4, minmax(0, 1fr)); min-width: 790px; left: -240px; gap: 0 4px; }
.dropdown.wide .dd-col ul { list-style: none; margin: 0 0 6px; padding: 0; }
.dropdown.wide .dd-col a { padding: 6px 12px; }
.dropdown.wide .dd-head { display: block; padding-top: 8px; }

.nowrap { white-space: nowrap; }

/* Service-area page: region lists beside the tall corridor map */
.area-base { margin-top: 26px; font-style: normal; color: var(--muted); }
.area-base strong { color: var(--ink); margin-right: 6px; }
.area-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .area-layout { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; } }
.region + .region { margin-top: 40px; }
.region-head { margin-bottom: 14px; }
.region-head h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 0 0 4px; }
.region-head p { margin: 0; color: var(--muted); font-size: .95rem; }
.region-cities { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .region-cities { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.region-cities a {
  display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.region-cities a:hover, .region-cities a:focus-visible { border-color: var(--aqua); box-shadow: var(--shadow); }
.region-cities strong { font: 700 1rem/1.25 var(--font-display); color: var(--ink); }
.region-cities span { font-size: .84rem; color: var(--muted); }
.area-map-card figcaption { padding: 12px 18px 14px; font-size: .88rem; color: var(--muted); background: #fff; border-top: 1px solid var(--line); }
.area-map .map-ring-label { paint-order: stroke; stroke: #f6f8f9; stroke-width: 4px; stroke-linejoin: round; }
@media (min-width: 700px) { .related.two { grid-template-columns: 1fr 1fr; } }

/* Complete-evaluation checklist with the assembly line drawing */
.eval { display: grid; gap: 22px; margin: 14px 0 28px; }
.eval-art { order: -1; }
@media (min-width: 700px) { .eval-list { columns: 2; column-gap: 0; column-rule: 1px solid var(--line); } .eval-list li { break-inside: avoid; } }
.eval-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.eval-list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 16px; font-size: .95rem; color: var(--ink); border-bottom: 1px solid var(--line); margin: 0; }

.eval-list li:last-child { border-bottom: 0; }
.eval-list li::after { content: "Yes"; font-weight: 700; font-size: .82rem; color: #178a4a; flex: none; }
.eval-art { margin: 0; background: var(--ink); color: var(--orange); border-radius: var(--radius-lg); padding: 22px 18px; }
.assembly-art { width: 100%; height: auto; display: block; }

/* "Do I need a test?" check */
.checker .field + .field { margin-top: 26px; }
.checker legend.field-label { font-size: 1rem; margin-bottom: 12px; padding: 0; }
.checker-result { margin-top: 26px; padding: 22px 24px; border-radius: var(--radius); border-left: 5px solid var(--aqua); background: var(--aqua-soft); }
.checker-result:focus { outline: none; }
.checker-result h2 { font-size: 1.4rem; margin-bottom: 8px; }
.checker-result p { margin: 0; color: #25384a; }
.checker-result .btn-row { margin-top: 18px; }
.checker-result.is-yes, .checker-result.is-likely { background: #fff1ea; border-color: var(--orange-btn); }
.checker-result.is-no { background: #e9f8ef; border-color: #22a55a; }
.more-areas { margin-top: 44px; }
.more-areas h3 { font-size: 1.05rem; margin-bottom: 14px; }

/* Reviews */
.reviews-head { display: grid; gap: 24px; align-items: center; margin-bottom: 36px; }
@media (min-width: 900px) { .reviews-head { grid-template-columns: 1fr auto; } }
.stars-big { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: .06em; color: #f5a524; line-height: 1; }
.stars { color: #f5a524; letter-spacing: .08em; }
.stars-off { color: #d5dde3; }
.pull-quote { margin: 0; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.pull-quote blockquote { margin: 0 0 12px; font: 700 clamp(1.3rem, 2.4vw, 1.8rem)/1.35 var(--font-display); color: var(--ink); letter-spacing: -.01em; }
.pull-quote figcaption { color: var(--muted); font-size: .95rem; }
.review-grid { display: grid; gap: 18px; }
.review-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 18px; }
.review { margin: 0; padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.review blockquote { margin: 0; color: #334454; flex: 1; }
.review figcaption { font-size: .9rem; color: var(--muted); }
.review figcaption strong { color: var(--ink); }
.review-attrib { margin: 16px 0 0; font-size: .85rem; color: var(--muted); }
.rating-badge { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font-size: .85rem; font-weight: 600; text-decoration: none; }
.rating-badge:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.trust a { color: inherit; text-decoration: none; }
.trust a:hover { color: #fff; text-decoration: underline; }

/* Homepage hero: light, with the clean-water splash video across the full width.
   A soft wash behind the headline keeps the text readable while the water flows. */
.hero-water { color: var(--text); background: #fff; min-height: min(86vh, 800px); align-items: center; }
.hero-water .hero-media { overflow: hidden; }
.hero-water .hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
  mix-blend-mode: multiply;
}
.hero-water::after {
  display: block; z-index: -1;
  /* Stops are tied to the centered 1200px content column, so the wash always
     covers the headline and fades out just past it, on any screen width. */
  background: linear-gradient(90deg, rgba(240, 248, 252, .5) 0%, rgba(242, 249, 252, .88) max(0px, calc(50% - 640px)),
    rgba(243, 249, 252, .88) calc(50% - 200px), rgba(246, 251, 253, .78) calc(50% + 140px),
    rgba(255, 255, 255, 0) calc(50% + 440px));
}
.hero-water .wrap { padding: 96px 0 90px; }
.hero-water h1 { color: var(--ink); }
.hero-water h1 em { color: #0e8fb3; }
.hero-water .eyebrow { color: var(--aqua-ink); }
.hero-water .lede { color: #3b4d5e; }
.hero-water .hero-badges { color: #334454; }
.hero-water .hero-badges svg { color: var(--aqua-ink); }
.hero-water .hero-card { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
@media (max-width: 759px) {
  .hero-water .wrap { padding: 56px 0 72px; }
  .hero-water .hero-video { object-position: 55% 50%; }
  .hero-water::after { background: linear-gradient(180deg, rgba(243, 249, 252, .92) 0%, rgba(245, 250, 253, .86) 62%, rgba(255, 255, 255, .45) 100%); }
}

/* Homepage animation (owner-supplied backwater-valve GIF, served as a light video) */
.anim-card { margin: 0 auto; max-width: 1100px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #f1f8fa; }
.anim-card video { display: block; width: 100%; height: auto; }
.anim-note { margin: 18px 0 0; text-align: center; font-weight: 600; }

/* Honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ======================================================================
   Booking requests: customers pick several times, the office accepts one
   ====================================================================== */
.cal-day.has-pick { box-shadow: inset 0 0 0 2px var(--orange-btn); }
.cal-day.has-pick.is-selected { box-shadow: inset 0 0 0 2px var(--navy), inset 0 0 0 4px #fff; }
.dot-pick { background: #fff; border: 2px solid var(--orange-btn); }
.win-any { border-style: dashed; flex-direction: column; align-items: flex-start; gap: 2px; }
.win-any span { color: var(--muted); font-weight: 600; }
.win-any.is-selected { border-style: solid; }
.sched-picks { margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.sched-picks-title { margin: 0 0 8px; font-weight: 700; color: var(--ink); }
.sched-picks-title span { font-weight: 500; color: var(--muted); font-size: .9rem; margin-left: 6px; }
.sched-picks .sched-hint { margin: 8px 0 0; font-size: .9rem; }
.sched-picked { margin: 0; padding: 0; list-style: none; counter-reset: pick; display: grid; gap: 8px; }
.sched-picked li { counter-increment: pick; display: flex; align-items: center; gap: 10px; }
.sched-picked li::before {
  content: counter(pick); flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; font: 700 .78rem/1 var(--font-body);
}
.sched-picks .sched-picked li { padding: 8px 8px 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.sched-picked li span { flex: 1; color: var(--ink); font-weight: 600; }
.pick-x { flex: none; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.pick-x:hover, .pick-x:focus-visible { background: #fdeee8; color: var(--orange-dark); }
.status-requested { background: #fff4d6; color: #7a4d00; }

.admin-block-form { max-width: 860px; }
.admin-block-form > .form-note:first-of-type { margin-bottom: 16px; }
.admin-closures { max-width: 860px; }

/* Office: requests waiting for a time (admin Requests tab + the page linked from the email) */
.admin-flash { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; background: #e6f8ee; color: #14532d; font-weight: 600; max-width: 860px; }
.admin-flash.is-error { background: #fdecea; color: #9b1c1c; }
.admin-flash.is-note { background: #fff4d6; color: #7a4d00; }
.admin-flash a { color: inherit; }
.req-intro { margin: 18px 0 14px; color: var(--muted); font-size: .95rem; max-width: 860px; }
.req-page { max-width: 820px; }
.req { max-width: 860px; margin: 0 0 16px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 1px 3px rgba(11, 27, 43, .05); }
.req-page .req { margin-top: 18px; }
.req-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.req-head h3 { margin: 0; font-size: 1.2rem; }
.req-head h3 span { color: var(--muted); font-weight: 600; }
.req-head .status { margin: 0; }
.req-sent { margin-left: auto; font-size: .85rem; color: var(--muted); }
.req-sub { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }
.req-contact { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 12px 0 0; padding: 0; }
.req-contact li { margin: 0; }
.req-contact a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 600; font-size: .94rem; text-decoration: none; overflow-wrap: anywhere; }
.req-contact a:hover { color: var(--orange-dark); }
.req-contact svg { width: 16px; height: 16px; flex: none; color: var(--aqua-ink); }
.req-note { margin: 12px 0 0; padding: 10px 14px; background: var(--paper); border-radius: 10px; font-size: .92rem; }
.req-pick { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.req-label { margin: 0 0 10px; font: 800 .72rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--aqua-ink); }
.req-days { display: grid; gap: 10px; }
.req-day { padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.req-day.is-past { opacity: .6; }
.req-day-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0; }
.req-day-head strong { color: var(--ink); }
.req-day-head span { color: var(--muted); font-size: .9rem; }
.req-ctx { margin: 2px 0 10px; font-size: .84rem; color: var(--muted); }
.req-day.is-past .req-ctx { margin-bottom: 0; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot { position: relative; margin: 0; }
.slot input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.slot span {
  display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 108px; padding: 8px 14px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px; color: var(--ink); font-weight: 700; font-size: .95rem;
  cursor: pointer; transition: border-color .15s, background .15s;
}
.slot small { font-size: .74rem; font-weight: 600; color: #178a4a; }
.slot.is-full small { color: var(--orange-dark); }
.slot span:hover { border-color: var(--aqua); }
.slot input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.slot input:checked + span small { color: #bfe7f3; }
.slot input:focus-visible + span { outline: 3px solid var(--aqua); outline-offset: 2px; }
.req-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 16px; }
.req-more summary { cursor: pointer; list-style: none; font-weight: 600; font-size: .92rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.req-more summary::-webkit-details-marker { display: none; }
.req-more[open] { flex-basis: 100%; }
.req-more[open] summary { color: var(--ink); text-decoration: none; }
.req-more-body { display: grid; gap: 10px; margin-top: 10px; }
.req-more-body form { margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.req-more-body p { margin: 0 0 10px; font-size: .92rem; }
.req-other-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.req-other-row input, .req-other-row select { padding: 8px 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; }
.req-decline .check-line { margin-bottom: 10px; }
.req-done { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.req-done p { margin: 0 0 10px; }
@media (max-width: 600px) {
  .req { padding: 18px 16px; }
  .req-sent { width: 100%; margin-left: 0; }
  .slot { flex: 1 1 calc(50% - 4px); }
  .slot span { min-width: 0; }
  .req-actions > .btn { width: 100%; }
}
