/* ============================================================
   Simons Electricals — bespoke stylesheet
   ============================================================
   Brand: Midnight #1A1B3D + Voltage #FFD60A + Cream #FAF6EB
   Type:  Bricolage Grotesque (display) + Manrope (body)
   Animation system: Oscilloscope (always contained, never behind text)
   ============================================================ */

/* ===== TOKENS ===== */
:root {
  --midnight: #1A1B3D;
  --midnight-soft: #2A2C5A;
  --voltage:  #FFD60A;
  --voltage-soft: rgba(255,214,10,0.12);
  --cream:    #FAF6EB;
  --paper:    #F8F6EE;
  --ink:      #14143A;
  --muted:    #6E6680;
  --hairline: #E8E2D2;
  --white:    #FFFFFF;

  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body:    'Manrope', system-ui, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --shadow-card: 0 2px 8px rgba(20,20,58,0.04);
  --shadow-lift: 0 12px 28px rgba(20,20,58,0.10);

  --section-pad: 96px;
  --wrap-max:    1200px;
  --wrap-narrow: 760px;

  --header-h:    72px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--body); font-weight: 400;
  color: var(--ink); background: var(--paper);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--midnight); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--voltage); }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--display); font-weight: 700;
  line-height: 1.05; letter-spacing: -0.02em; color: var(--ink);
}
h1 { font-size: clamp(40px, 5.5vw, 72px); }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); }
h4 { font-size: 18px; }

/* ===== LAYOUT ===== */
.wrap        { max-width: var(--wrap-max);    margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: var(--wrap-narrow); margin: 0 auto; padding: 0 32px; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--midnight); margin-bottom: 16px;
}
.section-eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--voltage);
}
.section-head { margin-bottom: 56px; }
.section-head h2 { margin-bottom: 12px; }
.section-head .section-lead {
  font-size: 17px; color: var(--muted); max-width: 600px;
}
.section-head-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 24px; margin-bottom: 56px;
}
.section-head-row .section-eyebrow { margin-bottom: 8px; }
.section-head-link {
  font-size: 15px; font-weight: 600; color: var(--midnight);
  text-decoration: underline; text-decoration-color: var(--voltage);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.section-head-narrow { max-width: 720px; }

/* Reading prose */
.prose p { font-size: 18px; line-height: 1.75; color: var(--ink); margin-bottom: 1.2em; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--midnight); font-weight: 700; }
.prose em { font-style: italic; }
.prose ul, .prose ol { margin: 1em 0 1em 1.4em; }
.prose li { margin-bottom: 0.4em; line-height: 1.7; }

.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--midnight);
  margin-bottom: 24px; letter-spacing: 0.04em;
}
.back-link:hover { color: var(--voltage); }

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  /* When the marketing-site demo bar sets --demo-bar-height (via inline styles
     in the partial), the header sticks below it. On production client sites
     the variable is unset, the fallback `0` kicks in, and the header sticks
     to the very top — no broken behaviour. */
  position: sticky; top: var(--demo-bar-height, 0); z-index: 50;
  background: rgba(248,246,238,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.site-header-inner {
  max-width: var(--wrap-max); margin: 0 auto;
  padding: 0 32px;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.logo-mark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 17px;
  color: var(--midnight); flex-shrink: 0;
}
.logo-mark:hover { color: var(--midnight); }
.logo-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--voltage);
  display: grid; place-items: center; color: var(--midnight);
  flex-shrink: 0;
}
.logo-name { white-space: nowrap; }

.site-nav ul {
  display: flex; gap: 28px; list-style: none;
}
.site-nav a {
  font-size: 15px; font-weight: 500; color: var(--ink);
  padding: 8px 0; position: relative;
}
.site-nav a.is-active {
  color: var(--midnight); font-weight: 600;
}
.site-nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--voltage);
}

.site-header-actions {
  display: flex; align-items: center; gap: 14px;
}
.header-phone {
  display: flex; flex-direction: column; align-items: flex-end;
  font-size: 13px;
}
.header-phone-label { color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.header-phone-number { color: var(--midnight); font-weight: 700; font-size: 15px; }
.header-phone:hover .header-phone-number { color: var(--voltage); }

.nav-toggle {
  display: none; width: 40px; height: 40px;
  flex-direction: column; justify-content: center; gap: 5px;
  align-items: center;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--midnight);
  border-radius: 2px; transition: transform 0.2s, opacity 0.2s;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: var(--r-pill);
  border: 2px solid transparent; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 18px 34px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

.btn-primary { background: var(--voltage); color: var(--midnight); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(255,214,10,0.4); color: var(--midnight); }

.btn-secondary { background: var(--cream); color: var(--midnight); border-color: var(--hairline); }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); color: var(--midnight); }

.btn-ghost { background: transparent; color: var(--midnight); border-color: var(--midnight); }
.btn-ghost:hover { background: var(--midnight); color: var(--cream); }

.btn-dark { background: var(--midnight); color: var(--cream); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(26,27,61,0.35); color: var(--cream); }

/* On dark backgrounds (hero, footer CTA) — adjust ghost */
.hero .btn-ghost,
.footer-cta .btn-ghost,
.ev-lane .btn-ghost,
.service-hero .btn-ghost,
.page-hero .btn-ghost {
  color: var(--cream); border-color: rgba(250,246,235,0.4);
}
.hero .btn-ghost:hover,
.footer-cta .btn-ghost:hover,
.ev-lane .btn-ghost:hover,
.service-hero .btn-ghost:hover,
.page-hero .btn-ghost:hover {
  background: rgba(250,246,235,0.1); border-color: var(--cream); color: var(--cream);
}

/* ============================================================
   FORMS
   ============================================================ */
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label {
  display: block; font-size: 13px; font-weight: 600;
  margin-bottom: 6px; color: var(--ink);
}
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 18px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--hairline); background: var(--white);
  font-family: var(--body); font-size: 15px; color: var(--ink);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--voltage);
  box-shadow: 0 0 0 4px rgba(255,214,10,0.18);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }

/* ============================================================
   OSCILLOSCOPE BACKGROUND SYSTEM
   ============================================================ */
.osc-band {
  position: absolute; left: 0; right: 0; bottom: 0;
  overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 65%, transparent 100%);
  mask-image: linear-gradient(to top, #000 65%, transparent 100%);
}
.osc-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,214,10,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,214,10,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}
.osc-grid::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: rgba(255,214,10,0.18);
}
.osc-svg {
  position: absolute; top: 0; left: 0;
  width: 200%; height: 100%;
  /* On very wide viewports, width:200% makes the trace stretch sparse.
     min-width keeps it dense at 4K-and-above; the loop still works because
     the polyline repeats at viewBox x=1200 = 50% of intrinsic width. */
  min-width: 3200px;
}
.osc-trace {
  fill: none; stroke: var(--voltage); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(255,214,10,0.55));
}
.osc-trace.t1 { animation: scroll-trace 6s linear infinite; }
.osc-trace.t2 {
  opacity: 0.4; stroke-width: 1.5;
  animation: scroll-trace 9s linear infinite;
}
@keyframes scroll-trace {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.osc-cursor {
  position: absolute; right: 8%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, transparent, rgba(255,214,10,0.4), transparent);
}

/* Inline thin trace — for stats blocks */
.stats-trace-wrap {
  position: relative; height: 56px; margin-top: 24px;
  overflow: hidden;
  border-top: 1px solid rgba(255,214,10,0.18);
  border-bottom: 1px solid rgba(255,214,10,0.18);
}
.stats-trace-wrap .osc-svg { width: 200%; height: 100%; }
.stats-trace-wrap .osc-trace.t1 {
  filter: drop-shadow(0 0 3px rgba(255,214,10,0.5));
}

/* ============================================================
   HERO (homepage)
   ============================================================ */
.hero {
  position: relative; background: var(--midnight); color: var(--cream);
  padding: 120px 0 200px; overflow: hidden;
  min-height: 580px;
}
.hero-content { position: relative; z-index: 2; }
/* Homepage hero only — 2-col grid: copy left, square photo right.
   The .page-hero (other pages) keeps its single-column layout. */
.hero-home .hero-content { max-width: var(--wrap-max); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px; align-items: center;
}
.hero-copy { max-width: 620px; }
.hero-photo {
  position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 480px;
  margin-left: auto;
  border-radius: 28px; overflow: hidden;
  background: rgba(255,214,10,0.08);
  box-shadow: 0 24px 64px rgba(0,0,0,0.45),
              0 0 0 1px rgba(255,214,10,0.18) inset;
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(250,246,235,0.85);
  margin-bottom: 24px;
}
.hero-eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--voltage); }
.hero-headline {
  color: var(--cream); font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 24px;
}
.hero-headline em { font-style: normal; color: var(--voltage); }
.hero-sub {
  font-size: clamp(15px, 1.15vw, 17px); line-height: 1.55;
  color: rgba(250,246,235,0.85); max-width: 520px; margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Page hero (smaller, for non-homepage pages) */
.page-hero {
  position: relative; background: var(--midnight); color: var(--cream);
  padding: 88px 0 160px; overflow: hidden;
}
.page-hero .hero-eyebrow { color: rgba(250,246,235,0.85); }
.page-hero .hero-eyebrow::before { background: var(--voltage); }
.page-hero .hero-headline {
  color: var(--cream); font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1; margin-bottom: 20px; letter-spacing: -0.03em;
}
.page-hero .hero-sub {
  font-size: 18px; color: rgba(250,246,235,0.82); max-width: 600px;
}

/* ============================================================
   CERTIFICATIONS BANNER (vertical-specific)
   ============================================================ */
.certifications-banner {
  background: var(--cream);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 56px 0;
}
.certifications-inner {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px;
  align-items: center;
}
.cert-eyebrow {
  display: block; font-family: var(--display); font-weight: 700;
  font-size: 22px; line-height: 1.2; color: var(--midnight);
  letter-spacing: -0.015em; margin-bottom: 8px;
}
.certifications-lead p { font-size: 15px; color: var(--muted); }
.cert-pills {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.cert-pill {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--r-md); padding: 18px 16px; text-align: center;
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
}
.cert-pill-name {
  font-family: var(--display); font-weight: 700; font-size: 14px;
  color: var(--midnight); letter-spacing: -0.01em; line-height: 1.15;
}
.cert-pill-reg {
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   STATS — Editorial mosaic with voltage-spark feature panel.
   Adapted from the plumber demo's stats-mosaic: same grid topology,
   reskinned to the electrician palette (midnight + voltage), and
   the rising bubbles replaced with electrical sparks.
   ============================================================ */
.stats-mosaic {
  background: var(--paper);
  padding: var(--section-pad) 0;
}
.mosaic-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-height: 440px;
}
.mosaic-feature {
  grid-row: 1 / 3;
  background: linear-gradient(135deg, var(--midnight) 0%, #14143A 100%);
  color: var(--cream);
  border-radius: 22px;
  padding: 36px 36px 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
  isolation: isolate;
}
.mosaic-feature-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  /* Push content up so it doesn't overlap the oscilloscope band at the bottom */
  padding-bottom: 8px;
}

/* The osc-band already has its own rules; inside the mosaic feature we just
   need to make sure the band sits behind the text and extends to the panel edges. */
.mosaic-feature .osc-band {
  z-index: 1;
}

/* Feature content sits above the sparks */
.mosaic-eyebrow {
  font-size: 11px; letter-spacing: 0.20em;
  text-transform: uppercase; color: var(--voltage);
  font-weight: 700; position: relative; z-index: 1;
}
.mosaic-feature-value {
  font-family: var(--display);
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 700; color: var(--voltage);
  line-height: 0.9; letter-spacing: -0.04em;
  margin: 16px 0;
  position: relative; z-index: 1;
}
.mosaic-feature-value small {
  font-family: var(--body); font-weight: 500;
  font-size: 0.32em;
  color: rgba(250,246,235,0.85); letter-spacing: 0;
  display: inline-block; vertical-align: middle; margin-left: 8px;
}
.mosaic-feature-desc {
  font-size: 15px; color: rgba(250,246,235,0.85);
  line-height: 1.6; margin: 0 0 20px;
  position: relative; z-index: 1;
}
.mosaic-feature-link {
  font-size: 13px; color: var(--voltage); font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none;
  position: relative; z-index: 1;
}
.mosaic-feature-link:hover { color: var(--cream); }

/* Supporting tiles — white cards with hover lift */
.mosaic-stat {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: 30px 28px;
  display: flex; flex-direction: column; justify-content: center;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1),
              box-shadow 0.3s, border-color 0.3s;
}
.mosaic-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: var(--midnight);
}
.mosaic-stat-value {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(36px, 4vw, 52px);
  color: var(--midnight); line-height: 1;
  letter-spacing: -0.025em; margin-bottom: 10px;
}
.mosaic-stat-label {
  font-size: 12px; color: var(--muted);
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}

/* Responsive — feature spans full width on tablet, then everything stacks */
@media (max-width: 880px) {
  .mosaic-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    min-height: auto;
  }
  .mosaic-feature {
    grid-column: 1 / -1; grid-row: 1;
    padding: 32px 28px 28px;
  }
}
@media (max-width: 480px) {
  .mosaic-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   HOMEPAGE — services overview
   ============================================================ */
.home-services { padding: var(--section-pad) 0; background: var(--paper); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.service-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); overflow: hidden;
  text-decoration: none; color: var(--ink);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lift);
  border-color: var(--midnight); color: var(--ink);
}
.service-card-image {
  aspect-ratio: 16/10; background: var(--midnight); overflow: hidden;
}
.service-card-image img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s;
}
.service-card:hover .service-card-image img { transform: scale(1.04); }
.service-card-body {
  padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1;
}
.service-card-body h3 {
  font-size: 20px; line-height: 1.2; color: var(--midnight); margin-bottom: 4px;
}
.service-card-body p {
  font-size: 14px; color: var(--muted); line-height: 1.55; flex: 1;
}
.card-price {
  display: flex; align-items: baseline; gap: 6px;
  margin-top: 12px;
  font-family: var(--display); color: var(--midnight);
}
.card-price-label {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); font-family: var(--body); font-weight: 500;
}
.card-price-num { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.card-cta {
  display: inline-flex; align-items: center; font-size: 14px; font-weight: 600;
  color: var(--midnight); margin-top: 16px;
  border-bottom: 2px solid var(--voltage); padding-bottom: 2px;
  align-self: flex-start;
  transition: padding 0.2s, border-color 0.2s;
}
.service-card:hover .card-cta,
.cs-card:hover .card-cta {
  color: var(--midnight);             /* stays dark — readable on the white card */
  border-bottom-width: 3px;           /* small thicken so something visibly responds */
  padding-bottom: 3px;
}

/* ============================================================
   EV CHARGER LANE
   ============================================================ */
.ev-lane {
  background: var(--midnight); color: var(--cream);
  padding: var(--section-pad) 0;
}
.ev-lane-inner {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center;
}
.ev-lane-copy .section-eyebrow { color: rgba(250,246,235,0.75); }
.ev-lane-copy .section-eyebrow::before { background: var(--voltage); }
.ev-lane-copy h2 {
  color: var(--cream); font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05; margin-bottom: 20px; letter-spacing: -0.025em;
}
.ev-lane-copy p {
  font-size: 17px; color: rgba(250,246,235,0.85); margin-bottom: 28px;
  max-width: 540px;
}
.ev-lane-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.ev-lane-card {
  background: var(--cream); border-radius: var(--r-lg);
  border: 4px solid var(--voltage);
  position: relative;
}
.ev-lane-card-inner { padding: 32px; color: var(--midnight); }
.ev-lane-card-tag {
  position: absolute; top: -12px; right: 24px;
  background: var(--voltage); color: var(--midnight);
  font-family: var(--display); font-weight: 700; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--r-pill);
}
.ev-lane-card h3 {
  font-size: 26px; color: var(--midnight); margin-bottom: 6px;
}
.ev-lane-card-spec {
  font-size: 14px; color: var(--muted); margin-bottom: 24px;
}
.ev-lane-card-price {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  margin-bottom: 24px; padding-bottom: 24px;
  border-bottom: 1px dashed var(--hairline);
}
.ev-lane-price-label {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.ev-lane-price-num {
  font-family: var(--display); font-weight: 700;
  font-size: 44px; color: var(--midnight); letter-spacing: -0.025em;
  line-height: 1;
}
.ev-lane-price-sub { font-size: 13px; color: var(--muted); }
.ev-lane-card-list {
  list-style: none; margin-bottom: 24px;
}
.ev-lane-card-list li {
  padding-left: 24px; position: relative; font-size: 14px;
  color: var(--ink); margin-bottom: 8px; line-height: 1.5;
}
.ev-lane-card-list li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--voltage); background: var(--midnight);
  width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
  top: 2px;
}

/* ============================================================
   HOMEPAGE — featured case studies (and reused on /our-work)
   ============================================================ */
.home-case-studies { padding: var(--section-pad) 0; background: var(--paper); }
.cs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.cs-grid-full { grid-template-columns: repeat(3, 1fr); }

.cs-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); overflow: hidden;
  text-decoration: none; color: var(--ink);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.cs-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lift);
  border-color: var(--midnight); color: var(--ink);
}
.cs-card-image {
  aspect-ratio: 4/3; background: var(--midnight); overflow: hidden;
}
.cs-card-image img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s;
}
.cs-card:hover .cs-card-image img { transform: scale(1.04); }
.cs-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.cs-card-meta {
  display: flex; gap: 6px; font-size: 12px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px;
  font-weight: 500;
}
.cs-card-dot { color: var(--voltage); }
.cs-card-body h3 {
  font-size: 20px; line-height: 1.2; color: var(--midnight); margin-bottom: 8px;
}
.cs-card-body p {
  font-size: 14px; color: var(--muted); flex: 1; line-height: 1.55;
}
.cs-card-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px;
}
.cs-card-tag {
  font-size: 11px; padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--paper); color: var(--midnight);
  letter-spacing: 0.04em; font-weight: 500;
}

/* ============================================================
   EICR BOOKING (vertical-specific)
   ============================================================ */
.eicr-booking {
  background: var(--cream); padding: var(--section-pad) 0;
  border-top: 1px solid var(--hairline);
}
.eicr-inner { max-width: 960px; margin: 0 auto; text-align: center; }
.eicr-copy .section-eyebrow { justify-content: center; }
.eicr-copy h2 { margin-bottom: 16px; }
.eicr-copy p {
  font-size: 17px; color: var(--muted); max-width: 640px;
  margin: 0 auto 48px;
}
.eicr-pricing {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-bottom: 40px;
}
.eicr-tier {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: 28px 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.eicr-tier-featured {
  background: var(--midnight); color: var(--cream); border-color: var(--midnight);
  position: relative;
}
.eicr-tier-featured::before {
  content: "Most booked"; position: absolute; top: -10px; left: 50%;
  transform: translateX(-50%);
  background: var(--voltage); color: var(--midnight);
  font-family: var(--display); font-weight: 700; font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--r-pill);
  white-space: nowrap;
}
.eicr-tier-label {
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.eicr-tier-featured .eicr-tier-label { color: rgba(250,246,235,0.75); }
.eicr-tier-price {
  font-family: var(--display); font-weight: 700;
  font-size: 36px; color: var(--midnight); letter-spacing: -0.02em;
  line-height: 1; display: flex; align-items: baseline; gap: 8px; justify-content: center;
}
.eicr-tier-featured .eicr-tier-price { color: var(--voltage); }
.eicr-tier-price .from, .eicr-tier-price .quote {
  font-size: 13px; font-family: var(--body); font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.eicr-tier-featured .eicr-tier-price .from,
.eicr-tier-featured .eicr-tier-price .quote { color: rgba(250,246,235,0.7); }
.eicr-tier-detail { font-size: 13px; color: var(--muted); }
.eicr-tier-featured .eicr-tier-detail { color: rgba(250,246,235,0.75); }
.eicr-cta-row {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.home-reviews { padding: var(--section-pad) 0; background: var(--paper); }
.home-reviews .section-head { text-align: center; }
.home-reviews .section-eyebrow { justify-content: center; }
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.review-card {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.review-card-featured { border-color: var(--voltage); }
.review-rating {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.stars { color: var(--voltage); font-size: 18px; letter-spacing: 0.05em; }
.review-source {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.review-body {
  font-size: 16px; line-height: 1.55; color: var(--ink);
  font-style: normal; flex: 1;
}
.review-body::before { content: "\201C"; color: var(--voltage); font-size: 28px; line-height: 0; vertical-align: -0.3em; margin-right: 4px; font-family: var(--display); }
.review-body::after  { content: "\201D"; color: var(--voltage); font-size: 28px; line-height: 0; vertical-align: -0.3em; margin-left: 4px;  font-family: var(--display); }
.review-meta {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline;
  font-size: 13px; color: var(--muted);
  border-top: 1px solid var(--hairline); padding-top: 14px;
}
.review-meta cite {
  font-style: normal; font-weight: 600; color: var(--midnight);
}
.review-location::before { content: "·"; margin-right: 8px; color: var(--voltage); }
.review-date {
  margin-left: auto; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
}

/* ============================================================
   AREAS STRIP / chips
   ============================================================ */
.areas-strip {
  padding: 32px 0; background: var(--paper);
  border-top: 1px solid var(--hairline);
}
.areas-strip .wrap {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.areas-strip-label {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; flex-shrink: 0;
}
.areas-strip-chips, .contact-area-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.area-chip {
  font-size: 13px; padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--white); border: 1px solid var(--hairline);
  color: var(--ink); font-weight: 500;
}

/* ============================================================
   FOOTER CTA
   ============================================================ */
.footer-cta {
  position: relative; background: var(--midnight); color: var(--cream);
  overflow: hidden; min-height: 360px;
  display: flex; align-items: center;
}
.footer-cta-inner {
  position: relative; z-index: 2;
  max-width: var(--wrap-max); margin: 0 auto;
  padding: 88px 32px;
  width: 100%;
}
.footer-cta-content { max-width: 720px; }
.footer-cta h2 {
  color: var(--cream); font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05; margin-bottom: 16px; letter-spacing: -0.025em;
}
.footer-cta p {
  font-size: 17px; color: rgba(250,246,235,0.82);
  margin-bottom: 32px; max-width: 560px;
}
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: #0F1029; color: rgba(250,246,235,0.85);
  padding-top: 72px;
}
.site-footer-inner {
  max-width: var(--wrap-max); margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 56px;
}
.footer-col h4 {
  color: var(--cream); font-size: 14px; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 20px; font-weight: 600;
  font-family: var(--body);
}
.footer-col p { font-size: 15px; margin-bottom: 8px; line-height: 1.6; }
.footer-col a { color: var(--cream); }
.footer-col a:hover { color: var(--voltage); }
.footer-brand .logo-mark { color: var(--cream); }
.footer-brand .logo-name { color: var(--cream); }
.footer-tagline {
  margin-top: 14px; margin-bottom: 16px;
  font-size: 14px; color: rgba(250,246,235,0.7);
}
.footer-accreds {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px;
}
.footer-accred-pill {
  font-size: 11px; padding: 4px 10px; border-radius: var(--r-pill);
  background: rgba(250,246,235,0.08); color: rgba(250,246,235,0.85);
  letter-spacing: 0.04em; font-weight: 500;
}
.footer-hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: 14px; }
.footer-hours dt { color: rgba(250,246,235,0.65); }
.footer-areas { font-size: 14px; line-height: 1.6; }
.footer-social { font-size: 14px; margin-top: 12px; }
.site-footer-meta {
  border-top: 1px solid rgba(250,246,235,0.12);
  max-width: var(--wrap-max); margin: 0 auto; padding: 24px 32px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(250,246,235,0.5);
}


/* ============================================================
   COOKIE CONSENT (canonical Variant A — same pattern as plumber demo)
   ----------------------------------------------------------------
   Markup comes from /partials/cookie-consent.php; this block is the
   per-demo skin. Uses .cc-* classes + #ccBanner / #ccModalOverlay IDs;
   .is-open class toggles visibility; .cc-toggle is a button (not a
   checkbox) styled as a sliding pill.
   Plumber palette → electrician palette mapping:
     dark-blue   → midnight
     sky-blue    → voltage
     paper/white → kept
   ============================================================ */

/* "Cookie settings" link in the footer */
.cc-footer-link {
  background: transparent; border: 0;
  color: rgba(250,246,235,0.6);
  font-family: var(--body); font-size: 13px;
  cursor: pointer; padding: 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.cc-footer-link:hover { color: var(--voltage); }

/* Footer legal links row — Privacy / Terms / Cookie settings */
.footer-legal-links {
  display: inline-flex; align-items: center; gap: 18px;
}
.footer-legal-links a {
  color: rgba(250,246,235,0.6); font-size: 13px;
  text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.footer-legal-links a:hover { color: var(--voltage); }

/* Legal pages — privacy / terms prose */
.legal-page {
  background: var(--paper); padding: var(--section-pad) 0;
}
.legal-page .prose { color: var(--ink); line-height: 1.65; }
.legal-page .prose h2 {
  font-family: var(--display); color: var(--midnight);
  font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em;
  margin: 36px 0 12px;
}
.legal-page .prose h2:first-child { margin-top: 0; }
.legal-page .prose p { margin-bottom: 14px; color: var(--ink); }
.legal-page .prose ul {
  list-style: disc; padding-left: 22px; margin-bottom: 16px;
}
.legal-page .prose li { margin-bottom: 6px; color: var(--ink); }
.legal-page .prose a { color: var(--midnight); text-decoration: underline; }
.legal-page .prose-meta {
  color: var(--muted); font-size: 14px;
  padding-bottom: 16px; margin-bottom: 24px;
  border-bottom: 1px solid var(--hairline);
}
.legal-page .prose strong { color: var(--midnight); font-weight: 600; }

/* Banner — fixed strip at the bottom of the viewport */
.cc-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 1000;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  box-shadow: 0 16px 48px rgba(20,20,58,0.18);
  padding: 24px;
  max-width: 1100px;
  margin: 0 auto;
  display: none;
}
.cc-banner.is-open { display: block; }
.cc-banner-content {
  display: grid; grid-template-columns: 1fr auto;
  gap: 24px; align-items: center;
}
.cc-banner-text strong {
  display: block;
  font-family: var(--display); font-size: 18px;
  color: var(--midnight); margin-bottom: 4px;
}
.cc-banner-text span { font-size: 14px; color: var(--muted); line-height: 1.55; }
.cc-banner-text a { color: var(--midnight); text-decoration: underline; }
.cc-banner-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cc-btn {
  font-family: var(--body); font-weight: 600; font-size: 14px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.cc-btn-customise { background: transparent; color: var(--midnight); border-color: var(--hairline); }
.cc-btn-customise:hover { border-color: var(--midnight); }
.cc-btn-reject { background: var(--white); color: var(--midnight); border-color: var(--midnight); }
.cc-btn-reject:hover { background: var(--paper); }
.cc-btn-accept { background: var(--voltage); color: var(--midnight); }
.cc-btn-accept:hover { box-shadow: 0 6px 18px rgba(255,214,10,0.35); }

/* Modal — full-viewport overlay with centred card */
.cc-modal-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(20, 21, 59, 0.55);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.cc-modal-overlay.is-open { display: flex; }
.cc-modal {
  background: var(--white);
  border-radius: var(--r-lg);
  max-width: 540px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 64px rgba(20,20,58,0.3);
}
.cc-modal-header { padding: 32px 32px 16px; }
.cc-modal-eyebrow {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--midnight-soft);
  font-weight: 700; margin-bottom: 8px;
}
.cc-modal-title {
  font-family: var(--display);
  font-size: 26px; color: var(--midnight); margin-bottom: 12px;
}
.cc-modal-sub { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0; }
.cc-modal-sub a { color: var(--midnight); text-decoration: underline; }
.cc-modal-body { padding: 8px 32px; }
.cc-category {
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
}
.cc-category:last-child { border-bottom: 0; }
.cc-category-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 6px;
}
.cc-category-name { font-weight: 700; color: var(--midnight); font-size: 15px; }
.cc-category-required {
  background: var(--paper); color: var(--muted);
  font-size: 11px; padding: 4px 10px;
  border-radius: var(--r-pill);
  font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.cc-category-desc { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.55; }
.cc-toggle {
  position: relative;
  width: 44px; height: 24px;
  background: var(--hairline); border: 0;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background 0.2s;
}
.cc-toggle::before {
  content: ""; position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  background: var(--white); border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.cc-toggle.is-on { background: var(--voltage); }
.cc-toggle.is-on::before { transform: translateX(20px); }
.cc-modal-footer {
  padding: 20px 32px 32px;
  display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap;
  border-top: 1px solid var(--hairline);
  margin-top: 8px;
}


/* ============================================================
   CASE STUDY DETAIL PAGE
   ============================================================ */
.cs-detail-hero {
  background: var(--paper); padding: 56px 0 80px;
  border-bottom: 1px solid var(--hairline);
}
.cs-detail-meta-top { margin-bottom: 32px; }
.cs-detail-hero-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center;
}
.cs-detail-meta {
  display: flex; gap: 6px; font-size: 12px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
  margin-bottom: 16px;
}
.cs-detail-meta-dot { color: var(--voltage); }
.cs-detail-copy h1 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 16px; line-height: 1.05; }
.cs-detail-brief { font-size: 18px; color: var(--muted); margin-bottom: 24px; }
.cs-detail-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-detail-tag {
  font-size: 12px; padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--midnight); color: var(--cream);
  letter-spacing: 0.06em; font-weight: 500;
}
.cs-detail-tag:hover { background: var(--voltage); color: var(--midnight); }
.cs-detail-hero-image {
  aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.cs-detail-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.cs-detail-narrative { padding: 80px 0; }
.cs-detail-gallery   { padding: 0 0 80px; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.gallery-item {
  aspect-ratio: 4/3; border-radius: var(--r-md); overflow: hidden;
  background: var(--midnight);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
}

.cs-detail-materials { padding: 0 0 80px; }
.materials-heading {
  font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px; font-family: var(--body); font-weight: 600;
}
.materials-list {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--r-md); padding: 8px 24px;
  display: grid; grid-template-columns: 1fr 2fr; row-gap: 0;
}
.materials-list dt, .materials-list dd {
  padding: 16px 0;
  border-top: 1px solid var(--hairline);
}
.materials-list dt:first-of-type, .materials-list dd:first-of-type { border-top: 0; }
.materials-list dt {
  font-size: 13px; color: var(--muted);
  letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
}
.materials-list dd {
  font-family: var(--display); font-weight: 600; color: var(--midnight);
  font-size: 16px;
}

.cs-detail-review { padding: 0 0 80px; }
.cs-detail-related { padding: 80px 0; background: var(--paper); border-top: 1px solid var(--hairline); }

/* ============================================================
   SERVICE DETAIL PAGE
   ============================================================ */
.service-hero {
  position: relative; background: var(--midnight); color: var(--cream);
  padding: 64px 0 120px; overflow: hidden;
}
.service-hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
.service-hero-copy .back-link { color: rgba(250,246,235,0.85); margin-bottom: 16px; }
.service-hero-copy .back-link:hover { color: var(--voltage); }
.service-hero h1 {
  color: var(--cream); font-size: clamp(40px, 5vw, 64px);
  line-height: 1; letter-spacing: -0.03em; margin-bottom: 16px;
}
.service-hero-sub {
  font-size: 18px; color: rgba(250,246,235,0.82); margin-bottom: 24px;
  max-width: 540px;
}
.service-price {
  display: inline-flex; align-items: baseline; gap: 10px;
  margin-bottom: 32px; padding: 12px 20px;
  border: 1.5px solid var(--voltage); border-radius: var(--r-md);
  background: rgba(255,214,10,0.08);
}
.service-price-label {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(250,246,235,0.7);
}
.service-price-num {
  font-family: var(--display); font-weight: 700;
  font-size: 28px; color: var(--voltage); letter-spacing: -0.02em;
}
.service-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.service-hero-image {
  aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden;
}
.service-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.service-description { padding: 80px 0 0; }
.service-included    { padding: 80px 0 0; }
.included-list {
  list-style: none; padding: 0;
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: 12px 28px;
}
.included-list li {
  padding: 16px 0 16px 36px; position: relative;
  border-top: 1px solid var(--hairline); font-size: 16px;
}
.included-list li:first-child { border-top: 0; }
.included-list li::before {
  content: "✓"; position: absolute; left: 0; top: 14px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--voltage); color: var(--midnight);
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.service-faqs { padding: 80px 0; }
.service-faqs h2 { margin-bottom: 32px; }
.faqs-list {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); overflow: hidden;
}
.faq-item { border-top: 1px solid var(--hairline); }
.faq-item:first-child { border-top: 0; }
.faq-item summary {
  padding: 22px 28px; font-family: var(--display); font-weight: 700;
  font-size: 18px; color: var(--midnight); cursor: pointer;
  list-style: none; position: relative;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 24px; line-height: 1;
  color: var(--voltage); transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--voltage); }
.faq-answer {
  padding: 0 28px 22px; color: var(--ink); font-size: 16px; line-height: 1.6;
}
.service-related { padding: 80px 0; background: var(--paper); border-top: 1px solid var(--hairline); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story { padding: 80px 0; }
.about-team {
  padding: var(--section-pad) 0; background: var(--paper);
  border-top: 1px solid var(--hairline);
}
.team-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.team-member {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); overflow: hidden;
}
.team-photo { aspect-ratio: 4/3; background: var(--midnight); overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-body { padding: 32px; }
.team-body h3 { font-size: 26px; margin-bottom: 4px; }
.team-role {
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px; font-weight: 600;
}
.team-quals { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--hairline); }
.team-quals h4 {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px; font-family: var(--body); font-weight: 600;
}
.team-quals ul { list-style: none; padding: 0; }
.team-quals li {
  font-size: 14px; padding: 4px 0 4px 22px; position: relative; color: var(--ink);
}
.team-quals li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 12px; height: 2px;
  background: var(--voltage);
}
.about-accreds { padding: var(--section-pad) 0; }
.accreds-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.accred-card {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: 28px;
}
.accred-card h3 {
  font-size: 22px; color: var(--midnight); margin-bottom: 4px;
}
.accred-reg {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 12px;
}
.accred-desc { font-size: 15px; color: var(--ink); line-height: 1.55; }
.accred-verify {
  display: inline-block; margin-top: 12px;
  font-size: 13px; font-weight: 600;
  border-bottom: 2px solid var(--voltage); padding-bottom: 1px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid-section { padding: 80px 0; }
.contact-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px;
  align-items: flex-start;
}
.contact-form-card {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: 40px;
}
.contact-form-card h2 { font-size: 28px; margin-bottom: 8px; }
.contact-form-sub { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.contact-form-note {
  font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center;
}
.contact-details-card {
  background: var(--midnight); color: var(--cream);
  border-radius: var(--r-lg); padding: 40px;
  position: sticky; top: calc(var(--header-h) + 24px);
}
.contact-details-card h2 { color: var(--cream); font-size: 24px; margin-bottom: 24px; }
.contact-details-card h3 {
  color: var(--cream); font-size: 14px; letter-spacing: 0.12em;
  text-transform: uppercase; font-family: var(--body);
  font-weight: 600; margin-bottom: 12px;
}
.contact-detail-row {
  padding: 16px 0;
  border-top: 1px solid rgba(250,246,235,0.12);
}
.contact-detail-row:first-of-type { border-top: 0; padding-top: 0; }
.contact-detail-label {
  display: block; font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(250,246,235,0.65);
  font-weight: 600; margin-bottom: 4px;
}
.contact-detail-value {
  font-family: var(--display); font-weight: 600;
  font-size: 18px; color: var(--cream); display: block; line-height: 1.4;
}
a.contact-detail-value:hover { color: var(--voltage); }

.contact-hours {
  margin-top: 24px; padding-top: 24px;
  border-top: 1px solid rgba(250,246,235,0.12);
}
.contact-hours dl {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px;
}
.contact-hours dt { color: rgba(250,246,235,0.65); }
.contact-hours dd { color: var(--cream); }

.contact-areas {
  margin-top: 24px; padding-top: 24px;
  border-top: 1px solid rgba(250,246,235,0.12);
}
.contact-area-chips .area-chip {
  background: rgba(250,246,235,0.08); color: var(--cream);
  border-color: rgba(250,246,235,0.2);
}
.contact-areas-note {
  font-size: 13px; color: rgba(250,246,235,0.65);
  margin-top: 12px; line-height: 1.5;
}

.contact-map { padding: 0 0 80px; }
.map-placeholder {
  max-width: var(--wrap-max); margin: 0 auto; padding: 0 32px;
}
.map-placeholder-inner {
  aspect-ratio: 21/9;
  background: var(--midnight); color: var(--cream);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 32px; text-align: center;
}
.map-placeholder-pin { font-size: 36px; margin-bottom: 8px; }
.map-placeholder-inner strong { font-size: 20px; color: var(--cream); }
.map-placeholder-inner span { font-size: 13px; color: rgba(250,246,235,0.65); letter-spacing: 0.06em; text-transform: uppercase; }

/* ============================================================
   /OUR-WORK INDEX
   ============================================================ */
.cs-index { padding: 80px 0; }
.cs-index-meta {
  margin-bottom: 32px; font-size: 13px; color: var(--muted);
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
}

/* /SERVICES INDEX */
.services-index { padding: 80px 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid, .cs-grid, .cs-grid-full, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .accreds-grid { grid-template-columns: 1fr; }
  .cert-pills { grid-template-columns: repeat(2, 1fr); }
  .certifications-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  :root { --section-pad: 64px; }

  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-phone { display: none; }
  /* Hide the desktop "Get a quote" CTA on mobile — it's in the drawer instead */
  .site-header-actions .btn-primary { display: none; }

  /* NOTE: no .demo-bar* rules here. The bar's mobile layout is owned by the
     marketing-site stylesheet so the same forest-green + pill styling renders
     identically across every demo. */

  .hero { padding: 80px 0 160px; min-height: 480px; }
  .hero-actions, .footer-cta-actions, .ev-lane-actions, .eicr-cta-row, .service-hero-actions { gap: 8px; }
  .hero-headline { font-size: clamp(36px, 9vw, 56px); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { max-width: 360px; margin: 0 auto; border-radius: 20px; }

  .ev-lane-inner { grid-template-columns: 1fr; gap: 32px; }
  .cs-detail-hero-grid, .service-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-details-card { position: static; }
  .team-list { grid-template-columns: 1fr; }
  .eicr-pricing { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .materials-list { grid-template-columns: 1fr; row-gap: 0; }
  .materials-list dd { padding-top: 4px; padding-bottom: 16px; border-top: 0; }
  .site-footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .cc-banner-content { grid-template-columns: 1fr; }
  .cc-banner { padding: 20px; }
}

@media (max-width: 560px) {
  .wrap, .wrap-narrow { padding: 0 20px; }
  .services-grid, .cs-grid, .cs-grid-full, .reviews-grid { grid-template-columns: 1fr; }
  .cert-pills { grid-template-columns: 1fr; }
  .contact-form-card, .contact-details-card { padding: 24px; }
  .site-footer-inner { grid-template-columns: 1fr; padding: 0 20px; }
}

/* ============================================================
   MOBILE DRAWER
   ----------------------------------------------------------------
   Pop-out side panel from the right with backdrop.
   Same structural pattern as the plumber demo, retheme to
   midnight + voltage. Hidden by default at every viewport;
   the hamburger only appears below 900px (see media query above).
   ============================================================ */
.mobile-drawer {
  position: fixed; inset: 0;
  /* Sit above the demo bar — the canonical demo-bar partial in some deployments
     uses a high z-index of its own. 9999 is high enough to win without being silly. */
  z-index: 9999;
  visibility: hidden;
  pointer-events: none;
}
.mobile-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}
.mobile-drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(20, 20, 58, 0.55);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-drawer.is-open .mobile-drawer-backdrop { opacity: 1; }

.mobile-drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw);
  background: linear-gradient(180deg, var(--midnight) 0%, #14143A 100%);
  color: var(--cream);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.2,.8,.2,1);
  box-shadow: -10px 0 50px rgba(0,0,0,0.35);
  overflow-y: auto;
}
.mobile-drawer.is-open .mobile-drawer-panel { transform: translateX(0); }

/* Drawer header */
.mobile-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(250,246,235,0.10);
}
.mobile-drawer-head .logo-mark { color: var(--cream); }
.mobile-drawer-head .logo-name { color: var(--cream); }
.mobile-drawer-head .logo-meta {
  display: block;
  font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase;
  color: rgba(250,246,235,0.65);
  margin-top: 4px; font-weight: 500;
}
.mobile-drawer-close {
  background: rgba(250,246,235,0.08);
  border: 1px solid rgba(250,246,235,0.12);
  color: var(--cream);
  width: 40px; height: 40px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.mobile-drawer-close:hover {
  background: rgba(250,246,235,0.14);
  border-color: rgba(255,214,10,0.4);
}

/* Drawer nav */
.mobile-drawer-nav {
  flex: 1;
  display: flex; flex-direction: column;
  padding: 12px 0;
}
.mobile-drawer-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  font-family: var(--display); font-weight: 700; font-size: 22px;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: -0.015em;
  border-left: 3px solid transparent;
  transition: background 0.2s, border-color 0.2s, padding 0.2s;
}
.mobile-drawer-nav a .md-arrow {
  font-size: 18px; color: var(--voltage);
  opacity: 0; transform: translateX(-8px);
  transition: opacity 0.2s, transform 0.2s;
}
.mobile-drawer-nav a:hover,
.mobile-drawer-nav a:focus-visible,
.mobile-drawer-nav a[aria-current="page"] {
  background: rgba(250,246,235,0.04);
  border-left-color: var(--voltage);
  padding-left: 26px;
  outline: none;
}
.mobile-drawer-nav a[aria-current="page"] { color: var(--voltage); }
.mobile-drawer-nav a:hover .md-arrow,
.mobile-drawer-nav a:focus-visible .md-arrow,
.mobile-drawer-nav a[aria-current="page"] .md-arrow {
  opacity: 1; transform: translateX(0);
}

/* Drawer footer */
.mobile-drawer-foot {
  padding: 20px 22px 28px;
  border-top: 1px solid rgba(250,246,235,0.10);
  background: rgba(0,0,0,0.18);
}
.mobile-drawer-status {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  color: #6ef0a3;  /* green status indicator */
  margin-bottom: 14px;
}
.mobile-drawer-status .status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #6ef0a3; box-shadow: 0 0 0 4px rgba(110,240,163,0.15);
}
.mobile-drawer-cta {
  width: 100%; justify-content: center; margin-bottom: 8px;
}
.mobile-drawer-cta:last-of-type { margin-bottom: 14px; }
.mobile-drawer-foot .btn-ghost {
  color: var(--cream); border-color: rgba(250,246,235,0.4);
}
.mobile-drawer-foot .btn-ghost:hover {
  background: rgba(250,246,235,0.08); border-color: var(--cream);
}
.mobile-drawer-meta {
  font-size: 12px; color: rgba(250,246,235,0.65);
  margin: 0; line-height: 1.55; text-align: center;
}

/* Hamburger → X morph */
.nav-toggle span { transition: transform 0.3s cubic-bezier(.2,.8,.2,1), opacity 0.2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .mobile-drawer-panel, .mobile-drawer-backdrop, .nav-toggle span { transition: none !important; }
}
