/* === tokens.css === */
/* ============================================================================
   tokens.css — NSS Electrics design system
   Single source of truth for colour, type, spacing, radius, shadow, motion.
   BRAND GREEN: change --accent (and optionally --accent-deep) once the real
   logo is in hand. It is the ONLY line you need to touch to re-tune the green.
   ========================================================================== */
:root {
  /* ---- Colour -------------------------------------------------------- */
  --bg:           #0a0e0c;            /* near-black, slight green undertone   */
  --surface:      rgba(255,255,255,0.018);
  --surface-2:    #161d19;            /* layered card surface                 */
  --surface-3:    #1c241f;            /* raised / hover surface               */
  --text:         #e8efe9;
  --text-muted:   #9aa8a0;
  --text-dim:     #6f7d75;
  --accent:       #27d675;            /* ◀ PRIMARY GREEN — sampled from the real NSS logo emblem */
  --accent-deep:  #0b8f48;
  --accent-soft:  #8af0b3;
  --accent-glow:  rgba(39,214,117,0.35);
  --accent-faint: rgba(39,214,117,0.10);
  --border:       rgba(255,255,255,0.08);
  --border-2:     rgba(255,255,255,0.04);
  --danger:       #ff5c5c;

  /* ---- Typography ---------------------------------------------------- */
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Fluid type scale (clamp: min, preferred vw, max) */
  --fs-900: clamp(2.6rem, 1.4rem + 5.4vw, 5.25rem);   /* hero display      */
  --fs-800: clamp(2.1rem, 1.3rem + 3.6vw, 3.75rem);   /* page H1           */
  --fs-700: clamp(1.7rem, 1.2rem + 2.3vw, 2.75rem);   /* section heading   */
  --fs-600: clamp(1.35rem, 1.1rem + 1.1vw, 1.85rem);  /* sub heading       */
  --fs-500: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem); /* lead / card title */
  --fs-400: 1.0625rem;                                /* body              */
  --fs-300: 0.9375rem;                                /* small             */
  --fs-200: 0.8125rem;                                /* micro / eyebrow    */

  --lh-tight: 1.04;
  --lh-snug:  1.2;
  --lh-body:  1.65;

  /* ---- Spacing (4 / 8 grid) ----------------------------------------- */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;     --sp-7: 3rem;     --sp-8: 4rem;
  --sp-9: 6rem;     --sp-10: 8rem;

  --section-y: clamp(4rem, 3rem + 6vw, 8rem);
  --container: 1200px;
  --container-narrow: 760px;

  /* ---- Radius -------------------------------------------------------- */
  --r-sm: 8px;  --r-md: 12px;  --r-lg: 16px;  --r-xl: 24px;  --r-pill: 999px;

  /* ---- Shadow / glow ------------------------------------------------- */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.45);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.55);
  --glow-accent: 0 0 0 1px var(--accent-faint), 0 8px 40px var(--accent-glow);

  /* ---- Motion -------------------------------------------------------- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 140ms;
  --t-med:  280ms;
  --t-slow: 520ms;

  --header-h: 76px;
  color-scheme: dark;
}

/* === base.css === */
/* ============================================================================
   base.css — fonts, reset, element defaults, layout primitives, utilities
   ========================================================================== */

/* ---- Self-hosted fonts (Latin subset, variable, swap) ----------------- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/assets/fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2013-2014,
                 U+2018-2019, U+201C-201D, U+2020-2022, U+2026, U+2122;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2013-2014,
                 U+2018-2019, U+201C-201D, U+2020-2022, U+2026, U+2122;
}

/* ---- Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--fs-400);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

img, picture, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---- Typography ------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-snug);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-800); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-700); }
h3 { font-size: var(--fs-600); }
h4 { font-size: var(--fs-500); }
p  { text-wrap: pretty; }
strong { color: var(--text); font-weight: 600; }

.lead { font-size: var(--fs-500); color: var(--text-muted); line-height: 1.55; }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--fs-200);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.text-muted { color: var(--text-muted); }
.accent { color: var(--accent); }

/* ---- Layout primitives ------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.band { background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent 60%), var(--bg); }
.band-2 { background: var(--surface-2); border-block: 1px solid var(--border); }

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.stack > * + * { margin-top: var(--sp-4); }

.section-head { max-width: 680px; margin-bottom: var(--sp-7); }
.section-head .lead { margin-top: var(--sp-4); }
.center { text-align: center; }
.center.section-head { margin-inline: auto; }

/* ---- Accessibility helpers ------------------------------------------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  background: var(--accent); color: #04210f; font-weight: 600;
  padding: 0.6rem 1rem; border-radius: var(--r-sm);
  transition: top var(--t-fast) var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* faint section divider line with centred glow */
.divider-glow { position: relative; height: 1px; background: var(--border); }
.divider-glow::after {
  content: ""; position: absolute; inset: 0; margin-inline: auto; width: 40%;
  background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
}

/* === components.css === */
/* ============================================================================
   components.css — header, nav, buttons, cards, hero, forms, footer, etc.
   ========================================================================== */

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  --btn-bg: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-300);
  letter-spacing: 0.01em; line-height: 1;
  padding: 0.9rem 1.5rem; border-radius: var(--r-pill);
  border: 1px solid var(--border); background: var(--btn-bg);
  color: var(--text); cursor: pointer; position: relative;
  transition: transform var(--t-fast) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out),
              background var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out);
  text-align: center; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; }

.btn--primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  color: #04210f; border-color: transparent;
  box-shadow: 0 6px 20px rgba(39,214,117,0.28), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn--primary:hover { box-shadow: 0 10px 34px rgba(39,214,117,0.42), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn--ghost { background: rgba(255,255,255,0.03); }
.btn--ghost:hover { border-color: var(--accent); box-shadow: var(--glow-accent); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: var(--fs-400); }
.btn--block { width: 100%; }

/* animated underline link */
.link-underline { position: relative; color: var(--accent); font-weight: 600; }
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1.5px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform var(--t-med) var(--ease-out);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---- Header / nav ----------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out),
              backdrop-filter var(--t-med);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(10,14,12,0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav {
  display: flex; align-items: center; gap: var(--sp-5);
  height: var(--header-h);
}
.nav__logo { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.nav__logo svg { width: 34px; height: 34px; }
.nav__logo picture { display: flex; }
.nav__logo-img,
.nav__logo img { height: 38px; width: auto; max-height: 38px; display: block; }
.nav__logo-img--footer, .footer__brand .nav__logo img { height: 46px; max-height: 46px; }
.nav__logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; }
.nav__logo-text span { color: var(--accent); }
@media (max-width: 420px){ .nav__logo-img, .nav__logo img { height: 32px; max-height: 32px; } }

.nav__links { display: flex; align-items: center; gap: 0.35rem; margin-left: auto; }
.nav__link {
  position: relative; padding: 0.55rem 0.85rem; border-radius: var(--r-sm);
  font-size: var(--fs-300); font-weight: 500; color: var(--text-muted);
  transition: color var(--t-fast) var(--ease-out), background var(--t-fast);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--text); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.3rem;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.nav__actions { display: flex; align-items: center; gap: 0.6rem; }
.nav__phone {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 600; font-size: var(--fs-300); padding: 0.5rem 0.5rem;
}
.nav__phone svg { width: 1.05em; height: 1.05em; color: var(--accent); }

/* dropdown */
.nav__item--has-menu { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 0;
  min-width: 250px; padding: 0.5rem; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out), visibility var(--t-fast);
}
.nav__item--has-menu:hover .nav__menu,
.nav__item--has-menu:focus-within .nav__menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__menu a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 0.6rem 0.75rem; border-radius: var(--r-sm);
  font-size: var(--fs-300); color: var(--text-muted);
  transition: background var(--t-fast), color var(--t-fast);
}
.nav__menu a:hover { background: var(--surface-3); color: var(--text); }
.nav__menu a small { color: var(--text-dim); font-size: var(--fs-200); }
/* 2-column dropdown for the full service list */
.nav__menu--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; min-width: 440px; }
.nav__menu--grid .nav__menu-all { grid-column: 1 / -1;
  border-bottom: 1px solid var(--border); border-radius: var(--r-sm) var(--r-sm) 0 0;
  margin-bottom: 2px; padding-bottom: 0.7rem; }
.nav__menu--grid .nav__menu-all strong { color: var(--accent); }

.nav__toggle { display: none; background: none; border: 1px solid var(--border);
  width: 44px; height: 44px; border-radius: var(--r-sm); cursor: pointer; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--text);
  border-radius: 2px; margin-inline: auto; transition: transform var(--t-fast) var(--ease-out), opacity var(--t-fast); }
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after { transform: translateY(4px); }
body.nav-open .nav__toggle span { background: transparent; }
body.nav-open .nav__toggle span::before { transform: rotate(45deg); }
body.nav-open .nav__toggle span::after { transform: rotate(-45deg) translateY(-1.5px); }

@media (max-width: 940px) {
  .nav__toggle { display: grid; place-content: center; order: 3; }
  .nav__links {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0.15rem; margin: 0;
    padding: var(--sp-4) clamp(1.1rem,4vw,2.5rem) var(--sp-6);
    background: rgba(10,14,12,0.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity var(--t-med), transform var(--t-med) var(--ease-out), visibility var(--t-med);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  body.nav-open .nav__links { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .nav__link { padding: 0.85rem 0.5rem; font-size: var(--fs-400); border-bottom: 1px solid var(--border-2); }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__menu {
    position: static; opacity: 1; visibility: visible; transform: none; translate: 0;
    box-shadow: none; border: none; background: transparent; padding: 0 0 0 0.5rem;
    min-width: 0; margin-top: 0.25rem;
  }
  .nav__menu--grid { grid-template-columns: 1fr; min-width: 0; }
  .nav__menu--grid .nav__menu-all { border-bottom: none; padding-bottom: 0.55rem; }
  .nav__menu a { padding: 0.55rem 0.5rem; }
  .nav__actions .nav__phone { display: none; }
}

/* ---- Hero ------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(560px, 86vh, 860px);
  display: grid; align-items: center; padding-block: clamp(3rem, 8vh, 6rem); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
/* hero slideshow (crossfade) */
.hero__slides { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease-in-out); }
.hero__slide.is-active { opacity: 1; }
.hero__slide, .hero__slide picture { display: block; width: 100%; height: 100%; }
.hero__slide-img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
  .hero__slide:not(.is-active) { display: none; }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,14,12,0.86) 0%, rgba(10,14,12,0.55) 36%, rgba(10,14,12,0.12) 66%, rgba(10,14,12,0.25) 100%),
    linear-gradient(180deg, rgba(10,14,12,0.2) 0%, rgba(10,14,12,0.05) 45%, var(--bg) 98%);
}
.hero__inner { max-width: 760px; }
.hero h1 { margin-top: var(--sp-4); font-size: var(--fs-900); }
.hero h1 .accent { display: inline-block; }
.hero__lead { margin-top: var(--sp-5); max-width: 600px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); margin-top: var(--sp-6);
  font-size: var(--fs-300); color: var(--text-muted); }
.hero__meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__meta svg { width: 1em; height: 1em; color: var(--accent); flex-shrink: 0; }

/* ---- Trust strip ------------------------------------------------------ */
.trust-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.trust-strip__item { background: var(--surface-2); padding: var(--sp-5);
  display: flex; align-items: center; gap: 0.85rem; }
.trust-strip__item svg { width: 26px; height: 26px; color: var(--accent); flex-shrink: 0; }
.trust-strip__item strong { display: block; font-family: var(--font-display); font-size: var(--fs-300); }
.trust-strip__item small { color: var(--text-muted); font-size: var(--fs-200); }

/* ---- Cards ------------------------------------------------------------ */
.card {
  position: relative; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--sp-6); overflow: hidden;
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-med), box-shadow var(--t-med);
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, var(--accent-glow), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity var(--t-med);
}
.card:hover { transform: translateY(-4px); border-color: rgba(39,214,117,0.3); box-shadow: var(--shadow-md); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: grid; place-content: center; margin-bottom: var(--sp-4);
  background: var(--accent-faint); border: 1px solid rgba(39,214,117,0.2);
  color: var(--accent);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: var(--fs-500); }
.card p { margin-top: var(--sp-3); color: var(--text-muted); font-size: var(--fs-300); }
.card__link { margin-top: var(--sp-4); display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; font-size: var(--fs-300); color: var(--accent); }
.card__link svg { width: 1em; transition: transform var(--t-fast) var(--ease-out); }
.card:hover .card__link svg { transform: translateX(4px); }

/* ---- Image cards (bg photo, no arrow chrome) -------------------------- */
.img-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 240px; height: 100%; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); padding: var(--sp-5); color: var(--text);
  background: var(--surface-2);
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-med), box-shadow var(--t-med);
}
.img-card--feature { min-height: 300px; }
.img-card--loc { min-height: 200px; }
.img-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  transition: transform var(--t-slow) var(--ease-out); }
.img-card::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,14,12,0.12) 0%, rgba(10,14,12,0.45) 42%, rgba(8,11,9,0.95) 100%); }
.img-card:hover { transform: translateY(-4px); border-color: rgba(39,214,117,0.4); box-shadow: var(--shadow-md); }
.img-card:hover .img-card__img { transform: scale(1.07); }
.img-card__body { position: relative; z-index: 2; }
.img-card__body h3 { font-size: var(--fs-500); line-height: 1.1; }
.img-card__body p { margin-top: var(--sp-2); color: var(--text-muted); font-size: var(--fs-300); }
.img-card__body span { color: var(--text-muted); font-size: var(--fs-300); display: block; margin-top: 2px; }
.img-card__num { position: absolute; top: var(--sp-4); right: var(--sp-5); z-index: 2;
  font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: rgba(255,255,255,0.85);
  text-shadow: 0 2px 12px rgba(0,0,0,0.6); }
.img-card__icon { position: absolute; top: var(--sp-4); left: var(--sp-5); z-index: 2;
  width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-content: center;
  background: rgba(10,14,12,0.55); backdrop-filter: blur(6px); border: 1px solid rgba(39,214,117,0.3);
  color: var(--accent); }
.img-card__icon svg { width: 22px; height: 22px; }
.img-card[href]:focus-visible { outline-offset: -2px; }

/* featured service card (larger) */
.card--feature { padding: var(--sp-7); }
.card--feature .card__num { position: absolute; top: var(--sp-5); right: var(--sp-6);
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700;
  color: rgba(255,255,255,0.05); }

/* ---- Stats / counters ------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: var(--sp-5); }
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-800);
  color: var(--accent); line-height: 1; letter-spacing: -0.03em; }
.stat__label { margin-top: var(--sp-2); color: var(--text-muted); font-size: var(--fs-300); }

/* ---- Split / feature rows -------------------------------------------- */
.split { display: grid; gap: clamp(2rem,5vw,4.5rem); align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.split__media { position: relative; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split--reverse .split__media { order: 2; }
@media (max-width: 720px){ .split--reverse .split__media { order: 0; } }

/* check list */
.check-list { display: grid; gap: var(--sp-3); }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--text-muted); }
.check-list li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: var(--accent-faint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2327d675' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
  border: 1px solid rgba(39,214,117,0.25);
}
.check-list li strong { color: var(--text); }

/* numbered process */
.process { counter-reset: step; display: grid; gap: var(--sp-5); }
.process__item { position: relative; padding-left: 3.4rem; }
.process__item::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -2px; width: 2.4rem; height: 2.4rem;
  display: grid; place-content: center; border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; color: var(--accent);
  background: var(--accent-faint); border: 1px solid rgba(39,214,117,0.25);
}
.process__item h3 { font-size: var(--fs-500); }
.process__item p { color: var(--text-muted); font-size: var(--fs-300); margin-top: 2px; }

/* ---- Testimonials ----------------------------------------------------- */
.quote {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-4); height: 100%;
}
.quote__stars { display: flex; gap: 3px; color: var(--accent); }
.quote__stars svg { width: 18px; height: 18px; }
.quote blockquote { font-size: var(--fs-400); line-height: 1.55; color: var(--text); }
.quote figcaption { margin-top: auto; font-size: var(--fs-300); color: var(--text-muted); }
.quote figcaption strong { color: var(--accent); font-family: var(--font-display); }

/* ---- Gallery ---------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,280px),1fr)); gap: var(--sp-4); }
.gallery__item { position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); aspect-ratio: 4/3; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.gallery__item figcaption {
  position: absolute; inset: auto 0 0 0; padding: var(--sp-5) var(--sp-4) var(--sp-4);
  background: linear-gradient(0deg, rgba(6,9,7,0.92), transparent);
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-300);
  transform: translateY(8px); opacity: 0.85; transition: transform var(--t-med) var(--ease-out), opacity var(--t-med);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover figcaption { transform: none; opacity: 1; }

/* ---- CTA band --------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl);
  border: 1px solid rgba(39,214,117,0.22);
  background: radial-gradient(120% 140% at 80% 0%, rgba(39,214,117,0.14), transparent 55%), var(--surface-2);
  padding: clamp(2.5rem,5vw,4.5rem); text-align: center; }
.cta-band h2 { font-size: var(--fs-700); }
.cta-band p { max-width: 560px; margin: var(--sp-4) auto 0; color: var(--text-muted); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; margin-top: var(--sp-6); }

/* ---- FAQ -------------------------------------------------------------- */
.faq { display: grid; gap: var(--sp-3); max-width: 820px; }
.faq__item { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.faq__item summary {
  cursor: pointer; list-style: none; padding: var(--sp-5);
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-400);
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex-shrink: 0; width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2327d675' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform var(--t-med) var(--ease-out);
}
.faq__item[open] summary::after { transform: rotate(135deg); }
.faq__item .faq__body { padding: 0 var(--sp-5) var(--sp-5); color: var(--text-muted); }

/* ---- Breadcrumbs ------------------------------------------------------ */
.breadcrumb { padding-top: var(--sp-6); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: var(--fs-200); color: var(--text-dim); }
.breadcrumb li { display: flex; align-items: center; gap: 0.4rem; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: var(--text-dim); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current="page"] { color: var(--text-muted); }

/* ---- Page hero (interior pages) -------------------------------------- */
.page-hero { position: relative; padding-block: clamp(2.5rem,6vw,4.5rem) clamp(2rem,4vw,3rem); overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(80% 120% at 85% -10%, rgba(39,214,117,0.10), transparent 50%);
}
.page-hero h1 { margin-top: var(--sp-4); max-width: 18ch; }
.page-hero .lead { margin-top: var(--sp-4); max-width: 60ch; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }

/* media variant — real photo behind a readability scrim (text stays AA+) */
.page-hero--media { isolation: isolate; min-height: clamp(320px, 42vw, 460px);
  display: grid; align-items: center; padding-block: clamp(3rem,6vw,5rem); }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero__scrim { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(10,14,12,0.9) 0%, rgba(10,14,12,0.62) 38%, rgba(10,14,12,0.12) 68%, rgba(10,14,12,0.28) 100%),
  linear-gradient(180deg, rgba(10,14,12,0.25) 0%, rgba(10,14,12,0.05) 45%, var(--bg) 99%); }

/* pill tags */
.tag-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.tag { font-size: var(--fs-200); font-weight: 600; padding: 0.35rem 0.8rem; border-radius: var(--r-pill);
  background: var(--accent-faint); color: var(--accent-soft); border: 1px solid rgba(39,214,117,0.2); }

/* ---- Forms ------------------------------------------------------------ */
.form { display: grid; gap: var(--sp-4); }
.form__row { display: grid; gap: var(--sp-4); grid-template-columns: 1fr 1fr; }
@media (max-width: 540px){ .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: var(--fs-300); font-weight: 600; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 0.8rem 0.9rem; color: var(--text); font-size: var(--fs-300);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-faint);
}
.field input:user-invalid, .field textarea:user-invalid {
  border-color: var(--danger);
}
.field .error { color: var(--danger); font-size: var(--fs-200); min-height: 1em; }
.field--consent { flex-direction: row; align-items: flex-start; gap: 0.6rem; }
.field--consent input { width: auto; margin-top: 0.2rem; flex-shrink: 0; }
.field--consent label { font-weight: 400; font-size: var(--fs-300); color: var(--text-muted); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: var(--fs-300); border-radius: var(--r-sm); padding: 0; }
.form__status.is-success { padding: var(--sp-4); background: var(--accent-faint);
  border: 1px solid rgba(39,214,117,0.3); color: var(--accent-soft); }
.form__status.is-error { padding: var(--sp-4); background: rgba(255,92,92,0.1);
  border: 1px solid rgba(255,92,92,0.3); color: #ffb3b3; }

/* contact methods sidebar */
.contact-methods { display: grid; gap: var(--sp-4); }
.contact-method { display: flex; gap: var(--sp-4); align-items: flex-start;
  padding: var(--sp-5); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); }
.contact-method svg { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; }
.contact-method strong { display: block; font-family: var(--font-display); }
.contact-method a { color: var(--accent); font-weight: 600; }
.contact-method small { color: var(--text-muted); display: block; }

/* ---- Map embed -------------------------------------------------------- */
.map-embed { position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); background: var(--surface-2); }
.map-embed iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; filter: grayscale(0.25) contrast(1.05); }

/* ---- Areas list ------------------------------------------------------- */
.area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,220px),1fr)); gap: var(--sp-4); }
.area-card { display: flex; flex-direction: column; gap: 0.35rem;
  padding: var(--sp-5); background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-md); transition: border-color var(--t-med), transform var(--t-med) var(--ease-out); }
.area-card:hover { transform: translateY(-3px); border-color: rgba(39,214,117,0.3); }
.area-card strong { font-family: var(--font-display); font-size: var(--fs-500); }
.area-card span { color: var(--text-muted); font-size: var(--fs-300); }
.area-card .area-card__go { margin-top: var(--sp-2); color: var(--accent); font-size: var(--fs-200); font-weight: 600; }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: linear-gradient(180deg, transparent, rgba(0,0,0,0.3)); border-top: 1px solid var(--border);
  padding-block: var(--sp-8) var(--sp-6); margin-top: var(--sp-8); }
.footer__grid { display: grid; gap: var(--sp-7); grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
@media (max-width: 860px){ .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .footer__grid { grid-template-columns: 1fr; } }
.footer__brand p { color: var(--text-muted); font-size: var(--fs-300); margin-top: var(--sp-4); max-width: 30ch; }
.footer__col__title { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-300); text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: var(--sp-4); }
.footer__col ul { display: grid; gap: 0.6rem; }
.footer__col a { color: var(--text-muted); font-size: var(--fs-300); transition: color var(--t-fast); }
.footer__col a:hover { color: var(--accent); }
.footer__contact { display: grid; gap: 0.6rem; font-size: var(--fs-300); color: var(--text-muted); }
.footer__contact a { color: var(--text); font-weight: 600; }
.footer__socials { display: flex; gap: 0.6rem; margin-top: var(--sp-4); }
.footer__socials a { width: 40px; height: 40px; display: grid; place-content: center;
  border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text-muted);
  transition: color var(--t-fast), border-color var(--t-fast), transform var(--t-fast); }
.footer__socials a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.footer__socials svg { width: 18px; height: 18px; }
.footer__bottom { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); justify-content: space-between;
  font-size: var(--fs-200); color: var(--text-dim); }
.footer__bottom a { color: var(--text-muted); }
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

/* ---- Sticky mobile call bar ------------------------------------------ */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom);
}
.callbar a { display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-300);
  background: rgba(10,14,12,0.96); backdrop-filter: blur(8px); }
.callbar a svg { width: 1.1em; height: 1.1em; }
.callbar a.is-primary { background: linear-gradient(180deg, var(--accent), var(--accent-deep)); color: #04210f; }
.callbar a.is-call { color: var(--text); }
@media (max-width: 720px){ .callbar { display: grid; } body { padding-bottom: 60px; } }

/* 404 */
.error-page { min-height: 70vh; display: grid; place-content: center; text-align: center; gap: var(--sp-5); }
.error-page .code { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem,18vw,11rem);
  line-height: 1; color: var(--accent); letter-spacing: -0.04em; }
.error-page .code span { color: var(--text); }

/* === animations.css === */
/* ============================================================================
   animations.css — scroll reveals, micro-motion, page transitions.
   EVERYTHING here is disabled / made instant under prefers-reduced-motion.
   ========================================================================== */

/* ---- Scroll reveal (JS adds .is-visible via IntersectionObserver) ----- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-26px); }
[data-reveal="right"] { transform: translateX(26px); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* staggered children: set --i index inline or via JS */
[data-reveal-stagger] > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
[data-reveal-stagger].is-visible > * { opacity: 1; transform: none; }

/* ---- Hero text intro -------------------------------------------------- */
.hero__inner > * { animation: heroIn 800ms var(--ease-out) both; }
.hero__inner > *:nth-child(1) { animation-delay: 60ms; }
.hero__inner > *:nth-child(2) { animation-delay: 160ms; }
.hero__inner > *:nth-child(3) { animation-delay: 260ms; }
.hero__inner > *:nth-child(4) { animation-delay: 360ms; }
.hero__inner > *:nth-child(5) { animation-delay: 460ms; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---- Accent glow line (section dividers) ------------------------------ */
@keyframes shimmer { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }
.divider-glow::after { animation: shimmer 6s ease-in-out infinite; }

/* ---- Logo bolt pulse -------------------------------------------------- */
.nav__logo .bolt { filter: drop-shadow(0 0 0 transparent); transition: filter var(--t-med); }
.nav__logo:hover .bolt { filter: drop-shadow(0 0 6px var(--accent-glow)); }
@keyframes boltFlow { 0% { stroke-dashoffset: 120; } 100% { stroke-dashoffset: 0; } }

/* ---- Pulse dot (same-day response) ------------------------------------ */
.pulse-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); display: inline-block; }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent);
  animation: pulse 2.2s var(--ease-out) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 70%,100% { transform: scale(3); opacity: 0; } }

/* ---- Button shine on hover -------------------------------------------- */
.btn--primary::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; overflow: hidden;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  background-size: 220% 100%; background-position: 150% 0;
  opacity: 0; transition: opacity var(--t-fast);
}
.btn--primary:hover::after { opacity: 1; animation: shine 900ms var(--ease-out); }
@keyframes shine { to { background-position: -80% 0; } }

/* ---- Scroll-down cue -------------------------------------------------- */
.scroll-cue { position: absolute; left: 50%; bottom: 1.6rem; translate: -50% 0;
  width: 26px; height: 42px; border: 1.5px solid var(--border); border-radius: 14px;
  display: grid; justify-items: center; padding-top: 7px; z-index: 1; }
.scroll-cue::before { content: ""; width: 3px; height: 8px; border-radius: 3px; background: var(--accent);
  animation: scrollCue 1.8s var(--ease-in-out) infinite; }
@keyframes scrollCue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---- Marquee (counties ticker) ---------------------------------------- */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: var(--sp-7); width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-500);
  color: var(--text-dim); display: inline-flex; align-items: center; gap: var(--sp-7); white-space: nowrap; }
.marquee__track span::after { content: "•"; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- View Transitions (page nav) -------------------------------------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 220ms var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in 320ms var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in  { from { opacity: 0; transform: translateY(10px); } }

/* ============================================================================
   REDUCED MOTION — calm static fallback for all of the above
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], [data-reveal-stagger] > *, .hero__inner > * { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
  .scroll-cue, .pulse-dot::after { display: none; }
  @view-transition { navigation: none; }
}
