/* Pinn Plumbing & Heating (sample website). Plain CSS, no build step, nothing loaded from other sites.
   Look: deep petrol teal for water, brass for heat (like the valves and fittings), aqua for cold water,
   and an engineer's schematic for a motif.
   Type: Overpass (a road-sign style face, easy to read in a hurry) with Overpass Mono for prices,
   postcodes and labels. */

/* Overpass and Overpass Mono (SIL Open Font License 1.1), served from this site. One variable file each. */
@font-face {
  font-family: "Overpass";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/overpass-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Overpass Mono";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/overpass-mono-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0a2126;
  --teal: #0c3a42;
  --teal-2: #144a53;
  --teal-3: #1d5b65;
  --teal-line: rgba(255, 255, 255, 0.14);
  --on-teal: #eef7f6;
  --on-teal-2: #b6d0cf;
  --paper: #f3f6f5;
  --tint: #e2edeb;
  --tint-2: #f8fbfa;
  --white: #ffffff;
  --line: #d2dfdd;
  --line-strong: #7f9896;
  --text: #132a2e;
  --muted: #475d61;
  --brass: #f2b33d;
  --brass-hover: #f7c565;
  --brass-ink: #7d5300;
  --brass-soft: #fdf0d2;
  --aqua: #6fcfc6;
  --aqua-ink: #0b665f;
  --aqua-soft: #dcf2ef;
  --warn-bg: #fff4d1;
  --warn-line: #e3a20f;
  --error: #a3202b;
  --error-bg: #fdecee;
  --focus: #0c3a42;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(6, 30, 34, 0.06), 0 18px 40px -20px rgba(6, 30, 34, 0.38);
  --shadow-soft: 0 1px 2px rgba(6, 30, 34, 0.05), 0 10px 24px -16px rgba(6, 30, 34, 0.3);
  --font: "Overpass", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Overpass Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  text-wrap: balance;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

strong {
  font-weight: 750;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.hero,
.page-head,
.section-dark,
.contact-card,
.site-footer,
.summary-card,
.aside-card-dark,
.tile-call-us,
.choice.is-selected {
  --focus: var(--brass);
}

[hidden] {
  display: none !important;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm {
  width: 1em;
  height: 1em;
}

.mono {
  font-family: var(--mono);
  letter-spacing: 0.01em;
}

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

.wrap {
  width: min(1200px, 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
  --focus: var(--brass);
}

/* ---------- Type ---------- */

.display {
  font-size: clamp(3rem, 7.6vw, 5.75rem);
  font-weight: 850;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.display-accent {
  color: var(--brass);
}

.h1 {
  font-size: clamp(2.5rem, 6vw, 4.1rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.03em;
}

.h2 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: -0.028em;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--brass-ink);
  font: 600 0.8125rem/1.2 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kicker .icon {
  width: 1.35em;
  height: 1.35em;
}

.kicker-light {
  color: var(--brass);
}

.lead {
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--teal);
  font-weight: 700;
}

.example-tag {
  display: inline-block;
  padding: 0.15rem 0.55rem 0.05rem;
  border-radius: 6px;
  background: var(--ink);
  color: var(--brass);
  font: 700 0.6875rem/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: middle;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.7rem 1.3rem 0.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 750;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: none;
}

.btn .icon {
  margin-top: -0.12em;
}

.btn-signal {
  background: var(--brass);
  color: var(--ink);
}

.btn-signal:hover {
  background: var(--brass-hover);
}

.btn-dark {
  background: var(--teal);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--teal-3);
}

.btn-outline {
  border-color: var(--teal);
  background: var(--white);
  color: var(--teal);
}

.btn-outline:hover {
  background: var(--tint);
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.btn-ghost-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-gas {
  background: var(--ink);
  color: var(--white);
}

.btn-gas .icon {
  color: var(--brass);
}

.btn-gas:hover {
  background: var(--teal-3);
}

.btn-sm {
  min-height: 2.6rem;
  padding: 0.5rem 1rem 0.4rem;
  font-size: 0.9375rem;
}

.btn-lg {
  min-height: 3.6rem;
  padding: 0.9rem 1.5rem 0.8rem;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Sample bar, header and menu ---------- */

.sample-bar {
  background: var(--brass-soft);
  border-bottom: 1px solid #efd9a4;
  color: var(--ink);
  font-size: 0.875rem;
}

.sample-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  padding: 0.5rem 0 0.4rem;
}

.sample-bar p {
  margin: 0;
}

@media (max-width: 640px) {
  .sample-bar {
    font-size: 0.8125rem;
  }

  .sample-bar-inner {
    flex-wrap: wrap;
    padding: 0.45rem 0 0.4rem;
  }
}

.sample-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}

.site-header.is-stuck {
  box-shadow: 0 10px 30px -22px rgba(6, 30, 34, 0.55);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--teal);
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  width: 2.6rem;
  height: 2.6rem;
}

.brand-bg {
  fill: var(--teal);
}

.brand-pipe {
  fill: none;
  stroke: var(--brass);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-drop {
  fill: var(--aqua);
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-name {
  font-size: 1.65rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.brand-sub {
  margin-top: 0.3rem;
  font: 600 0.625rem/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-light {
  color: var(--white);
}

.brand-light .brand-sub {
  color: var(--on-teal-2);
}

.brand-light .brand-bg {
  fill: var(--teal-2);
}


.nav {
  margin-left: auto;
}

.nav ul {
  display: flex;
  gap: 0.15rem;
}

.nav a {
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  color: var(--text);
  font-weight: 650;
  font-size: 0.96875rem;
  text-decoration: none;
}

.nav a:hover {
  background: var(--tint);
}

.nav a[aria-current="page"] {
  color: var(--teal);
  box-shadow: inset 0 -3px 0 var(--brass);
  border-radius: 10px 10px 2px 2px;
}

.header-call {
  display: grid;
  padding: 0.3rem 0.4rem 0.2rem 0.9rem;
  border-left: 1px solid var(--line);
  color: var(--teal);
  text-decoration: none;
  line-height: 1.15;
  white-space: nowrap;
}

.header-call-label {
  font: 600 0.625rem/1.2 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.header-call-number {
  font: 700 1.0625rem/1.2 var(--mono);
}

.header-call:hover .header-call-number {
  text-decoration: underline;
}

.header-emergency[aria-current="page"] {
  box-shadow: inset 0 0 0 2px var(--teal);
}

.menu-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--teal);
  cursor: pointer;
}

@media (max-width: 1100px) {
  .nav a {
    padding: 0.5rem 0.5rem;
  }
}

@media (max-width: 1040px) {
  .menu-toggle {
    display: inline-flex;
  }

  .header-emergency {
    margin-left: auto;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: -1.25rem;
    right: -1.25rem;
    display: none;
    margin: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(6, 30, 34, 0.45);
  }

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

  .nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.4rem 1.25rem 1rem;
  }

  .nav a {
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1.0625rem;
  }

  .nav a[aria-current="page"] {
    box-shadow: inset 4px 0 0 var(--brass);
    padding-left: 0.9rem;
    border-radius: 0;
  }
}

@media (max-width: 760px) {
  /* On phones the call bar at the bottom carries the call and emergency buttons. */
  .header-call,
  .header-emergency {
    display: none;
  }

  .menu-toggle {
    margin-left: auto;
  }

  .brand-mark {
    width: 2.35rem;
    height: 2.35rem;
  }

  .brand-name {
    font-size: 1.3rem;
  }
}


/* The call bar: always in reach on phones. */
.callbar {
  display: none;
}

@media (max-width: 760px) {
  /* Room under the footer so the call bar never covers it (beats the footer's own padding below). */
  body > .site-footer {
    padding-bottom: calc(2.25rem + 4.75rem + env(safe-area-inset-bottom, 0px));
  }

  .callbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 30px -20px rgba(6, 30, 34, 0.5);
  }

  .callbar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3.25rem;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
  }

  .callbar-call {
    background: var(--brass);
    color: var(--ink);
  }

  .callbar-alt {
    background: var(--teal);
    color: var(--white);
    --focus: var(--brass);
  }
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 9rem;
  background:
    radial-gradient(60rem 30rem at 85% 10%, rgba(111, 207, 198, 0.1), transparent 60%),
    radial-gradient(50rem 30rem at 0% 100%, rgba(5, 18, 21, 0.45), transparent 70%),
    var(--teal);
  color: var(--on-teal);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 3rem;
}

.hero .lead {
  max-width: 36rem;
  margin: 1.5rem 0 2rem;
  color: var(--on-teal-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--teal-line);
  color: var(--on-teal-2);
  font-size: 0.96875rem;
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-facts .icon {
  color: var(--brass);
}

.hero-facts strong {
  color: var(--white);
}

.hero-art {
  margin: 0;
}

.schematic {
  width: 100%;
  height: auto;
}

.sx-paper {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.sx-dot {
  fill: rgba(255, 255, 255, 0.11);
}

.sx-hot,
.sx-ret,
.sx-cold,
.sx-gas {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sx-hot {
  stroke: var(--brass);
}

.sx-ret {
  stroke: #a77b36;
}

.sx-cold {
  stroke: var(--aqua);
}

.sx-gas {
  stroke: #e7d27a;
  stroke-dasharray: 2 10;
}

.sx-wire {
  fill: none;
  stroke: var(--on-teal-2);
  stroke-width: 2;
  stroke-dasharray: 2 6;
  stroke-linecap: round;
}

.sx-boiler {
  fill: var(--teal-2);
  stroke: var(--on-teal-2);
  stroke-width: 2;
}

.sx-panel {
  fill: var(--ink);
}

.sx-readout {
  fill: var(--brass);
  font: 600 14px var(--mono);
  letter-spacing: 0.06em;
}

.sx-led {
  fill: var(--aqua);
}

.sx-gauge {
  fill: var(--ink);
  stroke: var(--on-teal-2);
  stroke-width: 2;
}

.sx-tick {
  stroke: var(--on-teal-2);
  stroke-width: 2;
  stroke-linecap: round;
}

.sx-zone {
  fill: none;
  stroke: var(--aqua);
  stroke-width: 5;
  stroke-linecap: round;
}

.sx-needle {
  stroke: var(--brass);
  stroke-width: 3;
  stroke-linecap: round;
}

.sx-hub {
  fill: var(--brass);
}

.sx-label {
  fill: var(--on-teal-2);
  font: 500 11px var(--mono);
  letter-spacing: 0.12em;
}

.sx-label-strong {
  fill: var(--white);
  font-weight: 700;
}

.sx-rad rect {
  fill: var(--teal-2);
  stroke: var(--on-teal);
  stroke-width: 2;
}

.sx-valve {
  fill: var(--brass);
  stroke: var(--teal);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.sx-valve-cold {
  fill: var(--aqua);
}

.sx-valve-gas {
  fill: #e7d27a;
}

.sx-stat {
  fill: var(--ink);
  stroke: var(--on-teal-2);
  stroke-width: 2;
}

.sx-tap rect {
  fill: var(--teal-2);
  stroke: var(--on-teal);
  stroke-width: 2;
}

.sx-tap path {
  fill: none;
  stroke: var(--on-teal);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sx-drop {
  fill: var(--aqua);
}

@media (prefers-reduced-motion: no-preference) {
  .sx-hot,
  .sx-ret {
    stroke-dasharray: 26 6;
    animation: flow 2.4s linear infinite;
  }

  .sx-cold {
    stroke-dasharray: 26 6;
    animation: flow 3s linear infinite;
  }

  .sx-drop {
    animation: drip 2.8s ease-in infinite;
  }
}

@keyframes flow {
  to {
    stroke-dashoffset: -32;
  }
}

@keyframes drip {
  0%,
  40% {
    opacity: 0;
    transform: translateY(-8px);
  }

  55% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(18px);
  }
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-art {
    max-width: 34rem;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 3rem 0 7.5rem;
  }

  .hero-art {
    display: none;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-facts {
    margin-top: 1.75rem;
    flex-direction: column;
  }
}

/* ---------- Is it an emergency? (home) ---------- */

.triage {
  position: relative;
  z-index: 2;
  margin-top: -6rem;
}

.triage-card {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 1.25rem 2rem;
  padding: 1.75rem;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.triage-title {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  font-size: 1.6rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--teal);
}

.triage-title .icon {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.55rem;
  border-radius: 50%;
  background: var(--brass);
  color: var(--ink);
}

.triage-head p {
  margin: 0;
  color: var(--muted);
}

.triage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.triage-grid > li:not(.tile) {
  display: flex;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  width: 100%;
  padding: 1.1rem 1.1rem 1.15rem;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

a.tile:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.tile-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.4rem;
  border-radius: 12px;
}

.tile-icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.tile-title {
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.2;
}

.tile-text {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.4;
}

.tile-leak .tile-icon {
  background: var(--aqua-soft);
  color: var(--aqua-ink);
}

.tile-heat .tile-icon {
  background: var(--brass-soft);
  color: var(--brass-ink);
}

.tile-gas {
  border-color: var(--warn-line);
  background: var(--warn-bg);
}

.tile-gas .tile-icon {
  background: var(--ink);
  color: var(--brass);
}

.tile-gas .tile-text {
  color: #4a3a12;
}

.tile-call {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.5rem;
  padding: 0.55rem 0.8rem 0.45rem;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  font: 700 1.0625rem/1.2 var(--mono);
  text-decoration: none;
  white-space: nowrap;
  --focus: var(--teal);
}

.tile-call .icon {
  color: var(--brass);
}

.tile-call:hover {
  background: var(--teal-3);
}

.tile-go,
.tile-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.6rem;
  color: var(--teal);
  font-size: 0.9375rem;
  font-weight: 750;
}

.tile-go .icon,
.tile-more .icon {
  transition: transform 0.15s;
}

a.tile:hover .tile-go .icon,
.tile-more:hover .icon {
  transform: translateX(3px);
}

.tile-call-us .tile-go {
  color: var(--on-teal-2);
  font-weight: 500;
}

.tile-call-us {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

a.tile-call-us:hover {
  border-color: var(--teal-3);
  background: var(--teal-3);
}

.tile-call-us .tile-icon {
  background: var(--brass);
  color: var(--ink);
}

.tile-call-us .tile-text {
  color: var(--brass);
  font-size: 1.0625rem;
  font-weight: 700;
}

.triage-foot {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.triage-foot .icon {
  color: var(--brass-ink);
}

.triage-foot a {
  color: var(--teal);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .triage-card {
    grid-template-columns: 1fr;
  }

  .triage-foot {
    grid-column: auto;
  }
}

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

@media (max-width: 560px) {
  .triage {
    margin-top: -5.5rem;
  }

  .triage-card {
    padding: 1.25rem;
    border-radius: 20px;
  }

  .triage-title {
    font-size: 1.4rem;
  }

  .triage-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .tile {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    column-gap: 0.9rem;
    align-items: center;
    padding: 0.9rem 1rem;
  }

  .tile-icon {
    grid-row: span 2;
    margin: 0;
  }

  .tile-gas {
    grid-template-columns: 2.75rem minmax(0, 1fr);
  }

  .tile-gas .tile-icon {
    grid-row: span 2;
  }

  .tile-call {
    grid-column: 1 / -1;
    justify-content: center;
    margin-top: 0.75rem;
    font-size: 1.125rem;
  }

  .tile-go {
    display: none;
  }

  .tile-call-us .tile-go {
    display: block;
    grid-column: 2;
    padding-top: 0.2rem;
    font-size: 0.875rem;
  }

  .tile-more {
    grid-column: 1 / -1;
    justify-self: center;
    padding-top: 0.5rem;
  }

  .triage-title {
    display: flex;
    align-items: center;
  }

  .triage-title .icon {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0.45rem;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: 6rem 0;
}

.section-tint {
  background: var(--tint);
}

.section-dark {
  background: var(--teal);
  color: var(--on-teal);
}

.section-head {
  max-width: 46rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-head .h2 {
  color: var(--teal);
}

.section-dark .section-head .h2 {
  color: var(--white);
}

.section-head p:not(.kicker) {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.125rem;
}

.section-dark .section-head p:not(.kicker) {
  color: var(--on-teal-2);
}

.section-head-left {
  margin-left: 0;
  text-align: left;
}

.section-head a {
  color: var(--teal);
  font-weight: 700;
}

@media (max-width: 640px) {
  .section {
    padding: 4rem 0;
  }

  .section-head {
    margin-bottom: 2rem;
    text-align: left;
  }
}

/* Scroll reveal: only when JavaScript runs and motion is welcome. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

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

#services {
  padding-top: 5rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.75rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.service:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  padding: 0.6rem;
  border-radius: 14px;
  background: var(--teal);
  color: var(--brass);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service h3 {
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--teal);
}

.service p {
  color: var(--muted);
}

.service .service-price {
  margin: auto 0 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--line);
  color: var(--text);
  font: 500 0.9375rem/1.4 var(--mono);
}

.service-price strong {
  font-weight: 700;
  color: var(--teal);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  color: var(--teal);
  font-weight: 750;
}

.not-us {
  max-width: 48rem;
  margin: 2.5rem auto 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--brass);
  border-radius: 0 12px 12px 0;
  background: var(--tint-2);
  color: var(--muted);
}

.not-us strong {
  color: var(--text);
}

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

@media (max-width: 640px) {
  #services {
    padding-top: 4rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service {
    padding: 1.4rem;
  }
}

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

.prices {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: start;
}

.price-block {
  padding: 2rem;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.block-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--teal);
}

.block-title .icon {
  color: var(--brass-ink);
}

.block-intro {
  color: var(--muted);
}

.block-foot {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.block-foot a {
  color: var(--teal);
  font-weight: 700;
}

.rates {
  display: grid;
  gap: 0.75rem;
}

.rate {
  padding: 1rem 1.15rem 0.9rem;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.rate-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.rate-name {
  font-size: 1.0625rem;
  font-weight: 800;
}

.now-tag {
  padding: 0.2rem 0.55rem 0.1rem;
  border-radius: 999px;
  background: var(--teal);
  color: var(--brass);
  font: 700 0.6875rem/1.3 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rate-when {
  margin: 0.15rem 0 0.7rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.rate-figs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin: 0;
}

.rate-figs span {
  display: grid;
}

.rate-figs strong {
  font: 700 1.5rem/1.1 var(--mono);
  color: var(--teal);
}

.rate-figs small {
  color: var(--muted);
  font-size: 0.8125rem;
}

.rate.is-now {
  border-color: var(--brass);
  background: var(--brass-soft);
}

.rates-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.rates-wide .rate {
  padding: 1.4rem;
}

.fixed {
  display: grid;
}

.fixed-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--line);
}

.fixed-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fixed-name {
  font-size: 1rem;
  font-weight: 750;
}

.fixed-note {
  margin: 0.1rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

.fixed-price {
  display: grid;
  justify-items: end;
  margin: 0;
  white-space: nowrap;
}

.fixed-price strong {
  font: 700 1.1875rem/1.2 var(--mono);
  color: var(--teal);
}

.fixed-price small {
  color: var(--muted);
  font: 500 0.75rem/1.2 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fixed-compact .fixed-item {
  padding: 0.6rem 0;
}

.fixed-compact .fixed-note {
  display: none;
}

.fixed-compact .fixed-name {
  font-size: 0.9375rem;
  font-weight: 650;
}

.fixed-compact .fixed-price strong {
  font-size: 1rem;
}

@media (max-width: 960px) {
  .prices {
    grid-template-columns: 1fr;
  }

  .rates-wide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .price-block {
    padding: 1.4rem 1.25rem;
  }
}

/* ---------- How it works: a pipe run with four junctions ---------- */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.steps::before {
  content: "";
  position: absolute;
  top: 1.6rem;
  left: 1.625rem;
  right: calc((100% - 6rem) / 4 - 1.625rem);
  height: 6px;
  margin-top: -3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brass), #a77b36);
}

.step {
  position: relative;
}

.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.4rem;
  border: 4px solid var(--brass);
  border-radius: 50%;
  background: var(--teal);
  color: var(--brass);
  font: 700 1.25rem/1 var(--mono);
  padding-top: 0.15rem;
}

.step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
}

.step p {
  margin: 0;
  color: var(--on-teal-2);
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .steps::before {
    top: 1.6rem;
    bottom: 1.6rem;
    left: 1.625rem;
    right: auto;
    width: 6px;
    height: auto;
    margin: 0 0 0 -3px;
    background: linear-gradient(180deg, var(--brass), #a77b36);
  }

  .step {
    padding-left: 4.75rem;
    min-height: 3.25rem;
  }

  /* The pipe stops at the last junction. */
  .step:last-child {
    background: var(--teal);
  }

  .step-num {
    position: absolute;
    left: 0;
    top: 0;
  }
}

/* ---------- Guarantee ---------- */

.promise {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}

.promise-badge {
  position: relative;
  max-width: 20rem;
  margin: 0 auto;
}

.promise-ring {
  width: 100%;
  height: auto;
}

.promise-track {
  fill: var(--white);
  stroke: var(--tint);
  stroke-width: 16;
}

.promise-arc {
  fill: none;
  stroke: var(--brass);
  stroke-width: 10;
}

.promise-valve {
  fill: var(--teal);
  stroke: var(--white);
  stroke-width: 2;
  stroke-linejoin: round;
}

.promise-figure {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  margin: 0;
  color: var(--teal);
  text-align: center;
}

.promise-figure strong {
  font-size: clamp(5rem, 11vw, 7rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.promise-figure span {
  margin-top: 0.4rem;
  font: 600 0.8125rem/1.3 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 9rem;
}

.promise-copy .h2 {
  margin-bottom: 1rem;
  color: var(--teal);
}

.promise-copy > p {
  color: var(--muted);
  font-size: 1.0625rem;
}

.ticks {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.ticks li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.ticks .icon {
  width: 1.6rem;
  height: 1.6rem;
  padding: 0.25rem;
  border-radius: 50%;
  background: var(--aqua-soft);
  color: var(--aqua-ink);
  stroke-width: 2.6;
}

.ticks-small {
  gap: 0.6rem;
  margin-top: 0.75rem;
  font-size: 0.9375rem;
}

.ticks-small .icon {
  width: 1.35rem;
  height: 1.35rem;
}

@media (max-width: 860px) {
  .promise {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .promise-badge {
    max-width: 14rem;
    margin: 0;
  }

  .promise-figure strong {
    font-size: 4.5rem;
  }
}

/* ---------- Gas Safe and the team ---------- */

.gassafe {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}

.gassafe-copy .h2 {
  margin-bottom: 1rem;
  color: var(--teal);
}

.gassafe-copy > p {
  color: var(--muted);
}

.gassafe-copy a {
  color: var(--teal);
  font-weight: 700;
}

.checks {
  display: grid;
  gap: 0.9rem;
  margin: 1.5rem 0 2rem;
}

.checks li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.check-num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--brass);
  color: var(--ink);
  font: 700 0.9375rem/1 var(--mono);
  padding-top: 0.1rem;
}

.badge-slot {
  position: relative;
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.25rem 1.1rem;
  border: 2px dashed var(--line-strong);
  border-radius: 16px;
  background: var(--white);
}

.badge-slot .example-tag {
  position: absolute;
  top: -0.75rem;
  right: 1rem;
}

.badge-slot-icon {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0.55rem;
  border-radius: 14px;
  background: var(--tint);
  color: var(--teal);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.badge-slot p {
  margin: 0;
}

.badge-slot-title {
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--teal);
}

.badge-slot-number {
  font-weight: 600;
}

.badge-slot-number .mono {
  font-weight: 700;
  letter-spacing: 0.1em;
}

.badge-slot-note {
  margin-top: 0.2rem !important;
  color: var(--muted);
  font-size: 0.875rem;
}

.idcard {
  margin: 0;
}

.idcard-art {
  width: 100%;
  max-width: 30rem;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 18px 24px rgba(6, 30, 34, 0.14));
}

.idcard figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

.idc-card {
  fill: var(--white);
  stroke: var(--line-strong);
  stroke-width: 1.5;
}

.idc-band {
  fill: var(--teal);
}

.idc-head {
  fill: var(--on-teal);
  font: 700 12px var(--mono);
  letter-spacing: 0.12em;
}

.idc-head-dark {
  fill: var(--teal);
}

.idc-photo {
  fill: var(--tint);
  stroke: var(--line-strong);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
}

.idc-hatch {
  stroke: var(--line);
  stroke-width: 1.5;
}

.idc-small,
.idc-label {
  fill: var(--muted);
  font: 600 11.5px var(--mono);
  letter-spacing: 0.12em;
}

.idc-line {
  fill: var(--tint);
}

.idc-value {
  fill: var(--text);
  font: 700 15px var(--mono);
  letter-spacing: 0.08em;
}

.idc-holo {
  fill: var(--brass-soft);
  stroke: var(--brass);
  stroke-width: 2;
}

.idc-stamp {
  fill: rgba(255, 255, 255, 0.85);
  stroke: var(--brass-ink);
  stroke-width: 2;
}

.idc-stamp-text {
  fill: var(--brass-ink);
  font: 700 13px var(--mono);
  letter-spacing: 0.2em;
}

.idc-tick {
  fill: none;
  stroke: var(--aqua-ink);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.idc-cross {
  fill: none;
  stroke: var(--muted);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.idc-row {
  fill: var(--text);
  font: 600 15px var(--font);
}

.idc-row-off {
  fill: var(--muted);
  text-decoration: line-through;
}

.idc-callouts circle {
  fill: var(--brass);
  stroke: var(--white);
  stroke-width: 3;
}

.idc-callouts text {
  fill: var(--ink);
  font: 700 14px var(--mono);
}

.team-wrap {
  margin-top: 4.5rem;
}

.team-title {
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--teal);
}

.team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.person {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.person-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0.3rem 0.65rem 0.2rem;
  border-radius: 999px;
  font: 600 0.75rem/1.3 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag-gas {
  background: var(--brass-soft);
  color: var(--brass-ink);
}

.tag-water {
  background: var(--aqua-soft);
  color: var(--aqua-ink);
}

.person h4 {
  font-size: 1.6rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--teal);
}

.person-role {
  margin: 0.2rem 0 0.8rem;
  color: var(--muted);
  font: 600 0.8125rem/1.3 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.person p:last-child {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 960px) {
  .gassafe {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .team {
    grid-template-columns: 1fr;
  }
}

/* ---------- Areas ---------- */

.areas {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 4rem;
  align-items: start;
}

.areas-copy .h2 {
  margin-bottom: 1rem;
  color: var(--teal);
}

.areas-copy > p {
  color: var(--muted);
}

.checker-card {
  margin-top: 1.75rem;
  padding: 1.5rem;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.field-label {
  display: block;
  font-weight: 750;
}

.checker .field-label {
  margin-bottom: 0.5rem;
}

.checker-row {
  display: flex;
  gap: 0.6rem;
}

.checker-row input {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.checker-row input::placeholder {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font);
  font-size: 1rem;
}

.area-result:empty {
  display: none;
}

.area-result {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: var(--tint-2);
  border-left: 5px solid var(--line-strong);
}

.area-result p {
  margin: 0;
}

.area-result-title {
  font-size: 1.15rem;
  font-weight: 800;
}

.area-result-place {
  color: var(--muted);
}

.area-result a {
  color: var(--teal);
  font-weight: 700;
}

.area-result.is-in {
  background: var(--aqua-soft);
  border-left-color: var(--aqua-ink);
}

.area-result.is-in .area-result-title {
  color: var(--aqua-ink);
}

.area-result.is-out {
  background: var(--warn-bg);
  border-left-color: var(--warn-line);
}

.area-result.is-out p + p {
  margin-top: 0.3rem;
}

.area-facts {
  display: grid;
  gap: 0.4rem;
  margin: 0.8rem 0 0;
}

.area-facts div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(11, 102, 95, 0.2);
}

.area-facts dt {
  color: var(--muted);
}

.area-facts dd {
  margin: 0;
  font-weight: 750;
  text-align: right;
}

.areas-note {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 1.5rem 0 0;
  color: var(--muted);
}

.areas-note .icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.05rem;
  color: var(--brass-ink);
}

.zones {
  display: grid;
  gap: 1rem;
}

.zone {
  padding: 1.25rem 1.25rem 1.3rem;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
}

.zone-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  margin-bottom: 0.85rem;
}

.zone-name {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--teal);
}

.zone-name::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px var(--tint);
}

.zone-near .zone-name::before {
  background: var(--teal-3);
  opacity: 0.75;
}

.zone-outer .zone-name::before {
  background: var(--line-strong);
}

.zone-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.9rem;
  margin: 0;
  color: var(--muted);
  font: 500 0.8125rem/1.4 var(--mono);
}

.districts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.district {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem 0.25rem;
  border-radius: 10px;
  background: var(--tint-2);
  border: 1px solid var(--line);
  font-size: 0.875rem;
  transition: background-color 0.2s, color 0.2s;
}

.district b {
  font: 700 0.875rem/1.2 var(--mono);
  color: var(--teal);
}

.district span {
  color: var(--muted);
}

.district.is-match {
  background: var(--teal);
  border-color: var(--teal);
}

.district.is-match b {
  color: var(--brass);
}

.district.is-match span {
  color: var(--on-teal);
}

@media (max-width: 960px) {
  .areas {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ---------- FAQ ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 4rem;
  align-items: start;
}

.faq-layout .section-head {
  position: sticky;
  top: 7rem;
  margin: 0;
}

.faq details {
  border-bottom: 1px solid var(--line-strong);
}

.faq details:first-child {
  border-top: 1px solid var(--line-strong);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 1.1rem;
  font-size: 1.125rem;
  font-weight: 750;
  color: var(--teal);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background:
    linear-gradient(var(--teal), var(--teal)) center / 0.75rem 2px no-repeat,
    linear-gradient(var(--teal), var(--teal)) center / 2px 0.75rem no-repeat,
    var(--white);
  border: 1px solid var(--line);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  background:
    linear-gradient(var(--ink), var(--ink)) center / 0.75rem 2px no-repeat,
    var(--brass);
  border-color: var(--brass);
}

.faq details p {
  margin: -0.2rem 0 1.25rem;
  max-width: 44rem;
  color: var(--muted);
}

.faq details a {
  color: var(--teal);
  font-weight: 700;
}

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

  .faq-layout .section-head {
    position: static;
  }
}

/* ---------- Contact ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.contact-card {
  padding: 2.5rem;
  border-radius: 26px;
  background:
    radial-gradient(30rem 18rem at 100% 0%, rgba(111, 207, 198, 0.12), transparent 60%),
    var(--teal);
  color: var(--on-teal);
}

.contact-card .h2 {
  margin-bottom: 0.8rem;
  color: var(--white);
}

.contact-card > p:not(.kicker) {
  color: var(--on-teal-2);
}

.contact-actions {
  display: grid;
  gap: 0.7rem;
  margin: 1.75rem 0 1.25rem;
}

.office-status {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0;
  font-size: 0.9375rem;
}

.office-status:empty {
  display: none;
}

.office-status::before {
  content: "";
  flex-shrink: 0;
  width: 0.65rem;
  height: 0.65rem;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--on-teal-2);
}

.office-status.is-open::before {
  background: var(--aqua);
  box-shadow: 0 0 0 4px rgba(111, 207, 198, 0.25);
}

.contact-card .office-status {
  color: var(--on-teal-2);
}

.contact-card .contact-email {
  margin: 0 0 0.6rem;
  color: var(--on-teal-2);
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}

.info-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--teal);
}

.info-title .icon {
  color: var(--brass-ink);
}

.hours {
  margin: 0 0 2.25rem;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--line-strong);
}

.hours dt {
  font-weight: 650;
}

.hours dd {
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.info-note {
  color: var(--muted);
  font-size: 0.9375rem;
}

@media (max-width: 560px) {
  .hours div {
    display: grid;
    gap: 0.1rem;
  }

  .hours dd {
    text-align: left;
  }

  .districts {
    display: grid;
    gap: 0;
  }

  .district {
    display: grid;
    grid-template-columns: 3.4rem minmax(0, 1fr);
    padding: 0.45rem 0 0.35rem;
    border: 0;
    border-top: 1px dashed var(--line);
    border-radius: 0;
    background: none;
  }

  .district.is-match {
    padding-inline: 0.5rem;
    border-radius: 8px;
  }
}

@media (max-width: 860px) {
  .contact {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .contact-card {
    padding: 1.75rem 1.4rem;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 4rem 0 2.25rem;
  background: var(--ink);
  color: var(--on-teal-2);
  font-size: 0.9375rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 2.5rem;
}

.footer-brand p {
  max-width: 26rem;
  margin: 1rem 0 0;
}

.footer-gassafe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.footer-gassafe .mono {
  color: var(--white);
  letter-spacing: 0.1em;
}

.footer-gassafe .example-tag {
  background: var(--brass);
  color: var(--ink);
}

.footer-title {
  margin-bottom: 0.9rem;
  color: var(--brass);
  font: 600 0.75rem/1.2 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-list {
  display: grid;
  gap: 0.55rem;
}

.footer-list a {
  color: var(--white);
  text-decoration: none;
}

.footer-list a:hover {
  text-decoration: underline;
}

.footer-list span {
  color: var(--on-teal-2);
  font-size: 0.8125rem;
}

.footer-gas {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0;
  padding: 0.9rem 1.1rem 0.8rem;
  border: 1px solid rgba(242, 179, 61, 0.45);
  border-radius: 14px;
  background: rgba(242, 179, 61, 0.08);
  color: var(--on-teal);
}

.footer-gas .icon {
  margin-top: 0.1rem;
  color: var(--brass);
}

.footer-gas a {
  color: var(--brass);
  font-family: var(--mono);
  font-weight: 700;
}

.footer-credit {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--teal-line);
  font-size: 0.875rem;
}

.footer-credit a {
  color: var(--white);
}

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---------- Inner page heads ---------- */

.page-head {
  padding: 3.75rem 0 4rem;
  background:
    radial-gradient(50rem 24rem at 100% 0%, rgba(111, 207, 198, 0.09), transparent 60%),
    var(--teal);
  color: var(--on-teal);
}

.page-head-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 2rem 4rem;
  align-items: end;
}

.page-head .h1 {
  color: var(--white);
}

.page-head .lead {
  max-width: 38rem;
  margin: 1.1rem 0 0;
  color: var(--on-teal-2);
}

.head-call {
  padding: 1.4rem;
  border: 1px solid var(--teal-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
}

.head-call p {
  margin: 0.75rem 0 0;
  color: var(--on-teal-2);
  font-size: 0.9375rem;
}

.head-call-rate {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
}

.head-call-rate .icon {
  margin-top: 0.2rem;
  color: var(--brass);
}

.head-prices {
  display: grid;
  border-top: 1px solid var(--teal-line);
}

.head-prices li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.8rem 0 0.7rem;
  border-bottom: 1px solid var(--teal-line);
  color: var(--on-teal-2);
}

.head-prices strong {
  color: var(--brass);
  font: 700 1.25rem/1.2 var(--mono);
}

.head-steps {
  display: grid;
  gap: 0.6rem;
  counter-reset: none;
}

.head-steps li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1rem 0.65rem;
  border: 1px solid var(--teal-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 650;
}

.head-step-num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--brass);
  color: var(--ink);
  font: 700 0.9375rem/1 var(--mono);
  padding-top: 0.1rem;
}

@media (max-width: 860px) {
  .page-head {
    padding: 2.75rem 0 3rem;
  }

  .page-head-inner {
    grid-template-columns: 1fr;
  }
}

/* ---------- Emergency page ---------- */

.gas-strip {
  background: var(--warn-bg);
  border-bottom: 1px solid var(--warn-line);
}

.gas-strip-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0 0.9rem;
}

.gas-strip p {
  margin: 0;
  font-size: 1.0625rem;
}

.gas-strip-icon {
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.5rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--brass);
}

.gas-number {
  font-family: var(--mono);
  font-weight: 700;
  white-space: nowrap;
}

.helper-section {
  padding-top: 3.5rem;
}

.helper-section .section-head {
  margin-bottom: 1.5rem;
}

.helper-choices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.choice {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}

.choice:hover {
  border-color: var(--teal);
}

.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.choice:has(input:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.choice-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: var(--tint);
  color: var(--teal);
}

.choice-icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.choice-leak .choice-icon {
  background: var(--aqua-soft);
  color: var(--aqua-ink);
}

.choice-gas .choice-icon {
  background: var(--ink);
  color: var(--brass);
}

.choice-heating .choice-icon {
  background: var(--brass-soft);
  color: var(--brass-ink);
}

.choice-words {
  display: grid;
  gap: 0.1rem;
}

.choice-title {
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.25;
}

.choice-sub {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.35;
}

.choice.is-selected {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

.choice.is-selected .choice-sub {
  color: var(--on-teal-2);
}

.choice.is-selected .choice-icon {
  background: var(--brass);
  color: var(--ink);
}

.helper-panel {
  margin-top: 1rem;
  padding: 2rem;
  border: 2px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.helper-empty {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.helper-panel.is-gas {
  border-color: var(--warn-line);
  background: var(--warn-bg);
}

.helper-body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 2.5rem;
  align-items: start;
}

.helper-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 850;
  letter-spacing: -0.025em;
  color: var(--teal);
}

.helper-title:focus {
  outline: none;
}

.helper-intro {
  margin: 0.75rem 0 1.25rem;
  font-size: 1.125rem;
}

.helper-steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.helper-step {
  position: relative;
  padding-left: 3.25rem;
  counter-increment: step;
  color: var(--muted);
}

.helper-step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--brass);
  font: 700 1rem/1 var(--mono);
  padding-top: 0.12rem;
}

.helper-step strong {
  display: block;
  color: var(--text);
  font-size: 1.125rem;
  line-height: 1.35;
}

.is-gas .helper-step {
  color: #3f3424;
}

.helper-note {
  margin: 1.5rem 0 0;
  padding: 0.9rem 1.1rem;
  border-left: 4px solid var(--brass);
  border-radius: 0 12px 12px 0;
  background: var(--tint-2);
}

.is-gas .helper-note {
  background: rgba(255, 255, 255, 0.7);
  border-left-color: var(--ink);
}

.helper-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px dashed var(--line-strong);
}

.is-gas .helper-actions {
  border-bottom-color: var(--warn-line);
}

.helper-after {
  flex-basis: 100%;
  margin: 0;
}

.helper-after a {
  white-space: nowrap;
  font-family: var(--mono);
  font-weight: 700;
}

.helper-figure {
  position: sticky;
  top: 7rem;
  margin: 0;
}

.fig {
  width: 100%;
  height: auto;
}

.helper-caption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9375rem;
  text-align: center;
}

.is-gas .helper-caption {
  color: #4a3a12;
}

.fig-bg {
  fill: var(--tint-2);
  stroke: var(--line);
  stroke-width: 1.5;
}

.is-gas .fig-bg {
  fill: var(--white);
}

.fig-pipe {
  fill: #cbdcd9;
  stroke: var(--line-strong);
  stroke-width: 1.5;
}

.fig-flow,
.fig-arrow {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fig-flow {
  stroke: var(--aqua-ink);
}

.fig-arrow {
  stroke: var(--teal);
}

.fig-brass {
  fill: var(--brass);
  stroke: var(--brass-ink);
  stroke-width: 2;
}

.fig-steel {
  fill: #8ea3a1;
}

.fig-label {
  fill: var(--muted);
  font: 600 11px var(--mono);
  letter-spacing: 0.1em;
}

.fig-label-strong {
  fill: var(--teal);
  font-weight: 700;
}

.fig-big {
  fill: var(--muted);
  font: 850 30px var(--font);
}

.fig-big-off {
  fill: var(--teal);
}

.fig-off-bg {
  fill: var(--brass-soft);
  stroke: var(--brass);
  stroke-width: 2;
}

.fig-lever {
  fill: var(--teal);
}

.fig-pivot {
  fill: var(--white);
  stroke: var(--teal);
  stroke-width: 2;
}

.fig-bezel {
  fill: var(--white);
  stroke: var(--teal);
  stroke-width: 7;
}

.fig-zone-low,
.fig-zone-high,
.fig-zone-ok {
  fill: none;
  stroke-width: 11;
}

.fig-zone-low,
.fig-zone-high {
  stroke: var(--tint);
}

.fig-zone-ok {
  stroke: var(--aqua);
}

.fig-ticks {
  stroke: var(--teal);
  stroke-width: 3;
  stroke-linecap: round;
}

.fig-num {
  fill: var(--teal);
  font: 700 17px var(--mono);
}

.fig-needle {
  stroke: var(--brass-ink);
  stroke-width: 5;
  stroke-linecap: round;
}

.fig-phone {
  fill: var(--teal);
}

.fig-screen {
  fill: var(--white);
}

.fig-bubble {
  fill: #dcf8c6;
}

.fig-bubble-in {
  fill: var(--tint);
}

.fig-photo-tile {
  fill: var(--aqua-soft);
}

.fig-photo-mark {
  fill: none;
  stroke: var(--aqua-ink);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.fig-photo-mark-dot {
  fill: var(--aqua-ink);
}

.fig-input {
  fill: var(--tint);
}

.fig-clip-ring {
  fill: var(--brass);
}

.fig-clip {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.helper-noscript {
  margin-top: 1rem;
  padding: 1.5rem;
  border-radius: 18px;
  background: var(--white);
}

.helper-noscript h3 {
  margin: 1rem 0 0.3rem;
}

.rates-under {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.5rem;
}

.worked {
  margin: 0;
  padding: 1.4rem 1.5rem;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
}

.worked-label {
  display: inline-block;
  margin-right: 0.4rem;
  padding: 0.15rem 0.55rem 0.05rem;
  border-radius: 6px;
  background: var(--teal);
  color: var(--brass);
  font: 700 0.6875rem/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: 0.1em;
}

.worked strong,
.worked span[data-rate] {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--teal);
}

.checker-card-inline {
  margin-top: 0;
}

.worked-inline {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  background: var(--tint-2);
  font-size: 0.9375rem;
}

.next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.next-grid li {
  display: flex;
}

.next-card {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  width: 100%;
  padding: 1.5rem;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}

.next-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.next-card .icon {
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--brass-ink);
}

.next-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--teal);
}

.next-text {
  color: var(--muted);
}

.next-text strong {
  font-family: var(--mono);
  color: var(--teal);
}

@media (max-width: 960px) {
  .helper-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* On narrower screens the drawing sits between the call buttons and the steps. */
  .helper-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .helper-text {
    display: contents;
  }

  .helper-title {
    order: 1;
  }

  .helper-intro {
    order: 2;
  }

  .helper-actions {
    order: 3;
  }

  .helper-figure {
    order: 4;
    position: static;
    width: 100%;
    max-width: 26rem;
    margin: 0 0 1.75rem;
  }

  .helper-steps {
    order: 5;
  }

  .helper-note {
    order: 6;
  }

  .rates-under {
    grid-template-columns: 1fr;
  }

  .next-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .gas-strip-inner {
    align-items: flex-start;
  }

  .gas-strip p {
    font-size: 1rem;
  }

  .helper-choices {
    grid-template-columns: 1fr;
  }

  .helper-panel {
    padding: 1.25rem;
  }

  .helper-actions .btn {
    width: 100%;
  }
}

/* ---------- Forms (booking and quote) ---------- */

.form-section {
  padding: 3rem 0 6rem;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 22.5rem);
  gap: 2.5rem;
  align-items: start;
}

.form-step {
  min-width: 0;
  margin: 0 0 1.25rem;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.step-legend {
  float: left;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: -0.015em;
  color: var(--teal);
}

.step-legend + * {
  clear: both;
}

.step-badge {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--brass);
  font: 700 1rem/1 var(--mono);
  padding-top: 0.12rem;
}

.step-intro {
  color: var(--muted);
}

.field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
}

fieldset.field > legend.field-label {
  float: left;
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 0;
}

fieldset.field > legend + * {
  clear: both;
}

.field:last-child {
  margin-bottom: 0;
}

.field-hint {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.field-optional {
  margin-left: 0.4rem;
  color: var(--muted);
  font: 600 0.6875rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field-error {
  color: var(--error);
  font-size: 0.9375rem;
  font-weight: 650;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.9rem 0.55rem;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  font-size: 1rem;
}

select {
  padding-right: 0.5rem;
  cursor: pointer;
}

select:disabled {
  background: var(--tint-2);
  color: var(--muted);
  cursor: not-allowed;
}

textarea {
  resize: vertical;
  line-height: 1.5;
}

input:hover,
select:hover:not(:disabled),
textarea:hover {
  border-color: var(--teal-3);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
}

[aria-invalid="true"] {
  border-color: var(--error) !important;
  background: var(--error-bg) !important;
}

::placeholder {
  color: #5d7275;
  opacity: 1;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1rem;
}

.field-row-tight {
  gap: 0 0.6rem;
}

.field-row-address {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
}

.field-row > .field {
  margin-bottom: 1.25rem;
}

.check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.7rem;
  cursor: pointer;
}

.check input {
  width: 1.3rem;
  height: 1.3rem;
  margin: 0;
  accent-color: var(--teal);
}

.tip {
  margin: -0.4rem 0 1.25rem;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--aqua-ink);
  border-radius: 0 10px 10px 0;
  background: var(--aqua-soft);
  font-size: 0.9375rem;
}

.field .tip {
  margin: 0.6rem 0 0;
}

.tip.is-warn {
  border-left-color: var(--warn-line);
  background: var(--warn-bg);
}

.postcode-note {
  margin: -0.6rem 0 1.25rem;
  font-size: 0.9375rem;
}

.postcode-note:empty {
  display: none;
}

.postcode-note.is-in {
  color: var(--aqua-ink);
  font-weight: 650;
}

.postcode-note.is-out {
  color: var(--brass-ink);
  font-weight: 650;
}

.cards {
  display: grid;
  gap: 0.75rem;
}

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

.cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-option {
  position: relative;
  display: block;
  padding: 1rem 1.05rem 0.95rem;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}

.card-option:hover {
  border-color: var(--teal-3);
}

.card-option input,
.pill input,
.jobtype input,
.slot input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.card-option:has(input:focus-visible),
.pill:has(input:focus-visible),
.jobtype:has(input:focus-visible),
.slot:has(input:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.card-option:has(input:checked) {
  border-color: var(--teal);
  background: #ecf6f4;
  box-shadow: inset 0 0 0 1px var(--teal);
}

.card-option:has(input:checked)::after {
  content: "";
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 3px #ecf6f4, 0 0 0 2px var(--teal);
}

.card-words {
  display: grid;
  gap: 0.2rem;
  padding-right: 1.25rem;
}

.card-title {
  font-weight: 800;
  line-height: 1.25;
  color: var(--teal);
}

.card-price {
  font: 700 1.25rem/1.2 var(--mono);
  color: var(--text);
}

.card-text {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.4;
}

.card-small .card-title {
  font-size: 1.0625rem;
}

.cp12-extra {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--line-strong);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 1.05rem 0.4rem;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  font-weight: 650;
  cursor: pointer;
}

.pill:hover {
  border-color: var(--teal);
}

.pill:has(input:checked) {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
  --focus: var(--teal);
}

.jobtypes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.jobtype {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.6rem 0.9rem;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}

.jobtype:hover {
  border-color: var(--teal-3);
}

.jobtype-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--tint);
  color: var(--teal);
}

.jobtype-icon .icon {
  width: 1.45rem;
  height: 1.45rem;
}

.jobtype-name {
  font-weight: 750;
  line-height: 1.25;
}

.jobtype:has(input:checked),
.jobtype.is-selected {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
  --focus: var(--teal);
}

.jobtype:has(input:checked) .jobtype-icon,
.jobtype.is-selected .jobtype-icon {
  background: var(--brass);
  color: var(--ink);
}

.urgent-note {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 0;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
}

.urgent-note .icon {
  margin-top: 0.15rem;
  color: var(--brass-ink);
}

.urgent-note a {
  font-weight: 700;
}

.photo-note {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem;
  border-radius: 16px;
  background: var(--tint-2);
  border: 1px solid var(--line);
}

.photo-note-art {
  width: 100%;
  height: auto;
}

.pn-phone {
  fill: var(--teal);
}

.pn-screen {
  fill: var(--white);
}

.pn-bubble {
  fill: #dcf8c6;
}

.pn-photo {
  fill: var(--aqua-soft);
}

.pn-mark {
  fill: none;
  stroke: var(--aqua-ink);
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.pn-input {
  fill: var(--tint);
}

.pn-clip-ring {
  fill: var(--brass);
}

.pn-clip {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.photo-note-text p {
  margin-bottom: 0.6rem;
}

.photo-note-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--teal);
}

.photo-tips-title {
  margin: 0.9rem 0 0.4rem !important;
  font: 600 0.75rem/1.3 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.photo-tips {
  display: grid;
  gap: 0.35rem;
}

.photo-tips li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.photo-tips .icon {
  margin-top: 0.25rem;
  color: var(--aqua-ink);
}

.form-submit {
  padding: 0.5rem 0 0;
}

.form-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
  text-align: center;
}

.form-note a {
  color: var(--teal);
  font-weight: 700;
}

.form-errors {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1.1rem;
  border-left: 5px solid var(--error);
  border-radius: 0 12px 12px 0;
  background: var(--error-bg);
  color: var(--error);
  font-weight: 700;
}

/* Week picker */
.weekpicker {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.week-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem;
  background: var(--tint);
}

.week-title {
  display: grid;
  margin: 0;
  text-align: center;
  line-height: 1.3;
}

.week-title strong {
  color: var(--teal);
  font-size: 1.0625rem;
}

.week-title span {
  color: var(--muted);
  font-size: 0.875rem;
}

.week-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--teal);
  cursor: pointer;
}

.week-btn:hover:not(:disabled) {
  border-color: var(--teal);
}

.week-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

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

.day {
  padding: 0.85rem 0.6rem;
  border-right: 1px solid var(--line);
}

.day:last-child {
  border-right: 0;
}

.day.is-off {
  background: var(--tint-2);
}

.day-name {
  display: grid;
  margin: 0 0 0.6rem;
  text-align: center;
  line-height: 1.25;
}

.day-dow {
  color: var(--muted);
  font: 600 0.75rem/1.3 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.day-date {
  font-weight: 800;
}

.day-slots {
  display: grid;
  gap: 0.45rem;
}

.slot {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 0.5rem 0.3rem 0.4rem;
  border: 2px solid var(--line-strong);
  border-radius: 10px;
  background: var(--white);
  text-align: center;
  cursor: pointer;
  line-height: 1.2;
}

.slot:hover {
  border-color: var(--teal);
}

.slot-name {
  font-weight: 750;
  font-size: 0.9375rem;
}

.slot-time {
  margin-top: 0.15rem;
  color: var(--muted);
  font: 500 0.6875rem/1.2 var(--mono);
}

.slot:has(input:checked) {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
  --focus: var(--teal);
}

.slot:has(input:checked) .slot-time {
  color: var(--on-teal-2);
}

.slot-only,
.day-off {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.3;
  text-align: center;
}

/* Summary and side cards */
.form-aside {
  position: sticky;
  top: 6.5rem;
  display: grid;
  gap: 1rem;
}

.summary-card {
  padding: 1.5rem;
  border-radius: 22px;
  background: var(--teal);
  color: var(--on-teal);
  box-shadow: var(--shadow);
}

.summary-title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--white);
}

.summary-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.summary-list div {
  display: grid;
  gap: 0.1rem;
}

.summary-list dt {
  color: var(--on-teal-2);
  font: 600 0.6875rem/1.3 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.summary-list dd {
  margin: 0;
  font-weight: 650;
}

.summary-list .is-empty dd {
  color: var(--on-teal-2);
  font-weight: 400;
}

.summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--teal-line);
  color: var(--on-teal-2);
  font-size: 0.9375rem;
}

.summary-total strong {
  color: var(--brass);
  font: 700 1.75rem/1 var(--mono);
}

.aside-card {
  padding: 1.4rem;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line);
}

.aside-card p {
  color: var(--muted);
  font-size: 0.9375rem;
}

.aside-card p:last-child {
  margin-bottom: 0;
}

.aside-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.6rem;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--teal);
}

.aside-title .icon {
  color: var(--brass-ink);
}

.aside-card-dark {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--on-teal);
}

.aside-card-dark .aside-title {
  color: var(--white);
}

.aside-card-dark .aside-title .icon {
  color: var(--brass);
}

.aside-card-dark p {
  color: var(--on-teal-2);
}

.aside-foot {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--line);
}

.aside-foot strong {
  font-family: var(--mono);
  color: var(--teal);
}

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

  .form-aside {
    position: static;
  }

  .page-service .form-aside,
  .page-quote .form-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-service .summary-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .cards-3 {
    grid-template-columns: 1fr;
  }

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

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

  .week {
    grid-template-columns: 1fr;
  }

  .day {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    padding: 0.6rem 0.75rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .day:last-child {
    border-bottom: 0;
  }

  .day-name {
    margin: 0;
    text-align: left;
  }

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

  .slot-only,
  .day-off {
    text-align: left;
  }

  .slot-only {
    align-self: center;
  }

  .page-service .form-aside,
  .page-quote .form-aside {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .form-step {
    padding: 1.25rem 1.1rem;
    border-radius: 18px;
  }

  .step-legend {
    font-size: 1.2rem;
  }

  .field-row,
  .field-row-address {
    grid-template-columns: 1fr;
  }

  .field-row-tight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-note {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    padding: 1rem;
  }

  .photo-note-art {
    width: 4.25rem;
  }
}

/* ---------- Dialogs ---------- */

.dialog {
  width: min(34rem, 100% - 2rem);
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 30px 80px -20px rgba(6, 30, 34, 0.6);
}

.dialog::backdrop {
  background: rgba(6, 30, 34, 0.6);
}

.dialog-body {
  padding: 1.5rem;
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dialog-title {
  font-size: 1.45rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--teal);
}

.dialog-title:focus {
  outline: none;
}

.dialog-close {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--tint);
  color: var(--teal);
  cursor: pointer;
}

.dialog-close:hover {
  background: var(--line);
}

.chat {
  padding: 0.9rem;
  border-radius: 16px;
  background: #efe9e1;
}

.chat-to {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.6rem;
  color: #5b4f45;
  font: 600 0.75rem/1.3 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bubble {
  max-height: 38vh;
  margin: 0 0 0 auto;
  padding: 0.75rem 0.9rem;
  overflow: auto;
  border-radius: 14px 14px 4px 14px;
  background: #dcf8c6;
  color: #10220a;
  font-size: 0.9375rem;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.next-step {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: var(--brass-soft);
}

.next-step .icon {
  margin-top: 0.15rem;
  color: var(--brass-ink);
  width: 1.5rem;
  height: 1.5rem;
}

.next-step p {
  margin: 0;
  font-size: 0.9375rem;
}

.next-step .next-title {
  font-weight: 800;
  font-size: 1rem;
}

.sample-note {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--teal);
  border-radius: 0 12px 12px 0;
  background: var(--tint-2);
  font-size: 0.9375rem;
}

.sample-note p {
  margin: 0;
}

.sample-note p + p {
  margin-top: 0.4rem;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

@media (max-width: 480px) {
  .dialog-actions .btn {
    flex: 1 1 100%;
  }
}

/* ---------- Privacy ---------- */

.prose {
  max-width: 46rem;
}

.prose h2 {
  margin: 2.25rem 0 0.6rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--teal);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  color: var(--muted);
}

.prose-note {
  margin-top: 2.5rem;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--brass);
  border-radius: 0 12px 12px 0;
  background: var(--white);
}

/* ---------- Narrow phones ---------- */

/* Two equal halves, so "Emergency help" and "WhatsApp photos" stay on one line on a 360 to 400px phone. */
@media (max-width: 400px) {
  .callbar {
    grid-template-columns: 1fr 1fr;
  }
}

/* 320 to 359px: a little less padding, so the phone numbers on the big buttons do not break in two. */
@media (max-width: 359px) {
  .callbar-btn {
    font-size: 0.9375rem;
    line-height: 1.15;
    text-align: center;
  }

  .head-call {
    padding: 1rem;
  }

  .head-call .btn-lg {
    padding-inline: 0.9rem;
  }

  .contact-card {
    padding-inline: 1rem;
  }

  .contact-actions .btn {
    padding-inline: 0.6rem;
  }
}

/* ---------- Motion ---------- */

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
