/* Halden Electric — shared stylesheet */

:root {
  --navy: #0F1E3D;
  --navy-2: #172B55;
  --navy-deep: #0A1630;
  --orange: #FF6B1A;
  --orange-hover: #FF8A4C;
  --orange-tint: #FFF0E6;
  --warm: #FAF8F4;
  --gray: #E6E8EC;
  --ink: #1A1F2B;
  --muted: #4A5263;
  --line: #6B7385;
  --on-navy: #FFFFFF;
  --on-navy-soft: #C9D1E3;
  --error: #B42318;
  --white: #FFFFFF;

  --font-head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: 20px;
  --radius: 6px;
  --band: clamp(56px, 8vw, 104px);
  --tap: 48px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--warm);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
  color: inherit;
}
h1 { font-size: clamp(2.5rem, 7vw, 4.6rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); text-transform: uppercase; }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.7rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 500; }

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

ul { padding-left: 1.2em; }

/* Focus: navy ring on light, orange ring on dark */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible,
.call-band :focus-visible,
.steps :focus-visible {
  outline-color: var(--orange);
}
.emergency-strip :focus-visible,
.btn-call:focus-visible {
  outline-color: var(--navy);
  box-shadow: 0 0 0 6px var(--white);
}

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.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: -100px;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  font-weight: 500;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

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

.band { padding: var(--band) 0; }
.band--gray { background: var(--gray); }
.band--navy { background: var(--navy); color: var(--on-navy); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--orange);
}
.on-dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow,
.steps .eyebrow,
.call-band .eyebrow { color: var(--on-navy-soft); }

.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 40em; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.15rem; }
.on-dark .section-head p,
.steps .section-head p { color: var(--on-navy-soft); }

/* Placeholders the owner must fill in */
.ph {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92em;
  line-height: 1.35;
  color: var(--navy);
  background: var(--orange-tint);
  border: 2px dashed var(--orange);
  border-radius: 4px;
  padding: 1px 8px;
  letter-spacing: 0;
  text-transform: none;
}
.site-footer .ph,
.on-dark .ph {
  color: var(--orange);
  background: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--tap);
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn .icon { width: 22px; height: 22px; stroke-width: 2.2; }
.btn-lg { min-height: 60px; padding: 14px 30px; font-size: 1.45rem; }
.btn-block { width: 100%; }

.btn-call {
  background: var(--orange);
  color: var(--navy);
  border-color: var(--orange);
}
.btn-call:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.on-dark .btn-ghost,
.hero .btn-ghost,
.page-hero .btn-ghost,
.call-band .btn-ghost {
  color: var(--white);
  border-color: var(--white);
}
.on-dark .btn-ghost:hover,
.hero .btn-ghost:hover,
.page-hero .btn-ghost:hover,
.call-band .btn-ghost:hover { background: var(--white); color: var(--navy); }

.btn-stack {
  flex-direction: column;
  gap: 2px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.btn-stack small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

@media (prefers-reduced-motion: no-preference) {
  .btn-call:hover { transform: translateY(-1px); }
}

.tel-big {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.3rem, 10vw, 6rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.tel-big:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--warm);
  border-bottom: 1px solid #CDD1D9;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  margin-right: auto;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--orange);
  flex-shrink: 0;
}
.logo-mark .icon { width: 24px; height: 24px; fill: var(--orange); stroke: var(--orange); stroke-width: 1; }
.logo-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.92;
}
.logo-text .l1 { font-size: 1.7rem; letter-spacing: 0.02em; }
.logo-text .l2 { font-size: 0.86rem; letter-spacing: 0.32em; }

.site-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 14px;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--navy); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--orange); color: var(--navy); }

.header-call {
  white-space: nowrap;
  font-size: 1.35rem;
  padding: 10px 20px;
}
.header-call .call-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0;
  display: block;
  text-align: left;
  line-height: 1.1;
}
.header-call .call-text { display: flex; flex-direction: column; align-items: flex-start; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: var(--tap);
  height: var(--tap);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.menu-toggle .bars,
.menu-toggle .bars::before,
.menu-toggle .bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform .2s ease, background-color .2s ease;
}
.menu-toggle .bars::before,
.menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle .bars::before { top: -6px; }
.menu-toggle .bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .header-inner { min-height: 68px; gap: 10px; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--warm);
    border-bottom: 3px solid var(--navy);
    box-shadow: 0 16px 30px rgba(15, 30, 61, 0.18);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 16px;
    max-width: var(--wrap);
    margin: 0 auto;
  }
  .site-nav a {
    min-height: 56px;
    font-size: 1.2rem;
    border-bottom: 1px solid #D5D8DE;
    padding: 0 4px;
  }
  .site-nav a:hover { border-bottom-color: #D5D8DE; text-decoration: underline; }
  .site-nav a[aria-current="page"] {
    border-bottom-color: #D5D8DE;
    box-shadow: inset 4px 0 0 var(--orange);
    padding-left: 14px;
  }
  .header-call { order: 2; }
  .menu-toggle { order: 3; }
}

@media (max-width: 560px) {
  .header-call .call-label { display: none; }
  .header-call { font-size: 1.2rem; padding: 8px 14px; gap: 8px; }
  .logo-text .l1 { font-size: 1.45rem; }
  .logo-text .l2 { font-size: 0.74rem; letter-spacing: 0.26em; }
  .logo-mark { width: 34px; height: 34px; }
  .logo-mark .icon { width: 20px; height: 20px; }
}

@media (max-width: 380px) {
  :root { --gutter: 14px; }
  .header-inner { gap: 8px; }
  .logo { gap: 7px; }
  .logo-mark { display: none; }
  .header-call { font-size: 1.1rem; padding: 8px 10px; gap: 6px; }
  .header-call .icon { width: 18px; height: 18px; }
}

/* ---------- Hero (home) ---------- */
.hero {
  background: var(--navy);
  color: var(--on-navy);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-top: clamp(48px, 8vw, 104px);
  padding-bottom: clamp(48px, 7vw, 88px);
}
.hero h1 { margin-bottom: 0.35em; }
.hero h1 .accent { display: block; color: var(--on-navy-soft); font-size: 0.62em; letter-spacing: 0.02em; margin-top: 0.2em; }
.hero .lede { color: var(--on-navy-soft); margin-bottom: 30px; }
.hero-art { justify-self: center; width: 100%; max-width: 440px; }
.hero-art svg { width: 100%; height: auto; display: block; }

.hero-hours {
  margin-top: 22px;
  font-size: 0.98rem;
  color: var(--on-navy-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-hours .icon { width: 20px; height: 20px; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 300px; order: -1; justify-self: start; }
}
@media (max-width: 560px) {
  .hero-art { display: none; }
  .hero .btn-row .btn { width: 100%; }
}

/* Emergency strip */
.emergency-strip {
  background: var(--orange);
  color: var(--navy);
}
.emergency-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.emergency-msg {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0;
}
.emergency-msg .icon {
  width: 34px; height: 34px;
  padding: 6px;
  background: var(--navy);
  color: var(--orange);
  border-radius: 50%;
  stroke-width: 2.2;
}
.emergency-tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: var(--tap);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid var(--navy);
  line-height: 1.1;
}
.emergency-tel:hover { border-bottom-width: 5px; }

/* ---------- Trust strip ---------- */
.trust { background: var(--gray); padding: 26px 0; }
.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-weight: 500;
  line-height: 1.35;
  border-left: 4px solid var(--navy);
}
.trust-list .icon { width: 28px; height: 28px; color: var(--navy); }
.trust-list .ph { margin-top: 4px; }
@media (max-width: 960px) { .trust-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust-list { grid-template-columns: 1fr; } }

/* ---------- Services grid ---------- */
.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 26px 24px;
  background: var(--white);
  border: 1px solid #D3D7DE;
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  position: relative;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.service-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--navy);
  border-radius: var(--radius) var(--radius) 0 0;
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform .25s ease;
}
.service-card:hover { border-color: var(--navy); box-shadow: 0 12px 28px rgba(15, 30, 61, 0.12); }
.service-card:hover::after { transform: scaleX(1); }
.service-card .icon-tile {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gray);
  color: var(--navy);
  margin-bottom: 18px;
}
.service-card .icon-tile .icon { width: 30px; height: 30px; }
.service-card h3 { margin-bottom: 8px; color: var(--navy); }
.service-card p { color: var(--muted); margin-bottom: 18px; }
.service-card .more {
  margin-top: auto;
  font-weight: 500;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card:hover .more { text-decoration: underline; text-underline-offset: 3px; }
.service-card--urgent .icon-tile { background: var(--orange); color: var(--navy); }

@media (max-width: 960px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { background: var(--navy); color: var(--on-navy); }
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  counter-reset: step;
}
.steps-list li {
  counter-increment: step;
  padding: 0 clamp(18px, 3vw, 36px) 0 0;
  position: relative;
}
.steps-list li + li { padding-left: clamp(18px, 3vw, 36px); border-left: 1px solid rgba(255,255,255,0.18); }
.steps-list li::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(3.5rem, 7vw, 5rem);
  line-height: 1;
  color: var(--orange);
  margin-bottom: 12px;
}
.steps-list h3 { color: var(--white); }
.steps-list p { color: var(--on-navy-soft); }
.steps-cta { margin-top: clamp(32px, 5vw, 52px); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
@media (max-width: 760px) {
  .steps-list { grid-template-columns: 1fr; gap: 28px; }
  .steps-list li,
  .steps-list li + li { padding: 0 0 0 0; border-left: 0; }
  .steps-list li + li { padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.18); }
}

/* ---------- Service area ---------- */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.town-chips {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.town-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 18px;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 999px;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--navy);
}
.town-chips li .icon { width: 18px; height: 18px; }
.town-chips li.is-base { background: var(--navy); color: var(--white); }
.town-chips li.is-base small { color: var(--on-navy-soft); font-weight: 400; }
.area-note {
  font-size: 1.15rem;
  border-left: 4px solid var(--orange);
  padding-left: 16px;
}
.area-note a { font-weight: 500; white-space: nowrap; }
@media (max-width: 860px) { .area-grid { grid-template-columns: 1fr; } }

/* ---------- Callback ---------- */
.callback-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.callback-aside p { color: var(--muted); font-size: 1.12rem; }
.callback-aside .call-instead {
  margin-top: 24px;
  padding: 22px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
}
.callback-aside .call-instead p { color: var(--on-navy-soft); margin-bottom: 6px; font-size: 1rem; }
.callback-aside .call-instead a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid var(--orange);
}
.callback-aside .call-instead :focus-visible { outline-color: var(--orange); }
@media (max-width: 860px) { .callback-grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 40px);
  border-top: 5px solid var(--navy);
  box-shadow: 0 10px 30px rgba(15, 30, 61, 0.08);
}
.form-card h3 { color: var(--navy); }
.form-intro { color: var(--muted); font-size: 0.98rem; margin-bottom: 22px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label,
.field .label {
  font-weight: 500;
  color: var(--ink);
}
.field .req { color: var(--muted); font-weight: 400; font-size: 0.92rem; }
.field input[type="text"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  appearance: none;
  -webkit-appearance: none;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230F1E3D' stroke-width='2.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 1px;
  border-color: var(--navy);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--error); }
.field-hint { font-size: 0.92rem; color: var(--muted); margin: 0; }
.field-error {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--error);
  margin: 0;
  display: none;
}
.field.has-error .field-error { display: flex; gap: 6px; align-items: flex-start; }
.field-error::before { content: "!"; display: inline-grid; place-items: center; flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--error); color: var(--white); font-size: 0.75rem; font-weight: 700; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--warm);
  border: 2px solid var(--gray);
  border-radius: var(--radius);
  cursor: pointer;
}
.check input {
  width: 24px;
  height: 24px;
  margin: 1px 0 0;
  accent-color: var(--navy);
  flex-shrink: 0;
  cursor: pointer;
}
.check span { font-weight: 500; }
.emergency-hint {
  display: none;
  margin: 10px 0 0;
  padding: 12px 16px;
  background: var(--orange-tint);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.98rem;
}
.emergency-hint.is-visible { display: block; }
.emergency-hint a { font-weight: 500; white-space: nowrap; }

.form-actions { margin-top: 24px; }
.form-actions .btn { min-width: 240px; }
.form-status {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius);
  font-weight: 500;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-info {
  background: var(--navy);
  color: var(--white);
  border-left: 6px solid var(--orange);
}
.form-status.is-info a { color: var(--white); text-decoration-color: var(--orange); text-decoration-thickness: 2px; white-space: nowrap; }
.form-status.is-info :focus-visible { outline-color: var(--orange); }
.form-status.is-error {
  background: #FDECEA;
  color: var(--error);
  border-left: 6px solid var(--error);
}

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; min-width: 0; }
}

/* ---------- Reviews placeholder ---------- */
.reviews-panel {
  border: 3px dashed var(--orange);
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 52px);
  text-align: center;
}
.reviews-panel .ph { font-size: clamp(1.1rem, 2.4vw, 1.4rem); padding: 6px 14px; }
.reviews-panel .note { margin-top: 16px; color: var(--muted); font-size: 0.98rem; }

/* ---------- Call band ---------- */
.call-band {
  background: var(--navy);
  color: var(--on-navy);
  padding: clamp(56px, 8vw, 96px) 0;
  position: relative;
  overflow: hidden;
}
.call-band::after {
  content: "";
  position: absolute;
  right: -60px;
  top: 50%;
  width: 360px;
  height: 360px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7l1-8z' fill='none' stroke='%23FFFFFF' stroke-opacity='0.07' stroke-width='0.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}
.call-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px 40px;
}
.call-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: var(--on-navy-soft); margin-bottom: 8px; }
.call-band .tel-big { color: var(--white); }
.call-band p { color: var(--on-navy-soft); margin-top: 14px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--navy);
  color: var(--on-navy);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  padding-top: clamp(44px, 7vw, 88px);
  padding-bottom: clamp(44px, 7vw, 80px);
}
.page-hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); max-width: 16em; }
.page-hero .lede { color: var(--on-navy-soft); margin-bottom: 28px; }
.page-hero--split .page-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 860px) {
  .page-hero--split .page-hero-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .page-hero .btn-row .btn { width: 100%; }
}

/* ---------- Services page ---------- */
.jump-nav {
  background: var(--gray);
  border-bottom: 1px solid #CDD1D9;
}
.jump-nav ul {
  list-style: none;
  margin: 0;
  padding: 14px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.jump-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid #C5CAD3;
  border-radius: 999px;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.98rem;
}
.jump-nav a:hover { border-color: var(--navy); }
.jump-nav .icon { width: 18px; height: 18px; }

.service-section {
  padding: var(--band) 0;
  scroll-margin-top: 80px;
  border-bottom: 1px solid #DADDE3;
}
.service-section:nth-of-type(even) { background: var(--gray); }
.service-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.service-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.service-title h2 { margin: 0; color: var(--navy); }
.service-title .icon-tile {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  flex-shrink: 0;
}
.service-title .icon-tile .icon { width: 32px; height: 32px; }
.service-body h3 { color: var(--navy); margin-top: 28px; }
.service-body ul { margin: 0 0 1em; }
.service-body li { margin-bottom: 6px; }
.term { color: var(--muted); font-size: 0.98rem; }
.term strong { color: var(--ink); }

.signs-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  border-top: 5px solid var(--navy);
  box-shadow: 0 8px 24px rgba(15, 30, 61, 0.07);
}
.signs-card h3 { color: var(--navy); font-size: 1.5rem; }
.signs-card ul { list-style: none; padding: 0; margin: 0 0 22px; }
.signs-card li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray);
  line-height: 1.45;
}
.signs-card li:last-child { border-bottom: 0; }
.signs-card li .icon { width: 20px; height: 20px; color: var(--navy); margin-top: 2px; stroke-width: 2.2; }

.service-section.service-section--urgent { background: var(--white); border-top: 6px solid var(--orange); }
.service-section--urgent .service-title .icon-tile { background: var(--orange); color: var(--navy); }
.warning-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 26px;
}
.warning-box h3 { color: var(--white); font-size: 1.6rem; }
.warning-box ul { list-style: none; padding: 0; margin: 0 0 18px; }
.warning-box li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.16);
  font-weight: 500;
  font-size: 1.08rem;
}
.warning-box li .icon { color: var(--orange); width: 22px; height: 22px; margin-top: 2px; stroke-width: 2.2; }
.warning-box p { color: var(--on-navy-soft); }
.warning-box .callout { color: var(--white); font-weight: 500; font-size: 1.12rem; }
.warning-box :focus-visible { outline-color: var(--orange); }
.warning-box .safety-note { color: var(--ink); }
.warning-box .safety-note strong { color: var(--navy); }
.safety-note {
  margin-top: 24px;
  padding: 16px 18px;
  background: var(--gray);
  border-radius: var(--radius);
  font-size: 1rem;
}

@media (max-width: 860px) { .service-layout { grid-template-columns: 1fr; } }

/* ---------- Service areas page ---------- */
.map-figure { margin: 0; }
.map-figure svg { width: 100%; height: auto; display: block; }
.map-figure figcaption { margin-top: 10px; font-size: 0.92rem; color: var(--on-navy-soft); }

.town-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.town-card {
  height: 100%;
  background: var(--white);
  border: 1px solid #D3D7DE;
  border-radius: var(--radius);
  padding: 26px;
  border-top: 5px solid var(--navy);
}
.town-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.town-card h3 {
  font-size: clamp(1.6rem, 3vw, 1.95rem);
  color: var(--navy);
  margin: 0;
}
.town-card .tag {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
}
.town-card .topic {
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
}
.town-card p { color: var(--muted); }
.town-card--base { border-top-color: var(--orange); }
@media (max-width: 960px) { .town-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .town-grid { grid-template-columns: 1fr; } }

.outside-note {
  margin-top: 32px;
  font-size: 1.15rem;
  border-left: 4px solid var(--orange);
  padding-left: 16px;
}
.outside-note a { font-weight: 500; white-space: nowrap; }

/* ---------- Contact page ---------- */
.contact-phone {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-phone .tel-big { color: var(--white); }
.contact-phone .label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-navy-soft);
}

.info-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.info-card {
  height: 100%;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid #D3D7DE;
}
.info-card .icon-tile {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gray);
  color: var(--navy);
  margin-bottom: 14px;
}
.info-card h2 { font-size: 1.6rem; color: var(--navy); margin-bottom: 8px; }
.info-card a { font-weight: 500; font-size: 1.15rem; word-break: break-word; }
.info-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.info-card dt { font-weight: 500; }
.info-card dd { margin: 0; }
.info-card--urgent { background: var(--navy); color: var(--white); border-color: var(--navy); border-top: 5px solid var(--orange); }
.info-card--urgent h2 { color: var(--white); }
.info-card--urgent .icon-tile { background: var(--orange); color: var(--navy); }
.info-card--urgent p { color: var(--on-navy-soft); }
.info-card--urgent a { color: var(--white); text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.info-card--urgent :focus-visible { outline-color: var(--orange); }
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; } }

.checklist-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 32px);
  border-left: 5px solid var(--orange);
}
.checklist-card h2 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); color: var(--navy); }
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray);
  line-height: 1.45;
}
.checklist li:last-child { border-bottom: 0; }
.checklist .box {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border: 2px solid var(--navy);
  border-radius: 4px;
  color: var(--navy);
  flex-shrink: 0;
  margin-top: 1px;
}
.checklist .box .icon { width: 16px; height: 16px; stroke-width: 3; }
.contact-lower {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
@media (max-width: 900px) { .contact-lower { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: var(--on-navy-soft);
  padding: clamp(48px, 7vw, 80px) 0 28px;
  font-size: 1rem;
}
.site-footer a { color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 0.8fr;
  gap: 32px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand .logo-mark { background: var(--orange); }
.footer-brand .logo-mark .icon { fill: var(--navy); stroke: var(--navy); }
.footer-tel {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1.1;
  color: var(--white);
  text-decoration: none;
  border-bottom: 3px solid var(--orange);
  margin-bottom: 12px;
  white-space: nowrap;
}
.site-footer h2 {
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 4px; }
.footer-list a { display: inline-flex; align-items: center; min-height: 40px; }
.footer-hours { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; }
.footer-hours dt { color: var(--white); font-weight: 500; }
.footer-hours dd { margin: 0; }
.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 0.95rem;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile call bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: var(--navy);
    box-shadow: 0 -6px 20px rgba(15, 30, 61, 0.25);
  }
  .mobile-bar .btn { min-height: 54px; font-size: 1.3rem; padding: 8px 10px; }
  .mobile-bar :focus-visible { outline-color: var(--orange); }
  .mobile-bar .btn-ghost { color: var(--white); border-color: var(--white); }
  .mobile-bar .btn-ghost:hover { background: var(--white); color: var(--navy); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .pulse { animation: pulse 2.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
  @keyframes pulse {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.8; }
  }
}
