/* =============================================================================
   HEL Electrical Ltd — Dunedin
   Light, technical, premium. Mobile-first.

   CONTENTS
     01 Tokens
     02 Reset & base
     03 Typography helpers
     04 Buttons, icons, links
     05 Reveal animations
     06 Preloader
     07 Header & navigation
     08 Hero
     09 Trust strip
     10 About
     11 Master Electricians accreditation
     12 Services explorer
     13 Project gallery + lightbox
     14 Why locals call HEL
     15 Testimonials
     16 Service area
     17 FAQ
     18 Contact & opening hours
     19 Footer
     20 Floating UI (back to top, mobile bar)
     21 Reduced motion & print
   ========================================================================== */

/* ---------------------------------------------------------------- 01 Tokens */
:root {
  /* Brand palette sampled from the HEL Electrical logo */
  --navy-900: #08192b;
  --navy-800: #0e2a45;
  --navy-700: #123a5e;
  --navy-600: #18446b;   /* logo navy */
  --blue-600: #1a5f9c;
  --blue-500: #1f6fb2;
  --blue-400: #2e86d0;
  --blue-200: #9cd2fa;
  --blue-050: #eaf3fb;
  --volt: #fef22e;       /* logo yellow */
  --volt-600: #e2cf00;
  --volt-050: #fffbd6;

  --ink: #1b222b;
  --ink-soft: #4a5766;
  --ink-faint: #6c7a8a;
  --line: #dce4ec;
  --line-soft: #e9eef4;
  --mist: #f4f7fa;
  --mist-2: #eef3f8;
  --paper: #ffffff;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(14, 42, 69, .06);
  --shadow-sm: 0 4px 14px rgba(14, 42, 69, .07);
  --shadow: 0 14px 34px -12px rgba(14, 42, 69, .18);
  --shadow-lg: 0 30px 70px -28px rgba(14, 42, 69, .34);

  --font-head: 'Barlow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --hdr-h: 68px;
  --section-y: clamp(4rem, 9vw, 7.5rem);

  --ease: cubic-bezier(.22, .68, .32, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .5s;
}

@media (min-width: 900px) { :root { --hdr-h: 82px; } }

/* ----------------------------------------------------------- 02 Reset/base */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img, svg { max-width: 100%; display: block; }

/* Component rules set display:grid/flex, which would otherwise beat the user
   agent's [hidden] rule and leak un-configured elements onto the page. */
[hidden] { display: none !important; }

/* Icon sprite: defs only, never painted. Kept out of flow without an inline
   style attribute so the Content-Security-Policy can stay strict. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
img { height: auto; }

ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible,
.hero :focus-visible,
.accred :focus-visible,
.why :focus-visible,
.contact :focus-visible,
.ftr :focus-visible,
.lb :focus-visible { outline-color: var(--volt); }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  padding: .7rem 1.1rem;
  background: var(--navy-800); color: #fff;
  border-radius: var(--radius-sm); font-weight: 600;
  transform: translateY(-160%);
  transition: transform .25s var(--ease);
}
.skip-link:focus-visible { transform: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section-y); position: relative; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------- 03 Typography */
.h2, .h3, h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  color: var(--navy-800);
}

.h2 { font-size: clamp(1.95rem, 5.2vw, 3.1rem); }
.h3 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }

.h2--light, .h3--light { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-head);
  font-size: .82rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-600);
  margin: 0 0 1rem;
}
.eyebrow--light { color: var(--volt); }
.eyebrow__dash {
  width: 30px; height: 2px; border-radius: 2px;
  background: currentColor;
  transform-origin: left;
  animation: dashPulse 3.2s var(--ease) infinite;
}
@keyframes dashPulse { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(1.14); opacity: .45; } }

.lede {
  font-size: clamp(1.06rem, 2.1vw, 1.22rem);
  color: var(--ink);
  font-weight: 500;
}

.section__head { max-width: 46rem; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.section__head--wide { max-width: 54rem; }
.section__lede { color: var(--ink-soft); font-size: clamp(1rem, 1.9vw, 1.12rem); }
.section__lede--light { color: rgba(255, 255, 255, .82); }

/* ------------------------------------------------------------- 04 Buttons */
.ico {
  width: 1.25em; height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.ico use { pointer-events: none; }
/* Solid glyphs */
.trust__item svg use[href="#i-bolt"], .social .ico, .fb-card__stars .ico { }
.social .ico { stroke-width: 1.6; }

.btn {
  --btn-bg: var(--navy-700);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px;
  padding: .85rem 1.5rem;
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 700; letter-spacing: .01em;
  text-align: center;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  isolation: isolate;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.btn span { display: inline-flex; flex-direction: column; align-items: center; line-height: 1.2; }
.btn small { font-size: .72rem; font-weight: 500; opacity: .82; letter-spacing: .01em; font-family: var(--font-body); }
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .5) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.985); }

.btn--volt { --btn-bg: var(--volt); --btn-fg: var(--navy-800); }
.btn--volt:hover { --btn-bg: #fff56a; }
.btn--navy { --btn-bg: var(--navy-700); }
.btn--navy:hover { --btn-bg: var(--navy-600); }
.btn--outline {
  --btn-bg: transparent; --btn-fg: var(--navy-700);
  box-shadow: inset 0 0 0 2px var(--line);
}
.btn--outline:hover { --btn-bg: var(--blue-050); box-shadow: inset 0 0 0 2px var(--blue-200), var(--shadow-sm); }
.btn--outline-light {
  --btn-bg: rgba(255, 255, 255, .06); --btn-fg: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28);
}
.btn--outline-light:hover { --btn-bg: rgba(255, 255, 255, .14); }
.btn--glass {
  --btn-bg: rgba(255, 255, 255, .1); --btn-fg: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--glass:hover { --btn-bg: rgba(255, 255, 255, .2); }
.btn--sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .92rem; }
.btn--lg { min-height: 58px; padding: 1rem 1.9rem; font-size: 1.06rem; }
.btn--block { width: 100%; }

.link-call {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  color: var(--navy-700);
  border-bottom: 2px solid var(--volt);
  padding-bottom: 2px;
  transition: color .25s var(--ease), gap .25s var(--ease);
}
.link-call:hover { color: var(--blue-500); gap: .75rem; }

/* -------------------------------------------------------- 05 Reveal anims */
.reveal {
  --rv-y: 26px; --rv-x: 0; --rv-s: 1;
  opacity: 0;
  transform: translate3d(var(--rv-x), var(--rv-y), 0) scale(var(--rv-s));
  transition:
    opacity .75s var(--ease-out) var(--rv-delay, 0s),
    transform .85s var(--ease-out) var(--rv-delay, 0s),
    clip-path .95s var(--ease-out) var(--rv-delay, 0s);
  will-change: opacity, transform;
}
.reveal[data-reveal="left"]  { --rv-y: 0; --rv-x: -34px; }
.reveal[data-reveal="right"] { --rv-y: 0; --rv-x: 34px; }
.reveal[data-reveal="scale"] { --rv-y: 16px; --rv-s: .94; }
.reveal[data-reveal="mask"]  { --rv-y: 20px; clip-path: inset(0 0 100% 0 round var(--radius-lg)); }
.reveal[data-delay="1"] { --rv-delay: .08s; }
.reveal[data-delay="2"] { --rv-delay: .16s; }
.reveal[data-delay="3"] { --rv-delay: .24s; }
.reveal[data-delay="4"] { --rv-delay: .32s; }
.reveal[data-delay="5"] { --rv-delay: .4s; }
.reveal[data-delay="6"] { --rv-delay: .48s; }

.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal[data-reveal="mask"].is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }

/* ----------------------------------------------------------- 06 Preloader */
.preloader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  padding: var(--gutter);
  background:
    radial-gradient(120% 90% at 70% 10%, rgba(46, 134, 208, .38), transparent 62%),
    linear-gradient(160deg, #08192b 0%, #123a5e 55%, #0a2038 100%);
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader.is-instant { transition-duration: .28s; }

.preloader__inner { width: min(560px, 100%); text-align: center; }

.preloader__logo {
  width: min(420px, 78vw); height: auto; margin-inline: auto;
  opacity: .28;
  filter: brightness(.75);
  transition: opacity .5s var(--ease), filter .5s var(--ease);
  animation: plLogo 3s var(--ease) forwards;
}
@keyframes plLogo {
  0%   { opacity: .22; filter: brightness(.6) saturate(.5); }
  55%  { opacity: .35; filter: brightness(.7) saturate(.6); }
  72%  { opacity: 1; filter: brightness(1.5) saturate(1.25) drop-shadow(0 0 22px rgba(254, 242, 46, .55)); }
  86%  { opacity: 1; filter: brightness(1) saturate(1) drop-shadow(0 0 10px rgba(254, 242, 46, .28)); }
  100% { opacity: 1; filter: none; }
}

.preloader__circuit { width: min(420px, 78vw); height: auto; margin: 1.6rem auto .2rem; overflow: visible; }
.pl-trace { fill: none; stroke: rgba(156, 210, 250, .22); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pl-charge {
  fill: none; stroke: var(--volt); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(254, 242, 46, .85));
  stroke-dasharray: 78 620;
  stroke-dashoffset: 700;
  animation: plCharge 2.1s cubic-bezier(.5, .05, .35, 1) forwards;
}
@keyframes plCharge { to { stroke-dashoffset: -80; } }
.pl-node { fill: rgba(156, 210, 250, .5); animation: plNode 1.4s var(--ease) infinite alternate; }
@keyframes plNode { to { fill: var(--volt); } }

.preloader__word {
  margin: .9rem 0 0;
  font-family: var(--font-head); font-size: .8rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255, 255, 255, .58);
}
.preloader__dots i { font-style: normal; opacity: 0; animation: plDot 1.4s infinite; }
.preloader__dots i:nth-child(2) { animation-delay: .18s; }
.preloader__dots i:nth-child(3) { animation-delay: .36s; }
@keyframes plDot { 0%, 60%, 100% { opacity: 0; } 30% { opacity: 1; } }

/* ------------------------------------------------------- 07 Header & nav */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 120;
  transition: background-color .38s var(--ease), box-shadow .38s var(--ease), backdrop-filter .38s var(--ease);
}
.hdr__bar {
  display: flex; align-items: center; gap: 1rem;
  height: var(--hdr-h);
}
.hdr::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(8, 25, 43, .62), rgba(8, 25, 43, 0));
  opacity: 1; transition: opacity .38s var(--ease);
}
.hdr.is-stuck {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 8px 30px -18px rgba(14, 42, 69, .5);
}
.hdr.is-stuck::before { opacity: 0; }

.hdr__pulse {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, transparent, var(--volt) 18%, var(--blue-400) 52%, var(--volt) 84%, transparent);
  transform: scaleX(0); transform-origin: left;
  opacity: 0;
  transition: transform .7s var(--ease-out), opacity .4s var(--ease);
}
.hdr.is-stuck .hdr__pulse { transform: scaleX(1); opacity: .85; }

.hdr__brand { display: block; flex: none; position: relative; }
.hdr__logo { width: clamp(132px, 22vw, 190px); height: auto; transition: opacity .38s var(--ease); }
.hdr__logo--dark { position: absolute; inset: 0; opacity: 0; }
.hdr.is-stuck .hdr__logo--light { opacity: 0; }
.hdr.is-stuck .hdr__logo--dark { opacity: 1; }

.hdr__cta { margin-left: auto; display: none; }
.hdr__nav-cta { display: none; }
.hdr__nav-note { margin: .6rem 0 0; font-size: .82rem; color: var(--ink-faint); text-align: center; }

/* -- burger -- */
.burger {
  margin-left: auto; flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: #fff;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.hdr.is-stuck .burger { color: var(--navy-800); }
.burger:hover { background: rgba(255, 255, 255, .14); }
.hdr.is-stuck .burger:hover { background: var(--mist); }
.burger__box { position: relative; width: 22px; height: 14px; }
.burger__line, .burger__line::before, .burger__line::after {
  position: absolute; left: 0; width: 100%; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .38s var(--ease), opacity .2s var(--ease), width .38s var(--ease);
}
.burger__line { top: 6px; }
.burger__line::before { content: ''; top: -6px; }
.burger__line::after { content: ''; top: 6px; width: 70%; }
.burger[aria-expanded="true"] .burger__line { transform: rotate(45deg); background: currentColor; }
.burger[aria-expanded="true"] .burger__line::before { transform: translateY(6px) rotate(-90deg); }
.burger[aria-expanded="true"] .burger__line::after { opacity: 0; }

/* -- mobile drawer -- */
.hdr__nav {
  position: fixed; inset: var(--hdr-h) 0 auto;
  padding: 1.1rem var(--gutter) 1.6rem;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  transform: translateY(-14px);
  opacity: 0; visibility: hidden;
  transition: opacity .34s var(--ease), transform .38s var(--ease-out), visibility .34s;
  max-height: calc(100dvh - var(--hdr-h) - 12px);
  overflow-y: auto;
}
.hdr__nav.is-open { opacity: 1; visibility: visible; transform: none; }

.hdr__list { display: grid; gap: .1rem; }
.hdr__list a {
  display: flex; align-items: center; gap: .8rem;
  padding: .85rem .4rem;
  font-family: var(--font-head); font-size: 1.12rem; font-weight: 600;
  color: var(--navy-800);
  border-bottom: 1px solid var(--line-soft);
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.hdr__list a::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--volt); opacity: 0; transform: scale(.4);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.hdr__list a:hover, .hdr__list a.is-current { color: var(--blue-500); }
.hdr__list a:hover::before, .hdr__list a.is-current::before { opacity: 1; transform: none; }
.hdr__nav.is-open .hdr__nav-cta { display: block; margin-top: 1.2rem; }
.hdr__nav-cta .btn { width: 100%; }

.nav-scrim {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(8, 25, 43, .5);
  opacity: 0; transition: opacity .34s var(--ease);
}
.nav-scrim.is-on { opacity: 1; }

@media (min-width: 1024px) {
  .burger, .nav-scrim { display: none !important; }
  .hdr__cta { display: inline-flex; }
  .hdr__nav {
    position: static; margin-left: auto; padding: 0;
    background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
    opacity: 1; visibility: visible; transform: none; overflow: visible; max-height: none;
  }
  .hdr__nav .hdr__nav-cta { display: none !important; }
  .hdr__list { display: flex; gap: clamp(.2rem, 1.4vw, 1rem); align-items: center; }
  .hdr__list a {
    position: relative;
    padding: .45rem .55rem;
    font-size: .96rem; font-weight: 600;
    color: rgba(255, 255, 255, .9);
    border: 0;
  }
  .hdr__list a::before { display: none; }
  .hdr__list a::after {
    content: ''; position: absolute; left: .55rem; right: .55rem; bottom: .1rem;
    height: 2px; border-radius: 2px; background: var(--volt);
    transform: scaleX(0); transform-origin: right;
    transition: transform .38s var(--ease-out);
  }
  .hdr__list a:hover::after, .hdr__list a.is-current::after { transform: scaleX(1); transform-origin: left; }
  .hdr__list a:hover, .hdr__list a.is-current { color: #fff; }
  .hdr.is-stuck .hdr__list a { color: var(--ink-soft); }
  .hdr.is-stuck .hdr__list a:hover, .hdr.is-stuck .hdr__list a.is-current { color: var(--navy-800); }
  .hdr__cta { margin-left: clamp(.6rem, 1.6vw, 1.4rem); }
}

/* ---------------------------------------------------------------- 08 Hero */
.hero {
  position: relative;
  min-height: clamp(620px, 100svh, 940px);
  display: flex; flex-direction: column; justify-content: center;
  padding-block: calc(var(--hdr-h) + clamp(3rem, 8vw, 5rem)) clamp(5rem, 10vw, 7rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--navy-900);
}
.hero__bg {
  position: absolute; inset: -12% 0 -12%; z-index: -3;
  /* Hero background. Options already generated in assets/img/:
       hero-pumps.jpg        - process pump installation  (current)
       hero-switchboard.jpg  - motor control centre build
       hero-electrical.svg   - generated abstract circuit artwork
     Swap the filename below to change it; nothing else needs to move. */
  background: url('../img/hero-pumps.jpg') center / cover no-repeat, var(--navy-800);
  will-change: transform;
}
.hero__veil {
  position: absolute; inset: 0; z-index: -2;
  /* Deep enough to keep the logo and headline legible over a detailed photo,
     with an extra pool of shade directly behind the text block. */
  background:
    linear-gradient(180deg, rgba(8, 25, 43, .88) 0%, rgba(8, 25, 43, .72) 38%, rgba(8, 25, 43, .9) 100%),
    radial-gradient(62% 52% at 50% 46%, rgba(8, 25, 43, .58), transparent 78%),
    radial-gradient(75% 60% at 22% 78%, rgba(24, 68, 107, .5), transparent 70%);
}
.hero__circuit { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .5; }
.hero-trace {
  fill: none; stroke: rgba(156, 210, 250, .34); stroke-width: 1.6;
  stroke-dasharray: 1 5; stroke-linecap: round;
  animation: heroFlow 14s linear infinite;
}
.hero-trace--2 { stroke: rgba(254, 242, 46, .3); animation-duration: 19s; animation-direction: reverse; }
@keyframes heroFlow { to { stroke-dashoffset: -120; } }

.hero__inner { position: relative; text-align: center; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0 0 clamp(1.4rem, 4vw, 2.2rem);
  padding: .45rem 1rem .45rem .8rem;
  font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero__ping { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--volt); flex: none; }
.hero__ping::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--volt); opacity: .8;
  animation: ping 2.4s var(--ease-out) infinite;
}
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.1); opacity: 0; } }

.hero__title { margin: 0; display: grid; justify-items: center; gap: clamp(1.2rem, 3.4vw, 2rem); }
.hero__logo {
  width: min(660px, 88vw); height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .45));
}
.hero__headline {
  display: block;
  max-width: 18ch;
  font-family: var(--font-head);
  font-size: clamp(1.85rem, 6.4vw, 3.6rem);
  font-weight: 700; line-height: 1.06; letter-spacing: -.02em;
  color: #fff;
  text-wrap: balance;
}
.hero__lede {
  max-width: 40rem; margin: clamp(1rem, 2.6vw, 1.4rem) auto 0;
  font-size: clamp(1rem, 2.1vw, 1.18rem);
  color: rgba(255, 255, 255, .84);
  text-wrap: pretty;
}
.hero__actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem;
  margin-top: clamp(1.8rem, 4.4vw, 2.6rem);
}
.hero__actions .btn { flex: 1 1 260px; max-width: 340px; }

.hero__scroll {
  display: none;
  position: absolute; left: 50%; bottom: clamp(1.2rem, 3vw, 2.2rem); z-index: 2;
  transform: translateX(-50%);
  display: grid; justify-items: center; gap: .55rem;
  color: rgba(255, 255, 255, .7);
  font-family: var(--font-head); font-size: .7rem; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase;
  transition: color .3s var(--ease);
}
.hero__scroll:hover { color: #fff; }
.hero__scroll-line {
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .5));
  position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ''; position: absolute; left: -1px; width: 3px; height: 14px; border-radius: 3px;
  background: var(--volt); box-shadow: 0 0 10px var(--volt);
  animation: scrollDrop 2.4s var(--ease) infinite;
}
@keyframes scrollDrop { 0% { top: -16px; opacity: 0; } 30% { opacity: 1; } 100% { top: 46px; opacity: 0; } }

@media (min-width: 700px) { .hero__scroll { display: grid; } }

/* -------------------------------------------------------- 09 Trust strip */
.trust {
  position: relative; z-index: 3;
  margin-top: clamp(-3.2rem, -5vw, -2rem);
  padding-inline: 0;
}
.trust__list {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.trust__item {
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  padding: 1.2rem .7rem;
  background: var(--paper);
  text-align: center;
  font-family: var(--font-head); font-weight: 600; font-size: .88rem;
  color: var(--navy-800);
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.trust__item .ico { width: 1.7rem; height: 1.7rem; color: var(--blue-500); transition: color .3s var(--ease), transform .45s var(--ease-out); }
.trust__item:hover { background: var(--blue-050); }
.trust__item:hover .ico { color: var(--navy-700); transform: translateY(-3px) scale(1.08); }

@media (min-width: 640px) { .trust__list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) {
  .trust__list { grid-template-columns: repeat(6, 1fr); }
  .trust__item { padding: 1.6rem .8rem; font-size: .95rem; }
  .trust__item .ico { width: 2rem; height: 2rem; }
}

/* --------------------------------------------------------------- 10 About */
.about { background: var(--paper); }
.about__grid { display: grid; gap: clamp(2.4rem, 6vw, 4.5rem); align-items: center; }

.about__points { display: grid; gap: .6rem; margin: 1.6rem 0 0; }
.about__points li {
  display: flex; align-items: flex-start; gap: .7rem;
  font-weight: 500; color: var(--ink-soft);
}
.about__points .ico {
  width: 1.15rem; height: 1.15rem; margin-top: .34rem;
  color: var(--blue-500); stroke-width: 2.6;
}
.about__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 2rem; }

.about__media { position: relative; }
.about__shot { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.about__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.about__shot:hover img { transform: scale(1.05); }
.about__shot--main { aspect-ratio: 4 / 3; }
.about__shot--sub {
  aspect-ratio: 4 / 3;
  width: 52%;
  margin-top: -18%; margin-left: auto;
  border: 6px solid var(--paper);
  position: relative; z-index: 2;
}
.about__stat {
  position: relative; z-index: 3;
  display: flex; align-items: center; gap: .9rem;
  width: fit-content; max-width: 100%;
  margin-top: -1.6rem;
  padding: .9rem 1.3rem;
  background: var(--navy-800); color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about__stat .ico { width: 1.6rem; height: 1.6rem; color: var(--volt); flex: none; }
.about__stat p { margin: 0; display: grid; line-height: 1.3; }
.about__stat strong { font-family: var(--font-head); font-size: 1.05rem; }
.about__stat span { font-size: .78rem; color: rgba(255, 255, 255, .68); }
.about__glow {
  position: absolute; inset: -18% 0 auto; height: 70%; z-index: -1;
  background: radial-gradient(60% 60% at 60% 40%, rgba(46, 134, 208, .18), transparent 70%);
  filter: blur(10px);
}

@media (min-width: 960px) {
  .about__grid { grid-template-columns: 1.02fr 1fr; }
  .about__shot--main { aspect-ratio: 3 / 4; }
  .about__shot--sub { width: 62%; margin-top: -34%; margin-left: -14%; }
  .about__stat { margin-left: auto; margin-top: 1.4rem; }
}

/* ----------------------------------------- 11 Master Electricians accred. */
.accred {
  position: relative;
  padding-block: clamp(3.4rem, 8vw, 6rem);
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 58%, var(--navy-700) 100%);
  color: rgba(255, 255, 255, .82);
  overflow: hidden;
}
.accred__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(156, 210, 250, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156, 210, 250, .075) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(90% 80% at 30% 40%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(90% 80% at 30% 40%, #000, transparent 78%);
}
.accred__inner { position: relative; display: grid; gap: clamp(2rem, 5vw, 3.6rem); align-items: center; }

.accred__badge {
  position: relative;
  justify-self: center;
  width: min(360px, 100%);
  aspect-ratio: 5 / 3;
  perspective: 1000px;
  border-radius: var(--radius-lg);
  cursor: pointer;
}
.accred__badge-face, .accred__badge-back {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  backface-visibility: hidden;
  transition: transform .8s var(--ease-out), box-shadow .5s var(--ease);
}
.accred__badge-face {
  background: #fff;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .5);
}
.accred__badge-face img { width: min(240px, 78%); height: auto; }
.accred__badge-back {
  transform: rotateY(180deg);
  background: linear-gradient(150deg, var(--volt) 0%, #ffe98a 100%);
  color: var(--navy-800);
  text-align: center;
  display: grid; gap: .7rem; place-content: center; justify-items: center;
}
.accred__badge-back .ico { width: 2.2rem; height: 2.2rem; stroke-width: 1.6; }
.accred__badge-back p { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; line-height: 1.35; }
.accred__badge:hover .accred__badge-face,
.accred__badge:focus-visible .accred__badge-face { transform: rotateY(-180deg); }
.accred__badge:hover .accred__badge-back,
.accred__badge:focus-visible .accred__badge-back { transform: rotateY(0); }

@media (min-width: 900px) {
  .accred__inner { grid-template-columns: minmax(280px, 380px) 1fr; }
}

/* --------------------------------------------------- 12 Services explorer */
.services { background: linear-gradient(180deg, var(--paper) 0%, var(--mist) 42%, var(--mist) 100%); }

.svc-tabs { display: grid; gap: .8rem; margin-bottom: clamp(1.6rem, 4vw, 2.4rem); }
.svc-tab {
  position: relative;
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.2rem;
  text-align: left;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs), inset 0 0 0 1px var(--line);
  overflow: hidden;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease), background-color .35s var(--ease);
}
.svc-tab::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(to bottom, var(--volt), var(--blue-400));
  transform: scaleY(0); transform-origin: top;
  transition: transform .45s var(--ease-out);
}
.svc-tab:hover { transform: translateY(-2px); box-shadow: var(--shadow), inset 0 0 0 1px var(--blue-200); }
.svc-tab.is-active {
  background: var(--navy-800);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--navy-700);
}
.svc-tab.is-active::before { transform: scaleY(1); }

.svc-tab__icon {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--blue-050); color: var(--blue-600);
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .45s var(--ease-out);
}
.svc-tab__icon .ico { width: 1.6rem; height: 1.6rem; }
.svc-tab:hover .svc-tab__icon { transform: rotate(-6deg) scale(1.06); }
.svc-tab.is-active .svc-tab__icon { background: var(--volt); color: var(--navy-800); }

.svc-tab__text { display: grid; gap: .12rem; min-width: 0; }
.svc-tab__title {
  font-family: var(--font-head); font-weight: 700; font-size: 1.08rem;
  color: var(--navy-800); line-height: 1.2;
}
.svc-tab__desc { font-size: .85rem; color: var(--ink-faint); }
.svc-tab.is-active .svc-tab__title { color: #fff; }
.svc-tab.is-active .svc-tab__desc { color: rgba(255, 255, 255, .7); }

.svc-tab__chev {
  margin-left: auto; flex: none;
  width: 1.2rem; height: 1.2rem;
  color: var(--ink-faint);
  transition: transform .4s var(--ease-out), color .3s var(--ease);
}
.svc-tab:hover .svc-tab__chev { transform: translateX(4px); color: var(--blue-500); }
.svc-tab.is-active .svc-tab__chev { color: var(--volt); transform: rotate(90deg); }

@media (min-width: 860px) {
  .svc-tabs { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .svc-tab { flex-direction: column; align-items: flex-start; gap: 1.1rem; padding: 1.5rem 1.4rem; }
  .svc-tab__chev { margin-left: 0; }
  .svc-tab.is-active .svc-tab__chev { transform: rotate(90deg) translateX(2px); }
}

/* -- panels -- */
.svc-panel {
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--line-soft);
  padding: clamp(1.4rem, 4vw, 2.6rem);
}
.svc-panel[hidden] { display: none; }
.svc-panel.is-entering { animation: panelIn .55s var(--ease-out) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.svc-panel__head { display: grid; gap: 1.6rem; margin-bottom: clamp(1.6rem, 4vw, 2.4rem); }
.svc-panel__lede { color: var(--ink-soft); max-width: 46rem; margin: 0; }
.svc-panel__shot {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 10; box-shadow: var(--shadow-sm);
}
.svc-panel__shot img { width: 100%; height: 100%; object-fit: cover; }

.svc-groups { display: grid; gap: .9rem; }
.svc-group {
  padding: 1.15rem 1.2rem;
  background: var(--mist);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease);
}
.svc-group:hover {
  transform: translateY(-3px);
  background: var(--paper);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--blue-200);
}
.svc-group h4 {
  display: flex; align-items: center; gap: .7rem;
  margin: 0 0 .8rem;
  font-size: 1.05rem; letter-spacing: -.005em;
  color: var(--navy-800);
}
.svc-group__ico {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--paper); color: var(--blue-500);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .45s var(--ease-out);
}
.svc-group__ico .ico { width: 1.15rem; height: 1.15rem; }
.svc-group:hover .svc-group__ico { background: var(--navy-800); color: var(--volt); transform: translateY(-2px); }

.svc-group ul { display: grid; gap: .34rem; }
.svc-group li {
  position: relative;
  padding-left: 1.15rem;
  font-size: .94rem; color: var(--ink-soft);
}
.svc-group li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 2px;
  background: var(--volt);
  box-shadow: 0 0 0 1px rgba(226, 207, 0, .4);
  transition: transform .3s var(--ease);
}
.svc-group li:hover::before { transform: rotate(45deg) scale(1.15); }

.svc-panel__foot {
  display: grid; gap: 1rem;
  margin-top: clamp(1.6rem, 4vw, 2.2rem);
  padding-top: clamp(1.4rem, 3vw, 1.8rem);
  border-top: 1px solid var(--line-soft);
}
.svc-panel__foot p { margin: 0; color: var(--ink-soft); font-weight: 500; }

@media (min-width: 700px) {
  .svc-groups { grid-template-columns: repeat(2, 1fr); }
  .svc-panel__foot { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 1024px) {
  .svc-groups { grid-template-columns: repeat(3, 1fr); }
  .svc-groups--two { grid-template-columns: repeat(2, 1fr); }
  .svc-panel__head { grid-template-columns: 1.55fr 1fr; align-items: center; gap: 2.4rem; }
  .svc-panel__shot { aspect-ratio: 1 / 1; }
}

/* ---------------------------------------------- 13 Gallery + lightbox */
.gallery { background: var(--mist); }

.gal-filters {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: clamp(1.4rem, 3.5vw, 2rem);
}
.gal-filter {
  padding: .55rem 1.05rem;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  color: var(--ink-soft);
  background: var(--paper);
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: color .28s var(--ease), background-color .28s var(--ease), box-shadow .28s var(--ease), transform .28s var(--ease);
}
.gal-filter:hover { color: var(--navy-800); transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--blue-200), var(--shadow-sm); }
.gal-filter.is-active {
  color: var(--navy-800); background: var(--volt);
  box-shadow: inset 0 0 0 1px var(--volt-600), var(--shadow-sm);
}

.gal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 14px;
  grid-auto-rows: 8px;              /* JS masonry sets grid-row: span N */
  align-items: start;
}
.gal-grid.no-masonry { grid-auto-rows: auto; }

.gal-tile {
  position: relative;
  display: block; width: 100%;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-800);
  box-shadow: var(--shadow-sm);
  aspect-ratio: var(--ratio, 1.3333);
  opacity: 0; transform: translateY(18px) scale(.98);
  transition: opacity .55s var(--ease-out), transform .6s var(--ease-out), box-shadow .35s var(--ease);
}
.gal-tile.is-in { opacity: 1; transform: none; }
.gal-tile:hover { box-shadow: var(--shadow-lg); }

.gal-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease-out), filter .5s var(--ease);
}
.gal-tile:hover img, .gal-tile:focus-visible img { transform: scale(1.07); }

.gal-tile__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 25, 43, .88) 0%, rgba(8, 25, 43, .25) 45%, rgba(8, 25, 43, 0) 75%);
  opacity: .55;
  transition: opacity .45s var(--ease);
}
.gal-tile:hover .gal-tile__veil, .gal-tile:focus-visible .gal-tile__veil { opacity: 1; }

.gal-tile__meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; gap: .35rem;
  padding: 1rem;
  text-align: left;
  transform: translateY(8px);
  transition: transform .5s var(--ease-out);
}
.gal-tile:hover .gal-tile__meta, .gal-tile:focus-visible .gal-tile__meta { transform: none; }
.gal-tile__label {
  justify-self: start;
  padding: .22rem .6rem;
  font-family: var(--font-head); font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy-800); background: var(--volt);
  border-radius: var(--radius-pill);
}
.gal-tile__cap {
  margin: 0;
  font-size: .9rem; font-weight: 500; line-height: 1.35;
  color: #fff;
  opacity: 0; max-height: 0;
  transition: opacity .4s var(--ease), max-height .45s var(--ease);
}
.gal-tile:hover .gal-tile__cap, .gal-tile:focus-visible .gal-tile__cap { opacity: 1; max-height: 5rem; }
.gal-tile__zoom {
  position: absolute; top: .8rem; right: .8rem;
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fff;
  opacity: 0; transform: scale(.7);
  transition: opacity .35s var(--ease), transform .4s var(--ease-out);
}
.gal-tile__zoom::before, .gal-tile__zoom::after {
  content: ''; position: absolute; background: currentColor; border-radius: 2px;
}
.gal-tile__zoom::before { width: 14px; height: 2px; }
.gal-tile__zoom::after { width: 2px; height: 14px; }
.gal-tile:hover .gal-tile__zoom, .gal-tile:focus-visible .gal-tile__zoom { opacity: 1; transform: none; }

@media (hover: none) {
  .gal-tile__veil { opacity: .85; }
  .gal-tile__cap { opacity: 1; max-height: 5rem; }
  .gal-tile__meta { transform: none; }
}

.gal-empty { text-align: center; color: var(--ink-faint); padding: 2rem 0; }
.gal-more { display: grid; justify-items: center; gap: .7rem; margin-top: clamp(1.6rem, 4vw, 2.4rem); }
.gal-count { margin: 0; font-size: .85rem; color: var(--ink-faint); }

/* -- lightbox -- */
.lb {
  position: fixed; inset: 0; z-index: 250;
  /* minmax(0, 1fr) everywhere down the chain: a plain 1fr keeps its automatic
     minimum, which lets a tall image push the dialog past the viewport. */
  display: grid; grid-template-rows: minmax(0, 1fr);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.lb.is-open { opacity: 1; }
.lb__backdrop {
  position: absolute; inset: 0;
  background: rgba(6, 18, 32, .965);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.lb__shell {
  position: relative;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%; height: 100%; min-height: 0;
  padding: max(.8rem, env(safe-area-inset-top)) var(--gutter) max(.9rem, env(safe-area-inset-bottom));
  gap: .6rem;
}
.lb__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lb__label {
  margin: 0;
  padding: .28rem .8rem;
  font-family: var(--font-head); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy-800); background: var(--volt);
  border-radius: var(--radius-pill);
}
.lb__btn {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
  transition: background-color .28s var(--ease), transform .28s var(--ease);
}
.lb__btn:hover { background: rgba(255, 255, 255, .22); transform: scale(1.06); }
.lb__btn .ico { width: 1.35rem; height: 1.35rem; stroke-width: 2; }

.lb__stage {
  position: relative;
  display: grid; place-items: center;
  min-height: 0;
  touch-action: pan-y;
}
/* The figure needs a definite height, otherwise the image's own max-height:100%
   has nothing to resolve against and the picture overflows the viewport. */
/* Absolutely filling the stage gives the figure a definite height, which is what
   the image's max-height:100% needs in order to clamp instead of overflowing. */
.lb__figure {
  position: absolute; inset: 0;
  margin: 0;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
}
.lb__img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8);
  animation: lbIn .45s var(--ease-out);
}
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lb__nav:hover { transform: translateY(-50%) scale(1.06); }
.lb__nav--prev { left: 0; }
.lb__nav--next { right: 0; }

.lb__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lb__caption { margin: 0; color: rgba(255, 255, 255, .88); font-size: .95rem; }
.lb__count {
  margin: 0; flex: none;
  font-family: var(--font-head); font-weight: 600; font-size: .88rem;
  color: rgba(255, 255, 255, .55);
}

@media (min-width: 900px) {
  .lb__shell { padding: 1.4rem clamp(3.5rem, 7vw, 6rem); gap: 1rem; }
  .lb__nav--prev { left: -.5rem; }
  .lb__nav--next { right: -.5rem; }
  .lb__btn { width: 54px; height: 54px; }
}

/* ------------------------------------------------ 14 Why locals call HEL */
.why {
  position: relative;
  background: linear-gradient(155deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy-800) 100%);
  color: rgba(255, 255, 255, .8);
  overflow: hidden;
}
.why__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(156, 210, 250, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156, 210, 250, .07) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(100% 90% at 70% 20%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(100% 90% at 70% 20%, #000, transparent 80%);
}
.why .wrap { position: relative; }
.why__cards { display: grid; gap: 1rem; }

.why-card {
  position: relative;
  padding: 1.6rem 1.4rem 1.8rem;
  background: rgba(255, 255, 255, .05);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  overflow: hidden;
  transition: transform .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.why-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .09);
  box-shadow: inset 0 0 0 1px rgba(254, 242, 46, .45), 0 24px 50px -26px rgba(0, 0, 0, .8);
}
.why-card__ico {
  position: relative;
  display: grid; place-items: center;
  width: 58px; height: 58px;
  margin-bottom: 1.1rem;
  border-radius: 16px;
  background: rgba(254, 242, 46, .12);
  color: var(--volt);
  transition: transform .5s var(--ease-out), background-color .4s var(--ease);
}
.why-card__ico .ico { width: 1.7rem; height: 1.7rem; }
.why-card:hover .why-card__ico { transform: translateY(-3px) rotate(-8deg); background: rgba(254, 242, 46, .2); }
.why-card__ico-bolt {
  position: absolute; right: 4px; bottom: 4px;
  width: .95rem !important; height: .95rem !important;
  color: var(--blue-200);
  opacity: 0; transform: scale(.5);
  transition: opacity .35s var(--ease), transform .45s var(--ease-out);
}
.why-card:hover .why-card__ico-bolt { opacity: 1; transform: none; }
.why-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: .5rem; }
.why-card p { margin: 0; font-size: .96rem; line-height: 1.6; }
.why-card__trace {
  position: absolute; left: 1.4rem; right: 1.4rem; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--volt), var(--blue-400));
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.why-card:hover .why-card__trace, .why-card.is-in .why-card__trace { transform: scaleX(1); }

@media (min-width: 640px) { .why__cards { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; } }
@media (min-width: 1080px) { .why__cards { grid-template-columns: repeat(4, 1fr); } }

/* -------------------------------------------------------- 15 Testimonials */
.feedback { background: var(--paper); }
.fb { position: relative; }
.fb__viewport { overflow: hidden; border-radius: var(--radius-lg); }
.fb__track {
  display: flex;
  transition: transform .6s var(--ease-out);
  will-change: transform;
}
.fb__slide { flex: 0 0 100%; min-width: 0; padding: .25rem; }

.fb-card {
  height: 100%;
  display: grid; align-content: start; gap: 1rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  background: var(--mist);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.fb-card__quote-ico { width: 2.2rem; height: 2.2rem; color: var(--blue-200); stroke-width: 1.4; }
.fb-card__stars { display: flex; gap: .18rem; color: var(--volt-600); }
.fb-card__stars .ico { width: 1.05rem; height: 1.05rem; fill: var(--volt); stroke: var(--volt-600); stroke-width: 1.2; }
.fb-card blockquote {
  margin: 0;
  font-size: clamp(1.02rem, 2.1vw, 1.2rem);
  line-height: 1.6; color: var(--ink);
  font-weight: 500;
}
.fb-card__who { display: flex; align-items: center; gap: .8rem; margin-top: .3rem; }
.fb-card__avatar {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-800); color: var(--volt);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
}
.fb-card__name { margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--navy-800); line-height: 1.2; }
.fb-card__type { margin: 0; font-size: .85rem; color: var(--ink-faint); }
.fb-card__flag {
  justify-self: start;
  padding: .2rem .6rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #7a5b00; background: var(--volt-050);
  border: 1px dashed var(--volt-600);
  border-radius: var(--radius-pill);
}

.fb__controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.4rem; }
.fb__btn {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: 50%;
  color: var(--navy-800); background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-xs);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background-color .28s var(--ease);
}
.fb__btn:hover { background: var(--volt); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.fb__dots { display: flex; gap: .45rem; }
.fb__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--line);
  transition: background-color .3s var(--ease), transform .3s var(--ease), width .35s var(--ease);
}
.fb__dot.is-active { background: var(--blue-500); width: 26px; border-radius: var(--radius-pill); }

@media (min-width: 820px) { .fb__slide { flex-basis: 50%; } }
@media (min-width: 1180px) { .fb__slide { flex-basis: 33.3333%; } }

/* -------------------------------------------------------- 16 Service area */
.area { background: var(--mist); }
.area__grid { display: grid; gap: clamp(2rem, 5vw, 3.4rem); align-items: center; }
.area__copy p { color: var(--ink-soft); }
.area__copy .lede { color: var(--ink); }
.area__copy strong { color: var(--navy-800); font-weight: 600; }
.area__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.area__panel {
  position: relative;
  padding: clamp(1.4rem, 3.5vw, 2rem);
  background: linear-gradient(150deg, var(--navy-800), var(--navy-600));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.area__panel::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(156, 210, 250, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156, 210, 250, .09) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(80% 80% at 70% 20%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(80% 80% at 70% 20%, #000, transparent 78%);
}
.area__chips-label {
  position: relative;
  margin: 0 0 .7rem;
  font-family: var(--font-head);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--volt);
}
.area__chips-label + .area__chips { margin-bottom: 1.4rem; }
.area__chips:last-of-type { margin-bottom: 0; }
.area__chips { position: relative; display: flex; flex-wrap: wrap; gap: .5rem; }
.area__chips li {
  padding: .48rem .9rem;
  font-family: var(--font-head); font-weight: 600; font-size: .88rem;
  color: rgba(255, 255, 255, .88);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-pill);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), color .3s var(--ease);
}
.area__chips li:hover {
  background: var(--volt); border-color: var(--volt);
  color: var(--navy-800); transform: translateY(-2px);
}
/* Regions and out-of-town centres, styled apart from the Dunedin suburbs so
   Twizel and Christchurch are never read as local neighbourhoods. */
.area__chips--wide li {
  background: transparent;
  border-style: dashed;
  border-color: rgba(254, 242, 46, .38);
  color: var(--volt);
}
.area__chips--wide li:hover {
  background: var(--volt);
  border-style: solid;
  color: var(--navy-800);
}

.area__base {
  position: relative;
  display: flex; align-items: center; gap: .9rem;
  margin-top: 1.4rem; padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.area__base .ico { width: 1.5rem; height: 1.5rem; color: var(--volt); flex: none; }
.area__base p { margin: 0; display: grid; line-height: 1.35; }
.area__base strong { font-family: var(--font-head); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--volt); }
.area__base span { color: rgba(255, 255, 255, .86); font-size: .96rem; }

@media (min-width: 960px) { .area__grid { grid-template-columns: 1.05fr .95fr; } }

/* ----------------------------------------------------------------- 17 FAQ */
.faq { background: var(--paper); }
.faq__grid { display: grid; gap: clamp(2rem, 5vw, 3.6rem); align-items: start; }
.faq__head p { color: var(--ink-soft); }
.faq__head .btn { margin-top: .8rem; }

.faq__list { display: grid; gap: .7rem; }
.faq-item {
  background: var(--mist);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  overflow: hidden;
  transition: box-shadow .35s var(--ease), background-color .35s var(--ease);
}
.faq-item.is-open { background: var(--paper); box-shadow: var(--shadow), inset 0 0 0 1px var(--blue-200); }
.faq-item h3 { margin: 0; font-size: inherit; }
.faq-item__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.2rem;
  text-align: left;
  font-family: var(--font-head); font-size: 1.06rem; font-weight: 600;
  color: var(--navy-800);
  min-height: 60px;
  transition: color .28s var(--ease);
}
.faq-item__q:hover { color: var(--blue-500); }
.faq-item__sign {
  position: relative; flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), transform .4s var(--ease-out);
}
.faq-item__sign::before, .faq-item__sign::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 12px; height: 2px; border-radius: 2px;
  background: var(--navy-700);
  transform: translate(-50%, -50%);
  transition: transform .38s var(--ease-out), background-color .3s var(--ease);
}
.faq-item__sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-item__sign { background: var(--volt); box-shadow: inset 0 0 0 1px var(--volt-600); transform: rotate(180deg); }
.faq-item.is-open .faq-item__sign::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-item__wrap {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease-out);
}
.faq-item.is-open .faq-item__wrap { grid-template-rows: 1fr; }
.faq-item__a { overflow: hidden; }
.faq-item__a p {
  margin: 0;
  padding: 0 1.2rem 1.3rem;
  color: var(--ink-soft);
  opacity: 0; transform: translateY(-6px);
  transition: opacity .35s var(--ease) .06s, transform .4s var(--ease-out) .06s;
}
.faq-item.is-open .faq-item__a p { opacity: 1; transform: none; }

@media (min-width: 960px) { .faq__grid { grid-template-columns: .82fr 1.18fr; } .faq__head { position: sticky; top: calc(var(--hdr-h) + 2rem); } }

/* ------------------------------------------- 18 Contact & opening hours */
.contact {
  position: relative;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 48%, var(--navy-800) 100%);
  color: rgba(255, 255, 255, .82);
  overflow: hidden;
}
.contact__glow {
  position: absolute; inset: -20% -10% auto; height: 80%;
  background: radial-gradient(50% 60% at 76% 24%, rgba(46, 134, 208, .4), transparent 70%);
}
.contact__circuit { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.c-trace {
  fill: none; stroke: rgba(156, 210, 250, .3); stroke-width: 1.5;
  stroke-dasharray: 2 7; stroke-linecap: round;
  animation: heroFlow 16s linear infinite;
}
.c-trace--2 { stroke: rgba(254, 242, 46, .26); animation-duration: 21s; animation-direction: reverse; }
.contact__inner { position: relative; }

.contact__cards { display: grid; gap: 1rem; }
.cc {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: .55rem;
  padding: 1.5rem 1.4rem;
  background: rgba(255, 255, 255, .06);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  transition: transform .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.cc:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24), var(--shadow-lg); }
.cc__ico {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 13px;
  background: rgba(255, 255, 255, .1); color: var(--blue-200);
  transition: transform .45s var(--ease-out), background-color .35s var(--ease), color .35s var(--ease);
}
.cc__ico .ico { width: 1.4rem; height: 1.4rem; }
.cc:hover .cc__ico { transform: rotate(-8deg) scale(1.05); }
.cc__title { margin: .3rem 0 0; font-size: 1.35rem; color: #fff; }
.cc__value { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; line-height: 1.2; }
.cc__value a { color: var(--volt); transition: color .25s var(--ease); }
.cc__value a:hover { color: #fff; }
.cc__value--sm { font-size: 1.06rem; }
.cc__value--sm a { display: grid; color: #fff; }
.cc__value--sm a:hover { color: var(--volt); }
.cc__note { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .64); }
.cc .btn { width: 100%; margin-top: auto; padding-top: 1rem; }

.cc--primary {
  background: rgba(254, 242, 46, .09);
  box-shadow: inset 0 0 0 1.5px rgba(254, 242, 46, .38);
}
.cc--primary:hover { background: rgba(254, 242, 46, .14); box-shadow: inset 0 0 0 1.5px rgba(254, 242, 46, .7), var(--shadow-lg); }
.cc--primary .cc__ico { background: var(--volt); color: var(--navy-800); }
.cc--primary .cc__value { font-size: 1.85rem; }
.cc__badge {
  justify-self: start;
  padding: .24rem .7rem;
  font-family: var(--font-head); font-size: .68rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--navy-800); background: var(--volt);
  border-radius: var(--radius-pill);
}

@media (min-width: 640px) { .contact__cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .contact__cards { grid-template-columns: 1.25fr 1fr 1fr 1fr; align-items: stretch; gap: 1.1rem; }
  /* Keeps "Email HEL Electrical" on a single line in the four-column layout. */
  .cc .btn { font-size: .94rem; padding-inline: 1.05rem; }
}

/* -- hours -- */
.hours {
  margin-top: clamp(1.4rem, 3.5vw, 2rem);
  padding: clamp(1.4rem, 3.5vw, 2rem);
  background: rgba(255, 255, 255, .06);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  display: grid; gap: 1.3rem;
}
.hours__head { display: flex; align-items: center; gap: .9rem; }
.hours__ico {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: 13px;
  background: rgba(255, 255, 255, .1); color: var(--volt);
}
.hours__ico .ico { width: 1.4rem; height: 1.4rem; }
.hours__title { margin: 0; font-size: 1.3rem; color: #fff; }
.hours__status { margin: 0; font-size: .88rem; color: rgba(255, 255, 255, .68); }
.hours__status .dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  margin-right: .45rem; vertical-align: 1px;
  background: #7bd88f; box-shadow: 0 0 0 3px rgba(123, 216, 143, .2);
}
.hours__status.is-shut .dot { background: #ff8b6b; box-shadow: 0 0 0 3px rgba(255, 139, 107, .2); }

.hours__list { display: grid; gap: .4rem; }
.hours__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .8rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .04);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.hours__day { font-family: var(--font-head); font-weight: 600; color: #fff; }
.hours__time { text-align: right; display: grid; color: rgba(255, 255, 255, .8); font-size: .95rem; }
.hours__time small { font-size: .8rem; color: rgba(255, 255, 255, .55); }
.hours__row--closed .hours__time { color: rgba(255, 255, 255, .5); }
.hours__row.is-today {
  background: rgba(254, 242, 46, .12);
  box-shadow: inset 0 0 0 1.5px rgba(254, 242, 46, .4);
}
.hours__row.is-today .hours__day::after {
  content: 'Today';
  margin-left: .6rem;
  padding: .12rem .5rem;
  font-family: var(--font-body); font-size: .66rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy-800); background: var(--volt);
  border-radius: var(--radius-pill);
  vertical-align: 2px;
}

.hours__social { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; padding-top: .3rem; }
.hours__social p { margin: 0; font-family: var(--font-head); font-weight: 600; color: #fff; }

.socials { display: flex; gap: .6rem; }
.social {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  transition: transform .3s var(--ease-out), background-color .3s var(--ease), color .3s var(--ease);
}
.social .ico { width: 1.25rem; height: 1.25rem; }
.social:hover { background: var(--volt); color: var(--navy-800); transform: translateY(-3px) scale(1.05); }

@media (min-width: 860px) {
  .hours { grid-template-columns: minmax(220px, 1fr) 1.5fr; align-items: start; gap: 1.6rem 2.4rem; }
  .hours__head { grid-column: 1; }
  .hours__list { grid-column: 2; grid-row: 1 / span 2; }
  .hours__social { grid-column: 1; align-self: end; }
}

/* -------------------------------------------------------------- 19 Footer */
.ftr {
  position: relative;
  background: var(--navy-900);
  color: rgba(255, 255, 255, .68);
  padding-top: clamp(2.6rem, 6vw, 4rem);
  overflow: hidden;
}
.ftr__circuit {
  position: absolute; inset: 0 0 auto; width: 100%;
  height: clamp(150px, 34%, 260px);
  opacity: .5;
}
.f-trace {
  fill: none; stroke: rgba(156, 210, 250, .3); stroke-width: 1.4; stroke-linecap: round;
  stroke-dasharray: var(--len, 3000); stroke-dashoffset: var(--len, 3000);
  transition: stroke-dashoffset 2.4s var(--ease-out), stroke 1.2s var(--ease);
}
.f-trace--2 { transition-delay: .35s; }
.ftr.is-lit .f-trace { stroke-dashoffset: 0; stroke: rgba(254, 242, 46, .45); }
.ftr.is-lit .f-trace--2 { stroke: rgba(156, 210, 250, .45); }

.ftr__cta-wrap { position: relative; }
.ftr__cta {
  display: grid; gap: 1.2rem;
  padding: clamp(1.5rem, 4vw, 2.2rem);
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .1);
  margin-bottom: clamp(2.4rem, 6vw, 3.6rem);
}
.ftr__cta-title { margin: 0 0 .25rem; color: #fff; font-size: clamp(1.5rem, 3.6vw, 2.1rem); }
.ftr__cta p { margin: 0; color: rgba(255, 255, 255, .74); }

.ftr__grid { position: relative; display: grid; gap: 2.2rem; padding-bottom: clamp(2rem, 5vw, 3rem); }
.ftr__col--brand { display: grid; gap: 1rem; align-content: start; }
.ftr__logo { width: 190px; height: auto; }
.ftr__tag { margin: 0; font-family: var(--font-head); font-weight: 600; color: var(--volt); font-size: .95rem; }
.ftr__address a { transition: color .25s var(--ease); }
.ftr__address a:hover { color: var(--volt); }
.ftr__accred {
  width: 150px; height: auto; margin-top: .4rem;
  padding: .6rem .8rem;
  background: #fff; border-radius: var(--radius-sm);
  opacity: .92; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.ftr__accred:hover { opacity: 1; transform: translateY(-2px); }

.ftr__h {
  margin: 0 0 1rem;
  font-size: .82rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: #fff;
}
.ftr__links { display: grid; gap: .6rem; }
.ftr__links a {
  display: inline-flex; align-items: center; gap: .6rem;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.ftr__links .ico { width: 1.05rem; height: 1.05rem; color: var(--blue-200); flex: none; transition: color .25s var(--ease); }
.ftr__links a:hover { color: #fff; transform: translateX(3px); }
.ftr__links a:hover .ico { color: var(--volt); }
.ftr__links--nav { gap: .5rem; }

.ftr__hours { display: grid; gap: .5rem; }
.ftr__hours li { display: flex; justify-content: space-between; gap: 1rem; font-size: .94rem; }
.ftr__hours span:first-child { font-family: var(--font-head); font-weight: 600; color: rgba(255, 255, 255, .88); }
.ftr__small { margin: .9rem 0 0; font-size: .84rem; color: rgba(255, 255, 255, .5); }

.socials--ftr { margin-top: 1.2rem; }

.ftr__base {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: .4rem 1.6rem;
  padding-block: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .86rem; color: rgba(255, 255, 255, .5);
  padding-bottom: calc(1.3rem + var(--bar-pad, 0px));
}
.ftr__base p { margin: 0; }
.ftr__base-alt { color: rgba(255, 255, 255, .38); }

.ftr__credit { color: rgba(255, 255, 255, .38); }
.ftr__credit a {
  color: rgba(255, 255, 255, .62);
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  padding-bottom: 1px;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.ftr__credit a:hover { color: var(--volt); border-color: var(--volt); }

@media (min-width: 700px) {
  .ftr__cta { grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }
  .ftr__grid { grid-template-columns: repeat(2, 1fr); gap: 2.4rem; }
  .ftr__base { align-items: center; }
}
@media (min-width: 1024px) {
  .ftr__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.6rem; }
}

/* --------------------------------------------------------- 20 Floating UI */
.to-top {
  position: fixed; z-index: 90;
  right: clamp(.9rem, 2.5vw, 1.6rem);
  bottom: calc(clamp(.9rem, 2.5vw, 1.6rem) + var(--bar-pad, 0px));
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy-800);
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(14px) scale(.85);
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .4s var(--ease-out), background-color .3s var(--ease);
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--volt); color: var(--navy-800); }
.to-top .ico { width: 1.35rem; height: 1.35rem; stroke-width: 2.2; position: relative; z-index: 1; }
.to-top__spark {
  position: absolute; inset: -3px; border-radius: 50%;
  border: 1.5px solid var(--volt);
  opacity: 0;
}
.to-top.is-on .to-top__spark { animation: haloPing 3.4s var(--ease-out) infinite; }
@keyframes haloPing { 0% { transform: scale(.94); opacity: .55; } 70%, 100% { transform: scale(1.32); opacity: 0; } }

.mobile-bar {
  position: fixed; z-index: 95;
  left: 0; right: 0; bottom: 0;
  display: flex; gap: .5rem;
  padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 -8px 30px -18px rgba(14, 42, 69, .6);
  border-top: 1px solid var(--line-soft);
  transform: translateY(110%);
  transition: transform .45s var(--ease-out);
}
.mobile-bar.is-on { transform: none; }
body.is-locked .mobile-bar { transform: translateY(110%); }
.mobile-bar__btn {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px;
  padding: .6rem .8rem;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  border-radius: var(--radius-pill);
  transition: transform .25s var(--ease), filter .25s var(--ease);
}
.mobile-bar__btn:active { transform: scale(.97); }
.mobile-bar__btn .ico { width: 1.15rem; height: 1.15rem; }
.mobile-bar__btn--call { background: var(--volt); color: var(--navy-800); }
.mobile-bar__btn--quote { background: var(--navy-800); color: #fff; }

@media (min-width: 768px) { .mobile-bar { display: none; } }

/* -------------------------------------------- 21 Reduced motion & print */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .gal-tile { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero__bg { transform: none !important; }
  .preloader__logo { opacity: 1; filter: none; }
  .f-trace { stroke-dashoffset: 0; }
  .to-top.is-on .to-top__spark { animation: none; opacity: 0; }
}

@media print {
  .hdr, .mobile-bar, .to-top, .preloader, .hero__scroll, .gal-more, .fb__controls, .lb { display: none !important; }
  .hero, .accred, .why, .contact, .ftr { background: #fff !important; color: #000 !important; }
  .hero__logo, .ftr__logo { filter: invert(1); }
  .svc-panel[hidden] { display: block !important; }
  body { font-size: 11pt; }
  a[href^="tel:"]::after, a[href^="mailto:"]::after { content: ' (' attr(href) ')'; font-size: 9pt; }
}
