/* Affordable Drain Flow — light-primary theme w/ dark toggle
   Light: warm off-white #FBFAF8 · zinc ink #14140F · petrol accent #0B6E8F
   Dark:  deep blue-black #0D1114 · off-white · petrol pair #2FA8CC / #0B6E8F
   Hero + services accordion are fixed dark feature bands in BOTH themes.
   Type: Anton (display) + Inter (body)  */

:root {
  --bg: #FBFAF8;
  --bg-raise: #FFFFFF;
  --bg-deep: #F2F1ED;
  --ink: #14140F;
  --ink-soft: #575E55;
  --accent: #0B6E8F;
  --accent-fill: #0B6E8F;
  --accent-fill-hover: #085770;
  --line: #E2E0DA;
  --nav-bg: rgba(251, 250, 248, 0.92);
  --radius: 10px;
  --max: 1180px;
}
html[data-theme="dark"] {
  --bg: #0D1114;
  --bg-raise: #131A1F;
  --bg-deep: #0A0D0F;
  --ink: #EDF1F2;
  --ink-soft: #A7B3B9;
  --accent: #2FA8CC;
  --accent-fill: #0B6E8F;
  --accent-fill-hover: #0D82A8;
  --line: #263239;
  --nav-bg: rgba(13, 17, 20, 0.88);
}

/* accessibility: high contrast per theme */
html.a11y-contrast {
  --bg: #FFFFFF; --bg-raise: #FFFFFF; --bg-deep: #FFFFFF;
  --ink: #000000; --ink-soft: #1A1A1A;
  --accent: #014C66; --accent-fill: #014C66; --accent-fill-hover: #013A4E;
  --line: #5C5C5C; --nav-bg: rgba(255, 255, 255, 0.97);
}
html[data-theme="dark"].a11y-contrast {
  --bg: #000000; --bg-raise: #0A0A0A; --bg-deep: #000000;
  --ink: #FFFFFF; --ink-soft: #E6E6E6;
  --accent: #5BD0F0; --accent-fill: #0E85AD; --accent-fill-hover: #1197C4;
  --line: #4D5A61; --nav-bg: rgba(0, 0, 0, 0.95);
}
html.a11y-contrast .svc-photo { opacity: 0.3; }
html.a11y-large { font-size: 118%; }
html.a11y-underline a { text-decoration: underline !important; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html[data-lang="en"] .es { display: none !important; }
html[data-lang="es"] .en { display: none !important; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  padding: 0.75rem clamp(1rem, 4vw, 3rem);
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand-mark-img { height: 34px; width: auto; display: block; }
.brand-word {
  font-family: "Anton", sans-serif; font-size: 1.02rem; letter-spacing: 0.04em;
  line-height: 1; display: inline-flex; flex-direction: column; color: var(--ink);
}
.brand-word em {
  font-family: "Inter", sans-serif; font-style: normal; font-weight: 500;
  font-size: 0.62rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--ink-soft);
}
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-size: 0.92rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 0.6rem; margin-left: auto; }
.nav-links + .nav-right { margin-left: 0; }
.lang-toggle, .theme-toggle {
  font: 600 0.8rem "Inter", sans-serif; letter-spacing: 0.08em;
  background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.45rem 0.85rem; cursor: pointer; color: var(--ink);
}
.theme-toggle { display: grid; place-items: center; width: 2.35rem; height: 2.35rem; padding: 0; }
.theme-toggle svg { width: 1.05rem; height: 1.05rem; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.lang-toggle:hover, .theme-toggle:hover { border-color: var(--accent); }

/* mobile menu */
.menu-toggle {
  display: none; place-items: center; width: 2.35rem; height: 2.35rem; padding: 0;
  background: none; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; color: var(--ink);
}
.menu-toggle:hover { border-color: var(--accent); }
.menu-toggle svg { width: 1.1rem; height: 1.1rem; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.menu-toggle[aria-expanded="true"] .icon-bars { display: none; }
.mobile-menu {
  display: none; position: fixed; z-index: 49; left: 0; right: 0; top: 0;
  padding: 4.6rem 1.2rem 1.4rem;
  background: var(--bg-raise); border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  max-height: calc(100vh - 1rem); overflow-y: auto;
  /* The fixed .mobile-call bar (z-60) covered the menu's last CTA and the
     a11y button squats bottom-left, so "Get a Free Quote" needed a drag to
     reach. Reserve room; dvh stops iOS toolbars eating the panel. */
  max-height: calc(100dvh - 1rem);
  padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px));
  overscroll-behavior: contain;
}
.mobile-menu.openm { display: block; }
/* While the menu is open the sticky call bar is redundant — the menu carries
   its own Call button. Progressive enhancement; the padding above is the
   guaranteed fix on engines without :has(). */
body:has(.mobile-menu.openm) .mobile-call,
body:has(.mobile-menu.openm) .cookie-bar,
body:has(.mobile-menu.openm) .a11y-btn { display: none; }
.mobile-menu .mm-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft); margin: 1.1rem 0 0.5rem;
}
.mobile-menu .mm-label:first-child { margin-top: 0; }
.mobile-menu ul { list-style: none; display: grid; gap: 0.15rem; }
.mobile-menu ul.mm-services { grid-template-columns: 1fr 1fr; gap: 0.15rem 0.8rem; }
.mobile-menu a {
  display: block; padding: 0.55rem 0.2rem; text-decoration: none;
  color: var(--ink); font-weight: 600; font-size: 1rem; border-radius: 6px;
}
.mobile-menu ul.mm-services a { font-weight: 500; font-size: 0.93rem; color: var(--ink); opacity: 0.9; }
.mobile-menu a:active { color: var(--accent); }
.mobile-menu .mm-cta { margin-top: 1.1rem; display: grid; gap: 0.6rem; }
@media (max-width: 900px) { .menu-toggle { display: grid; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-weight: 600; font-size: 0.95rem; border-radius: var(--radius);
  padding: 0.8rem 1.5rem; border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent-fill); color: #fff; }
.btn-accent:hover { background: var(--accent-fill-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink-soft); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #FBFAF8; color: #14140F; }
.btn-light:hover { background: #FFFFFF; }
.btn-lg { padding: 1rem 2rem; font-size: 1.02rem; }
.nav-call { padding: 0.6rem 1.1rem; font-size: 0.88rem; }

/* ---------- hero (fixed dark band, photo background) ---------- */
.hero {
  --ink: #EDF1F2; --ink-soft: #A7B3B9;
  --accent: #2FA8CC; --accent-fill: #0B6E8F; --line: #263239;
  position: relative; overflow: hidden; background: #0D1114;
  padding: clamp(4rem, 10vh, 7.5rem) 1rem clamp(3.5rem, 8vh, 5.5rem);
  text-align: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-color: #0A0D0F;
  background-image: url("img/hero.jpg");
  background-size: cover; background-position: center 40%;
}
@media (max-width: 700px) {
  .hero-bg { background-image: url("img/hero-mobile.jpg"); }
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(13, 17, 20, 0.74) 0%,
    rgba(13, 17, 20, 0.58) 40%,
    rgba(13, 17, 20, 0.94) 100%);
}
.hero-ghost {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; user-select: none;
  display: flex; flex-direction: column; justify-content: space-between;
  font-family: "Anton", sans-serif; font-size: clamp(3rem, 9vw, 7rem);
  line-height: 1; white-space: nowrap; color: transparent;
  -webkit-text-stroke: 1px rgba(237, 241, 242, 0.08);
}
.ghost-row { transform: translateY(20px); opacity: 0; animation: ghostIn 1.2s ease 0.15s forwards; }
.ghost-row.g2 { animation-delay: 0.3s; align-self: flex-end; }
@keyframes ghostIn { to { transform: translateY(0); opacity: 1; } }

.hero-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink); opacity: 0.85; margin-bottom: 1.6rem;
}
.hero-type { margin: 0 auto 1.4rem; }
.flow-svg { width: min(88vw, 760px); height: auto; display: block; margin: 0 auto; }
.flow-word { font-family: "Anton", sans-serif; font-size: 172px; letter-spacing: 0.01em; }
.flow-outline { fill: rgba(13, 17, 20, 0.25); stroke: var(--ink); stroke-width: 2.5; }
.wave { fill: var(--accent); }
.wave-back { fill: var(--accent-fill); opacity: 0.85; animation: waveslide 7s linear infinite; }
.wave-front { animation: waveslide 4.5s linear infinite reverse; }
.water { transform: translateY(390px); animation: rise 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards; }
@keyframes rise { to { transform: translateY(58px); } }
@keyframes waveslide { from { transform: translateX(0); } to { transform: translateX(-160px); } }

.hero-sub { max-width: 620px; margin: 0 auto 2rem; font-size: 1.08rem; color: var(--ink); opacity: 0.92; }
.hero-ctas { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.2rem; }
.trust-chips {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; justify-content: center;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink);
}
.trust-chips li::before { content: "— "; color: var(--accent); }
.chip-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.reveal { opacity: 0; transform: translateY(16px); animation: revealUp 0.9s ease 0.2s forwards; }
.reveal.d1 { animation-delay: 0.45s; }
.reveal.d2 { animation-delay: 0.65s; }
.reveal.d3 { animation-delay: 0.85s; }
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 0.85rem 0; background: var(--bg-deep);
}
.marquee-track {
  display: flex; white-space: nowrap; width: max-content;
  font-family: "Anton", sans-serif; font-size: 1.05rem; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--ink-soft);
  animation: marquee 28s linear infinite;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 4vw, 3rem); }
.section-alt { max-width: none; background: var(--bg-deep); }
.section-alt > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-head { max-width: 700px; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section-head h2 {
  font-family: "Anton", sans-serif; font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.08; letter-spacing: 0.01em;
  text-transform: uppercase; margin-bottom: 1rem; color: var(--ink);
}
.section-sub { color: var(--ink-soft); font-size: 1.05rem; max-width: 560px; }
.center { text-align: center; margin-top: 2.5rem; }

/* ---------- services: fixed dark band, side-opening accordion ---------- */
.svc-section {
  --bg-raise: #131A1F; --ink: #EDF1F2; --ink-soft: #A7B3B9;
  --accent: #2FA8CC; --accent-fill: #0B6E8F; --line: #263239;
  position: relative; overflow: hidden; background: #0A0D0F; max-width: none;
}
.svc-section .section-head, .accordion { max-width: var(--max); margin-left: auto; margin-right: auto; }
.svc-section .section-head { margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.svc-flowlines { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; }
.svc-flowlines svg { position: absolute; inset: 0; width: 200%; height: 100%; }
.flowline { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0.16; }
.flowline.f2 { opacity: 0.10; stroke-width: 2; }
.flowline.f3 { opacity: 0.07; stroke-width: 3; }
.svc-flowlines .drift { animation: driftX 26s linear infinite; }
.svc-flowlines .drift.slow { animation-duration: 40s; }
.svc-flowlines .drift.slower { animation-duration: 58s; }
@keyframes driftX { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.svc-section .section-head, .accordion { position: relative; z-index: 1; }

.accordion { display: flex; gap: 0.6rem; height: 520px; }
.acc-item {
  position: relative; flex: 1; min-width: 0; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--bg-raise); cursor: pointer;
  transition: flex 0.65s cubic-bezier(0.32, 0.72, 0, 1), border-color 0.3s ease;
  text-align: left; padding: 0; color: inherit; font: inherit;
}
.acc-item:hover { border-color: var(--accent-fill); }
.acc-item.open { flex: 5.2; cursor: default; border-color: var(--accent-fill); }
.svc-photo {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0.28; transition: opacity 0.6s ease, transform 0.8s ease; transform: scale(1.06);
}
.acc-item.open .svc-photo { opacity: 0.55; transform: scale(1); }
.acc-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 13, 15, 0.1) 30%, rgba(10, 13, 15, 0.93) 82%);
}
.acc-closed {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 1.1rem 0; transition: opacity 0.35s ease;
  background: none; border: 0; cursor: pointer; color: inherit; font: inherit; width: 100%;
}
.acc-item.open .acc-closed { opacity: 0; pointer-events: none; }
.acc-closed .svc-num { font-family: "Anton", sans-serif; font-size: 1.1rem; color: var(--accent); }
.acc-closed h3 {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: "Anton", sans-serif; font-weight: 400; letter-spacing: 0.06em;
  text-transform: uppercase; font-size: 1.05rem; white-space: nowrap; color: var(--ink);
}
.acc-open {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.6rem 1.7rem; opacity: 0; transform: translateY(14px);
  transition: opacity 0.45s ease 0.25s, transform 0.45s ease 0.25s;
}
.acc-item.open .acc-open { opacity: 1; transform: translateY(0); }
.acc-open .svc-num {
  font-family: "Anton", sans-serif; font-size: 3.2rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--accent); margin-bottom: 0.6rem;
}
.acc-open h3 {
  font-family: "Anton", sans-serif; font-weight: 400; letter-spacing: 0.04em;
  text-transform: uppercase; font-size: clamp(1.3rem, 2.2vw, 1.9rem); margin-bottom: 0.5rem; color: var(--ink);
}
.acc-open p { font-size: 0.98rem; color: var(--ink); opacity: 0.9; max-width: 460px; }
.acc-open .svc-more { margin-top: 0.7rem; }
.acc-open .svc-more a {
  color: var(--accent); font-weight: 600; font-size: 0.92rem;
  text-decoration: underline; text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .accordion { flex-direction: column; height: auto; }
  .acc-item { min-height: 64px; flex: none; transition: min-height 0.5s cubic-bezier(0.32, 0.72, 0, 1), border-color 0.3s ease; }
  .acc-item.open { min-height: 330px; flex: none; }
  .acc-closed { flex-direction: row; align-items: center; justify-content: flex-start; gap: 1rem; padding: 1.1rem 1.2rem; }
  .acc-closed h3 { writing-mode: horizontal-tb; transform: none; }
}

/* ---------- stats ---------- */
.stats {
  max-width: var(--max); margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem) clamp(4rem, 8vw, 6rem);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem;
  text-align: center;
}
.stat { padding: 2rem 1rem; border-top: 2px solid var(--accent); }
.stat-num, .stat-plus { font-family: "Anton", sans-serif; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--ink); }
.stat-plus { color: var(--accent); }
.stat-label { display: block; margin-top: 0.5rem; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.stats { margin-top: clamp(2.5rem, 6vw, 4rem); }

/* ---------- process ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; max-width: var(--max); }
.step { background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.5rem; }
.step-num {
  display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem;
  border-radius: 50%; background: var(--accent-fill); color: #fff;
  font-family: "Anton", sans-serif; font-size: 1.15rem; margin-bottom: 1rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--ink); }
.step p { font-size: 0.94rem; color: var(--ink-soft); }

/* ---------- reviews marquee ---------- */
.rev-marquee { position: relative; overflow: hidden; }
.rev-marquee::before, .rev-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 1; pointer-events: none;
}
.rev-marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.rev-marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.rev-track { display: flex; width: max-content; animation: revScroll 40s linear infinite; }
.rev-marquee:hover .rev-track { animation-play-state: paused; }
.rev-set { display: flex; gap: 1rem; padding-right: 1rem; }
@keyframes revScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.rev-card {
  width: 300px; flex: none; margin: 0;
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: 10px;
  padding: 1.4rem 1.3rem; display: flex; flex-direction: column; gap: 0.9rem;
}
.rev-head { display: flex; align-items: center; gap: 0.75rem; }
.rev-avatar {
  width: 2.6rem; height: 2.6rem; flex: none; border-radius: 50%;
  border: 2px solid var(--accent); display: grid; place-items: center;
  font: 600 0.9rem "Inter", sans-serif; color: var(--accent); letter-spacing: 0.02em;
}
.rev-name { display: block; font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.rev-src { display: block; font-size: 0.78rem; color: var(--ink-soft); }
.rev-card blockquote { margin: 0; }
.rev-card blockquote p { font-size: 0.95rem; color: var(--ink); }
@media (max-width: 700px) {
  .rev-marquee::before, .rev-marquee::after { display: none; }
}

/* ---------- areas ---------- */
.area-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; max-width: var(--max); }
.area-chips li {
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.5rem 1.1rem; font-size: 0.9rem; font-weight: 500; color: var(--ink);
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; display: grid; gap: 0.7rem; }
.faq-item { background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.2rem; }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 1.05rem 0; font-weight: 600; font-size: 1rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: "Anton", sans-serif; font-size: 1.3rem; color: var(--accent); flex: none;
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] { border-color: var(--accent-fill); }
.faq-item p { padding: 0 0 1.1rem; color: var(--ink-soft); font-size: 0.95rem; max-width: 640px; }

/* ---------- CTA band (fixed petrol in both themes) ---------- */
.cta-band {
  position: relative; overflow: hidden; background: #0B6E8F; color: #fff;
  text-align: center; padding: clamp(4rem, 9vw, 6.5rem) 1rem;
}
.cta-ghost {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: "Anton", sans-serif; font-size: clamp(4rem, 13vw, 9rem); line-height: 0.95;
  white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
  pointer-events: none; user-select: none;
}
.cta-inner { position: relative; }
.cta-inner h2 {
  font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(2rem, 5.5vw, 3.6rem); line-height: 1.05; margin-bottom: 0.8rem;
}
.cta-inner p { opacity: 0.95; margin-bottom: 1.8rem; font-size: 1.05rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.contact-info h2 {
  font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.1; margin-bottom: 0.8rem; color: var(--ink);
}
.contact-info > p { color: var(--ink-soft); margin-bottom: 1.6rem; }
.contact-list { list-style: none; display: grid; gap: 0.85rem; margin-bottom: 1.8rem; }
.contact-list li { display: grid; grid-template-columns: 90px 1fr; gap: 0.8rem; font-size: 0.95rem; }
.contact-list strong { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); padding-top: 0.15rem; }
.contact-list a { color: var(--accent); font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.pay-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin-bottom: 0.6rem; }
.pay-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.pay-chips li { border: 1px solid var(--line); border-radius: 6px; padding: 0.3rem 0.7rem; font-size: 0.8rem; font-weight: 500; color: var(--ink); }

.quote-form { display: grid; gap: 1rem; align-content: start; }
.quote-form label { display: grid; gap: 0.35rem; font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.quote-form input, .quote-form textarea {
  font: inherit; padding: 0.75rem 0.9rem; border: 1px solid var(--line); border-radius: 8px;
  background: var(--bg-raise); color: var(--ink); width: 100%;
}
.quote-form input:focus, .quote-form textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }

/* ---------- footer (high contrast) ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 3rem clamp(1rem, 4vw, 3rem);
  display: grid; gap: 1rem; justify-items: start;
}
.footer-logo { display: flex; align-items: center; gap: 0.6rem; }
.footer p { color: var(--ink); font-size: 0.95rem; }
.footer-social { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-social a { color: var(--ink); font-weight: 600; font-size: 0.92rem; text-decoration: none; border-bottom: 2px solid var(--accent); }
.footer-social a:hover { color: var(--accent); }
.footer-legal { display: flex; gap: 1.2rem 1.6rem; flex-wrap: wrap; }
.footer-legal a { color: var(--ink); font-size: 0.88rem; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--accent); }
.footer-fine { font-size: 0.85rem; color: var(--ink); opacity: 0.85; }
.footer-entity, .footer-credit { font-size: 0.8rem; color: var(--ink-soft); opacity: 1; }
.footer-credit a { color: var(--ink-soft); text-decoration: none; }
.footer-credit a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- gradient glow band (injected by app.js, scroll-revealed) ----------
   Fixed to the viewport bottom, scaleY-driven by remaining scroll distance;
   the footer reserves --glow-h of padding so the glow lands under its content. */
:root { --glow-h: 45vh; }
.glow-band {
  position: fixed; left: 0; right: 0; bottom: 0; height: var(--glow-h);
  z-index: 40; pointer-events: none;
  transform: scaleY(0.045); transform-origin: bottom; will-change: transform;
  opacity: 0.78;
}
html[data-theme="dark"] .glow-band { opacity: 1; }
html.a11y-contrast .glow-band { display: none; }
.glow-band svg { display: block; width: 100%; height: 100%; }
.footer { padding-bottom: var(--glow-h); }
.footer-inner { position: relative; z-index: 41; }
@media (max-width: 700px) {
  :root { --glow-h: 34vh; }
}

/* ---------- mobile sticky call ---------- */
.mobile-call {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60;
  display: none; text-align: center; text-decoration: none;
  background: var(--accent-fill); color: #fff; font-weight: 700; font-size: 1rem;
  padding: 1rem; border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* ---------- accessibility widget ---------- */
.a11y-btn {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 70;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--bg-raise); color: var(--ink); border: 1px solid var(--ink-soft);
  display: grid; place-items: center; cursor: pointer;
}
.a11y-btn:hover { border-color: var(--accent); color: var(--accent); }
.a11y-btn svg { width: 1.5rem; height: 1.5rem; }
.a11y-panel {
  position: fixed; left: 1rem; bottom: 4.6rem; z-index: 70;
  width: min(320px, calc(100vw - 2rem));
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.2rem; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  display: none;
}
.a11y-panel.openp { display: block; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.8rem; }
.a11y-panel h2 { font-size: 1rem; color: var(--ink); }
/* shared circular icon-button idiom (display/sizing stays per button) */
.theme-toggle, .menu-toggle, .a11y-close {
  padding: 0; flex: none; background: none; border: 1px solid var(--line);
  border-radius: 999px; color: var(--ink); cursor: pointer;
}
.theme-toggle:hover, .menu-toggle:hover, .a11y-close:hover { border-color: var(--accent); color: var(--accent); }
.a11y-close { display: grid; place-items: center; width: 2rem; height: 2rem; }
.a11y-close svg { width: 0.95rem; height: 0.95rem; }
.a11y-panel ul { list-style: none; display: grid; gap: 0.55rem; margin-bottom: 0.9rem; }
.a11y-toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 0.6rem 0.8rem; color: var(--ink); font: 500 0.9rem "Inter", sans-serif; cursor: pointer;
}
.a11y-toggle:hover { border-color: var(--accent); }
.a11y-toggle .state { font-weight: 700; color: var(--ink-soft); }
.a11y-toggle[aria-pressed="true"] { border-color: var(--accent); }
.a11y-toggle[aria-pressed="true"] .state { color: var(--accent); }
.a11y-panel .a11y-link { font-size: 0.85rem; color: var(--accent); }

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--accent-fill); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 8px 8px;
  text-decoration: none; font-weight: 600; transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* ---------- service pages ---------- */
.svc-hero {
  --ink: #EDF1F2; --ink-soft: #A7B3B9;
  --accent: #2FA8CC; --accent-fill: #0B6E8F; --line: #263239;
  position: relative; overflow: hidden; background: #0D1114; color: var(--ink);
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem);
}
.svc-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.35; }
.svc-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 17, 20, 0.55) 0%, rgba(13, 17, 20, 0.92) 100%);
}
.svc-hero-inner { position: relative; max-width: var(--max); margin: 0 auto; }
.breadcrumbs { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.2rem; color: var(--ink-soft); }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.svc-hero h1 {
  font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 1.05; margin-bottom: 1rem; text-wrap: balance;
}
.svc-hero .lead { max-width: 640px; font-size: 1.1rem; color: var(--ink); opacity: 0.92; margin-bottom: 1.8rem; }
.svc-page { max-width: 900px; margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 3rem); }
.svc-page h2 {
  font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin: 2.2rem 0 0.9rem; color: var(--ink);
}
.svc-page h2:first-child { margin-top: 0; }
.svc-page p { color: var(--ink); opacity: 0.92; margin-bottom: 1rem; max-width: 70ch; }
.svc-page ul { list-style: none; display: grid; gap: 0.6rem; margin: 0.5rem 0 1.5rem; }
.svc-page ul li { padding-left: 1.2rem; position: relative; color: var(--ink); opacity: 0.92; }
.svc-page ul li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.related-band { background: var(--bg-deep); border-top: 1px solid var(--line); }
.related-inner { max-width: 900px; margin: 0 auto; padding: 2.5rem clamp(1rem, 4vw, 3rem); }
.related-inner h2 { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1rem; }
.related-links { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; }
.related-links a {
  display: inline-block; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.5rem 1.1rem; font-size: 0.9rem; font-weight: 500; color: var(--ink); text-decoration: none;
}
.related-links a:hover { border-color: var(--accent); color: var(--accent); }

/* footer services column */
.footer-services { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; list-style: none; padding: 0; }
.footer-services a { color: var(--ink-soft); font-size: 0.88rem; text-decoration: none; }
.footer-services a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- legal pages ---------- */
.legal { max-width: 800px; margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 3rem); }
.legal h1 {
  font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.1; margin-bottom: 0.5rem; color: var(--ink);
}
.legal .updated { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 2.2rem; }
.legal h2 { font-size: 1.2rem; margin: 2rem 0 0.6rem; color: var(--ink); }
.legal p, .legal li { color: var(--ink); opacity: 0.92; font-size: 0.97rem; }
.legal ul { padding-left: 1.3rem; margin: 0.5rem 0 1rem; }
.legal a { color: var(--accent); }
.legal .back { display: inline-block; margin-top: 2.5rem; }

/* ---------- scroll reveals ---------- */
.js .reveal-io { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal-io.in { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-right, .nav-links + .nav-right { margin-left: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .brand-word { display: none; }
}
@media (max-width: 700px) {
  .flow-svg { width: 94vw; }
  .mobile-call { display: block; }
  body { padding-bottom: 4.5rem; }
  .a11y-btn { bottom: 5.2rem; }
  .a11y-panel { bottom: 8.8rem; }
  .trust-chips { gap: 0.5rem 1.1rem; }
  .hero-ghost { font-size: 3.2rem; }
}

/* ---------- reduced motion (media query + widget class) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .ghost-row { animation: none; opacity: 1; transform: none; }
  .water { animation: none; transform: translateY(58px); }
  .wave { animation: none !important; }
  .marquee-track { animation: none; }
  .svc-flowlines .drift { animation: none; }
  .js .reveal-io { opacity: 1; transform: none; transition: none; }
  .acc-item, .svc-photo, .acc-open, .acc-closed, .btn { transition: none; }
  .glow-band { transform: scaleY(0.045) !important; }
  .rev-track { animation: none; width: auto; flex-wrap: wrap; }
  .rev-set { flex-wrap: wrap; padding-right: 0; }
  .rev-set[aria-hidden="true"] { display: none; }
  .rev-marquee { overflow: visible; }
  .rev-marquee::before, .rev-marquee::after { display: none; }
}
html.a11y-reduce { scroll-behavior: auto; }
html.a11y-reduce .reveal, html.a11y-reduce .ghost-row { animation: none; opacity: 1; transform: none; }
html.a11y-reduce .water { animation: none; transform: translateY(58px); }
html.a11y-reduce .wave { animation: none !important; }
html.a11y-reduce .marquee-track { animation: none; }
html.a11y-reduce .svc-flowlines .drift { animation: none; }
html.a11y-reduce.js .reveal-io { opacity: 1; transform: none; transition: none; }
html.a11y-reduce .acc-item, html.a11y-reduce .svc-photo, html.a11y-reduce .acc-open,
html.a11y-reduce .acc-closed, html.a11y-reduce .btn { transition: none; }
html.a11y-reduce .glow-band { transform: scaleY(0.045) !important; }
html.a11y-reduce .rev-track { animation: none; width: auto; flex-wrap: wrap; }
html.a11y-reduce .rev-set { flex-wrap: wrap; padding-right: 0; }
html.a11y-reduce .rev-set[aria-hidden="true"] { display: none; }
html.a11y-reduce .rev-marquee { overflow: visible; }
html.a11y-reduce .rev-marquee::before, html.a11y-reduce .rev-marquee::after { display: none; }


/* ---------- services icon grid (horizontal labels — readability) ---------- */
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 1rem; position: relative; z-index: 1; }
.svc-card a { display: flex; flex-direction: column; gap: 0.55rem; height: 100%;
  padding: 1.5rem 1.3rem 1.2rem; text-decoration: none; border-radius: 14px;
  background: rgba(255,255,255,0.05); border: 1.5px solid rgba(168,216,234,0.28);
  color: #EDF1F2; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.svc-card a:hover, .svc-card a:focus-visible { border-color: #2FA8CC;
  background: rgba(47,168,204,0.12); transform: translateY(-3px); }
.svc-card-ico { width: 54px; height: 54px; color: #2FA8CC; }
.svc-card-ico svg { width: 100%; height: 100%; }
.svc-card h3 { font-family: "Anton", sans-serif; font-size: 1.12rem; letter-spacing: 0.03em;
  margin: 0; text-transform: uppercase; color: #fff; }
.svc-card p { margin: 0; font-size: 0.88rem; line-height: 1.5; color: #B9C6CC; flex: 1; }
.svc-card-go { font-size: 0.82rem; font-weight: 600; color: #2FA8CC; }
.svc-hub .svc-card a { background: var(--card-bg, rgba(11,110,143,0.06));
  border-color: var(--line); color: var(--ink); }
.svc-hub .svc-card h3 { color: var(--ink); }
.svc-hub .svc-card p { color: var(--ink-soft); }
.svc-hub .svc-card a:hover { border-color: #0B6E8F; background: rgba(11,110,143,0.10); }
.svc-hub .svc-card-ico { color: #0B6E8F; }
.svc-hub .svc-card-go { color: #0B6E8F; }
html[data-theme=dark] .svc-hub .svc-card-ico, html[data-theme=dark] .svc-hub .svc-card-go { color: #2FA8CC; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .svc-grid { grid-template-columns: 1fr; }
  .svc-card a { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .svc-card-ico { width: 42px; height: 42px; }
  .svc-card p { flex-basis: 100%; } }
@media (prefers-reduced-motion: reduce) { .svc-card a { transition: none; } }
html.a11y-reduce .svc-card a { transition: none; }
.blog-list { list-style: none; padding: 0; display: grid; gap: 1.2rem; }
.blog-list li { border: 1.5px solid var(--line); border-radius: 14px; padding: 1.4rem 1.5rem; }
.blog-list h2 { margin: 0 0 0.4rem; }
.blog-list h2 a { color: var(--ink); text-decoration: none; }
.blog-list h2 a:hover { color: #0B6E8F; }
.blog-meta { font-size: 0.82rem; color: var(--ink-soft); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- cookie consent bar ---------- */
.cookie-bar { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90;
  max-width: 640px; margin: 0 auto; background: var(--bg, #fff); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem;
  box-shadow: 0 10px 40px rgba(10,20,25,0.18); display: flex; gap: 1rem;
  align-items: center; flex-wrap: wrap; font-size: 0.9rem; }
.cookie-bar p { margin: 0; flex: 1 1 260px; }
.cookie-actions { display: flex; gap: 0.6rem; }
@media (max-width: 700px) { .cookie-bar { bottom: 5rem; } }

/* ---------- desktop megamenu ---------- */
.mega-wrap { position: relative; }
.mega-trigger { background: none; border: 0; cursor: pointer; font: 500 0.92rem "Inter", sans-serif;
  color: var(--ink-soft); padding: 0; display: inline-flex; align-items: center; gap: 0.25rem; }
.mega-trigger:hover, .mega-trigger[aria-expanded="true"] { color: var(--ink); }
.mega-caret { font-size: 0.7em; }
.mega-panel { position: absolute; top: calc(100% + 1.1rem); left: 50%; transform: translateX(-40%);
  min-width: 560px; background: var(--bg, #fff); border: 1.5px solid var(--line); border-radius: 16px;
  box-shadow: 0 18px 50px rgba(10, 20, 25, 0.18); padding: 1rem; display: none; z-index: 60; }
.mega-panel.open { display: block; }
.mega-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.15rem; }
.mega-grid a { display: flex; align-items: center; gap: 0.65rem; padding: 0.55rem 0.7rem; border-radius: 10px;
  text-decoration: none; color: var(--ink); font-size: 0.92rem; font-weight: 500; }
.mega-grid a:hover, .mega-grid a:focus-visible { background: rgba(11, 110, 143, 0.09); color: #0B6E8F; }
html[data-theme=dark] .mega-grid a:hover, html[data-theme=dark] .mega-grid a:focus-visible { color: #2FA8CC; background: rgba(47,168,204,0.12); }
.mega-ico { width: 26px; height: 26px; color: #0B6E8F; flex: none; }
html[data-theme=dark] .mega-ico { color: #2FA8CC; }
.mega-ico svg { width: 100%; height: 100%; }
.mega-all { display: block; margin-top: 0.6rem; padding: 0.6rem 0.7rem; border-top: 1px solid var(--line);
  text-decoration: none; font-size: 0.88rem; font-weight: 600; color: #0B6E8F; }
html[data-theme=dark] .mega-all { color: #2FA8CC; }
@media (max-width: 900px) { .mega-wrap { display: none; } }

/* ============================================================
   TOWN PAGES — self-contained city landing pages
   Julio 2026-08-18: every service lives on the town page itself,
   so the page needs in-page wayfinding instead of exit links.
   ============================================================ */

.town-page { max-width: 940px; }

/* sticky chip bar: jump between the eight inlined services */
.svc-jump {
  position: sticky; top: 64px; z-index: 30;
  margin: 0 -0.6rem 2.5rem;
  padding: 0.9rem 0.6rem 0.8rem;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.svc-jump-label {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--ink-soft); margin: 0 0 0.55rem; text-transform: uppercase;
}
.svc-jump ul {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem;
  padding-bottom: 0.2rem;
}
/* .svc-page ul li::before paints an em-dash bullet — wrong on pill chips */
.svc-jump li { flex: 0 0 auto; padding-left: 0; }
.svc-jump li::before, .area-chips-linked li::before { content: none !important; }
.svc-jump a {
  display: block; white-space: nowrap;
  padding: 0.42rem 0.85rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-raise);
  color: var(--ink); text-decoration: none;
  font-size: 0.86rem; font-weight: 500;
  transition: border-color 0.15s, color 0.15s;
}
.svc-jump a:hover, .svc-jump a:focus-visible {
  border-color: var(--accent); color: var(--accent);
}

/* Julio: "en una sola página de cada town" — the everyday problem words up
   front (clogged toilet, clogged sink, kitchen drain), each jumping to the
   section further down that covers it. Never a link off the page. */
.town-fixes { margin: 0 0 2.6rem; }
.town-fixes-note {
  font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 0.9rem;
}
.town-fixes ul {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; padding: 0;
}
/* .svc-page ul li::before paints an em-dash bullet — wrong on pill chips */
/* These chips are whole sentences, not one-word labels, so they must be
   allowed to shrink and wrap — flex:0 0 auto overflowed 390px viewports. */
.town-fixes li { flex: 0 1 auto; min-width: 0; max-width: 100%; padding-left: 0; }
.town-fixes li::before { content: none !important; }
.town-fixes a {
  display: block; overflow-wrap: break-word;
  padding: 0.42rem 0.85rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-raise);
  color: var(--ink); text-decoration: none;
  font-size: 0.86rem; font-weight: 500;
  transition: border-color 0.15s, color 0.15s;
}
.town-fixes a:hover, .town-fixes a:focus-visible {
  border-color: var(--accent); color: var(--accent);
}

.svc-hero-cta { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* one inlined service block */
.town-svc {
  padding: 2.2rem 0 2.4rem;
  border-top: 1px solid var(--line);
  scroll-margin-top: 150px;
}
.town-svc h2 { margin-top: 0; }
.town-svc h3 {
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--ink-soft);
  margin: 1.5rem 0 0.6rem;
}
.town-svc-lead { font-size: 1.06rem; }
.town-svc-list { margin: 0 0 0.4rem 1.15rem; }
.town-svc-list li { margin-bottom: 0.32rem; color: var(--ink); opacity: 0.92; }
.town-svc-cta {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-top: 1.4rem;
}

.town-coverage, .town-local, .town-why, .town-faq, .town-quote, .town-nearby {
  padding-bottom: 0.6rem;
}
.town-faq { padding-top: 2.2rem; border-top: 1px solid var(--line); }
.town-faq .faq-item { margin-bottom: 0.7rem; }
.town-why ul { margin: 0 0 0 1.15rem; }
.town-why li { margin-bottom: 0.34rem; }
.town-zips { font-size: 0.9rem; color: var(--ink-soft); }
.town-nearby { padding-top: 2rem; border-top: 1px solid var(--line); }
/* .svc-page ul (display:grid + em-dash ::before) outranks .related-links and
   turns the pills into a dashed column — restore the chip row here. */
.town-nearby .related-links { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.town-nearby .related-links li { padding-left: 0; }
.town-nearby .related-links li::before { content: none; }
.town-quote { padding-top: 2.2rem; border-top: 1px solid var(--line); }
.town-quote h2 { scroll-margin-top: 150px; }

/* homepage "Where we work" chips are real links now */
.area-chips-linked a {
  display: block; padding: 0.45rem 0.95rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-raise);
  color: var(--ink); text-decoration: none; font-size: 0.9rem;
  transition: border-color 0.15s, color 0.15s;
}
.area-chips-linked a:hover, .area-chips-linked a:focus-visible {
  border-color: var(--accent); color: var(--accent);
}
.area-chips-linked li { padding: 0; border: 0; background: none; }

@media (max-width: 720px) {
  .svc-jump { top: 56px; }
  .svc-jump ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
  .town-svc { scroll-margin-top: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
