/* ==========================================================================
   Advance Hotwater — The Hot Water Specialists
   style.css
   Sections: 1 Tokens · 2 Base · 3 Layout · 4 Buttons · 5 Header/Nav
             6 Hero · 7 Components · 8 Forms · 9 Footer · 10 Mobile bar
             11 Utilities · 12 Responsive · 13 Print/Motion
   ========================================================================== */

/* -------------------------------------------------- 1. TOKENS ---------- */
:root {
  --brand-red: #b52b3d;
  --brand-red-dark: #93202f;
  --brand-red-light: #e05a6c;
  --brand-navy: #13264f;
  --brand-navy-deep: #0d1a38;
  --brand-navy-soft: #24406f;
  --brand-blue: #58b8eb;
  --brand-blue-dark: #1d73a3;

  --text-dark: #172033;
  --text-muted: #606a78;

  --white: #ffffff;
  --off-white: #f7f8f8;
  --light-bg: #eef6fa;
  --border: #dfe5e8;
  --border-strong: #c8d3da;

  --container-width: 1240px;

  --radius-small: 8px;
  --radius-medium: 14px;
  --radius-large: 22px;

  --shadow-sm: 0 1px 2px rgba(19, 38, 79, .06);
  --shadow-md: 0 6px 20px rgba(19, 38, 79, .08);
  --shadow-lg: 0 14px 40px rgba(19, 38, 79, .12);

  --space-section: clamp(3.5rem, 7vw, 6rem);

  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --header-h: 82px;
}

/* -------------------------------------------------- 2. BASE ------------ */
*, *::before, *::after { box-sizing: border-box; }

/* The hidden attribute must win over component display rules
   (e.g. .field { display: flex }) — used by the form honeypot. */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.15;
  color: var(--brand-navy);
  margin: 0 0 .6em;
  letter-spacing: -.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.05rem, 5vw, 3.35rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
h4 { font-size: 1.06rem; }

p { margin: 0 0 1.15em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

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

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

ul, ol { padding-left: 1.15rem; }
li { margin-bottom: .4em; }

strong { font-weight: 700; color: var(--brand-navy); }

hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }

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

.skip-link {
  position: absolute; left: 8px; top: -60px;
  background: var(--brand-navy); color: #fff;
  padding: .7rem 1.1rem; border-radius: var(--radius-small);
  z-index: 200; font-weight: 700; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 8px; color: #fff; }

/* -------------------------------------------------- 3. LAYOUT ---------- */
.container {
  width: min(100% - 2.5rem, var(--container-width));
  margin-inline: auto;
}
.container--narrow { width: min(100% - 2.5rem, 820px); }

.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.section--light { background: var(--light-bg); }
.section--offwhite { background: var(--off-white); }
.section--navy { background: var(--brand-navy); color: #dbe4f0; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy p a, .section--navy li a, .section--navy .prose a { color: #b8e0f7; }

.section-head { max-width: 720px; margin-bottom: 2.75rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 0; }
.section--navy .section-head p { color: #b4c2d8; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: .75rem;
}
.section--navy .eyebrow { color: var(--brand-blue); }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Brand wave motif divider */
.wave-divider {
  display: block;
  width: 100%;
  height: 34px;
  background: url("../images/wave.svg") center / 100% 100% no-repeat;
  opacity: .85;
}
.wave-divider--sm { height: 22px; opacity: .6; }

/* -------------------------------------------------- 4. BUTTONS --------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 52px;
  padding: .85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius-small);
  font: inherit;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn--primary { background: var(--brand-red); border-color: var(--brand-red); color: #fff; }
.btn--primary:hover { background: var(--brand-red-dark); border-color: var(--brand-red-dark); color: #fff; }

.btn--navy { background: var(--brand-navy); border-color: var(--brand-navy); color: #fff; }
.btn--navy:hover { background: var(--brand-navy-soft); border-color: var(--brand-navy-soft); color: #fff; }

.btn--outline { background: transparent; border-color: var(--brand-navy); color: var(--brand-navy); }
.btn--outline:hover { background: var(--brand-navy); color: #fff; }

.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn--outline-light:hover { background: #fff; border-color: #fff; color: var(--brand-navy); }

.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: .6rem 1.1rem; font-size: .95rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* -------------------------------------------------- 5. HEADER / NAV ---- */
.topbar {
  background: var(--brand-navy);
  color: #c9d6e8;
  font-size: .84rem;
  font-weight: 600;
}
.topbar .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .25rem 1rem; min-height: 40px; padding-block: .35rem;
}
.topbar__items { display: flex; flex-wrap: wrap; gap: 1.35rem; align-items: center; }
.topbar__item { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--brand-blue); text-decoration: underline; }
.topbar .stars { color: #ffc94d; letter-spacing: .06em; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 50px; width: auto; display: block; }
.brand--footer img { height: 62px; }

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex; align-items: center; gap: .15rem;
  list-style: none; margin: 0; padding: 0;
}
.main-nav li { margin: 0; }
.main-nav a {
  display: block; padding: .55rem .72rem;
  font-size: .96rem; font-weight: 700; color: var(--brand-navy);
  text-decoration: none; border-radius: var(--radius-small);
  white-space: nowrap;
}
.main-nav a:hover { background: var(--light-bg); color: var(--brand-navy); }
.main-nav a[aria-current="page"] { color: var(--brand-red); }

.header-cta { display: flex; align-items: center; gap: .85rem; flex: none; }
.header-phone {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 44px; padding-block: .25rem; line-height: 1.15;
  text-decoration: none; font-weight: 800; color: var(--brand-navy);
}
.header-phone small {
  font-size: .68rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--text-muted);
}
.header-phone span { font-size: 1.12rem; }
.header-phone:hover span { color: var(--brand-red); }

.nav-toggle {
  display: none;
  align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; min-width: 48px; padding: .5rem .8rem;
  background: var(--white); border: 2px solid var(--border-strong);
  border-radius: var(--radius-small);
  font: inherit; font-weight: 800; font-size: .9rem;
  color: var(--brand-navy); cursor: pointer;
}
.nav-toggle__bars { display: block; width: 20px; height: 2px; background: var(--brand-navy); position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--brand-navy);
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* -------------------------------------------------- 6. HERO ------------ */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--light-bg) 0%, #ffffff 100%);
  padding-block: clamp(2.75rem, 6vw, 4.75rem) clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
}
.hero__inner {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero h1 { margin-bottom: .35em; }
.hero__sub {
  font-size: clamp(1.12rem, 2.1vw, 1.4rem);
  font-weight: 700; color: var(--brand-blue-dark);
  margin-bottom: .9rem; letter-spacing: -.01em;
}
.hero__copy { font-size: 1.09rem; color: var(--text-muted); max-width: 46ch; }
.hero .btn-row { margin-top: 1.6rem; }
.hero__note {
  margin-top: 1.15rem; font-size: .95rem; color: var(--text-muted);
  display: flex; flex-wrap: wrap; gap: .35rem .9rem; align-items: center;
}
.hero__note a { font-weight: 800; color: var(--brand-navy); }

.hero__media {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-md);
  padding: 1.75rem;
}
.hero__media-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.hero__tile {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  padding: 1rem .9rem 1.1rem;
  text-align: center;
}
.hero__tile img { height: 92px; width: auto; margin-inline: auto; display: block; }
.hero__tile span {
  display: block; margin-top: .55rem;
  font-weight: 800; font-size: .95rem; color: var(--brand-navy);
}
.hero__rating {
  display: flex; align-items: center; gap: .85rem;
  background: var(--brand-navy); color: #fff;
  border-radius: var(--radius-medium);
  padding: .8rem 1.1rem; margin-bottom: 1rem;
}
.hero__rating strong { color: #fff; font-size: 1.6rem; line-height: 1; }
.hero__rating .stars { color: #ffc94d; letter-spacing: .08em; font-size: 1.05rem; display: block; }
.hero__rating-text { font-size: .88rem; line-height: 1.3; color: #c8d7ec; font-weight: 600; }
.hero__rating-text a { color: #fff; font-weight: 800; }

/* Page hero (interior pages) */
.page-hero {
  background: var(--brand-navy);
  color: #cfdcee;
  padding-block: clamp(2.25rem, 5vw, 3.5rem) clamp(2.5rem, 5vw, 3.75rem);
}
.page-hero h1 { color: #fff; margin-bottom: .45em; }
.page-hero__lead { font-size: 1.15rem; color: #c2d1e6; max-width: 62ch; }
.page-hero .btn-row { margin-top: 1.6rem; }

.breadcrumbs { font-size: .86rem; margin-bottom: 1.1rem; color: #9db0cb; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; display: flex; gap: .45rem; align-items: center; }
.breadcrumbs li + li::before { content: "›"; color: #7f93b3; }
.breadcrumbs a { color: #b8e0f7; text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { text-decoration: underline; color: #fff; }
.breadcrumbs [aria-current] { color: #e7eefa; }

/* -------------------------------------------------- 7. COMPONENTS ------ */
/* Trust bar */
.trustbar { background: var(--white); border-bottom: 1px solid var(--border); }
.trustbar__list {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: .7rem 1.5rem;
  list-style: none; margin: 0; padding: 1.15rem 0;
}
.trustbar__list li {
  margin: 0; display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .92rem; color: var(--brand-navy);
}
.trustbar .stars { color: #c08300; letter-spacing: .05em; }
.trustbar__sep { width: 1px; height: 22px; background: var(--border-strong); }

/* Generic card */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--text-muted); font-size: 1rem; }
.card__link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 800; text-decoration: none; color: var(--brand-red);
  margin-top: .85rem;
}
.card__link::after { content: "→"; transition: transform .15s ease; }
.card__link:hover { color: var(--brand-red-dark); }
.card__link:hover::after { transform: translateX(3px); }

/* System type card */
.syscard {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--brand-blue);
  border-radius: var(--radius-medium);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
.syscard:hover { box-shadow: var(--shadow-md); border-top-color: var(--brand-red); transform: translateY(-3px); }
.syscard img { height: 116px; width: auto; margin: .25rem auto 1rem; display: block; }
.syscard h3 { margin-bottom: .4rem; }
.syscard p { color: var(--text-muted); font-size: .99rem; margin-bottom: 1rem; }
.syscard span.syscard__cta {
  margin-top: auto; font-weight: 800; color: var(--brand-red);
  display: inline-flex; gap: .35rem; align-items: center;
}
.syscard span.syscard__cta::after { content: "→"; }

/* Problem list */
.problems {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem;
  list-style: none; margin: 0; padding: 0;
}
.problems li {
  margin: 0; display: flex; align-items: flex-start; gap: .7rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-small); padding: .95rem 1.05rem;
  font-weight: 700; font-size: 1rem; color: var(--brand-navy);
  line-height: 1.35;
}
.problems .tick {
  flex: none; width: 22px; height: 22px; margin-top: 1px;
  border-radius: 50%; background: var(--brand-red);
  display: inline-flex; align-items: center; justify-content: center;
}
.problems .tick svg { width: 12px; height: 12px; }

/* Feature list with ticks */
.ticklist { list-style: none; margin: 0; padding: 0; }
.ticklist li {
  position: relative; padding-left: 2rem; margin-bottom: .8rem;
}
.ticklist li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 12px; height: 12px; border-radius: 3px;
  background: var(--brand-blue);
}
.ticklist--red li::before { background: var(--brand-red); }
.section--navy .ticklist li::before { background: var(--brand-blue); }

/* Split content */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.split--wide-right { grid-template-columns: .85fr 1.15fr; }

.panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.panel--light { background: var(--light-bg); box-shadow: none; }
.panel--navy { background: var(--brand-navy); border-color: var(--brand-navy); color: #d4dff0; }
.panel--navy h2, .panel--navy h3 { color: #fff; }

.panel__title {
  display: flex; align-items: center; gap: .65rem;
  font-size: 1.15rem; font-weight: 800; color: var(--brand-navy);
  margin-bottom: .9rem;
}
.panel__title .dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot--red { background: var(--brand-red); }
.dot--blue { background: var(--brand-blue); }

/* Reviews */
.rating-summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-medium); padding: 1.5rem 1.75rem;
}
.rating-summary__score {
  font-size: 3rem; font-weight: 800; line-height: 1;
  color: var(--brand-navy);
}
.rating-summary__score sup { font-size: 1.1rem; font-weight: 700; color: var(--text-muted); }
.rating-summary .stars { color: #c08300; font-size: 1.4rem; letter-spacing: .08em; }
.rating-summary__meta { color: var(--text-muted); font-size: .98rem; }

.review-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--border);
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius-medium);
  padding: 1.5rem; margin: 0;
}
.review-card .stars { color: #c08300; letter-spacing: .08em; display: block; margin-bottom: .6rem; }
.review-card blockquote { margin: 0 0 .9rem; font-size: 1.03rem; color: var(--text-dark); }
.review-card figcaption { font-size: .9rem; color: var(--text-muted); font-weight: 700; }
.review-card--theme { border-left-color: var(--brand-red); }
.review-card--theme p { color: var(--text-muted); font-size: 1rem; }

.review-card blockquote,
.review-card > p { flex: 1; margin: 0 0 .9rem; font-size: 1.03rem; color: var(--text-dark); }
.review-card figcaption { margin-top: auto; padding-top: .35rem; }

/* Rating headline — big, simple, prominent */
.rating-block { text-align: center; }
.rating-block__score {
  font-size: clamp(3.2rem, 7vw, 4.5rem); font-weight: 800; line-height: 1;
  color: var(--brand-navy); letter-spacing: -.03em;
}
.rating-block .stars { color: #c08300; font-size: 1.75rem; letter-spacing: .1em; display: block; margin: .45rem 0 .3rem; }
.rating-block__label { font-size: 1.15rem; font-weight: 700; color: var(--brand-navy); margin: 0; }
.rating-block__link { display: inline-block; margin-top: .75rem; font-weight: 700; font-size: .97rem; }

/* Text-a-photo secondary CTA */
.sms-prompt p:last-child { margin-bottom: 0; }
.sms-prompt__number { font-weight: 800; white-space: nowrap; }
.section--navy .sms-prompt { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); }
.section--navy .sms-prompt .panel__title { color: #fff; }
.section--navy .sms-prompt .small-print { color: #a9bcd8; }

/* Credentials */
.creds {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  list-style: none; margin: 0; padding: 0;
}
.creds li {
  margin: 0; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-medium); padding: 1.15rem 1.25rem;
  text-align: center;
}
.creds__label {
  display: block; font-size: .76rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: .3rem;
}
.creds__value { display: block; font-size: 1.22rem; font-weight: 800; color: var(--brand-navy); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { margin: 0; }
.steps__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--brand-navy); color: #fff;
  font-weight: 800; font-size: 1.05rem; margin-bottom: .85rem;
}
.steps h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.steps p { color: var(--text-muted); font-size: .99rem; margin: 0; }

/* Area list */
.area-list {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem;
  list-style: none; margin: 0; padding: 0;
}
.area-list li {
  margin: 0; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-small); padding: .7rem .95rem;
  font-weight: 700; font-size: .97rem; color: var(--brand-navy);
}

/* CTA band */
.cta-band {
  background: var(--brand-navy);
  color: #d5e0f0;
  position: relative;
  overflow: hidden;
}
.cta-band__inner { position: relative; z-index: 1; text-align: center; max-width: 760px; margin-inline: auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #bfcde3; font-size: 1.1rem; }
.cta-band .btn-row { justify-content: center; margin-top: 1.8rem; }
.cta-band__alt { margin-top: 1.35rem; font-size: 1rem; color: #bfcde3; }
.cta-band__alt a { color: #fff; font-weight: 800; }

/* Buttons keep their own colours anywhere they appear */
.btn--primary, .btn--navy { color: #fff; }
.btn--outline-light { color: #fff; }
.btn--outline-light:hover { color: var(--brand-navy); }

/* FAQ */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.15rem 2.5rem 1.15rem 0;
  font-weight: 800; font-size: 1.08rem; color: var(--brand-navy);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .35rem; top: 50%;
  transform: translateY(-50%); font-size: 1.55rem; font-weight: 400;
  color: var(--brand-red); line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 1.3rem; color: var(--text-muted); max-width: 76ch; }

/* Callout / notice */
.notice {
  background: #fff6f7;
  border: 1px solid #f0cdd3;
  border-left: 4px solid var(--brand-red);
  border-radius: var(--radius-small);
  padding: 1.1rem 1.35rem;
  font-size: 1rem;
  color: var(--text-dark);
}
.notice strong { color: var(--brand-red-dark); }

/* Contact detail rows */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 0; border-bottom: 1px solid var(--border); margin: 0;
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list__label {
  flex: none; width: 108px; font-size: .78rem; font-weight: 800;
  letter-spacing: .09em; text-transform: uppercase; color: var(--text-muted);
  padding-top: .28rem;
}
.contact-list__value { font-size: 1.14rem; font-weight: 700; color: var(--brand-navy); }
.contact-list__value a { text-decoration: none; }
.contact-list__value a:hover { text-decoration: underline; }
.contact-list__value small { display: block; font-size: .88rem; font-weight: 500; color: var(--text-muted); margin-top: .15rem; }

/* Related links */
.related-links { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.related-links li { margin: 0; }
.related-links a {
  display: inline-block; padding: .55rem 1rem;
  background: var(--white); border: 1px solid var(--border-strong);
  border-radius: 999px; font-size: .93rem; font-weight: 700;
  text-decoration: none; color: var(--brand-navy);
}
.related-links a:hover { background: var(--brand-navy); border-color: var(--brand-navy); color: #fff; }

/* -------------------------------------------------- 8. FORMS ----------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .95rem; color: var(--brand-navy); }
.field .hint { font-weight: 500; font-size: .85rem; color: var(--text-muted); }

.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem;
  min-height: 50px; padding: .7rem .9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-small);
  background: var(--white); color: var(--text-dark);
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand-blue);
  outline: 3px solid rgba(88, 184, 235, .35);
  outline-offset: 0;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%2313264f' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
}
.form-footnote { font-size: .9rem; color: var(--text-muted); margin-top: 1rem; }

/* -------------------------------------------------- 9. FOOTER ---------- */
.site-footer { background: var(--brand-navy-deep); color: #aebdd4; font-size: .97rem; }
.site-footer .wave-divider { opacity: .55; height: 26px; }
.site-footer__main {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem;
  padding-block: clamp(2.75rem, 5vw, 4rem);
}
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer h3 {
  font-size: .82rem; letter-spacing: .11em; text-transform: uppercase;
  color: #7f96bb; margin-bottom: 1.1rem; font-weight: 800;
}
.site-footer a { color: #d6e1f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }

.footer-tagline { color: #fff; font-weight: 800; font-size: 1.05rem; margin: 1rem 0 .35rem; }
.footer-types { color: var(--brand-blue); font-weight: 700; letter-spacing: .02em; margin-bottom: 1.25rem; }
.footer-phone { display: block; font-size: 1.45rem; font-weight: 800; color: #fff !important;
  line-height: 1.25; padding-block: .35rem; }
.footer-phone--alt { font-size: 1.1rem; }

.licence-block { margin-top: .35rem; }
.licence-block li {
  display: flex; justify-content: space-between; gap: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.09);
  padding-bottom: .5rem; margin-bottom: .5rem;
  font-size: .92rem;
}
.licence-block li span:last-child { color: #fff; font-weight: 700; }

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.35rem;
  display: flex; flex-wrap: wrap; gap: .75rem 1.75rem;
  align-items: center; justify-content: space-between;
  font-size: .89rem; color: #8fa3c1;
}
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-footer__bottom li { margin: 0; }

/* ------------------------------------------------- 10. MOBILE BAR ------ */
.mobile-bar { display: none; }

/* ------------------------------------------------- 11. UTILITIES ------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 1.25rem; }
.mt-3 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1.25rem; }
.lead { font-size: 1.15rem; color: var(--text-muted); }
.prose > h2 { margin-top: 2.5rem; }
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { margin-top: 1.9rem; }
.small-print { font-size: .88rem; color: var(--text-muted); }

/* ------------------------------------------------- 12. RESPONSIVE ------ */
@media (max-width: 1080px) {
  .main-nav a { padding: .55rem .55rem; font-size: .92rem; }
  .header-phone small { display: none; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .problems { grid-template-columns: repeat(2, 1fr); }
  .creds { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .area-list { grid-template-columns: repeat(3, 1fr); }
  .site-footer__main { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }

  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: .75rem 1.25rem 1.5rem;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--border); }
  .main-nav li:last-child { border-bottom: 0; }
  .main-nav a { padding: .95rem .35rem; font-size: 1.05rem; border-radius: 0; }

  .header-cta { margin-left: auto; }
  .header-cta .btn { display: none; }
  .brand img { height: 44px; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { padding: 1.25rem; }
  .hero__badge { position: static; margin-top: 1rem; max-width: none; }
  .hero__copy { max-width: none; }

  .split, .split--wide-left, .split--wide-right { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { padding-bottom: 74px; }

  .topbar .container { justify-content: center; }
  .topbar__items { justify-content: center; gap: .35rem 1rem; font-size: .8rem; }
  .topbar__item--hide-sm { display: none; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .problems { grid-template-columns: 1fr; }
  .creds { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.25rem; }
  .area-list { grid-template-columns: repeat(2, 1fr); }
  .hero__media-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .hero__tile img { height: 80px; }
  .site-footer__main { grid-template-columns: 1fr; gap: 2.25rem; }
  .rating-summary { gap: 1rem; padding: 1.25rem; }
  .btn { width: 100%; }
  .btn-row .btn { width: 100%; }
  .contact-list li { flex-direction: column; gap: .25rem; }
  .contact-list__label { width: auto; padding-top: 0; }

  /* Sticky mobile contact bar */
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: .55rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
    padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--border-strong);
    box-shadow: 0 -4px 18px rgba(19, 38, 79, .1);
  }
  .mobile-bar .btn { min-height: 52px; font-size: 1rem; padding: .7rem .85rem; }
}

@media (max-width: 640px) {
  .site-header .container { gap: .7rem; }
  .brand img { height: 40px; }
  .header-cta { gap: .6rem; }
  .header-phone span { font-size: 1rem; }
  /* Icon-only menu button — the button keeps aria-label="Menu" for screen readers */
  .nav-toggle { padding: .5rem; min-width: 48px; }
  .nav-toggle__label {
    position: absolute !important; width: 1px; height: 1px;
    margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
  }
}

@media (max-width: 400px) {
  .area-list { grid-template-columns: 1fr; }
  .header-phone { display: none; }
  .hero__tile img { height: 74px; }
}

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

/* ------------------------------------------------- 13. MOTION / PRINT -- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .site-header, .topbar, .mobile-bar, .cta-band, .wave-divider { display: none !important; }
  body { padding-bottom: 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
