/* South Essex Plumbing & Heating — premium local trades */

:root {
  --navy: #0a2540;
  --navy-mid: #143a5c;
  --navy-soft: #1e4d73;
  --header-bg: #121820;
  --header-bg-scrolled: #0f151c;
  --trust-bar-bg: #080d12;
  --flame: #e85d26;
  --flame-rich: #c94a18;
  --flame-bright: #ff7a3d;
  --flame-muted: rgba(232, 93, 38, 0.14);
  --cream: #f7f8fa;
  --cream-mid: #eef1f5;
  --white: #ffffff;
  --ink: #111827;
  --ink-soft: #4b5563;
  --line: rgba(10, 37, 64, 0.09);
  --line-dark: rgba(255, 255, 255, 0.1);
  --shadow: 0 20px 50px rgba(8, 13, 18, 0.14);
  --shadow-sm: 0 6px 20px rgba(8, 13, 18, 0.08);
  --shadow-card: 0 4px 24px rgba(8, 13, 18, 0.06);

  --font-heading: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 5.25rem;
  --trust-bar-h: 2.5rem;
  --top-offset: calc(var(--header-h) + var(--trust-bar-h));
  --radius: 0.75rem;
  --radius-lg: 1.125rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--flame-muted); color: var(--navy); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Typography */
.kicker {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--flame);
  display: block;
  margin-bottom: 0.875rem;
}
.display {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--navy);
}
.display em,
.display .accent {
  font-style: normal;
  color: var(--flame);
}
.display-sm {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.625rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.lead { font-size: 1.0625rem; color: var(--ink-soft); max-width: 38rem; line-height: 1.7; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.625rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
}
.btn--primary {
  background: linear-gradient(135deg, var(--flame) 0%, var(--flame-rich) 100%);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(232, 93, 38, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232, 93, 38, 0.45); }
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { border-color: var(--navy); background: var(--white); }
.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.45); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-mid); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--header { padding: 0.6rem 1.1rem; font-size: 0.8125rem; border-radius: 0.5rem; }

/* Header — dark sticky */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line-dark);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  background: var(--header-bg-scrolled);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.site-header__inner {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  transition: opacity 0.2s;
  text-decoration: none;
}
.site-brand:hover { opacity: 0.92; }
.site-brand__icon {
  height: 2.5rem;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}
.site-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  gap: 0.125rem;
}
.site-brand__name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--white);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.site-brand__tagline {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.site-brand--footer .site-brand__icon { height: 2.25rem; }
.site-brand--footer .site-brand__name { font-size: 1.125rem; }
.site-brand--footer .site-brand__tagline { font-size: 0.75rem; }
.site-nav { display: flex; gap: 0.25rem; margin-left: auto; }
.site-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  padding: 0.5rem 0.875rem;
  border-radius: 0.375rem;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.site-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}
.site-header__actions { display: flex; align-items: center; gap: 0.75rem; }

.gas-safe-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.65rem 0.35rem 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
  transition: background 0.2s, border-color 0.2s;
}
.gas-safe-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.gas-safe-badge img {
  height: 2.5rem;
  width: auto;
  border-radius: 3px;
}
.gas-safe-badge__label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.which-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.65rem 0.35rem 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.which-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.which-badge__img {
  width: auto;
  height: auto;
  display: block;
  flex-shrink: 0;
}
.which-badge--header .which-badge__img { height: 2.25rem; }
.which-badge__label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.375rem;
  transition: background 0.2s;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.08); }
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: 0.3s;
}

/* Trust bar */
.trust-bar {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 999;
  height: var(--trust-bar-h);
  background: var(--trust-bar-bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}
.trust-bar__inner {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.trust-bar__inner::-webkit-scrollbar { display: none; }
.trust-bar__item {
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.trust-bar__item--highlight {
  color: var(--white);
  font-weight: 700;
}
.trust-bar__item--highlight img {
  border-radius: 2px;
}
.trust-bar__item--link {
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}
.trust-bar__item--link:hover {
  color: var(--white);
  opacity: 0.92;
}
.trust-bar__item--link img {
  flex-shrink: 0;
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--header-bg);
  color: var(--white);
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer__close {
  align-self: flex-end;
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
}
.mobile-drawer__close:hover { background: rgba(255, 255, 255, 0.08); }
.mobile-drawer__credentials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.mobile-drawer__credential {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}
.mobile-drawer__credential--link {
  text-decoration: none;
  color: inherit;
  transition: background 0.2s, border-color 0.2s;
}
.mobile-drawer__credential--link:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}
.mobile-drawer__credential img { border-radius: 4px; flex-shrink: 0; }
.mobile-drawer__credential strong { display: block; font-size: 0.9375rem; }
.mobile-drawer__credential span { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.65); }
.mobile-drawer nav { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.mobile-drawer nav a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.mobile-drawer nav a:hover { color: var(--flame-bright); }
.mobile-drawer__cta { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }

main { padding-top: var(--top-offset); }

/* Hero — text column + photo column */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--top-offset));
  max-height: 50rem;
  overflow: hidden;
  background: var(--cream);
}
.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 3rem 3.5rem max(1.25rem, calc((100vw - 76rem) / 2 + 1.25rem));
  position: relative;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(247, 248, 250, 0.98) 0%,
    rgba(247, 248, 250, 0.96) 78%,
    rgba(247, 248, 250, 0.72) 100%
  );
}
.hero__content .kicker { margin-bottom: 1rem; }
.hero__content .display { margin-bottom: 1.125rem; }
.hero__content .lead { margin-bottom: 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-bottom: 2.25rem; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.hero__trust li { display: flex; flex-direction: column; gap: 0.2rem; }
.trust-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.03em;
}
.trust-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero__trust-link {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.hero__trust-link:hover { opacity: 0.8; }
.hero__trust-link .trust-num { color: var(--flame); }
.hero__visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}
.hero__photo {
  position: absolute;
  inset: 0;
  margin: 0;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 46%;
}
.hero__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 248, 250, 0.5) 0%, transparent 24%),
              linear-gradient(180deg, rgba(10, 37, 64, 0.06) 0%, transparent 40%),
              linear-gradient(180deg, transparent 52%, rgba(10, 37, 64, 0.2) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero__badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 3;
  background: var(--white);
  padding: 1.125rem 1.375rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.875rem;
  border-left: 4px solid var(--flame);
}
.hero__badge img { width: 3.25rem; height: auto; border-radius: 3px; }
.hero__badge strong { display: block; font-size: 0.875rem; font-weight: 700; color: var(--navy); }
.hero__badge span { font-size: 0.75rem; color: var(--ink-soft); }

/* Sections */
.section { padding: 5rem 1.25rem; }
.section--dark { background: var(--navy); color: var(--white); }
.section--cream { background: var(--cream-mid); }
.section__inner { max-width: 76rem; margin: 0 auto; }
.section__head { max-width: 40rem; margin-bottom: 2.75rem; }
.section--dark .display-sm,
.section--dark .kicker { color: var(--white); }
.section--dark .kicker { color: var(--flame-bright); }
.section--dark .lead { color: rgba(255, 255, 255, 0.72); }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--flame);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
  z-index: 1;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(232, 93, 38, 0.2);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card__media {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--cream-mid);
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.service-card:hover .service-card__media img { transform: scale(1.04); }
.service-card__body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.service-card p { font-size: 0.9375rem; color: var(--ink-soft); flex: 1; line-height: 1.6; }
.service-card__link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--flame);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: -0.01em;
  margin-top: auto;
}
.service-card__link::after { content: '→'; transition: transform 0.2s; }
.service-card:hover .service-card__link::after { transform: translateX(4px); }

/* Featured landlord certificate — full-width horizontal card */
.service-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.05) 0%, rgba(30, 77, 115, 0.08) 50%, rgba(232, 93, 38, 0.06) 100%);
  border-color: rgba(10, 37, 64, 0.14);
  border-left: 4px solid var(--navy-soft);
}
.service-card--featured::before { background: var(--navy-soft); }
.service-card--featured .service-card__media {
  aspect-ratio: auto;
  min-height: 12rem;
}
.service-card--featured .service-card__body {
  justify-content: center;
  padding: 2rem 2.25rem;
}
.service-card--featured h3 { font-size: 1.25rem; }

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.why-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.why-visual img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.why-list { display: flex; flex-direction: column; gap: 0; margin-top: 1.75rem; }
.why-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--line);
}
.why-list li:last-child { border-bottom: none; }
.why-list__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--flame-muted);
  color: var(--flame);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.why-list h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}
.why-list p { font-size: 0.875rem; color: var(--ink-soft); line-height: 1.6; }
.why-list p a { color: var(--flame); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.why-list p a:hover { color: var(--navy); }

/* Brands */
.brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 2.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.brands img {
  height: clamp(4.5rem, 12vw, 7.5rem);
  width: auto;
  max-width: min(16rem, 42vw);
  object-fit: contain;
  opacity: 1;
  transition: transform 0.3s;
}
.brands img:hover { transform: scale(1.04); }

/* Areas */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.875rem;
}
.area-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.125rem 1.375rem;
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
}
.area-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  border-color: rgba(232, 93, 38, 0.4);
}
.area-chip strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
}
.area-chip span { font-size: 0.8125rem; opacity: 0.7; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 1.25rem; }
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  position: relative;
  transition: box-shadow 0.3s;
}
.review-card:hover { box-shadow: var(--shadow-sm); }
.review-card::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--flame-muted);
  position: absolute;
  top: 0.25rem;
  left: 1.25rem;
  line-height: 1;
}
.review-card blockquote {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  margin-bottom: 1.125rem;
  padding-top: 1.25rem;
  line-height: 1.65;
}
.review-card cite { font-size: 0.8125rem; font-weight: 700; color: var(--navy); font-style: normal; }
.stars { color: var(--flame); letter-spacing: 2px; margin-bottom: 0.625rem; font-size: 0.875rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 40%;
  height: 200%;
  background: radial-gradient(circle, rgba(232, 93, 38, 0.18) 0%, transparent 70%);
}
.cta-band h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  position: relative;
}
.cta-band p { opacity: 0.8; margin-top: 0.5rem; position: relative; font-size: 0.9375rem; }
.cta-band__actions { display: flex; gap: 0.875rem; flex-shrink: 0; position: relative; flex-wrap: wrap; }
.cta-band .btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.3); }
.cta-band .btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); }

/* Page hero (inner pages) */
.page-hero {
  padding: 3.5rem 1.25rem 2.75rem;
  background: linear-gradient(180deg, var(--header-bg) 0%, var(--navy) 100%);
  color: var(--white);
}
.page-hero__inner { max-width: 76rem; margin: 0 auto; }
.page-hero__inner--split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}
.page-hero__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.page-hero__photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.page-hero .display-sm { margin-bottom: 0.875rem; color: var(--white); }
.page-hero .lead { color: rgba(255, 255, 255, 0.75); }
.page-hero .kicker { color: var(--flame-bright); }
.breadcrumb { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.55); margin-bottom: 1.25rem; }
.breadcrumb a { color: rgba(255, 255, 255, 0.75); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--flame-bright); }

/* Content layout */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 22rem;
  gap: 3rem;
  max-width: 76rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}
.content-main h2 {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--navy);
  margin: 2rem 0 0.875rem;
  letter-spacing: -0.03em;
}
.content-main h3 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1.5rem 0 0.625rem;
  letter-spacing: -0.02em;
}
.content-main p { margin-bottom: 1rem; color: var(--ink-soft); line-height: 1.7; }
.content-main ul { margin: 0 0 1rem 1.25rem; list-style: disc; color: var(--ink-soft); }
.content-main li { margin-bottom: 0.5rem; }
.content-aside { position: sticky; top: calc(var(--top-offset) + 1.25rem); align-self: start; }
.aside-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.aside-card h3 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}
.aside-card .btn { width: 100%; margin-bottom: 0.625rem; }

/* Contact form */
.form-group { margin-bottom: 1.125rem; }
.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--navy);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 0.5rem;
  font: inherit;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--flame);
  box-shadow: 0 0 0 3px var(--flame-muted);
}
.form-group textarea { min-height: 8rem; resize: vertical; }

/* Accordion */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 1.5rem 0; }
.accordion-item + .accordion-item { border-top: 1px solid var(--line); }
.accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 1.125rem 1.375rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  transition: background 0.2s;
}
.accordion-trigger:hover { background: var(--cream); }
.accordion-trigger::after { content: '+'; font-size: 1.25rem; color: var(--flame); font-weight: 400; transition: transform 0.3s; }
.accordion-item.is-open .accordion-trigger::after { transform: rotate(45deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
  background: var(--cream);
}
.accordion-panel__inner { padding: 0 1.375rem 1.125rem; font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.65; }

/* Footer */
.site-footer {
  background: var(--header-bg);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 1.25rem 0;
  border-top: 1px solid var(--line-dark);
}
.site-footer__grid {
  max-width: 76rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.site-footer h3 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.125rem;
}
.site-footer ul li { margin-bottom: 0.55rem; }
.site-footer a { font-size: 0.875rem; transition: color 0.2s; }
.site-footer a:hover { color: var(--flame-bright); }
.site-footer__brand .site-brand { margin-bottom: 0.25rem; }
.site-footer__brand p { font-size: 0.875rem; margin: 1rem 0; max-width: 18rem; line-height: 1.65; }
.site-footer__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.site-footer__trust-item,
.site-footer__trust .which-badge--footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s, border-color 0.2s;
}
.site-footer__trust-item:hover,
.site-footer__trust .which-badge--footer:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}
.site-footer__trust-item img,
.site-footer__trust .which-badge__img {
  border-radius: 4px;
  height: 3.5rem;
  width: auto;
}
.site-footer__trust-item span,
.site-footer__trust .which-badge__meta {
  font-size: 0.75rem;
  font-weight: 600;
  max-width: 9rem;
  line-height: 1.4;
}
.site-footer__contact li { font-size: 0.875rem; }
.site-footer__hours { font-size: 0.8125rem; margin-top: 1rem; opacity: 0.6; }
.site-footer__bar {
  max-width: 76rem;
  margin: 0 auto;
  padding: 1.375rem 0;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.75rem;
  opacity: 0.55;
}
.site-footer__legal { display: flex; flex-direction: column; gap: 0.25rem; }
.site-footer__company { font-size: 0.6875rem; opacity: 0.9; letter-spacing: 0.01em; }

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--flame);
  color: var(--white);
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 8px 28px rgba(232, 93, 38, 0.5);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.sticky-cta:hover { transform: scale(1.04); box-shadow: 0 10px 32px rgba(232, 93, 38, 0.55); }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Outreach page */
.outreach { background: var(--cream); }
.outreach-hero {
  background: linear-gradient(135deg, var(--header-bg) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 4.5rem 1.25rem 3.5rem;
  text-align: center;
}
.outreach-hero .display { color: var(--white); margin-bottom: 1rem; }
.outreach-hero .lead { margin: 0 auto; color: rgba(255, 255, 255, 0.78); }
.outreach-body { max-width: 52rem; margin: 0 auto; padding: 3rem 1.25rem 5rem; }
.outreach-section { margin-bottom: 3.5rem; }
.outreach-section h2 {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.125rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--flame);
  letter-spacing: -0.03em;
}
.issue-list { display: flex; flex-direction: column; gap: 0.875rem; }
.issue-item {
  background: var(--white);
  border-left: 4px solid #dc3545;
  padding: 1.125rem 1.375rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-card);
}
.issue-item strong { display: block; color: var(--navy); margin-bottom: 0.3rem; font-weight: 700; }
.issue-item p { font-size: 0.9375rem; color: var(--ink-soft); }
.fix-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.fix-list li::before { content: '✓'; color: var(--flame); font-weight: 800; flex-shrink: 0; }
.email-copy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  font-size: 0.9375rem;
  line-height: 1.7;
  position: relative;
  white-space: pre-wrap;
}
.copy-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--flame);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.pricing-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 2px solid var(--line);
  text-align: center;
  box-shadow: var(--shadow-card);
}
.pricing-card--featured { border-color: var(--flame); box-shadow: var(--shadow); }
.pricing-card h3 { font-size: 1rem; color: var(--ink-soft); margin-bottom: 0.5rem; font-weight: 600; }
.pricing-card .price {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.03em;
}
.pricing-card .price span { font-size: 1rem; font-family: var(--font-body); font-weight: 500; color: var(--ink-soft); }
.pricing-card p { font-size: 0.875rem; color: var(--ink-soft); margin-top: 1rem; }
.preview-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--flame);
  color: var(--white);
  padding: 0.9rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 700;
  margin-top: 1.5rem;
  transition: transform 0.25s;
}
.preview-link:hover { transform: translateY(-2px); }

/* Work gallery */
.work-gallery { margin-top: 0.5rem; }
.work-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.work-gallery--compact .work-gallery__grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.work-gallery__item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--navy);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.work-gallery__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.work-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.work-gallery__item:hover img { transform: scale(1.04); }
.work-gallery__zoom {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(10, 37, 64, 0.72);
  color: var(--white);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s, transform 0.25s var(--ease);
  pointer-events: none;
}
.work-gallery__item:hover .work-gallery__zoom,
.work-gallery__item:focus-visible .work-gallery__zoom {
  opacity: 1;
  transform: translateY(0);
}
.work-gallery__item:focus-visible {
  outline: 2px solid var(--flame);
  outline-offset: 3px;
}
.work-gallery__credit {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  text-align: center;
}
.work-gallery__credit a {
  color: var(--navy-soft);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.work-gallery__credit a:hover { color: var(--flame); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(8, 13, 18, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox__dialog {
  position: relative;
  max-width: min(56rem, 100%);
  max-height: min(85vh, 100%);
  margin: 0;
}
.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: min(85vh, 100%);
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.lightbox__caption {
  margin-top: 0.875rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}
.lightbox__close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  transition: background 0.2s;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.22); }

/* Responsive */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; max-height: none; }
  .hero__content {
    order: 0;
    padding: 2.5rem 1.25rem;
    background: linear-gradient(
      180deg,
      rgba(247, 248, 250, 0.97) 0%,
      rgba(247, 248, 250, 0.94) 88%,
      rgba(247, 248, 250, 0.72) 100%
    );
  }
  .hero__visual {
    order: 1;
    min-height: 16rem;
    aspect-ratio: 16 / 10;
  }
  .hero__visual::before {
    background: linear-gradient(180deg, rgba(247, 248, 250, 0.4) 0%, transparent 28%),
                linear-gradient(180deg, transparent 55%, rgba(10, 37, 64, 0.16) 100%);
  }
  .hero__badge { left: 1.25rem; bottom: 1.25rem; }
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .content-grid { grid-template-columns: 1fr; }
  .content-aside { position: static; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
  .gas-safe-badge__label { display: none; }
  .which-badge__label { display: none; }
  .work-gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --header-h: 4.75rem;
    --trust-bar-h: 2.25rem;
  }
  .site-nav, .gas-safe-badge, .which-badge--header, .btn--header { display: none; }
  .nav-toggle { display: flex; }
  .site-brand__icon { height: 2.125rem; }
  .site-brand__name { font-size: 0.9375rem; }
  .site-brand__tagline { font-size: 0.625rem; }
  .trust-bar__item:not(.trust-bar__item--highlight):not(:nth-child(2)) { display: none; }
  .trust-bar__inner { justify-content: flex-start; gap: 1.25rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card--featured { grid-template-columns: 1fr; }
  .service-card--featured .service-card__media { min-height: 10rem; aspect-ratio: 16 / 10; }
  .service-card--featured .service-card__body { padding: 1.5rem 1.75rem 1.75rem; }
  .page-hero__inner--split { grid-template-columns: 1fr; }
  .page-hero__photo { max-width: 28rem; }
  .pricing-cards { grid-template-columns: 1fr; }
  .work-gallery__grid,
  .work-gallery--compact .work-gallery__grid { grid-template-columns: 1fr 1fr; gap: 0.625rem; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .sticky-cta span { display: none; }
  .sticky-cta { padding: 1rem; border-radius: 50%; width: 3.5rem; height: 3.5rem; justify-content: center; }
  .section { padding: 3.5rem 1.25rem; }
  .cta-band { padding: 2rem 1.5rem; }
  .cta-band__actions { justify-content: center; }
}
