/* Xpress Septic Tank Pumping — site styles
   System fonts only, no external requests. Mobile-first. */

:root {
  --ink: #0b1a2f;
  --ink-2: #10233d;
  --ink-3: #183152;
  --ink-line: rgba(255, 255, 255, 0.12);
  --on-ink: #e8eef7;
  --on-ink-muted: #b5c3d6;

  --brand: #2dd4bf;          /* accent on dark backgrounds */
  --brand-strong: #0f766e;   /* accent text on light backgrounds (5.4:1) */
  --brand-soft: #e6f7f5;

  --paper: #ffffff;
  --paper-2: #f4f7fb;
  --line: #dfe6ef;
  --text: #0f1b2d;
  --muted: #475569;

  --danger: #b91c1c;
  --ok: #047857;

  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(10, 26, 49, 0.06), 0 2px 8px rgba(10, 26, 49, 0.05);
  --shadow: 0 1px 2px rgba(11, 26, 47, 0.05), 0 12px 28px -10px rgba(11, 26, 47, 0.16);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1160px;
  --gutter: 20px;
  --header-h: 64px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 0 0 0.5em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 1.25rem + 2vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.012em; }
p { margin: 0 0 1em; }

a { color: var(--brand-strong); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--brand);
  color: var(--ink);
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 52px;
  padding: 0 1.4rem;
  border: 2px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-weight: 750;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn-call { background: var(--brand); color: var(--ink); }
.btn-call:hover { background: #5eead4; }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }

.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }

.btn-line { border-color: var(--line); color: var(--text); background: #fff; }
.btn-line:hover { border-color: var(--ink); }

.btn-sm { min-height: 44px; padding: 0 1rem; font-size: 0.95rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 26, 49, 0.97);
  border-bottom: 1px solid var(--ink-line);
  color: #fff;
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(10, 26, 49, 0.86); backdrop-filter: saturate(1.4) blur(12px); }
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name strong { font-size: 1.02rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; }
@media (max-width: 400px) { .brand-name strong { font-size: 0.94rem; } .brand-name span { display: none; } }
.brand-name span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em; color: var(--on-ink-muted); margin-top: 3px; }

.primary-nav { display: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.primary-nav a {
  display: block;
  padding: 10px 12px;
  color: var(--on-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.08); }

.header-phone { display: none; }
.header-quote { display: none; }

.header-call-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand);
  color: var(--ink);
}
.header-call-icon svg { width: 22px; height: 22px; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--ink-line);
  border-radius: 12px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  border-top: 1px solid var(--ink-line);
  background: var(--ink);
  padding: 8px var(--gutter) 20px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; margin: 0 0 12px; padding: 0; }
.mobile-nav a:not(.btn) {
  display: block;
  padding: 14px 4px;
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid var(--ink-line);
}
.mobile-nav .btn { width: 100%; margin-top: 10px; }

@media (min-width: 1000px) {
  .primary-nav { display: block; }
  .header-phone {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.15;
    color: #fff;
    text-decoration: none;
    margin-left: 6px;
  }
  .header-phone small { font-size: 0.72rem; color: var(--on-ink-muted); font-weight: 600; letter-spacing: 0.04em; }
  .header-phone strong { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.01em; }
  .header-phone:hover strong { color: var(--brand); }
  .header-quote { display: inline-flex; margin-left: 4px; }
  .header-call-icon, .nav-toggle, .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  border-bottom: 1px solid var(--ink-line);
}

.hero-grid {
  display: grid;
  gap: 40px;
  padding-top: 44px;
  padding-bottom: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-strong);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.hero .eyebrow,
.section-dark .eyebrow { color: var(--brand); }

.hero h1 { margin-bottom: 0.4em; }
.hero h1 .h1-sub { display: block; color: var(--brand); }

.hero-tagline {
  margin: 0 0 14px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.005em;
  color: #fff;
}

.hero-lead {
  font-size: 1.14rem;
  color: var(--on-ink-muted);
  max-width: 36em;
  margin-bottom: 28px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-ctas .btn { flex: 1 1 220px; }

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 18px 0 0;
  font-size: 0.92rem;
  color: var(--on-ink-muted);
}
.hero-note svg { width: 16px; height: 16px; flex: none; color: var(--brand); margin-top: 3px; }

.hero-media {
  margin: 0;
  border-radius: 20px;
  border: 1px solid var(--ink-line);
  background: var(--ink-2);
  padding: 28px 24px 18px;
}
.hero-media img { width: 100%; height: auto; }
.hero-media figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--ink-line);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--on-ink-muted);
}
.hero-media figcaption span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--brand); margin: 0 12px 2px 0; vertical-align: middle; }
.hero-media.is-photo { padding: 0; overflow: hidden; background: var(--ink-2); }
.hero-media.is-photo img { border-radius: 0; aspect-ratio: auto; }
.hero-media.is-photo figcaption { margin: 0; padding: 12px 16px; border: 0; }

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 56px;
    padding-top: 84px;
    padding-bottom: 96px;
  }
  .hero-ctas .btn { flex: 0 0 auto; }
}

/* Compact hero for inner pages */
.page-hero .hero-grid { padding-top: 24px; padding-bottom: 52px; }
.hero-grid.single { grid-template-columns: 1fr !important; }
.page-hero h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem); }
@media (min-width: 900px) {
  .page-hero .hero-grid { grid-template-columns: 1.35fr 0.65fr; padding-top: 36px; padding-bottom: 72px; }
}

.breadcrumbs { padding-top: 22px; font-size: 0.88rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--on-ink-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }
.breadcrumbs a { color: var(--on-ink); }

.quick-card {
  border-radius: 18px;
  border: 1px solid var(--ink-line);
  background: rgba(255, 255, 255, 0.05);
  padding: 22px;
}
.quick-card h2 { font-size: 1.05rem; letter-spacing: 0; margin-bottom: 10px; color: #fff; }
.quick-card ul { list-style: none; margin: 0 0 18px; padding: 0; }
.quick-card li { display: flex; gap: 10px; padding: 6px 0; color: var(--on-ink); font-size: 0.97rem; line-height: 1.45; }
.quick-card li svg { width: 20px; height: 20px; flex: none; color: var(--brand); margin-top: 1px; }
.quick-card .btn { width: 100%; }
.quick-card .btn + .btn { margin-top: 10px; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust-list {
  list-style: none;
  margin: 0;
  padding: 24px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
}
.trust-list li { display: flex; align-items: flex-start; gap: 12px; }
.trust-list svg { width: 26px; height: 26px; flex: none; color: var(--brand-strong); margin-top: 2px; }
.trust-list strong { display: block; font-size: 0.98rem; line-height: 1.3; }
.trust-list span { display: block; font-size: 0.86rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
@media (min-width: 900px) {
  .trust-list { grid-template-columns: repeat(4, 1fr); padding: 30px 0; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark p { color: var(--on-ink-muted); }
@media (min-width: 900px) { .section { padding: 104px 0; } }

.section-head { max-width: 46rem; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-lead { font-size: 1.12rem; color: var(--muted); margin: 0; }
.section-dark .section-lead { color: var(--on-ink-muted); }

/* ---------- Services ---------- */
.service-grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.service-card:hover { box-shadow: var(--shadow); border-color: #c9d4e2; }
@media (prefers-reduced-motion: no-preference) {
  .service-card.is-link:hover { transform: translateY(-2px); }
}
.service-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  margin-bottom: 18px;
}
.service-card .icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 8px; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.service-card p { color: var(--muted); font-size: 0.99rem; flex: 1; }
.service-card .more {
  font-weight: 750;
  font-size: 0.95rem;
  color: var(--brand-strong);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card .more svg { width: 18px; height: 18px; }
.service-card.is-urgent { background: var(--ink); border-color: var(--ink); color: #fff; }
.service-card.is-urgent p { color: var(--on-ink-muted); }
.service-card.is-urgent .icon { background: rgba(45, 212, 191, 0.14); color: var(--brand); }
.service-card.is-urgent .more { color: var(--brand); }
.service-card.is-plain { box-shadow: none; background: transparent; border-style: dashed; border-color: #c5d0de; }
.service-card.is-plain:hover { box-shadow: none; }
.service-card.is-plain a { position: relative; z-index: 1; }

.tag {
  position: absolute;
  top: 24px; right: 22px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #fde68a;
  color: #713f12;
}

/* ---------- Two-column feature ---------- */
.split { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
  .split.wide-left { grid-template-columns: 1.25fr 0.75fr; }
}

.reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.reasons li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}
.reasons .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--brand);
}
.reasons .num svg { width: 22px; height: 22px; }
.reasons h3 { font-size: 1.05rem; margin-bottom: 4px; }
.reasons p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* ---------- Process ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: step;
}
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  counter-increment: step;
  padding: 26px 24px 22px;
  border-radius: var(--radius);
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin-bottom: 12px;
}
.steps h3 { color: #fff; font-size: 1.1rem; margin-bottom: 6px; }
.steps p { margin: 0; font-size: 0.97rem; }

/* ---------- Signs ---------- */
.signs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 700px) { .signs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .signs { grid-template-columns: repeat(3, 1fr); } }
.signs li {
  display: flex;
  gap: 14px;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}
.signs svg { width: 24px; height: 24px; flex: none; color: #b45309; margin-top: 2px; }
.signs strong { display: block; font-size: 1.02rem; margin-bottom: 2px; }
.signs span { display: block; font-size: 0.95rem; color: var(--muted); line-height: 1.5; }

.callout {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: #fff7ed;
  border: 1px solid #fed7aa;
}
.callout p { margin: 0; font-weight: 650; color: #7c2d12; max-width: 40em; }

/* ---------- Prose / local ---------- */
.prose { max-width: 44rem; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose p, .prose li { color: #26344a; }
.prose sup a { text-decoration: none; font-weight: 700; }

.fact-panel {
  border-radius: 20px;
  background: var(--ink);
  color: #fff;
  padding: 28px;
}
@media (min-width: 900px) { .fact-panel { position: sticky; top: calc(var(--header-h) + 20px); } }
.fact-panel h3 { color: #fff; font-size: 1.1rem; }
.fact-panel dl { margin: 0 0 22px; }
.fact-panel dt { font-size: 0.76rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); margin-top: 16px; }
.fact-panel dd { margin: 4px 0 0; color: var(--on-ink); }
.fact-panel dd a { color: #fff; font-weight: 700; }
.fact-panel .btn { width: 100%; }
.fact-panel .btn + .btn { margin-top: 10px; }

.sources {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}
.sources h3 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.sources ol { margin: 0; padding-left: 1.3em; }
.sources li { margin-bottom: 4px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 50rem; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  font-weight: 700;
  font-size: 1.04rem;
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 11px; height: 11px;
  border-right: 2.5px solid var(--brand-strong);
  border-bottom: 2.5px solid var(--brand-strong);
  transform: translateY(-3px) rotate(45deg);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: translateY(3px) rotate(225deg); }
.faq-item summary:focus-visible { outline-offset: -3px; border-radius: 14px; }
.faq-answer { padding: 0 22px 20px; color: #26344a; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- Contact / CTA ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; } }

.big-call {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 26px 0;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--brand);
  color: var(--ink);
  text-decoration: none;
  transition: background-color .15s ease;
}
.big-call:hover { background: #5eead4; }
.big-call svg { width: 34px; height: 34px; flex: none; }
.big-call small { display: block; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em; }
.big-call strong { display: block; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2rem); font-weight: 850; letter-spacing: -0.02em; line-height: 1.15; }

.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; gap: 10px; padding: 6px 0; color: var(--on-ink); }
.checks svg { width: 20px; height: 20px; flex: none; color: var(--brand); margin-top: 4px; }
.contact-email { margin: 18px 0 0; }
.contact-email a { color: #fff; font-weight: 650; overflow-wrap: anywhere; }

.form-card {
  background: #fff;
  color: var(--text);
  border-radius: 20px;
  padding: 28px 20px;
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.45);
}
@media (min-width: 600px) { .form-card { padding: 34px 32px; } }
.form-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.form-submit { margin-top: 20px; }
.section-dark .form-card p { color: var(--muted); }
.form-card .form-intro { color: var(--muted); font-size: 0.97rem; }

.form-grid { display: grid; gap: 16px; }
@media (min-width: 600px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
.field label,
.field legend {
  display: block;
  font-weight: 700;
  font-size: 0.93rem;
  margin-bottom: 6px;
  padding: 0;
}
.field .opt { font-weight: 500; color: var(--muted); }
.field input:not([type="radio"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  border: 1.5px solid #c5d0de;
  border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 104px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-strong);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.22);
}
.field .is-invalid { border-color: var(--danger) !important; }
.field-error { margin: 6px 0 0; font-size: 0.87rem; font-weight: 600; color: var(--danger); }

fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row label {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0 14px;
  border: 1.5px solid #c5d0de;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}
.radio-row input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.radio-row label:has(input:checked) { border-color: var(--brand-strong); background: var(--brand-soft); color: var(--brand-strong); }
.radio-row label:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-note { margin: 12px 0 0; font-size: 0.87rem; color: var(--muted); }
.form-banner { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; font-weight: 600; font-size: 0.95rem; }
.form-banner.error { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.form-banner.error a { color: var(--danger); }
.form-success { text-align: center; padding: 24px 8px; }
.form-success svg { width: 56px; height: 56px; margin: 0 auto 12px; color: var(--ok); }
.form-success h3 { margin-bottom: 6px; }

/* ---------- Related links ---------- */
.related { display: grid; gap: 12px; }
@media (min-width: 700px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
.related a:hover { border-color: var(--ink); }
.related svg { width: 18px; height: 18px; color: var(--brand-strong); flex: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: #07131f;
  color: var(--on-ink-muted);
  padding: 56px 0 110px;
  font-size: 0.95rem;
}
@media (min-width: 1000px) { .site-footer { padding-bottom: 40px; } }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.site-footer p { color: var(--on-ink-muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--on-ink); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { max-width: 30em; }
.footer-phone { display: inline-block; font-size: 1.35rem; font-weight: 800; color: #fff !important; margin: 0 0 6px; padding: 5px 0; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 26, 49, 0.97);
  border-top: 1px solid var(--ink-line);
}
.action-bar .btn { min-height: 50px; padding: 0 10px; font-size: 0.98rem; }
@media (min-width: 1000px) { .action-bar { display: none; } }

/* ---------- 404 ---------- */
.not-found .hero-grid { grid-template-columns: 1fr; min-height: 60vh; align-content: center; text-align: center; }
.not-found .hero-lead { margin-left: auto; margin-right: auto; }
.not-found .hero-ctas { justify-content: center; }
.not-found .eyebrow { justify-content: center; }

/* ---------- Secondary services row ---------- */
.service-minor {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
@media (min-width: 900px) { .service-minor { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.service-minor > div {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border: 1px dashed #c5d0de;
  border-radius: 14px;
}
.service-minor .icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex: none;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand-strong);
}
.service-minor .icon svg { width: 18px; height: 18px; }
.service-minor p { margin: 0; font-size: 0.95rem; color: var(--muted); line-height: 1.55; }
.service-minor strong { color: var(--text); }

.split-intro .hero-ctas { margin-top: 24px; }

/* ---------- Three-step process ---------- */
@media (min-width: 1040px) { .steps.steps-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) and (max-width: 1039px) { .steps.steps-3 { grid-template-columns: 1fr; } }
.steps-more { margin: 24px 0 0; color: var(--on-ink-muted); }
.steps-more a { color: #fff; font-weight: 650; }

/* ---------- Local topics ---------- */
.prose-lead { font-size: 1.08rem; }
.topic-grid { display: grid; gap: 14px; margin: 28px 0 8px; }
@media (min-width: 700px) { .topic-grid { grid-template-columns: 1fr 1fr; } }
.topic {
  padding: 20px 20px 6px;
  border-radius: 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.topic h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 1.02rem; }
.topic h3 svg { width: 20px; height: 20px; color: var(--brand-strong); flex: none; }
.topic p { font-size: 0.97rem; }

/* ---------- Trust stats (render only when data exists) ---------- */
.stats { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 64px; margin: 0; padding: 26px 0; text-align: center; }
.stats-list div { display: flex; flex-direction: column-reverse; }
.stats-list dt { font-size: 0.88rem; color: var(--muted); }
.stats-list dd { margin: 0; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }

/* ---------- Gallery (renders only when real photos exist) ---------- */
.gallery { display: grid; gap: 14px; }
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.gallery-item { margin: 0; border-radius: 14px; overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); }
.gallery-item img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.gallery-item figcaption { padding: 12px 14px; font-size: 0.9rem; color: var(--muted); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .gallery-item:hover img { transform: scale(1.03); }
}

/* ---------- Reviews (render only when a Google profile or real reviews exist) ---------- */
.rating-summary { margin: 10px 0 0; font-size: 1.05rem; color: var(--muted); }
.rating-summary strong { color: var(--text); }
.stars { color: #d97706; letter-spacing: 2px; }
.review-grid { display: grid; gap: 16px; margin-bottom: 32px; }
@media (min-width: 800px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card { margin: 0; padding: 26px 24px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.review-card > svg { width: 26px; height: 26px; color: var(--brand-strong); opacity: .5; margin-bottom: 10px; }
.review-card blockquote { margin: 0 0 16px; }
.review-card blockquote p { margin: 0; color: #26344a; }
.review-card figcaption { font-size: 0.9rem; color: var(--muted); display: grid; gap: 2px; }
.review-card .review-src { font-size: 0.82rem; }
.review-card figcaption strong { color: var(--text); }
.center-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Privacy ---------- */
.updated { margin-top: 32px; font-size: 0.9rem; color: var(--muted) !important; }

/* ---------- Subtle reveal (CSS scroll-driven, no JS; skipped where unsupported) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .service-card, .reasons li, .signs li, .steps li, .topic, .review-card, .gallery-item {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
}
@keyframes reveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header, .action-bar, .form-card, .nav-toggle { display: none !important; }
  .hero, .section-dark { background: #fff !important; color: #000 !important; }
}
