/* Small business: Brookes and Daughter, invented plumbers in an invented
   town. White and pale steel like a clean van, workwear navy and copper
   pipe. Rockwell slab headings over Segoe UI. Sturdy 8px corners, round
   badges and copper rules. Built for a phone in one hand and a leak in
   the other. */

.bd-page {
  --bd-night: #1e2e4a;
  --bd-night-2: #131e33;
  --bd-navy-text: #1e2e4a;
  --bd-navy-deep-text: #131e33;
  --bd-copper-ink-text: #974c1b;
  --bd-red-text: #b3261e;
  --bd-card: #fff;
  --bd-on-fill: #131e33;
  --bd-white: #ffffff;
  --bd-steel: #eef2f6;
  --bd-steel-2: #dfe6ee;
  --bd-line: #cfd8e3;
  --bd-ink: #18202e;
  --bd-muted: #4b5668;
  --bd-navy: #1e2e4a;
  --bd-navy-deep: #131e33;
  --bd-copper: #d27a3e;
  --bd-copper-light: #f0c7a4;
  --bd-copper-ink: #974c1b;
  --bd-green: #1c6e40;
  --bd-green-pale: #e2f2e8;
  --bd-amber-pale: #fdf1dc;
  --bd-red: #b3261e;
  --bd-red-pale: #fbeceb;
  --bd-slab: Rockwell, "Rockwell Nova", "Roboto Slab", "Courier New", Georgia, serif;
  --bd-body: "Segoe UI", system-ui, -apple-system, sans-serif;

  background: var(--bd-white);
  color: var(--bd-ink);
  font-family: var(--bd-body);
  font-size: 1.0625rem;
}

/* Dark mode, the default: the van's night call-out. Navy-black
   grounds, pale steel ink, copper kept for booking (PRD section 13.10). Only this template's own tokens
   change; screen only, so print always uses the light palette. */
@media screen {
  :root[data-theme="dark"] .bd-page {
    --bd-night: #070c16;
    --bd-night-2: #070c16;
    --bd-navy-text: #a9c0e6;
    --bd-navy-deep-text: #c3d3ee;
    --bd-copper-ink-text: #efa06a;
    --bd-red-text: #ff8a80;
    --bd-card: #18202e;
    --bd-white: #121926;
    --bd-steel: #18202e;
    --bd-steel-2: #222c3d;
    --bd-line: #2e3a4e;
    --bd-ink: #e6ebf3;
    --bd-muted: #a9b3c4;
    --bd-green-pale: #13301f;
    --bd-amber-pale: #33280f;
    --bd-red-pale: #3a1b19;
    color-scheme: dark;
  }
}

.bd-theme-btn {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.bd-theme-btn:hover {
  background: color-mix(in srgb, currentColor 12%, transparent);
}

html:has(.bd-page) {
  scroll-behavior: smooth;
}

.bd-page [hidden] {
  display: none !important;
}

:where(.bd-page) p,
:where(.bd-page) h1,
:where(.bd-page) h2,
:where(.bd-page) h3,
:where(.bd-page) ul,
:where(.bd-page) ol,
:where(.bd-page) dl,
:where(.bd-page) dd,
:where(.bd-page) figure,
:where(.bd-page) blockquote,
:where(.bd-page) fieldset {
  margin: 0;
}

:where(.bd-page) ul,
:where(.bd-page) ol {
  padding: 0;
  list-style: none;
}

:where(.bd-page) li {
  margin: 0;
}

:where(.bd-page) h1,
:where(.bd-page) h2,
:where(.bd-page) h3 {
  color: inherit;
}

.bd-page :focus-visible {
  outline: 3px solid var(--bd-copper-ink);
  outline-offset: 3px;
}

.bd-page section[id] {
  scroll-margin-top: 84px;
}

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

.bd-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.bd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  color: var(--bd-copper-ink-text);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* The copper pipe rule before every eyebrow */
.bd-eyebrow::before {
  content: "";
  width: 36px;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--bd-copper) 0 80%, var(--bd-copper-ink) 80% 86%, var(--bd-copper) 86%);
}

.bd-eyebrow--light {
  color: var(--bd-copper-light);
}

.bd-title {
  margin-bottom: var(--space-4);
  font-family: var(--bd-slab);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.12;
}

.bd-head {
  max-width: 720px;
  margin-bottom: var(--space-10);
}

.bd-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.bd-head--center .bd-eyebrow::after {
  content: "";
  width: 36px;
  height: 6px;
  border-radius: 3px;
  background: var(--bd-copper);
}

.bd-sub {
  color: var(--bd-muted);
  font-size: 1.12rem;
  line-height: 1.6;
}

/* ---------- Buttons ---------- */

.bd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-5);
  border: 0;
  border-radius: 8px;
  font-family: var(--bd-body);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.bd-btn:hover {
  text-decoration: none;
}

.bd-btn:active {
  transform: translateY(1px);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}

.bd-btn--copper {
  background: var(--bd-copper);
  color: var(--bd-on-fill);
}

.bd-btn--copper:hover {
  background: #c46b30;
  color: var(--bd-navy-deep-text);
}

.bd-btn--navy {
  background: var(--bd-night);
  color: #fff;
}

.bd-btn--navy:hover {
  background: var(--bd-night-2);
  color: #fff;
}

.bd-btn--big {
  min-height: 56px;
  padding: 0 var(--space-6);
  font-size: 1.1rem;
}

.bd-btn-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.bd-btn.is-busy::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: bd-spin 0.8s linear infinite;
}

@keyframes bd-spin {
  to { transform: rotate(360deg); }
}

/* ---------- Strip and header ---------- */

.bd-strip {
  background: var(--bd-night-2);
  color: #dfe6ee;
  font-size: 0.95rem;
}

.bd-strip-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-1) var(--space-4);
  min-height: 40px;
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
  text-align: center;
}

.bd-strip strong {
  color: #fff;
}

.bd-strip-link {
  color: var(--bd-copper-light);
  font-weight: 700;
  white-space: nowrap;
}

.bd-page .bd-strip-link:hover {
  color: #fff;
}

.bd-strip :focus-visible {
  outline-color: var(--bd-copper-light);
}

.bd-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bd-white);
  border-bottom: 1px solid var(--bd-line);
}

.bd-header-in {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  min-height: 76px;
}

.bd-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--bd-navy-text);
  text-decoration: none;
}

.bd-logo:hover {
  color: var(--bd-navy-text);
  text-decoration: none;
}

.bd-logo-mark {
  flex: none;
  width: 44px;
  height: 44px;
}

.bd-logo-mark rect {
  fill: var(--bd-navy);
}

.bd-logo-mark path,
.bd-logo-mark circle {
  fill: none;
  stroke: var(--bd-copper);
  stroke-width: 4;
  stroke-linecap: round;
}

.bd-logo-text {
  display: grid;
  line-height: 1.15;
}

.bd-logo-text strong {
  font-family: var(--bd-slab);
  font-size: 1.3rem;
}

.bd-logo-text span {
  color: var(--bd-muted);
  font-size: 0.85rem;
}

.bd-nav {
  margin-left: auto;
}

.bd-nav ul {
  display: flex;
  gap: var(--space-1);
}

.bd-nav a {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: 8px;
  color: var(--bd-ink);
  font-weight: 600;
  text-decoration: none;
}

.bd-nav a:hover {
  background: var(--bd-steel);
  color: var(--bd-navy-text);
  text-decoration: none;
}

.bd-menu-btn {
  display: none;
}

/* ---------- Hero ---------- */

.bd-hero {
  padding: var(--space-12) 0 var(--space-16);
  background:
    linear-gradient(180deg, var(--bd-steel) 0, var(--bd-white) 100%);
}

.bd-hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: var(--space-12);
}

.bd-office {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bd-white);
  box-shadow: inset 0 0 0 1px var(--bd-line);
  font-size: 0.95rem;
  font-weight: 600;
}

.bd-office-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bd-muted);
}

.bd-office.is-open .bd-office-dot {
  background: var(--bd-green);
  box-shadow: 0 0 0 3px var(--bd-green-pale);
}

.bd-hero-title {
  margin-bottom: var(--space-5);
  color: var(--bd-navy-text);
  font-family: var(--bd-slab);
  font-size: clamp(2.3rem, 5vw, 3.9rem);
  font-weight: 700;
  line-height: 1.05;
}

.bd-lede {
  max-width: 34em;
  margin-bottom: var(--space-8);
  color: var(--bd-muted);
  font-size: 1.2rem;
  line-height: 1.6;
}

.bd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.bd-promises {
  display: grid;
  gap: var(--space-3);
}

.bd-promises li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 600;
}

.bd-badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 3px solid var(--bd-copper);
  border-radius: 50%;
  background: var(--bd-white);
  color: var(--bd-navy-text);
  font-family: var(--bd-slab);
  font-size: 0.95rem;
  font-weight: 700;
}

/* Drawn pipework */
.bd-hero-art {
  position: relative;
  display: grid;
  justify-items: end;
  padding-top: 40px;
}

.bd-pipes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bd-pipe {
  position: absolute;
  background: linear-gradient(90deg, #b8652f, #e79a63 45%, #c46b30);
  border-radius: 14px;
}

.bd-pipe--a {
  left: 0;
  top: 18px;
  width: 70%;
  height: 26px;
  background: linear-gradient(180deg, #b8652f, #e79a63 45%, #c46b30);
}

.bd-pipe--b {
  left: calc(70% - 26px);
  top: 18px;
  width: 26px;
  height: 90%;
}

.bd-pipe--c {
  left: 8%;
  top: 18px;
  width: 26px;
  height: 70%;
}

.bd-joint {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #9c9fa5;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.18);
}

.bd-joint--a { left: calc(70% - 33px); top: 11px; }
.bd-joint--b { left: calc(8% - 7px); top: 11px; }

.bd-valve {
  position: absolute;
  left: 34%;
  top: -6px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bd-red);
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.22);
}

.bd-valve i {
  position: absolute;
  inset: 22px 6px;
  border-radius: 4px;
  background: var(--bd-card);
}

.bd-gauge {
  position: absolute;
  left: calc(8% - 24px);
  top: 55%;
  width: 74px;
  height: 74px;
  border: 6px solid #9c9fa5;
  border-radius: 50%;
  background: var(--bd-card);
}

.bd-gauge i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 26px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--bd-red);
  transform-origin: 50% 0;
  transform: rotate(-130deg);
}

.bd-next {
  position: relative;
  width: min(360px, 82%);
  margin-top: 70px;
  padding: var(--space-6);
  border-radius: 8px;
  background: var(--bd-night);
  color: #fff;
  box-shadow: 0 20px 40px rgba(19, 30, 51, 0.25);
}

.bd-next::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  border-radius: 8px 8px 0 0;
  background: var(--bd-copper);
}

.bd-next-label {
  color: var(--bd-copper-light);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bd-next-when {
  margin: var(--space-2) 0;
  font-family: var(--bd-slab);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.15;
}

.bd-next-note {
  margin-bottom: var(--space-4);
  color: #cfd8e3;
  line-height: 1.5;
}

.bd-next-link {
  color: #fff;
  font-weight: 700;
  text-decoration-color: var(--bd-copper);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.bd-page .bd-next-link:hover {
  color: var(--bd-copper-light);
}

.bd-next :focus-visible {
  outline-color: var(--bd-copper-light);
}

/* ---------- Services ---------- */

.bd-services {
  padding: var(--space-16) 0;
}

.bd-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.bd-service {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  border: 1px solid var(--bd-line);
  border-top: 6px solid var(--bd-navy);
  border-radius: 8px;
  background: var(--bd-white);
}

.bd-icon {
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-4);
  fill: none;
  stroke: var(--bd-copper-ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bd-service h3 {
  margin-bottom: var(--space-2);
  color: var(--bd-navy-text);
  font-family: var(--bd-slab);
  font-size: 1.3rem;
  font-weight: 700;
}

.bd-service p {
  color: var(--bd-muted);
  line-height: 1.55;
}

.bd-service .bd-service-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-5);
  font-size: 0.95rem;
}

.bd-from {
  color: var(--bd-ink);
  font-weight: 700;
}

/* ---------- Prices ---------- */

.bd-prices-sec {
  padding: var(--space-16) 0;
  background: var(--bd-steel);
}

.bd-prices-in {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--space-12);
  align-items: start;
}

.bd-ticks {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.bd-ticks li {
  position: relative;
  padding-left: 34px;
  font-weight: 600;
  line-height: 1.45;
}

.bd-ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bd-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5l3.2 3.2L16 8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}

.bd-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  background: var(--bd-white);
  box-shadow: 0 1px 0 var(--bd-line), 0 10px 30px rgba(19, 30, 51, 0.08);
}

.bd-prices {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 1rem;
}

.bd-prices caption {
  padding: var(--space-4) var(--space-5);
  border-bottom: 3px solid var(--bd-copper);
  color: var(--bd-navy-text);
  font-family: var(--bd-slab);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: left;
}

/* components.css gives every th a dark fill; this table wants plain rows. */
.bd-prices th,
.bd-prices td {
  padding: var(--space-3) var(--space-5);
  border: 0;
  border-bottom: 1px solid var(--bd-line);
  background: transparent;
  color: var(--bd-ink);
  text-align: left;
  vertical-align: top;
}

.bd-prices thead th {
  color: var(--bd-muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bd-prices tbody th {
  font-weight: 600;
}

.bd-prices td:nth-child(2) {
  font-family: var(--bd-slab);
  font-size: 1.1rem;
  font-weight: 700;
  white-space: nowrap;
}

.bd-prices td:last-child {
  color: var(--bd-muted);
  white-space: nowrap;
}

.bd-prices tbody tr:last-child th,
.bd-prices tbody tr:last-child td {
  border-bottom: 0;
}

.bd-prices .bd-row-alt th,
.bd-prices .bd-row-alt td {
  background: var(--bd-amber-pale);
}

/* ---------- How it works ---------- */

.bd-how {
  padding: var(--space-16) 0;
  background: var(--bd-night);
  color: #fff;
}

.bd-how :focus-visible {
  outline-color: var(--bd-copper-light);
}

.bd-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6);
}

.bd-step {
  position: relative;
  padding: var(--space-6);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.bd-step-n {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-4);
  border: 3px solid var(--bd-copper);
  border-radius: 50%;
  color: #fff;
  font-family: var(--bd-slab);
  font-size: 1.3rem;
  font-weight: 700;
}

.bd-step h3 {
  margin-bottom: var(--space-2);
  font-family: var(--bd-slab);
  font-size: 1.25rem;
  font-weight: 700;
}

.bd-step p {
  color: #cfd8e3;
  line-height: 1.55;
}

/* ---------- Reviews ---------- */

.bd-reviews {
  padding: var(--space-16) 0;
}

.bd-reviews-in {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: var(--space-12);
  align-items: start;
}

.bd-score-big {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.bd-score-n {
  color: var(--bd-navy-text);
  font-family: var(--bd-slab);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
}

.bd-score-of {
  color: var(--bd-muted);
  font-weight: 600;
}

.bd-score-count {
  margin: var(--space-1) 0 var(--space-5);
  color: var(--bd-muted);
}

.bd-bars {
  display: grid;
  gap: var(--space-2);
}

.bd-bars li {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 36px;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.95rem;
}

.bd-bar {
  height: 12px;
  border-radius: 6px;
  background: var(--bd-steel-2);
  overflow: hidden;
}

.bd-bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 6px;
  background: var(--bd-copper);
}

.bd-bar-n {
  color: var(--bd-muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.bd-review-list {
  display: grid;
  gap: var(--space-5);
}

.bd-review {
  padding: var(--space-6);
  border-radius: 8px;
  background: var(--bd-steel);
  border-left: 6px solid var(--bd-copper);
}

.bd-stars {
  margin-bottom: var(--space-2);
  color: var(--bd-copper-ink-text);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}

.bd-star-off {
  color: #aab4c2;
}

.bd-review blockquote {
  margin: 0 0 var(--space-3);
  padding: 0;
  border: 0;
  background: none;
}

.bd-review blockquote p {
  font-size: 1.1rem;
  line-height: 1.55;
}

.bd-review-by {
  color: var(--bd-muted);
}

.bd-review-by strong {
  color: var(--bd-ink);
}

.bd-review-by span {
  display: inline-block;
  margin-left: var(--space-2);
  padding: 1px 10px;
  border-radius: 999px;
  background: var(--bd-white);
  font-size: 0.88rem;
}

/* ---------- Area ---------- */

.bd-area {
  padding: var(--space-16) 0;
  background: var(--bd-steel);
}

.bd-area-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-12);
  align-items: center;
}

.bd-check {
  margin-top: var(--space-6);
}

.bd-label {
  display: block;
  padding: 0;
  font-weight: 700;
}

.bd-check-row {
  display: flex;
  gap: var(--space-2);
  max-width: 420px;
  margin-top: var(--space-2);
}

.bd-page .bd-input {
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: var(--space-2) var(--space-3);
  border: 2px solid #8793a5;
  border-radius: 8px;
  background: var(--bd-white);
  color: var(--bd-ink);
  font: inherit;
}

.bd-page .bd-input:focus-visible {
  border-color: var(--bd-copper-ink);
  outline: 3px solid var(--bd-navy);
  outline-offset: 1px;
}

.bd-page .bd-input[aria-invalid="true"] {
  border-color: var(--bd-red);
}

.bd-check-row .bd-input {
  flex: 1;
  min-width: 0;
  text-transform: uppercase;
}

.bd-check-row .bd-input::placeholder {
  text-transform: none;
}

.bd-hint {
  margin-top: var(--space-2);
  color: var(--bd-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.bd-hint:empty {
  display: none;
}

.bd-check-result:not(:empty) {
  display: flex;
  gap: var(--space-3);
  max-width: 480px;
  margin-top: var(--space-4);
  padding: var(--space-4);
  border-radius: 8px;
  line-height: 1.5;
}

.bd-check-result.is-yes {
  background: var(--bd-green-pale);
  color: #124a2b;
  box-shadow: inset 5px 0 0 var(--bd-green);
}

.bd-check-result.is-edge {
  background: var(--bd-amber-pale);
  color: #5c3a0c;
  box-shadow: inset 5px 0 0 var(--bd-copper);
}

.bd-check-result.is-no,
.bd-check-result.is-bad {
  background: var(--bd-red-pale);
  color: #7a1a14;
  box-shadow: inset 5px 0 0 var(--bd-red);
}

.bd-map {
  margin: 0;
}

.bd-map svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 1px 0 var(--bd-line), 0 10px 30px rgba(19, 30, 51, 0.1);
}

.bd-map-ground { fill: #f7f9fb; }
.bd-map-river { fill: none; stroke: #9cc3dc; stroke-width: 14; stroke-linecap: round; }
.bd-map-road { fill: none; stroke: #d7dde5; stroke-width: 6; stroke-linecap: round; }
.bd-map-zone { fill: rgba(210, 122, 62, 0.08); stroke: var(--bd-copper-ink); stroke-width: 3; stroke-dasharray: 10 8; }
.bd-map-town circle { fill: var(--bd-navy); }
.bd-map-town text { fill: var(--bd-ink); font-family: var(--bd-body); font-size: 17px; font-weight: 600; }
.bd-map-town--home circle { fill: var(--bd-copper); stroke: var(--bd-navy); stroke-width: 4; }
.bd-map-town--home text { font-family: var(--bd-slab); font-size: 20px; font-weight: 700; }

.bd-map figcaption {
  margin-top: var(--space-3);
  color: var(--bd-muted);
  font-size: 0.92rem;
}

/* ---------- Booking ---------- */

.bd-book {
  padding: var(--space-16) 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 64px),
    var(--bd-navy-deep);
}

.bd-book-in {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: var(--space-12);
  align-items: start;
}

.bd-book-side {
  color: #fff;
}

.bd-book-side :focus-visible {
  outline-color: var(--bd-copper-light);
}

.bd-book-text {
  margin-bottom: var(--space-5);
  color: #cfd8e3;
  line-height: 1.6;
}

.bd-book-call {
  display: inline-block;
  margin-bottom: var(--space-8);
  color: #fff;
  font-family: var(--bd-slab);
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration-color: var(--bd-copper);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.bd-page .bd-book-call:hover {
  color: var(--bd-copper-light);
}

.bd-hours div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.bd-hours dt {
  color: #cfd8e3;
}

.bd-hours dd {
  font-weight: 700;
}

.bd-panel {
  padding: var(--space-8);
  border-radius: 8px;
  background: var(--bd-white);
  border-top: 6px solid var(--bd-copper);
}

.bd-field {
  display: grid;
  align-content: start;
  gap: var(--space-2);
  min-width: 0;
  margin-bottom: var(--space-6);
  padding: 0;
  border: 0;
}

.bd-field .bd-hint {
  margin-top: 0;
}

.bd-optional {
  color: var(--bd-muted);
  font-weight: 400;
}

.bd-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--space-5);
}

.bd-page .bd-input--short {
  max-width: 200px;
  text-transform: uppercase;
}

.bd-page .bd-textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.5;
}

.bd-count {
  color: var(--bd-muted);
  font-size: 0.88rem;
  text-align: right;
}

.bd-error {
  display: flex;
  gap: var(--space-2);
  color: var(--bd-red-text);
  font-size: 0.95rem;
  font-weight: 700;
}

.bd-error::before {
  content: "!";
  display: grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bd-red);
  color: #fff;
  font-size: 13px;
}

.bd-choices,
.bd-days,
.bd-windows {
  display: grid;
  gap: var(--space-2);
}

.bd-choices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bd-days {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.bd-windows {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bd-choice {
  position: relative;
  display: block;
  cursor: pointer;
}

.bd-choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.bd-choice > span {
  display: grid;
  align-content: center;
  gap: 2px;
  height: 100%;
  min-height: 52px;
  padding: var(--space-2) var(--space-3);
  border: 2px solid var(--bd-line);
  border-radius: 8px;
  background: var(--bd-white);
  font-weight: 600;
  line-height: 1.25;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.bd-choice small {
  color: var(--bd-muted);
  font-size: 0.85rem;
  font-weight: 400;
}

.bd-choice:hover > span {
  border-color: #8793a5;
}

.bd-choice input:checked + span {
  border-color: var(--bd-navy);
  background: var(--bd-night);
  color: #fff;
}

.bd-choice input:checked + span small {
  color: #cfd8e3;
}

.bd-choice input:focus-visible + span {
  outline: 3px solid var(--bd-copper-ink);
  outline-offset: 2px;
}

.bd-choice input:disabled + span {
  border-style: dashed;
  background: var(--bd-steel);
  color: var(--bd-muted);
  cursor: not-allowed;
}

.bd-choice input:disabled {
  cursor: not-allowed;
}

.bd-day > span {
  justify-items: center;
  text-align: center;
}

.bd-day b {
  font-family: var(--bd-slab);
  font-size: 1.25rem;
}

.bd-window > span {
  text-align: center;
}

.bd-field:has([aria-invalid="true"]) .bd-choice > span {
  border-color: var(--bd-red);
}

.bd-urgent {
  margin: calc(var(--space-3) * -1) 0 var(--space-6);
  padding: var(--space-4);
  border-radius: 8px;
  background: var(--bd-amber-pale);
  box-shadow: inset 5px 0 0 var(--bd-copper);
  color: #4a2f0a;
  line-height: 1.5;
}

.bd-urgent a {
  color: #4a2f0a;
  font-weight: 700;
  white-space: nowrap;
}

.bd-errors {
  margin-bottom: var(--space-6);
  padding: var(--space-4) var(--space-5);
  border-radius: 8px;
  background: var(--bd-red-pale);
  box-shadow: inset 5px 0 0 var(--bd-red);
  scroll-margin-top: 96px;
}

.bd-errors-title {
  margin-bottom: var(--space-2);
  color: #7a1a14;
  font-size: 1.1rem;
}

.bd-errors ul {
  display: grid;
  gap: var(--space-1);
  padding-left: var(--space-5);
  list-style: disc;
}

.bd-errors a {
  color: var(--bd-red-text);
  font-weight: 700;
}

.bd-summary {
  margin-bottom: var(--space-5);
  padding: var(--space-4);
  border-radius: 8px;
  background: var(--bd-steel);
  color: var(--bd-ink);
  font-weight: 600;
  line-height: 1.5;
}

.bd-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-5);
}

.bd-demo {
  color: var(--bd-muted);
  font-size: 0.95rem;
}

.bd-done {
  display: grid;
  gap: var(--space-4);
  justify-items: start;
}

.bd-done-ref {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bd-steel);
  color: var(--bd-navy-text);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.bd-done-title {
  color: var(--bd-navy-text);
  font-family: var(--bd-slab);
  font-size: 2rem;
  font-weight: 700;
  scroll-margin-top: 96px;
}

.bd-done-list {
  display: grid;
  width: 100%;
}

.bd-done-list div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--bd-line);
}

.bd-done-list dt {
  color: var(--bd-muted);
}

.bd-done-list dd {
  font-weight: 600;
}

.bd-status:not(:empty) {
  width: 100%;
  padding: var(--space-4);
  border-radius: 8px;
  background: var(--bd-green-pale);
  box-shadow: inset 5px 0 0 var(--bd-green);
  color: #124a2b;
  line-height: 1.5;
}

/* ---------- Footer and call bar ---------- */

.bd-footer {
  padding: var(--space-10) 0;
  background: var(--bd-steel);
  border-top: 6px solid var(--bd-copper);
}

.bd-footer-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-6);
  line-height: 1.6;
}

.bd-footer-name {
  color: var(--bd-navy-text);
  font-family: var(--bd-slab);
  font-size: 1.3rem;
  font-weight: 700;
}

.bd-footer a {
  color: var(--bd-navy-text);
  font-weight: 600;
}

.bd-footer-links {
  display: grid;
  gap: var(--space-1);
}

.bd-footer-small {
  grid-column: 1 / -1;
  padding-top: var(--space-4);
  border-top: 1px solid var(--bd-line);
  color: var(--bd-muted);
  font-size: 0.92rem;
}

.bd-callbar {
  display: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .bd-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bd-days {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .bd-hero-in,
  .bd-prices-in,
  .bd-reviews-in,
  .bd-area-in,
  .bd-book-in {
    grid-template-columns: minmax(0, 1fr);
  }

  .bd-hero-in {
    gap: var(--space-8);
  }

  .bd-hero-art {
    justify-items: start;
    max-width: 520px;
    min-height: 260px;
  }

  .bd-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bd-map {
    max-width: 560px;
  }

  .bd-book-in {
    gap: var(--space-8);
  }
}

@media (max-width: 860px) {
  .bd-header {
    position: static;
  }

  .bd-page section[id],
  .bd-errors,
  .bd-done-title {
    scroll-margin-top: 12px;
  }

  .bd-header-in {
    flex-wrap: wrap;
    gap: var(--space-3);
    min-height: 68px;
    padding-top: var(--space-2);
    padding-bottom: var(--space-2);
  }

  .bd-menu-btn {
    display: inline-flex;
    align-items: center;
    order: 2;
    min-height: 44px;
    margin-left: auto;
    padding: 0 var(--space-4);
    border: 2px solid var(--bd-line);
    border-radius: 8px;
    background: var(--bd-white);
    color: var(--bd-navy-text);
    font-family: var(--bd-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
  }

  .bd-menu-btn[aria-expanded="true"] {
    border-color: var(--bd-navy);
  }

  .bd-header-cta {
    display: none;
  }

  .bd-nav {
    display: none;
    order: 3;
    width: 100%;
    margin: 0;
  }

  .bd-nav.is-open {
    display: block;
  }

  .bd-nav ul {
    flex-direction: column;
    padding: var(--space-2) 0;
    border-top: 1px solid var(--bd-line);
  }

  .bd-nav a {
    padding: var(--space-3);
  }
}

@media (max-width: 640px) {
  .bd-page {
    padding-bottom: 76px;
  }

  .bd-wrap {
    padding: 0 var(--space-4);
  }

  .bd-strip {
    font-size: 0.9rem;
  }

  .bd-logo-text span {
    display: none;
  }

  .bd-hero {
    padding: var(--space-8) 0 var(--space-12);
  }

  .bd-lede {
    font-size: 1.08rem;
  }

  .bd-hero-actions .bd-btn {
    flex: 1 1 100%;
  }

  .bd-hero-art {
    min-height: 0;
    padding-top: 0;
  }

  .bd-pipes {
    display: none;
  }

  .bd-next {
    width: 100%;
    margin-top: 0;
  }

  .bd-services,
  .bd-prices-sec,
  .bd-how,
  .bd-reviews,
  .bd-area,
  .bd-book {
    padding: var(--space-12) 0;
  }

  .bd-service-grid,
  .bd-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .bd-prices th,
  .bd-prices td {
    padding: var(--space-3);
  }

  .bd-prices td:last-child,
  .bd-prices thead th:last-child {
    display: none;
  }

  .bd-panel {
    margin: 0 calc(var(--space-4) * -1);
    padding: var(--space-6) var(--space-4);
    border-radius: 0;
  }

  .bd-two,
  .bd-choices {
    grid-template-columns: minmax(0, 1fr);
  }

  .bd-windows {
    grid-template-columns: minmax(0, 1fr);
  }

  .bd-done-list div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .bd-footer-in {
    grid-template-columns: minmax(0, 1fr);
  }

  .bd-callbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--bd-white);
    box-shadow: 0 -1px 0 var(--bd-line), 0 -8px 20px rgba(19, 30, 51, 0.12);
  }

  .bd-callbar .bd-btn {
    min-height: 52px;
  }
}

@media (max-width: 400px) {
  .bd-logo-text strong {
    font-size: 1.1rem;
  }

  .bd-logo-mark {
    width: 38px;
    height: 38px;
  }

  .bd-days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bd-bars li {
    grid-template-columns: 54px minmax(0, 1fr) 30px;
    gap: var(--space-2);
  }

  .bd-check-row {
    flex-wrap: wrap;
  }

  .bd-check-row .bd-btn {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.bd-page) {
    scroll-behavior: auto;
  }

  /* The label already says "Sending"; drop the spinning ring. */
  .bd-btn.is-busy::before {
    display: none;
  }

  .bd-btn,
  .bd-btn:active {
    transition: none;
    transform: none;
  }
}

@media print {
  .bd-callbar,
  .bd-strip {
    display: none;
  }

  .bd-header {
    position: static;
  }
}
