/* ==========================================================================
   Gas Purging — gaspurging.com
   Static site stylesheet
   Contents:
     1. Design tokens & base
     2. Typography & helpers
     3. Buttons
     4. Top bar & header / navigation
     5. Hero sections
     6. Sections, cards & grids
     7. FAQ accordion
     8. Service page layout (content + sidebar)
     9. Contact page & forms
    10. CTA band
    11. Footer
    12. Utilities, animation & responsive rules
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens & base
   -------------------------------------------------------------------------- */
:root {
  --ink: #0c1c2a;          /* darkest navy — footer, overlays            */
  --navy: #102a3e;         /* dark section background                    */
  --navy-2: #17394f;       /* raised card on dark background             */
  --blue: #1a9ad6;         /* brand blue (from logo flame)               */
  --blue-dark: #1177a9;    /* hover state                                */
  --blue-tint: #e6f3fb;    /* pale blue icon/badge background            */
  --red: #c22a38;          /* brand red (from logo flame) — used sparingly */
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --line: #e2e9f0;
  --text: #3a4c5e;
  --muted: #64788b;
  --light: #c2d2df;        /* body text on dark backgrounds              */
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(12, 28, 42, 0.08);
  --shadow-md: 0 10px 30px -12px rgba(12, 28, 42, 0.22);
  --shadow-lg: 0 24px 50px -20px rgba(12, 28, 42, 0.3);
  --font-head: "Archivo", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --header-h: 78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

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

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* --------------------------------------------------------------------------
   2. Typography & helpers
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 28px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue));
}

.section-head { max-width: 780px; margin-bottom: clamp(34px, 5vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; }

.lead { font-size: 1.12rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
              transform 0.2s ease, box-shadow 0.2s ease;
}
.btn svg { flex: none; }

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(26, 154, 214, 0.55);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: var(--navy-2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.btn-outline-light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--ink);
}
.btn-white:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   4. Top bar & header / navigation
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: #b7c6d3;
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar-note svg { color: var(--blue); }
.topbar-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.topbar a {
  color: #e8eff5;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.topbar a:hover { color: var(--blue); }
.topbar a svg { color: var(--blue); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 28px -16px rgba(12, 28, 42, 0.35); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 52px; width: auto; }
@media (max-width: 640px) {
  .brand img { height: 42px; }
}

.site-nav { display: flex; align-items: center; gap: 8px; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list > li { position: relative; }

.nav-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
}
.nav-list > li > a:hover { color: var(--blue); background: var(--blue-tint); }
.nav-list > li > a[aria-current="page"] { color: var(--blue); }

.sub-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: -8px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  border-radius: 6px;
}
.sub-toggle svg { transition: transform 0.2s ease; }

.sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 300px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu,
.has-sub.open .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.has-sub:hover .sub-toggle svg,
.has-sub.open .sub-toggle svg { transform: rotate(180deg); }

.sub-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}
.sub-menu a:hover,
.sub-menu a[aria-current="page"] {
  background: var(--blue-tint);
  color: var(--blue-dark);
}

.nav-cta { margin-left: 14px; }
.nav-cta .btn { padding: 12px 22px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   5. Hero sections
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(88vh, 720px);
  padding: clamp(70px, 10vw, 120px) 0;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg,
      rgba(9, 20, 30, 0.95) 0%,
      rgba(9, 20, 30, 0.82) 38%,
      rgba(9, 20, 30, 0.45) 68%,
      rgba(9, 20, 30, 0.25) 100%);
}
.hero-content { max-width: 660px; }
.hero .eyebrow { color: #7fc8ec; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero p.lead {
  color: #cfdde8;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  margin-bottom: 30px;
  max-width: 560px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
  padding: 0;
  list-style: none;
}
.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(4px);
  color: #e6eef4;
  font-size: 0.88rem;
  font-weight: 500;
}
.trust-strip svg { color: var(--blue); flex: none; }

/* Inner-page hero (service pages, contact, etc.) */
.page-hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(26, 154, 214, 0.28), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(194, 42, 56, 0.16), transparent 55%),
    linear-gradient(155deg, var(--ink) 0%, var(--navy) 55%, #143247 100%);
  color: #fff;
  padding: clamp(56px, 8vw, 92px) 0;
  overflow: hidden;
}
.page-hero .eyebrow { color: #7fc8ec; }
.page-hero h1 { color: #fff; }
.page-hero p.lead { color: #c9d8e4; max-width: 640px; }

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.page-hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.page-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
figure.page-hero-media {
  margin: 0;
  display: flex;
  flex-direction: column;
}
figure.page-hero-media img { flex: 1; min-height: 250px; }
.page-hero-media figcaption {
  padding: 10px 16px;
  background: rgba(6, 16, 26, 0.68);
  font-size: 0.8rem;
  color: #a9bfd0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
}
.breadcrumb a { color: #9fc4dc; font-weight: 500; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li:not(:first-child)::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.35);
}
.breadcrumb [aria-current="page"] { color: #e6eef4; font-weight: 600; }

/* --------------------------------------------------------------------------
   6. Sections, cards & grids
   -------------------------------------------------------------------------- */
.section { padding: clamp(60px, 8.5vw, 100px) 0; }
.section-alt { background: var(--bg-alt); }

.section-dark {
  background:
    radial-gradient(1000px 500px at 100% 0%, rgba(26, 154, 214, 0.16), transparent 55%),
    linear-gradient(160deg, var(--ink), var(--navy) 70%);
  color: var(--light);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-head p { color: #a7bccb; }

/* Two-column media + text */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}
.split-media { position: relative; }
.split-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}
.split-media .badge-float {
  position: absolute;
  left: -18px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.badge-float img { width: 52px; height: 52px; object-fit: contain; }
.badge-float strong {
  display: block;
  font-family: var(--font-head);
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.3;
}
.badge-float span { font-size: 0.8rem; color: var(--muted); }

/* Generic card grids */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Service cards */
.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #bcd9ec;
  color: var(--text);
}
.service-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy), var(--navy-2));
  position: relative;
}
.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.service-card:hover .service-card-media img { transform: scale(1.06); }
.service-card-media.icon-media {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6db9de;
}
.service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 22px;
}
.service-card h3 { margin-bottom: 8px; font-size: 1.16rem; }
.service-card p { font-size: 0.94rem; color: var(--muted); margin-bottom: 18px; }
.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--blue);
}
.card-link svg { transition: transform 0.2s ease; }
.service-card:hover .card-link { color: var(--blue-dark); }
.service-card:hover .card-link svg { transform: translateX(4px); }

/* Icon feature cards (light + dark variants) */
.icon-card {
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.icon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.icon-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.icon-card p { font-size: 0.94rem; color: var(--muted); }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--blue-tint);
  color: var(--blue-dark);
}

.section-dark .icon-card {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.section-dark .icon-card:hover {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}
.section-dark .icon-card p { color: #a7bccb; }
.section-dark .icon-badge {
  background: rgba(26, 154, 214, 0.16);
  color: #6fc3e9;
}

/* Numbered method / step cards */
.step-card {
  position: relative;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.step-card .step-num {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--blue);
  display: block;
  margin-bottom: 12px;
}
.step-card h3 { font-size: 1.12rem; }
.step-card p { font-size: 0.94rem; color: var(--muted); }

/* Checklist */
.checklist {
  list-style: none;
  margin: 0 0 1.2em;
  padding: 0;
  display: grid;
  gap: 12px;
}
.checklist li {
  position: relative;
  padding-left: 34px;
}
.checklist li strong { color: var(--ink); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>')
    center / 12px no-repeat,
    linear-gradient(135deg, var(--blue), var(--blue-dark));
}

/* Accreditation logos row */
.accreditations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.accreditations figure {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.accreditations img { width: 56px; height: 56px; object-fit: contain; }
.accreditations figcaption {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

/* Hero quote form (all pages) */
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}
.hero-quote { width: 100%; }
.quote-form {
  display: grid;
  gap: 11px;
  padding: 26px 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.quote-form-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--ink);
}
.quote-form-sub { margin: -5px 0 2px; font-size: 0.85rem; color: var(--muted); }
.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--bg-alt);
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(26, 154, 214, 0.14);
}
.quote-form textarea { resize: vertical; min-height: 64px; }
.quote-form .btn { width: 100%; padding: 13px 20px; }
.quote-form-note { margin: 1px 0 0; font-size: 0.82rem; color: var(--muted); text-align: center; }
.qf-hp { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Media block moved from hero into page content */
.content-media {
  margin: 0 0 clamp(28px, 4vw, 40px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.content-media img { width: 100%; height: auto; display: block; }
.content-media figcaption {
  padding: 10px 16px;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

/* Postcode coverage grid (homepage) */
.postcode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}
.postcode-grid a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 13px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.postcode-grid a:hover {
  transform: translateY(-2px);
  border-color: #bcd9ec;
  box-shadow: var(--shadow-md);
  color: var(--blue-dark);
}
.postcode-grid .pc {
  flex: none;
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--blue-dark);
  background: var(--blue-tint);
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
}
.postcode-note {
  margin-top: 26px;
  max-width: 860px;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Prose blocks (privacy policy, long content) */
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.8em; font-size: 1.55rem; }
.prose h3 { margin-top: 1.4em; font-size: 1.18rem; }
.prose ul { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 8px; }

/* --------------------------------------------------------------------------
   7. FAQ accordion
   -------------------------------------------------------------------------- */
.faq-list { display: grid; gap: 14px; }

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.faq-item[open] { box-shadow: var(--shadow-md); border-color: #bcd9ec; }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="%231177a9" stroke-width="2.6" stroke-linecap="round"><line x1="12" y1="5" x2="12" y2="19"/><line x1="5" y1="12" x2="19" y2="12"/></svg>')
    center no-repeat,
    var(--blue-tint);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 22px; }
.faq-item .faq-body p, .faq-item .faq-body li { font-size: 0.97rem; }
.faq-item .faq-body ul { padding-left: 20px; margin: 0 0 1em; }

/* --------------------------------------------------------------------------
   8. Service page layout (content + sidebar)
   -------------------------------------------------------------------------- */
.layout-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(36px, 5vw, 60px);
  align-items: start;
}

.content-blocks { display: grid; gap: clamp(30px, 4vw, 44px); }
.content-blocks section > h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.content-blocks .note-card {
  padding: 26px 28px;
  border-left: 4px solid var(--blue);
  background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.sidebar { position: sticky; top: 104px; display: grid; gap: 24px; }

.aside-cta {
  padding: 30px 28px;
  border-radius: var(--radius);
  background:
    radial-gradient(300px 200px at 100% 0%, rgba(26, 154, 214, 0.3), transparent 60%),
    linear-gradient(160deg, var(--ink), var(--navy));
  color: #c9d8e4;
  box-shadow: var(--shadow-lg);
}
.aside-cta h3 { color: #fff; font-size: 1.25rem; }
.aside-cta .phone-link {
  display: block;
  margin: 6px 0 2px;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
}
.aside-cta .phone-link:hover { color: var(--blue); }
.aside-cta p { font-size: 0.92rem; }
.aside-cta .btn { width: 100%; margin-top: 18px; }
.aside-cta .aside-email {
  display: block;
  margin-top: 4px;
  color: #9fc4dc;
  font-size: 0.9rem;
  word-break: break-all;
}
.aside-cta .aside-email:hover { color: #fff; }

.aside-nav {
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.aside-nav h3 { font-size: 1.05rem; margin-bottom: 14px; }
.aside-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.aside-nav a {
  display: block;
  padding: 9px 12px;
  border-left: 3px solid transparent;
  border-radius: 0 8px 8px 0;
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 500;
}
.aside-nav a:hover {
  background: var(--blue-tint);
  border-left-color: var(--blue);
  color: var(--blue-dark);
}
.aside-nav a[aria-current="page"] {
  background: var(--blue-tint);
  border-left-color: var(--blue);
  color: var(--blue-dark);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   9. Contact page & forms
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}

.contact-channels { display: grid; gap: 18px; }
.contact-channel {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.contact-channel h3 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-channel p { font-size: 0.93rem; color: var(--muted); margin-bottom: 2px; }
.contact-channel a { font-weight: 600; font-size: 1.05rem; }
.contact-channel .icon-badge { margin-bottom: 0; flex: none; }

.form-card {
  padding: clamp(28px, 4vw, 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.form-card h2 { font-size: 1.5rem; }
.form-card > p { color: var(--muted); font-size: 0.97rem; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.form-field label span { color: var(--red); }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(26, 154, 214, 0.14);
}
.form-note { margin-top: 14px; font-size: 0.85rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   10. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 340px at 12% 120%, rgba(194, 42, 56, 0.25), transparent 55%),
    radial-gradient(900px 420px at 95% -20%, rgba(26, 154, 214, 0.35), transparent 60%),
    linear-gradient(150deg, var(--ink), var(--navy));
  color: #c9d8e4;
  padding: clamp(56px, 8vw, 88px) 0;
}
.cta-band .container {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 36px;
  align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { max-width: 620px; }
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}
.cta-phone:hover { color: var(--blue); }
.cta-actions { display: grid; gap: 16px; justify-items: start; }

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #081420;
  color: #93a7b7;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.1fr 1fr 1.1fr;
  gap: clamp(32px, 5vw, 56px);
  padding: clamp(52px, 7vw, 76px) 0 44px;
}
.footer-brand .footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}
.footer-logo img { height: 54px; width: auto; }
.footer-brand p { max-width: 340px; }

.site-footer h3 {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: #93a7b7; }
.footer-links a:hover { color: var(--blue); }

.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { color: var(--blue); flex: none; margin-top: 4px; }
.footer-contact a { color: #e8eff5; font-weight: 600; word-break: break-all; }
.footer-contact a:hover { color: var(--blue); }
.footer-contact .sub { display: block; font-size: 0.82rem; color: #6d8294; font-weight: 400; }

.footer-regs { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-regs figure {
  margin: 0;
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 9px;
}
.footer-regs img { max-height: 100%; object-fit: contain; }
.footer-regs-note { margin-top: 14px; font-size: 0.82rem; color: #6d8294; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
}
.footer-bottom a { color: #93a7b7; }
.footer-bottom a:hover { color: var(--blue); }

/* --------------------------------------------------------------------------
   12. Utilities, animation & responsive rules
   -------------------------------------------------------------------------- */
/* Scroll-reveal: pure CSS (no JS). Elements are fully visible by default;
   browsers that support scroll-driven animations get a subtle fade-up as
   each element enters the viewport. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal-in 0.7s ease both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
  }
}
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---- Tablet ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .layout-sidebar { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero-media { max-width: 640px; }

  .cta-band .container { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Mobile nav breakpoint ---- */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px clamp(18px, 4vw, 28px) 26px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-h) - 42px);
    overflow-y: auto;
  }
  .site-nav.open { display: flex; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list > li { display: flex; flex-wrap: wrap; align-items: center; }
  .nav-list > li > a { flex: 1; padding: 13px 10px; font-size: 1.05rem; }

  .sub-toggle { width: 46px; height: 46px; margin-left: 0; }

  .sub-menu {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    margin: 0 0 8px;
    padding: 4px 0 4px 14px;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { display: none; }
  .has-sub.open .sub-menu { display: block; }

  .nav-cta { margin: 14px 0 0; }
  .nav-cta .btn { width: 100%; }

  .topbar-note { display: none; }
  .topbar .container { justify-content: center; }
}

/* ---- Small screens ---- */
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split-media { order: -1; }
  .split-media .badge-float { left: 12px; bottom: 14px; padding: 10px 14px; }
  .badge-float img { width: 40px; height: 40px; }

  .sidebar { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }

  .hero { min-height: 0; }
  .trust-strip { gap: 8px; }
  .trust-strip li { font-size: 0.82rem; padding: 8px 13px; }

  .btn-row .btn { flex: 1 1 auto; }

  .topbar-links { gap: 14px; }
  .topbar-links .topbar-email { display: none; }
}
