/* ==========================================================================
   EA Top Builder Ltd — houserenovationsdartford.co.uk
   Palette from the client's own logo (eatopbuilder.co.uk, media id 63):
     #005ABF blue   — the house outline, "EA" and "LTD"
     #FC7816 orange — the hammer, spanner and "TOP BUILDER"
   plus #0B2447, a deep navy from the same blue family for headings, dark bands
   and the footer. Fonts are the old site's own pair (Elementor kit post-6.css):
   Poppins for headings, Inter for text.
   Orange is 2.6:1 on white, so it is never text on a light background: it is a
   fill (with navy text on it, 5.8:1) or decoration. Orange TEXT on light uses
   #A84806 (5.5:1). Every ratio is re-checked by verify.py.
   ========================================================================== */

/* ---------------------------------------------------------------- fonts -- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
  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: "Poppins";
  src: url("../fonts/poppins-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-700-latin.woff2") format("woff2");
  font-weight: 700 800;
  font-display: swap;
}

/* --------------------------------------------------------------- tokens -- */
:root {
  --wash: #f4f7fb;         /* page wash                                       */
  --paper: #fff;
  --ink: #0b2447;          /* navy: headings, dark bands, footer — 15:1 on white */
  --blue: #005abf;         /* logo blue: links, primary buttons — 6.5:1 on white */
  --blue-dark: #004a9e;
  --orange: #fc7816;       /* logo orange: fills and decoration ONLY          */
  --orange-hover: #ff8a33;
  --orange-text: #a84806;  /* orange as text on a light background — 5.5:1   */
  --body: #1f2a3c;
  --muted: #4d5a6e;
  --line: #dbe3ee;
  --line-soft: #e9eef5;
  --tint: #e8f0fb;         /* pale blue for icon tiles and the hero wash      */
  --shadow: 0 1px 2px rgba(11, 36, 71, .05), 0 10px 28px -14px rgba(11, 36, 71, .25);
  --radius: 14px;
  --wrap: 1180px;
  --gutter: 20px;
  --head-h: 70px;
  --font-head: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* ---------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
/* Ship this early: a component's own display rule otherwise beats [hidden]. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font: 400 17px/1.65 "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  overflow-wrap: break-word;
}
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.05rem, 6.4vw, 3.3rem); line-height: 1.12; }
h2 { font-size: clamp(1.55rem, 4.2vw, 2.2rem); }
h3 { font-size: 1.14rem; font-weight: 600; }
p, ul, ol { margin: 0 0 1.05em; }
ul, ol { padding-left: 1.15em; }
li { margin-bottom: .4em; }
figure { margin: 0; }                 /* UA margin otherwise shrinks grid tiles */
blockquote { margin: 0; }
img, svg, picture { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .18em; }
a[href^="mailto:"] { overflow-wrap: anywhere; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
strong { color: var(--ink); font-weight: 700; }

/* --------------------------------------------------------------- layout -- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { padding: 60px 0; }
.section--paper { background: var(--wash); }
.section--dark { background: var(--ink); color: #d3dcea; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a { color: #ffb27a; }
.section--dark .lede { color: #b9c6da; }
@media (min-width: 900px) { .section { padding: 84px 0; } }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

.head-group { max-width: 64ch; margin-bottom: 32px; }
.head-group--centre { margin-inline: auto; text-align: center; }
.head-group > :last-child { margin-bottom: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .76rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--orange-text); margin: 0 0 12px;
}
.eyebrow::before { content: ""; width: 24px; height: 3px; background: var(--orange); border-radius: 2px; flex: none; }
.section--dark .eyebrow { color: var(--orange); }
.lede { font-size: 1.08rem; color: var(--muted); }

/* --------------------------------------------------------------- header -- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}
.header__row { display: flex; align-items: center; gap: 14px; min-height: var(--head-h); }
.brand { display: flex; align-items: center; flex: none; min-width: 0; text-decoration: none; }
.brand img { width: 190px; height: 51px; object-fit: contain; object-position: left center; }
@media (max-width: 699px) { .brand img { width: 150px; height: 40px; } }

.nav { display: none; margin-left: auto; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav a {
  display: block; padding: 9px 13px; border-radius: 8px; text-decoration: none;
  font-size: .95rem; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.nav a:hover { background: var(--tint); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--blue); background: var(--tint); }
.header__cta { display: none; }
.header__tel {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: .95rem; color: var(--ink); text-decoration: none;
  padding: 12px; border-radius: 9px; flex: none;
}
.header__tel svg { width: 20px; height: 20px; flex: none; color: var(--blue); }
.header__tel:hover { background: var(--tint); color: var(--ink); }
/* The number's label only shows where it cannot squeeze the nav or the
   callback button; otherwise the call link is icon-only. */
.header__tel span {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
@media (min-width: 700px) and (max-width: 959px) {
  .header__tel { padding: 8px 10px; }
  .header__tel span { position: static; width: auto; height: auto; clip: auto; overflow: visible; }
  .header__tel svg { width: 17px; height: 17px; }
}
/* Below the desktop breakpoint "Request a Callback" shortens to "Callback" so
   it can sit beside the logo, the call link and the burger. */
@media (max-width: 959px) {
  .cta-long { display: none; }
  .header__cta { display: inline-flex; flex: none; margin-left: 2px; }
  .header__cta .btn { padding: 10px 13px; font-size: .86rem; gap: 7px; }
  .header__cta .btn svg { width: 16px; height: 16px; }
  .header__row { gap: 8px; }
}
/* Under 440px the logo, call icon, callback button and burger do not all fit
   one row. The brief asks for the callback button in the header, so that is
   what stays; the phone number is the first button in the hero. */
/* Measured (iframe sweep): at 360px the row needed 10px more than it had, so
   the logo steps down here too, and below 360px the button drops its icon. */
@media (max-width: 439px) {
  .header__tel { display: none; }
  .header__cta { margin-left: auto; }
  .brand img { width: 136px; height: 37px; }
}
@media (max-width: 359px) {
  .brand img { width: 116px; height: 31px; }
  .header__cta .btn { padding: 9px 11px; font-size: .8rem; gap: 5px; }
  .header__cta .btn svg { display: none; }
  .burger { width: 40px; height: 40px; margin-left: 0; }
  .burger svg { width: 21px; height: 21px; }
}

.burger {
  margin-left: 4px; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; flex: none;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  color: var(--ink); cursor: pointer;
}
.burger svg { width: 23px; height: 23px; display: block; }

@media (min-width: 960px) {
  .burger { display: none; }
  .nav { display: flex; }
  .header__tel { margin-left: 8px; }
  .header__cta { display: inline-flex; margin-left: 8px; flex: none; }
}
@media (min-width: 960px) and (max-width: 1119px) {
  .nav a { padding-inline: 10px; font-size: .92rem; }
  .brand img { width: 170px; height: 46px; }
}
@media (min-width: 1120px) {
  .header__tel { padding: 8px 10px; }
  .header__tel span { position: static; width: auto; height: auto; clip: auto; overflow: visible; }
  .header__tel svg { width: 17px; height: 17px; }
}

/* Drawer is a direct child of <body>, NOT of the sticky header: nested inside
   it would be trapped in the header's stacking context. */
.drawer {
  position: fixed; inset: 0; z-index: 90;
  display: none; flex-direction: column;
  background: var(--paper);
  overflow-y: auto; overscroll-behavior: contain;
}
.drawer.is-open { display: flex; }
.drawer__top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px var(--gutter); border-bottom: 1px solid var(--line); min-height: var(--head-h);
}
.drawer__top img { width: 170px; height: 46px; object-fit: contain; object-position: left center; }
.drawer__close {
  width: 44px; height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); cursor: pointer;
}
.drawer__close svg { width: 23px; height: 23px; display: block; }
.drawer__links { padding: 10px var(--gutter) 22px; display: grid; gap: 2px; }
.drawer__links a {
  display: block; padding: 15px 14px; border-radius: 10px; text-decoration: none;
  font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.drawer__links a[aria-current="page"] { color: var(--blue); }
.drawer__actions { display: grid; gap: 10px; padding: 4px var(--gutter) 30px; }
.drawer__actions .btn { width: 100%; }

/* -------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 10px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: .97rem; line-height: 1.3;
  text-decoration: none; cursor: pointer; text-align: center; max-width: 100%;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.header .btn, .drawer__actions .btn { white-space: nowrap; }
/* Specificity: .nav a / .footer a would otherwise beat a single-class button
   colour and turn the label blue-on-blue. The doubled class wins cleanly. */
.btn.btn--primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn.btn--primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn.btn--accent { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.btn.btn--accent:hover { background: var(--orange-hover); border-color: var(--orange-hover); color: var(--ink); }
.btn.btn--ghost { background: transparent; color: var(--ink); border-color: #c4cfdf; }
.btn.btn--ghost:hover { background: var(--tint); color: var(--ink); border-color: var(--blue); }
.btn.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.btn--light:hover { background: var(--tint); color: var(--ink); border-color: var(--tint); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ----------------------------------------------------------------- hero -- */
.hero {
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(0, 90, 191, .10), transparent 70%),
    linear-gradient(180deg, var(--tint) 0%, var(--wash) 100%);
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr);
  padding-block: 34px 44px; align-items: center;
}
.hero h1 { margin-bottom: .4em; }
.hero__lede { font-size: 1.1rem; color: var(--muted); max-width: 40rem; margin-bottom: 24px; }
.hero .btn-row { margin-bottom: 24px; }
.hero__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.hero__points li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; color: var(--body); margin: 0; min-width: 0; font-weight: 500; }
.hero__points svg { width: 19px; height: 19px; flex: none; color: var(--blue); margin-top: 3px; }
@media (min-width: 560px) { .hero__points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hero__media { position: relative; }
.hero__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 18px; box-shadow: var(--shadow);
}
.hero__badge {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--body); text-decoration: none;
  padding: 10px 14px; border-radius: 12px; box-shadow: var(--shadow);
  font-size: .9rem; line-height: 1.3;
}
.hero__badge:hover { color: var(--ink); }
.hero__badge .stars { width: 84px; height: 18px; flex: none; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 54px; padding-block: 64px 72px; }
  .hero__badge { left: -22px; bottom: 28px; padding: 12px 16px; }
}

/* ---------------------------------------------------------------- stars -- */
.stars { display: block; width: 94px; height: 20px; flex: none; }
.stars__off { fill: #d5dce6; }
.stars__on { fill: #c98300; }
.rating--dark .stars__on { fill: #f5b13d; }
.rating--dark .stars__off { fill: rgba(255, 255, 255, .22); }

/* --------------------------------------------------------------- strips -- */
.strip { background: var(--ink); color: #d3dcea; }
.strip__row { display: grid; gap: 14px 18px; padding-block: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 820px) { .strip__row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.strip__item { display: flex; gap: 10px; align-items: center; font-size: .9rem; line-height: 1.4; min-width: 0; font-weight: 500; }
.strip__item svg { width: 21px; height: 21px; flex: none; color: var(--orange); }

/* --------------------------------------------------------------- grids --- */
.grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .97rem; margin-bottom: .8em; }
.card > :last-child { margin-bottom: 0; }

.icon-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; flex: none; margin-bottom: 16px;
  border-radius: 12px; background: var(--tint); color: var(--blue);
}
.icon-tile svg { width: 25px; height: 25px; display: block; }

/* Services grid on the homepage: ten services plus a call-to-action card that
   spans two columns, so every breakpoint ends on a full row (2 cols: 5 rows +
   a full-width CTA; 3 cols: 3 rows + 1 and the 2-wide CTA; 4 cols: 2 rows +
   2 and the CTA). */
.svc-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 880px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.svc {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow);
  transition: border-color .15s ease, transform .15s ease;
}
.svc:hover { border-color: var(--orange); transform: translateY(-2px); }
.svc h3 { font-size: 1.08rem; margin-bottom: .35em; }
.svc h3 a { color: var(--ink); text-decoration: none; }
/* The heading link covers the whole card, so the card is one tap target. */
.svc h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc h3 a:focus-visible { outline: none; }
.svc:focus-within { outline: 3px solid var(--orange); outline-offset: 2px; }
.svc p { color: var(--muted); font-size: .94rem; margin: 0; }
.svc--cta { background: var(--ink); border-color: var(--ink); color: #d3dcea; }
.svc--cta:hover { border-color: var(--ink); transform: none; }
.svc--cta h3 { color: #fff; }
.svc--cta p { color: #c3cfe0; margin-bottom: 16px; }
.svc--cta .btn-row { gap: 10px; }
@media (min-width: 560px) { .svc--cta { grid-column: span 2; } }
/* Phones: icon to the left of the text, so ten services read as a compact,
   scannable list instead of ten tall cards. */
@media (max-width: 559px) {
  .svc { padding: 16px 16px; }
  .svc:not(.svc--cta) { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .svc .icon-tile { width: 44px; height: 44px; margin: 0; grid-row: span 2; }
  .svc h3 { margin-top: 2px; }
  .svc p { font-size: .92rem; }
}

/* ---------------------------------------------------------------- split -- */
.split { display: grid; gap: 30px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 54px; }
  .split--flip .split__media { order: 2; }
  .split--top { align-items: start; }
  .split__media--sticky { position: sticky; top: calc(var(--head-h) + 24px); }
}
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split__media figcaption { font-size: .86rem; color: var(--muted); margin-top: 10px; }
/* The owner's GBP photo is a portrait phone shot: held to 4:5 so it does not tower
   over the copy beside it. */
.split__media--portrait img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 60%; }
@media (min-width: 900px) { .split__media--portrait { max-width: 460px; justify-self: end; } }

/* ---------------------------------------------------------------- steps -- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 680px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .steps--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li {
  counter-increment: step; margin: 0; padding: 22px 20px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem;
  color: var(--orange); margin-bottom: 8px; line-height: 1;
}
.steps h3 { font-size: 1.06rem; margin-bottom: .35em; }
.steps p { margin: 0; font-size: .95rem; color: #c3cfe0; }
.steps--plain { grid-template-columns: minmax(0, 1fr) !important; margin-bottom: 26px; }
.steps--plain li { background: var(--wash); border-color: var(--line); }
.steps--plain li::before { color: var(--orange-text); }
.steps--plain h3 { color: var(--ink); }
.steps--plain p { color: var(--body); }

/* ------------------------------------------------------------- checklist -- */
.checks { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; } }
.checks li { display: flex; gap: 11px; align-items: flex-start; margin: 0; font-size: .98rem; min-width: 0; }
.checks svg { width: 19px; height: 19px; flex: none; color: var(--blue); margin-top: 3px; }

/* ---------------------------------------------------------------- chips -- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 1.2em; padding: 0; }
.chips li {
  margin: 0; padding: 7px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink);
}
.section--paper .chips li { background: var(--paper); }
.chips--links { margin: 22px 0 0; }
.chips--links li { padding: 0; }
.chips--links a { display: block; padding: 7px 14px; text-decoration: none; color: var(--ink); }
.chips--links a:hover { color: var(--blue); text-decoration: underline; }

/* ----------------------------------------------------------------- FAQs -- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  padding: 17px 20px; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 600; font-size: 1.01rem; color: var(--ink); line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 11px; height: 11px; margin-top: 6px;
  border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue);
  transform: rotate(45deg); transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 10px; }
.faq summary:hover { background: var(--wash); }
.faq__body { padding: 0 20px 18px; }
.faq__body p { color: var(--muted); font-size: .99rem; margin: 0; }

/* ----------------------------------------------------------------- areas -- */
/* column-WIDTH, not a viewport-driven column count: this list also sits in a
   half-width column, where a fixed count squeezes long names apart. */
.areas { columns: 200px; column-gap: 26px; list-style: none; margin: 0 0 1.2em; padding: 0; }
.areas li {
  break-inside: avoid; display: flex; flex-wrap: wrap; gap: 2px 9px; align-items: baseline;
  padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: .97rem; margin: 0;
}
.areas li > * { min-width: 0; }
.areas li strong { overflow-wrap: normal; font-weight: 600; }
.areas li span { color: var(--muted); font-size: .86rem; }
.areas li::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--orange); align-self: center; }

/* ----------------------------------------------------------------- form -- */
.form-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow); border-top: 4px solid var(--orange);
}
@media (max-width: 399px) { .form-card { padding: 22px 16px; } }
.field { display: block; margin-bottom: 15px; min-width: 0; }
.field__label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.field__label em { font-style: normal; color: var(--orange-text); }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-width: 0; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--body);
  background: #fbfcfe; border: 1.5px solid #c9d3e1; border-radius: 10px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 90, 191, .18);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #b3261e; }
.field-row { display: grid; gap: 0 15px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .86rem; color: var(--muted); margin: 14px 0 0; }
.form-msg { margin: 0 0 16px; padding: 14px 16px; border-radius: 10px; font-size: .95rem; }
.form-msg--error { background: #fbeae8; border: 1px solid #e6b4ae; color: #7a1f16; }
.form-msg--ok { background: #e7f3ea; border: 1px solid #b0d4b8; color: #1d4d2a; }

/* ------------------------------------------------------------------ map -- */
/* The iframe's height:100% only resolves against a DEFINITE parent height, so
   .map always carries an explicit pixel height (never min-height alone). */
.map { height: 320px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #e3e9f2; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (min-width: 640px) { .map { height: 380px; } }
@media (min-width: 900px) { .map { height: 440px; } }

/* --------------------------------------------------------------- footer -- */
.footer { background: var(--ink); color: #b4c1d6; padding: 52px 0 0; font-size: .95rem; }
.footer a { color: #dbe4f1; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; gap: 34px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__cols { grid-column: span 2; } }
@media (min-width: 1060px) { .footer__grid { grid-template-columns: 1.35fr 1fr 1.4fr; } .footer__cols { grid-column: auto; } }
.footer__cols { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer h3 {
  color: #fff; font-size: .8rem; letter-spacing: .13em; text-transform: uppercase;
  margin-bottom: 14px; font-weight: 600;
}
.footer__brand img { width: 220px; height: 59px; object-fit: contain; object-position: left center; margin-bottom: 14px; }
.footer__strap { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); font-weight: 600; margin-bottom: 10px; }
.footer__brand p { max-width: 42ch; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__list li { margin: 0; display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.footer__list li > :not(svg) { min-width: 0; }
.footer__list svg { width: 17px; height: 17px; flex: none; color: var(--orange); margin-top: 4px; }
.footer__cta { margin: 18px 0 0; }
.footer .btn.btn--accent { color: var(--ink); text-decoration: none; }
.footer__areas {
  margin: 34px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .86rem; line-height: 1.8; color: #9fb0c9;
}
.footer__bottom {
  margin-top: 22px; padding: 18px 0 24px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  font-size: .85rem; color: #9fb0c9;
}
.footer__bottom p { margin: 0; }
.footer__list--inline { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 22px; }
.pagehead .footer__list--inline a { color: var(--blue); font-weight: 600; }

/* ----------------------------------------------------------- CTA banner -- */
.cta-band { background: var(--blue); color: #fff; }
.cta-band .wrap { padding-block: 48px; }
.cta-band__row { display: grid; gap: 22px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .cta-band__row { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; } }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #e3ecf8; max-width: 56ch; margin: 0; }

/* ------------------------------------------------------------ utilities -- */
.centre { text-align: center; }
.lede.centre { max-width: 62ch; margin-inline: auto; margin-bottom: 30px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------- breadcrumbs -- */
.crumbs { font-size: .85rem; color: var(--muted); padding: 14px 0; background: var(--wash); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: flex; gap: 6px; align-items: center; }
.crumbs li + li::before { content: "/"; color: #7a879c; }
.crumbs a { text-decoration: none; }

/* ------------------------------------------------------------ page head -- */
.pagehead { background: linear-gradient(180deg, var(--wash) 0%, var(--tint) 100%); border-bottom: 1px solid var(--line); }
/* Constrain the text children, never the .wrap box itself — a max-width on
   the wrap would centre the whole header instead of leaving it at the gutter. */
.pagehead__inner { padding-block: 22px 44px; }
.pagehead h1 { max-width: 22ch; margin-bottom: .35em; }
.pagehead .lede { max-width: 64ch; margin-bottom: 0; }
.pagehead .btn-row { margin-top: 24px; }
.pagehead--tall .pagehead__inner { padding-block: 52px 56px; }

/* ------------------------------------------------------------- services -- */
.svc-block h3 { margin-top: 1.3em; }
.svc-block .head-group { margin-bottom: 20px; }
.bullets { margin: 0 0 1.2em; padding-left: 1.15em; }
.bullets li { margin: 0 0 .5em; }
.bullets li::marker { color: var(--orange-text); }
.note {
  font-size: .9rem; color: var(--muted); border-left: 3px solid var(--orange);
  padding: 2px 0 2px 14px; margin: 0 0 1.4em;
}

/* --------------------------------------------------------------- rating -- */
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 18px 0 22px; font-size: .95rem; color: var(--muted); }
.rating strong { font-size: 1.05rem; }
.rating--dark { color: #b4c1d6; margin: 16px 0 0; }
.rating--dark strong { color: #fff; }

/* --------------------------------------------------------- testimonials -- */
/* No star row per card: the words are paraphrased, and five gold stars beside
   a paraphrase claims more precision than there is. */
.quotes { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.quote-card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px 22px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.quote-card__mark { color: var(--orange); margin-bottom: 12px; }
.quote-card__mark svg { width: 28px; height: 28px; display: block; }
.quote-card blockquote { flex: 1; }
.quote-card blockquote p { margin: 0 0 16px; color: var(--body); }
.quote-card figcaption { display: grid; gap: 2px; font-size: .9rem; }
.quote-card figcaption span { color: var(--muted); }

/* ------------------------------------------------------ contact details -- */
.contact-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.contact-list li > div { min-width: 0; }
.contact-list svg { width: 22px; height: 22px; flex: none; color: var(--blue); margin-top: 2px; }
.contact-list strong { display: block; font-size: .95rem; }
.contact-list a { font-weight: 600; }
.contact-list span { display: block; font-size: .92rem; color: var(--muted); }
