/* ==========================================================================
   Commercial Gas Pipework — main stylesheet
   --------------------------------------------------------------------------
   1.  Design tokens
   2.  Base & typography
   3.  Layout helpers
   4.  Buttons & links
   5.  Top bar, header & navigation
   6.  Hero (homepage) & page hero (inner pages)
   7.  Spec strip
   8.  Sections, splits & media
   9.  Service cards
   10. Features, checklists, chips
   11. Process steps
   12. Registrations
   13. Call-to-action band
   14. Service page layout, prose & sidebar
   15. Contact page & forms
   16. Footer & mobile action bar
   17. Motion & utilities
   ========================================================================== */

/* 1. Design tokens
   ========================================================================== */
:root {
  --navy-900: #06172f;
  --navy-800: #0a2242;
  --navy-700: #113260;
  --blue-600: #1560cf;
  --blue-500: #2a7de1;
  --blue-300: #6fb8f7;
  --yellow: #ffc81a;
  --yellow-600: #e9b200;
  --ink: #142032;
  --slate: #4b5b70;
  --line: #dbe3ec;
  --mist: #f2f5f9;
  --white: #fff;

  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Barlow", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 7rem);
  --radius: 4px;
  --chamfer: 36px;
  --shadow-sm: 0 1px 2px rgba(6, 23, 47, .06), 0 4px 14px rgba(6, 23, 47, .06);
  --shadow-md: 0 2px 4px rgba(6, 23, 47, .06), 0 18px 40px rgba(6, 23, 47, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

/* 2. Base & typography
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--navy-800);
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); line-height: 1.15; }
h4 { font-size: 1.15rem; }

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

a { color: var(--blue-600); text-underline-offset: .18em; }
a:hover { color: var(--navy-700); }

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

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

::selection { background: var(--yellow); color: var(--navy-900); }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: .75rem 1rem;
  background: var(--yellow);
  color: var(--navy-900);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

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

/* 3. Layout helpers
   ========================================================================== */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--mist { background: var(--mist); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }

/* Dark sections carry a faint blueprint grid */
.section--dark,
.hero,
.page-hero,
.site-footer {
  color: #c9d6e6;
  background-color: var(--navy-800);
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
}
.section--dark h2,
.section--dark h3 { color: var(--white); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1.1rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--yellow);
}
.section--dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow,
.cta-band .eyebrow { color: var(--blue-300); }

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}
.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  max-width: none;
}
.section-head--row > div { max-width: 760px; }
.section-head p:not(.eyebrow) { color: var(--slate); font-size: 1.125rem; }
.section--dark .section-head p:not(.eyebrow) { color: #c9d6e6; }

/* 4. Buttons & links
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
    border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { flex: none; transition: transform .2s var(--ease); }
.btn:hover svg.icon-arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--yellow); color: var(--navy-900); }
.btn--primary:hover { background: var(--yellow-600); color: var(--navy-900); box-shadow: 0 8px 22px rgba(255, 200, 26, .28); }

.btn--dark { background: var(--navy-800); color: var(--white); }
.btn--dark:hover { background: var(--blue-600); color: var(--white); }

.btn--ghost { border-color: rgba(255, 255, 255, .4); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: var(--white); color: var(--navy-900); }

.btn--outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: var(--white); }

.btn--sm { padding: .7rem 1.15rem; font-size: 1rem; }
.btn--block { width: 100%; }

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--blue-600);
}
.text-link svg { transition: transform .2s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }
.section--dark .text-link { color: var(--yellow); }

/* 5. Top bar, header & navigation
   ========================================================================== */
.topbar {
  background: var(--navy-900);
  color: #b9c7d9;
  font-size: .875rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
}
.topbar__note { margin: 0; }
.topbar__links { display: flex; align-items: center; gap: 1.5rem; }
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
}
.topbar a:hover { color: var(--yellow); }
.topbar svg { color: var(--yellow); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(6, 23, 47, .1); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

/* Brand: transparent flame icon + live-text wordmark */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  color: var(--navy-800);
}
.brand__mark {
  flex: none;
  width: 52px;
  height: 52px;
}
.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.brand__tag {
  margin-top: .3rem;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--slate);
}

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav__list { display: flex; align-items: center; gap: .25rem; }
.nav__item { position: relative; }

.nav__link,
.nav__toggle-sub {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .7rem .9rem;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy-800);
  cursor: pointer;
}
.nav__link { position: relative; }
.nav__link::after {
  content: "";
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: .35rem;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after,
.nav__item.is-current > .nav__link::after { transform: scaleX(1); }
.nav__link:hover { color: var(--blue-600); }

.nav__toggle-sub { padding-inline: .2rem .5rem; margin-left: -.7rem; }
.nav__toggle-sub svg { transition: transform .2s var(--ease); }
.nav__item.is-open > .nav__toggle-sub svg { transform: rotate(180deg); }

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 600px;
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .15rem .5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--yellow);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__item--has-sub:hover > .submenu,
.nav__item--has-sub:focus-within > .submenu,
.nav__item--has-sub.is-open > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.submenu a {
  display: block;
  padding: .6rem .8rem;
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.submenu a:hover,
.submenu a[aria-current="page"] { background: var(--mist); color: var(--blue-600); }
.submenu__all {
  grid-column: 1 / -1;
  margin-top: .5rem;
  padding-top: .6rem;
  border-top: 1px solid var(--line);
}
.submenu__all a { font-weight: 600; color: var(--blue-600); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: .6rem;
  padding: .6rem .85rem;
  border: 2px solid var(--navy-800);
  border-radius: var(--radius);
  background: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy-800);
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 20px; height: 14px; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform .25s var(--ease), opacity .2s var(--ease), top .25s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (max-width: 1020px) {
  :root { --header-h: 72px; }
  .topbar__note { display: none; }
  .topbar__inner { justify-content: flex-end; }

  .js .nav-toggle { display: inline-flex; }

  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  /* Without JS the menu simply stacks under the logo */
  .site-header__inner { flex-wrap: wrap; padding-block: .75rem; }
  .nav { width: 100%; }

  .js .site-header__inner { flex-wrap: nowrap; padding-block: 0; }
  .js .nav {
    position: fixed;
    inset: 0;
    top: var(--nav-top, 112px);
    width: auto;
    padding: 1.25rem var(--gutter) 6rem;
    background: var(--white);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .js .nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
  .nav__link { flex: 1; padding: 1rem 0; font-size: 1.4rem; }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"],
  .nav__item.is-current > .nav__link { color: var(--blue-600); }
  .nav__toggle-sub { margin: 0; padding: 1rem; }

  .submenu {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    padding: 0 0 1rem;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .js .submenu { display: none; }
  .js .nav__item--has-sub.is-open > .submenu { display: grid; transform: none; }
  .nav__item--has-sub:hover > .submenu,
  .nav__item--has-sub:focus-within > .submenu { transform: none; }
  .submenu a { padding: .7rem .25rem .7rem 1rem; border-left: 3px solid var(--line); border-radius: 0; }
  .submenu__all { border-top: 0; margin-top: 0; padding-top: 0; }

  .nav .btn { width: 100%; }
}

@media (max-width: 480px) {
  .brand__name { font-size: 1.2rem; }
  .brand__tag { display: none; }
  .brand__mark { width: 42px; height: 42px; }
  .topbar__links { gap: 1rem; width: 100%; justify-content: space-between; }
}

/* 6. Hero (homepage) & page hero (inner pages)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(4rem, 8vw, 7rem);
}
.hero::after {
  /* soft brand glow behind the image */
  content: "";
  position: absolute;
  right: -10%;
  top: -30%;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(42, 125, 225, .35), transparent);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero .lead { color: #c9d6e6; max-width: 36em; margin-bottom: 2.25rem; }

.hero__media { position: relative; }
.hero__media img,
.media-chamfer img {
  width: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%);
}
.hero__media img { aspect-ratio: 5 / 5.2; object-position: 38% 50%; }
.hero__media::before {
  /* offset frame */
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid rgba(255, 200, 26, .55);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%);
  pointer-events: none;
}

.badge-card {
  position: absolute;
  left: -28px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .8rem 1.1rem .8rem .8rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.badge-card img { width: 58px; height: 58px; object-fit: contain; }
.badge-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--navy-800);
}
.badge-card span { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; color: var(--slate); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 640px; margin-right: 18px; }
  .hero__media img { aspect-ratio: 16 / 10; }
  .badge-card { left: 16px; bottom: 16px; }
}

/* Inner page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}
.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.page-hero--simple .page-hero__inner { grid-template-columns: minmax(0, 820px); }
.page-hero h1 { color: var(--white); font-size: clamp(2.4rem, 5vw, 3.75rem); }
.page-hero .lead { color: #c9d6e6; margin-bottom: 1.75rem; }
.page-hero__media img { aspect-ratio: 16 / 10; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8fa3bd;
}
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--yellow); }
.breadcrumb a { color: #c9d6e6; text-decoration: none; }
.breadcrumb a:hover { color: var(--yellow); }

@media (max-width: 900px) {
  .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__media { max-width: 640px; }
}

/* 7. Spec strip
   ========================================================================== */
.spec-strip { background: var(--navy-900); color: var(--white); }
.spec-strip__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.spec-strip__item {
  padding: 1.6rem 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, .1);
}
.spec-strip__item:last-child { border-right: 1px solid rgba(255, 255, 255, .1); }
.spec-strip__label {
  display: block;
  margin-bottom: .35rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--yellow);
}
.spec-strip__value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 1.15;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .spec-strip__list { grid-template-columns: 1fr 1fr; }
  .spec-strip__item { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .spec-strip__item:nth-child(even) { border-right: 1px solid rgba(255, 255, 255, .1); }
}
@media (max-width: 480px) {
  .spec-strip__item { padding: 1.1rem 1rem; }
  .spec-strip__value { font-size: 1.1rem; }
}

/* 8. Sections, splits & media
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
}
.split--top { align-items: start; }
.split--reverse > :first-child { order: 2; }
.split__body > .btn-row,
.split__body > .text-link { margin-top: 2rem; }

.media-chamfer { position: relative; }
.media-chamfer img { aspect-ratio: 4 / 3; }
.media-chamfer--tall img { aspect-ratio: 4 / 4.4; }
/* Keep the engineer in frame when this wide photo is cropped */
img[src*="uk-commercial-gas-pipework"] { object-position: 82% 50%; }

.media-chamfer::after {
  /* yellow "pipe" accent bar */
  content: "";
  position: absolute;
  left: -12px;
  top: 32px;
  width: 6px;
  height: 120px;
  background: var(--yellow);
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .media-chamfer--tall img { aspect-ratio: 4 / 3; }
  .media-chamfer::after { left: -8px; }
}

/* 9. Service cards
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .card-grid, .card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .card-grid, .card-grid--3 { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
  height: 4px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.service-card:hover,
.service-card:focus-within { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before,
.service-card:focus-within::before { transform: scaleX(1); }

.service-card__media { overflow: hidden; background: var(--mist); }
.service-card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.service-card:hover .service-card__media img { transform: scale(1.05); }

.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.4rem 1.5rem; }
.service-card__index {
  margin-bottom: .6rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--blue-600);
}
.service-card h3 { margin-bottom: .6rem; font-size: 1.45rem; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card clickable */
.service-card p { color: var(--slate); font-size: 1rem; line-height: 1.55; }
.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: auto;
  padding-top: 1.1rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.service-card__more svg { transition: transform .2s var(--ease); }
.service-card:hover .service-card__more svg { transform: translateX(4px); }

/* Wide service rows (services overview page) */
.service-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row:nth-child(even) .service-row__media { order: 2; }
.service-row__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.service-row h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.service-row h2 a { color: inherit; text-decoration: none; }
.service-row h2 a:hover { color: var(--blue-600); }
.service-row p { color: var(--slate); }
.service-row .text-link { margin-top: .5rem; }
@media (max-width: 760px) {
  .service-row { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-row__media { order: 0; }
}

/* 10. Features, checklists, chips
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12);
}
.feature {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--navy-800);
  transition: background-color .3s var(--ease);
}
.feature:hover { background: var(--navy-700); }
.feature__index {
  display: block;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .14em;
  color: var(--yellow);
}
.feature h3 { margin-bottom: .9rem; }
.feature p { font-size: 1rem; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }

/* Light variant used on About / service pages */
.feature-grid--light { background: var(--line); border-color: var(--line); }
.feature-grid--light .feature { background: var(--white); }
.feature-grid--light .feature:hover { background: var(--mist); }
.feature-grid--light .feature__index { color: var(--blue-600); }
.feature-grid--light .feature p { color: var(--slate); }
.feature-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .feature-grid--2 { grid-template-columns: 1fr; } }

.checklist { display: grid; gap: .8rem; margin-top: 1.5rem; }
.checklist li {
  position: relative;
  padding-left: 2.1rem;
  font-weight: 500;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  width: 1.3rem;
  height: 1.3rem;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306172f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 72% no-repeat;
  border-radius: 2px;
}
.checklist--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
@media (max-width: 540px) { .checklist--cols { grid-template-columns: 1fr; } }

.chip-list { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.chip-list li {
  padding: .5rem .95rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--yellow);
  background: var(--white);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy-800);
}

/* Chips that are links (areas on the homepage) */
.chip-list--links li { padding: 0; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.chip-list--links a { display: block; padding: .5rem .95rem; color: inherit; text-decoration: none; }
.chip-list--links li:hover { border-color: var(--navy-800); border-left-color: var(--yellow); transform: translateY(-2px); }
.chip-list--links a:hover { color: var(--blue-600); }

/* Areas index */
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 1020px) { .area-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .area-grid { grid-template-columns: 1fr; } }
.area-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  height: 100%;
  padding: 1.4rem 3rem 1.4rem 1.4rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.area-card::after {
  content: "→";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  translate: 0 -50%;
  color: var(--blue-600);
  font-size: 1.2rem;
  transition: transform .2s var(--ease);
}
.area-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; border-left-color: var(--yellow); }
.area-card:hover::after { transform: translateX(4px); }
.area-card__name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--navy-800);
}
.area-card__meta {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--slate);
}

.spec-list { margin-top: 1.75rem; border-top: 1px solid var(--line); }
.spec-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.spec-list li::before {
  content: counter(spec, decimal-leading-zero);
  counter-increment: spec;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--blue-600);
}
.spec-list { counter-reset: spec; }
.spec-list--cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }
@media (max-width: 540px) { .spec-list--cols { grid-template-columns: 1fr; } }

/* 11. Process steps
   ========================================================================== */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  counter-reset: step;
}
.process__step { position: relative; padding-top: 4.5rem; counter-increment: step; }
.process__step::before {
  /* node */
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 3px solid var(--yellow);
  border-radius: 50%;
  background: var(--navy-800);
  font-family: var(--font-mono);
  font-size: .85rem;
  font-weight: 600;
  color: var(--white);
}
.process__step::after {
  /* pipe run between nodes */
  content: "";
  position: absolute;
  top: calc(1.625rem - 2px);
  left: 3.25rem;
  right: -2rem;
  height: 4px;
  background: var(--line);
}
.process__step:last-child::after { display: none; }
.process__step h3 { font-size: 1.4rem; }
.process__step p { color: var(--slate); font-size: 1rem; }

@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process__step { padding: 0 0 2.25rem 4.75rem; min-height: 5rem; }
  .process__step::after {
    top: 3.25rem;
    bottom: 0;
    left: calc(1.625rem - 2px);
    right: auto;
    width: 4px;
    height: auto;
  }
  .process__step:last-child { padding-bottom: 0; }
}

/* 12. Registrations
   ========================================================================== */
.registrations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem 3rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-left: 6px solid var(--yellow);
  background: var(--white);
}
.registrations__text { max-width: 560px; }
.registrations__text h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.registrations__text p { color: var(--slate); }
.registrations__logos { display: flex; align-items: center; gap: 2rem; }
.registrations__logos img { width: 104px; height: 104px; object-fit: contain; }

/* 13. Call-to-action band
   ========================================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--blue-600);
  color: #e3eefc;
}
.cta-band::before {
  /* oversized chamfered plate */
  content: "";
  position: absolute;
  inset: 0 0 0 55%;
  background: var(--navy-800);
  clip-path: polygon(120px 0, 100% 0, 100% 100%, 0 100%);
}
.cta-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  gap: 2.5rem clamp(3rem, 8vw, 8rem);
  padding-block: clamp(3.5rem, 6vw, 5rem);
}
.cta-band h2 { color: var(--white); }
.cta-band .eyebrow { color: #cfe3fb; }
.cta-band__phone {
  display: block;
  margin: .25rem 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--white);
  text-decoration: none;
}
.cta-band__phone:hover { color: var(--yellow); }
.cta-band__label {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--yellow);
}
@media (max-width: 900px) {
  .cta-band::before { inset: 58% 0 0 0; clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%); }
  .cta-band__inner { grid-template-columns: 1fr; gap: 4.5rem; }
}

/* 14. Service page layout, prose & sidebar
   ========================================================================== */
.layout-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 1020px) { .layout-sidebar { grid-template-columns: 1fr; } }

.prose { max-width: 760px; }
.prose > section + section { margin-top: clamp(2.75rem, 5vw, 4rem); }
.prose h2 {
  position: relative;
  padding-top: 1.25rem;
  font-size: clamp(1.75rem, 3vw, 2.3rem);
}
.prose h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 4px;
  background: var(--yellow);
}
.prose h3 { margin-top: 2rem; }
.prose p { color: #33435a; }
.prose ul:not([class]) { margin: 0 0 1.15em; padding-left: 1.25rem; list-style: square; color: #33435a; }
.prose ul:not([class]) li { margin-bottom: .4rem; }
.prose ul:not([class]) li::marker { color: var(--yellow-600); }
.prose .checklist { margin: 0 0 1.4em; color: #33435a; }

/* Numbered steps */
.prose ol:not([class]) { margin: 0 0 1.15em; counter-reset: step; color: #33435a; }
.prose ol:not([class]) li {
  position: relative;
  margin-bottom: .7rem;
  padding-left: 2.6rem;
  counter-increment: step;
}
.prose ol:not([class]) li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: .15em;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--blue-600);
  border-bottom: 2px solid var(--yellow);
}

/* Figures with captions (location pages) */
figure { margin: 0; }
.figure { margin-top: 2rem; }
.figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}
.figure figcaption,
.page-hero__media figcaption {
  margin-top: .8rem;
  padding-left: .9rem;
  border-left: 3px solid var(--yellow);
  font-size: .92rem;
  line-height: 1.5;
  color: var(--slate);
}
.page-hero__media figcaption { color: #a9b9cd; }

/* Sub-topics within a section presented as a grid of panels */
.sub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}
.sub-grid--1 { grid-template-columns: 1fr; }
.sub-card {
  padding: 1.5rem;
  background: var(--mist);
  border-top: 3px solid var(--navy-800);
  border-radius: 0 0 var(--radius) var(--radius);
}
.sub-card__index {
  display: block;
  margin-bottom: .6rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--blue-600);
}
.sub-card h3 { margin-top: 0; font-size: 1.35rem; }
.sub-card p { font-size: 1rem; line-height: 1.6; }
@media (max-width: 640px) { .sub-grid { grid-template-columns: 1fr; } }

.inline-cta {
  margin-top: clamp(2.75rem, 5vw, 4rem);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  color: #c9d6e6;
  background: var(--navy-800);
  border-left: 6px solid var(--yellow);
}
.inline-cta h2 { padding-top: 0; color: var(--white); }
.inline-cta h2::before { display: none; }
.inline-cta p { color: #c9d6e6; }
.inline-cta .btn-row { margin-top: 1.5rem; }

.sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.5rem; }
.sidebar--static { position: static; } /* long sidebars (location pages) scroll with the page */
@media (max-width: 1020px) { .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .sidebar { grid-template-columns: 1fr; } }

.sidebar-card { padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.sidebar-card h2 { font-size: 1.5rem; }
.sidebar-card--enquiry { border: 0; background: var(--navy-800); color: #c9d6e6; border-top: 4px solid var(--yellow); }
.sidebar-card--enquiry h2 { color: var(--white); }
.sidebar-card--enquiry p { font-size: 1rem; }
.sidebar-card__phone {
  display: block;
  margin: .2rem 0 1rem;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--yellow);
  text-decoration: none;
}
.sidebar-card__phone:hover { color: var(--white); }
.sidebar-card__label {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-300);
}

.side-nav li + li { border-top: 1px solid var(--line); }
.side-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.side-nav a::after { content: "→"; color: var(--blue-600); transition: transform .2s var(--ease); }
.side-nav a:hover { color: var(--blue-600); }
.side-nav a:hover::after { transform: translateX(4px); }
.side-nav a[aria-current="page"] { color: var(--blue-600); font-weight: 600; }

/* 15. Contact page & forms
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-methods { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-method {
  display: flex;
  gap: 1.1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.contact-method__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  background: var(--navy-800);
  color: var(--yellow);
  border-radius: var(--radius);
}
.contact-method h3 { margin-bottom: .2rem; font-size: 1.2rem; }
.contact-method p { margin: 0; color: var(--slate); font-size: 1rem; }
.contact-method a { font-weight: 600; font-size: 1.15rem; text-decoration: none; word-break: break-word; }
.contact-method a:hover { text-decoration: underline; }

.alert {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-left: 6px solid #d92d20;
  background: #fef3f2;
}
.alert h3 { color: #912018; font-size: 1.3rem; }
.alert p { color: #55160c; font-size: 1rem; }
.alert a { color: #912018; font-weight: 700; }

.form-card {
  padding: clamp(1.5rem, 3vw, 2.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.form-card h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.form-card > p { color: var(--slate); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; margin-top: 1.75rem; }
.form__field { display: grid; gap: .4rem; }
.form__field--full { grid-column: 1 / -1; }
.form label { font-weight: 600; font-size: .95rem; color: var(--navy-800); }
.form label span { font-weight: 400; color: var(--slate); }
.form input,
.form textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid #b9c5d3;
  border-radius: var(--radius);
  background: var(--white);
  font: inherit;
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form textarea { min-height: 9rem; resize: vertical; }
.form input:focus,
.form textarea:focus {
  outline: 0;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(21, 96, 207, .2);
}
.form__note { grid-column: 1 / -1; margin: 0; font-size: .9rem; color: var(--slate); }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* 16. Footer & mobile action bar
   ========================================================================== */
.site-footer { background-color: var(--navy-900); font-size: 1rem; }
.site-footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr .8fr 1.1fr;
  gap: 2.5rem 3rem;
  padding-block: clamp(3.5rem, 6vw, 5rem);
}
@media (max-width: 1020px) { .site-footer__main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .site-footer__main { grid-template-columns: 1fr; } }

.site-footer h2 {
  margin-bottom: 1.2rem;
  font-size: 1.15rem;
  letter-spacing: .08em;
  color: var(--white);
}
.site-footer .brand { color: var(--white); margin-bottom: 1.25rem; }
.site-footer .brand__tag { color: #8fa3bd; }
.site-footer p { color: #a9b9cd; line-height: 1.6; }

.footer-links li + li { margin-top: .55rem; }
.footer-links a { color: #c9d6e6; text-decoration: none; }
.footer-links a:hover { color: var(--yellow); }

.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact li + li { margin-top: .8rem; }
.footer-contact svg { flex: none; margin-top: .3rem; color: var(--yellow); }
.footer-contact a { color: var(--white); font-weight: 500; text-decoration: none; word-break: break-word; }
.footer-contact a:hover { color: var(--yellow); }

.footer-logos { display: flex; gap: .75rem; margin-top: 1.5rem; }
.footer-logos img {
  width: 72px;
  height: 72px;
  padding: 6px;
  object-fit: contain;
  background: var(--white);
  border-radius: var(--radius);
}

.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.site-footer__bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  padding-block: 1.4rem;
  font-size: .9rem;
  color: #8fa3bd;
}
.site-footer__bottom a { color: #c9d6e6; text-decoration: none; }
.site-footer__bottom a:hover { color: var(--yellow); }

/* Fixed call / enquire bar on small screens */
.action-bar { display: none; }
@media (max-width: 700px) {
  body { padding-bottom: 60px; }
  .action-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 -4px 20px rgba(6, 23, 47, .18);
  }
  .action-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 60px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
  }
  .action-bar__call { background: var(--yellow); color: var(--navy-900); }
  .action-bar__enquire { background: var(--navy-800); color: var(--white); }
}

/* 17. Motion & utilities
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.center { text-align: center; }

.error-page { padding-block: clamp(5rem, 12vw, 9rem); text-align: center; }
.error-page .btn-row { justify-content: center; margin-top: 2rem; }
.error-page__code {
  font-family: var(--font-mono);
  font-size: .85rem;
  letter-spacing: .2em;
  color: var(--blue-600);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .nav, .nav-toggle, .action-bar, .cta-band, .sidebar { display: none !important; }
  .hero, .page-hero { background: none; color: #000; }
  .hero h1, .page-hero h1 { color: #000; }
}

/* 18. Hero quote form, hero photo strip, thank-you page
   ========================================================================== */
.quote-card {
  padding: clamp(1.4rem, 2.5vw, 2rem);
  background: var(--white);
  border-top: 5px solid var(--yellow);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.quote-card__label {
  margin: 0 0 .4rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.quote-card__title { margin-bottom: .35rem; font-size: 1.7rem; }
.quote-card__intro { margin-bottom: .25rem; font-size: .95rem; color: var(--slate); }

.form--compact { gap: .8rem 1rem; margin-top: 1rem; }
.form--compact label { font-size: .88rem; }
.form--compact input,
.form--compact textarea { padding: .7rem .85rem; font-size: 1rem; }
.form--compact textarea { min-height: 5.5rem; }
.form--compact .form__note { font-size: .8rem; }
@media (max-width: 480px) { .form--compact { grid-template-columns: 1fr; } }

/* Honeypot: kept out of sight and out of the tab order; bots fill it, people never see it */
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Heroes hold text on the left and the form on the right */
.hero__inner,
.page-hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(320px, 440px); align-items: start; }
.hero { padding-block: clamp(3rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
.page-hero--simple .page-hero__inner { grid-template-columns: minmax(0, 820px); }
@media (max-width: 900px) {
  .hero__inner,
  .page-hero__inner { grid-template-columns: 1fr; }
  .quote-card { max-width: 560px; }
}

/* Hero background photo (a real <img> with alt and title) under a navy overlay */
.hero,
.page-hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 34, 66, .97) 0%, rgba(10, 34, 66, .9) 40%, rgba(10, 34, 66, .62) 75%, rgba(10, 34, 66, .5) 100%),
    linear-gradient(180deg, rgba(6, 23, 47, .35), rgba(6, 23, 47, 0) 30%);
}
.hero__inner,
.page-hero__inner { position: relative; z-index: 1; }
.hero::after { z-index: 1; }
@media (max-width: 900px) {
  .hero-bg::after { background: linear-gradient(180deg, rgba(10, 34, 66, .96) 0%, rgba(10, 34, 66, .9) 55%, rgba(10, 34, 66, .78) 100%); }
}

/* Gas Safe trust badge in the homepage hero */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  margin-top: 2rem;
  padding: .7rem 1.1rem .7rem .7rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.trust-badge img { width: 52px; height: 52px; object-fit: contain; }
.trust-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--navy-800);
}
.trust-badge span { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; color: var(--slate); }

/* Contact page "what happens next" */
.next-steps { margin: 1.25rem 0; counter-reset: ns; }
.next-steps li {
  position: relative;
  margin-bottom: .9rem;
  padding-left: 2.6rem;
  counter-increment: ns;
  color: #33435a;
}
.next-steps li::before {
  content: counter(ns, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: .15em;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--blue-600);
  border-bottom: 2px solid var(--yellow);
}

/* Thank-you page */
.thanks {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.thanks h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.thanks__urgent {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--mist);
  border-left: 6px solid var(--yellow);
}
.thanks__urgent a:not(.btn) { font-weight: 600; }
.thanks__urgent .btn-row { margin-top: 1.5rem; }
@media (max-width: 800px) { .thanks { grid-template-columns: 1fr; } }

/* 19. Icons (Lucide, inlined)
   ========================================================================== */
.spec-strip__icon { display: block; margin-bottom: .6rem; color: var(--yellow); }
.spec-strip__icon svg { width: 22px; height: 22px; }
.alert h3 { display: flex; align-items: center; gap: .5rem; }
.alert h3 svg { flex: none; color: #d92d20; }
.error-page__icon,
.thanks__icon { display: flex; justify-content: center; margin-bottom: 1rem; color: var(--blue-600); }
.thanks__icon { justify-content: flex-start; color: var(--yellow); }
.error-page__icon svg,
.thanks__icon svg { width: 48px; height: 48px; }
