/* ==========================================================================
   PHOENIX PRIME ELECTRIC — Design System stylesheet v1.0
   Full visual rebuild. Mobile-first. Built on the tokens in DESIGN_SYSTEM.md.
   Owned by the design foundation agent — do NOT edit in page agents.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand — navy scale */
  --navy-950: #04101f;
  --navy-900: #081527;
  --navy-800: #0a1a2b;
  --navy-700: #122c44;
  --navy-600: #1b3d5f;
  --navy-500: #2e4a6b;

  /* Brand — ember scale */
  --amber-300: #ffd66b;
  --amber: #ffb300;
  --amber-soft: #fff3d6;
  --amber-700: #e89200;
  --orange: #ff7a1a;
  --orange-700: #f05e00;

  /* Neutrals */
  --ink: #0b1b2e;
  --slate: #2b3e52;
  --muted: #5d7285;
  --faint: #8ca0b2;
  --paper: #f4f7fa;
  --paper-2: #eaf0f6;
  --line: #d9e2ec;
  --white: #ffffff;

  /* Semantic */
  --success: #1e9e52;
  --danger: #e03131;
  --warning: #e89200;

  /* Gradients */
  --grad-amber: linear-gradient(100deg, #ffb300 0%, #ff7a1a 55%, #f05e00 100%);
  --grad-amber-soft: linear-gradient(100deg, #ffd66b, #ffb300);
  --grad-navy: linear-gradient(160deg, #122c44 0%, #0a1a2b 55%, #04101f 100%);
  --grad-navy-radial: radial-gradient(120% 120% at 82% -10%, #1b3d5f 0%, #0a1a2b 48%, #04101f 100%);
  --grad-paper: linear-gradient(180deg, #f4f7fa 0%, #eaf0f6 100%);

  /* Typography */
  --font-display: "Archivo Black", "Barlow Condensed", "Arial Black", "Segoe UI", sans-serif;
  --font-head: "Sora", "Archivo", "Barlow", "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;

  --t-lead: 1.12rem;
  --t-sm: 0.9rem;
  --t-xs: 0.78rem;

  /* Spacing */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;

  /* Radii */
  --r-sm: 0.4rem;
  --r-md: 0.7rem;
  --r-lg: 1.1rem;
  --r-xl: 1.8rem;
  --r-pill: 999px;

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(4, 16, 31, 0.06);
  --sh-md: 0 6px 18px -6px rgba(4, 16, 31, 0.18);
  --sh-lg: 0 18px 40px -12px rgba(4, 16, 31, 0.28);
  --sh-glow: 0 0 28px -4px rgba(255, 179, 0, 0.55);
  --sh-navylg: 0 18px 46px -14px rgba(4, 16, 31, 0.55);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Legacy token aliases — referenced by inline styles in older page markup.
     Keep defined so pages render correctly until their HTML is rebuilt. */
  --radius: 0.5rem;
  --navy-50: #f0f5fa;
  --navy-100: #dce7f0;
  --shadow-lg: 0 18px 40px -12px rgba(4, 16, 31, 0.28);
  --orange-dark: #e2540a;

  /* Circuit-trace background texture (inline SVG, low opacity = safe on any band) */
  --circuit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='168' height='168'%3E%3Cg fill='none' stroke='%232e4a6b' stroke-width='1' opacity='.16'%3E%3Cpath d='M20 0v42h62v40'/%3E%3Cpath d='M0 128h58V62'/%3E%3Cpath d='M128 0v56h40'/%3E%3Cpath d='M96 168v-60h54v-44'/%3E%3Cpath d='M0 24h38v70h52'/%3E%3Cpath d='M148 168v-46'/%3E%3C/g%3E%3Cg fill='%23ffb300'%3E%3Ccircle cx='82' cy='82' r='2.4'/%3E%3Ccircle cx='58' cy='62' r='1.8'/%3E%3Ccircle cx='38' cy='94' r='1.8'/%3E%3Ccircle cx='150' cy='56' r='1.8'/%3E%3Ccircle cx='96' cy='108' r='1.8'/%3E%3Ccircle cx='20' cy='42' r='1.8'/%3E%3C/g%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--t-body, 1rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--slate);
  line-height: 1.2;
  margin: 0 0 var(--s-3);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 var(--s-4); }

a { color: var(--orange-700); text-decoration: none; transition: color 160ms var(--ease); }
a:hover { color: var(--orange); }

ul, ol { padding-left: 1.3rem; }

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection { background: rgba(255, 179, 0, 0.35); }

/* --------------------------------------------------------------------------
   3. UTILITIES & LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
}

.center { text-align: center; }
.center .eyebrow { justify-content: center; }

.hl {
  color: var(--amber);
  text-shadow: 0 0 24px rgba(255, 179, 0, 0.45);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-700);
  margin-bottom: var(--s-3);
}

.eyebrow svg { width: 1.05rem; height: 1.05rem; color: var(--orange); }

.divider {
  height: 3px;
  width: 72px;
  border-radius: var(--r-pill);
  background: var(--grad-amber);
  box-shadow: var(--sh-glow);
  margin: var(--s-3) 0 var(--s-5);
}

/* Slanted section dividers */
.slant-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6.5vw), 0 100%); }
.slant-top { clip-path: polygon(0 4.5vw, 100% 0, 100% 100%, 0 100%); }

/* Circuit-textured surface */
.circuit { background-image: var(--circuit); }

.hidden { display: none !important; }

/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 0.8rem 1.4rem;
  border: 0;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease),
    background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.btn svg { width: 1.05em; height: 1.05em; transition: transform 180ms var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  color: var(--navy-950);
  background: var(--grad-amber);
  box-shadow: var(--sh-md);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-glow);
  color: var(--navy-950);
}

.btn--dark {
  color: var(--white);
  background: var(--navy-950);
  box-shadow: var(--sh-md);
}
.btn--dark:hover {
  transform: translateY(-2px);
  background: var(--navy-700);
  box-shadow: var(--sh-navylg);
  color: var(--amber-300);
}

.btn--amber {
  color: var(--navy-950);
  background: var(--grad-amber-soft);
}
.btn--amber:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-glow);
  color: var(--navy-950);
}

.btn--ghost {
  color: var(--navy-800);
  background: transparent;
  border: 2px solid var(--navy-700);
}
.btn--ghost:hover {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
}

.btn--ghost-light {
  color: var(--white);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.55);
}
.btn--ghost-light:hover {
  background: var(--white);
  color: var(--navy-950);
  border-color: var(--white);
}

.btn--sm { padding: 0.6rem 0.95rem; font-size: 0.78rem; }
.btn--block { width: 100%; }

/* Badges & chips */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  font-size: var(--t-xs);
  font-weight: 600;
  white-space: nowrap;
}
.badge svg { width: 0.9rem; height: 0.9rem; color: var(--amber-300); }

/* --------------------------------------------------------------------------
   5. SKIP LINK / FOCUS
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.7rem 1.2rem;
  border-radius: var(--r-pill);
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  transition: top 200ms var(--ease);
}
.skip-link:focus { top: 1rem; color: var(--amber-300); }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

/* --------------------------------------------------------------------------
   6. HEADER — topbar, main bar, mega nav, mobile toggle
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--white);
  box-shadow: var(--sh-sm);
  transition: box-shadow 300ms var(--ease), transform 300ms var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--sh-md); }

.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--t-xs);
  font-weight: 600;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 2.4rem;
  padding-block: 0.35rem;
}
.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.topbar a { color: inherit; }
.topbar a:hover { color: var(--amber-300); }
.topbar svg { width: 0.9rem; height: 0.9rem; vertical-align: -0.14em; }
.topbar__right a + a::before {
  content: "|";
  margin-right: 1.2rem;
  color: rgba(255, 255, 255, 0.3);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding-block: 0.75rem;
  transition: padding 300ms var(--ease);
}
.site-header.is-scrolled .header-main { padding-block: 0.45rem; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--navy-800);
  min-width: 0;
}
.brand:hover { color: var(--navy-800); }

/* Legacy markup: <span class="brand__logo"><svg use i-bolt/></svg></span> */
.brand__logo svg { width: 1.6rem; height: 1.6rem; display: block; }
/* New markup: <svg class="brand__logo" viewBox="0 0 600 120"><use #logo-full/></svg>.
   The real logo is a TRANSPARENT PNG designed to work on any background color.
   No plate, no border, no shadow — it sits directly on the light header, the dark
   footer, and every section. The logo is a square lockup, so it letterboxes
   centered within the wide brand slot; height:auto keeps that intact. */
svg.brand__logo,
img.brand__logo {
  width: 92px;
  height: 92px;
  display: block;
  color: inherit;
  padding: 0;
  background: transparent;
}
.site-header svg.brand__logo { width: 92px; height: 92px; }
/* Footer + mobile overlay variant: snug square, fills the brand column. */
.site-footer svg.brand__logo {
  width: 140px;
  height: 140px;
  padding: 0;
  background: transparent;
}
.mobile-nav svg.brand__logo {
  width: 80px;
  height: 80px;
  padding: 0;
  background: transparent;
}
.brand__mark { width: 46px; height: 46px; color: inherit; }

.brand__name {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--navy-800);
}
.brand__name span { color: var(--orange); }
.brand__tag {
  display: block;
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
}

.nav { display: flex; align-items: center; gap: var(--s-4); }
/* Desktop links hidden on mobile — hamburger overlay handles small screens */
.nav__links { display: none; align-items: center; gap: 0.25rem; }

.nav__links > a,
.drop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--r-sm);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-800);
}
.nav__links > a:hover,
.nav__links > a[aria-current="page"],
.drop-toggle:hover {
  color: var(--orange-700);
  background: var(--amber-soft);
}

.nav__cta { display: flex; align-items: center; gap: var(--s-3); }

.nav__phone {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  color: var(--navy-800);
  white-space: nowrap;
}
.nav__phone:hover { border-color: var(--amber); box-shadow: var(--sh-glow); color: var(--navy-800); }
.nav__phone svg { width: 1.15rem; height: 1.15rem; color: var(--orange); }
.nav__phone small {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav__phone span { font-family: var(--font-head); font-weight: 800; font-size: 0.98rem; line-height: 1.1; }

/* Services mega dropdown */
.has-drop { position: relative; }

.mega {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: -5rem;
  width: min(860px, 92vw);
  padding: 1.1rem;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--sh-navylg);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 200ms;
  z-index: 99;
}
.has-drop:hover .mega,
.has-drop:focus-within .mega,
.has-drop.is-open .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega__inner {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 1.1rem;
}
.mega__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}
.mega__links a {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.55rem 0.65rem;
  border-radius: var(--r-md);
  color: var(--navy-800);
}
.mega__links a:hover { background: var(--amber-soft); color: var(--orange-700); }
.mega__links i {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: var(--amber-soft);
  color: var(--orange-700);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 800;
}
.mega__links strong { display: block; font-family: var(--font-head); font-size: 0.88rem; line-height: 1.2; }
.mega__links small { display: block; color: var(--muted); font-size: 0.72rem; line-height: 1.35; margin-top: 0.15rem; }

.mega__cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-4);
  padding: 1.2rem;
  border-radius: var(--r-md);
  background: var(--grad-navy);
  color: var(--white);
}
.mega__cta h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 0.4rem; }
.mega__cta p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); margin: 0; }
.mega__cta a[href^="tel"] {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--amber-300);
}

/* Nav toggle (hamburger) */
.nav-toggle {
  display: grid;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--navy-800);
  color: var(--white);
  place-items: center;
  cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle:hover { background: var(--navy-700); }

/* --------------------------------------------------------------------------
   7. MOBILE OVERLAY NAV
   -------------------------------------------------------------------------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 4vw, 2rem);
  background: var(--grad-navy-radial);
  background-image: var(--circuit), var(--grad-navy-radial);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 320ms var(--ease), opacity 320ms var(--ease), visibility 320ms;
  overflow-y: auto;
}
.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-6);
}
.mobile-nav .brand__name { color: var(--white); font-size: 1.3rem; }
.mobile-nav .brand__name span { color: var(--amber); }

.mobile-nav__close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.mobile-nav__close svg { width: 26px; height: 26px; }
.mobile-nav__close:hover { background: rgba(255, 255, 255, 0.16); }

.mob-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.15rem, 5vw, 1.55rem);
  color: var(--white);
  opacity: 0;
  transform: translateY(14px);
}
.mobile-nav.open .mob-link {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}
.mobile-nav.open .mob-link:nth-child(3) { transition-delay: 60ms; }
.mobile-nav.open .mob-link:nth-child(4) { transition-delay: 110ms; }
.mobile-nav.open .mob-link:nth-child(5) { transition-delay: 160ms; }
.mobile-nav.open .mob-link:nth-child(6) { transition-delay: 210ms; }
.mobile-nav.open .mob-link:nth-child(7) { transition-delay: 260ms; }
.mobile-nav.open .mob-link:nth-child(8) { transition-delay: 310ms; }

.mob-link::before {
  content: "";
  width: 10px;
  height: 16px;
  flex: 0 0 auto;
  transform: rotate(8deg);
  background: var(--grad-amber);
  clip-path: polygon(52% 0, 92% 36%, 62% 36%, 38% 100%, 52% 52%, 28% 52%);
  filter: drop-shadow(0 0 8px rgba(255, 179, 0, 0.6));
}
.mob-link:hover { color: var(--amber-300); }

/* Services group inside mobile menu */
.mob-group { margin-top: var(--s-6); }
.mob-group > span {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-300);
}
.mob-link--sub {
  display: block;
  padding: 0.42rem 0.4rem 0.42rem 1.9rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  opacity: 0;
  transform: translateY(10px);
}
.mobile-nav.open .mob-link--sub {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}
.mob-link--sub::before {
  content: "";
  width: 7px;
  height: 11px;
  transform: rotate(8deg);
  background: var(--grad-amber);
  clip-path: polygon(52% 0, 92% 36%, 62% 36%, 38% 100%, 52% 52%, 28% 52%);
}
.mob-link--sub:hover { color: var(--amber-300); }

.mob-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  margin-top: auto;
  padding-top: var(--s-6);
}

/* --------------------------------------------------------------------------
   8. HERO (home) & INTERIOR PAGE HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  color: var(--white);
  background: var(--grad-navy-radial);
  background-image: var(--circuit), var(--grad-navy-radial);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(560px circle at 82% 18%, rgba(255, 179, 0, 0.14), transparent 62%),
    radial-gradient(900px circle at 8% 96%, rgba(27, 61, 95, 0.5), transparent 64%);
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(4.5rem, 11vw, 8rem);
  position: relative;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  line-height: 1.06;
  color: var(--white);
  max-width: 15ch;
  margin-bottom: var(--s-5);
  text-wrap: balance;
}
.lead { font-size: var(--t-lead); color: rgba(255, 255, 255, 0.86); max-width: 60ch; }
.hero .lead { margin-bottom: var(--s-5); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
}

.hero__badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  max-width: 580px;
}
.hero__badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}
.hero__badges svg { width: 1.05rem; height: 1.05rem; color: var(--amber-300); flex: 0 0 auto; }

/* Floating decorative glyphs */
.floaty {
  position: absolute;
  z-index: -1;
  color: var(--amber);
  opacity: 0.16;
  animation: floaty 9s ease-in-out infinite;
  pointer-events: none;
}
.floaty--t1 { top: 12%; left: 4%; width: 40px; animation-delay: -2s; }
.floaty--t2 { bottom: 20%; left: 8%; width: 30px; color: var(--orange); animation-delay: -5s; animation-duration: 12s; }
.floaty--t3 { top: 30%; right: 6%; width: 34px; animation-delay: -8s; animation-duration: 11s; }
.floaty--t4 { bottom: 12%; right: 12%; width: 46px; color: var(--orange); animation-delay: -4s; animation-duration: 14s; }
.floaty svg { width: 100%; height: 100%; }

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(6deg); }
}

/* Hero glass quote panel */
.hero__panel {
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--sh-navylg);
  align-self: center;
}
.hero__panel h3 { color: var(--white); margin-bottom: 0.3rem; }
.hero__panel .sub { color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; }
.hero__panel .form-note { margin-top: var(--s-4); font-size: 0.82rem; color: rgba(255, 255, 255, 0.7); }
.hero__panel .form-note a { color: var(--amber-300); }

.hero__mini-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  margin-top: var(--s-4);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
}
.hero__mini-trust span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero__mini-trust svg { width: 1rem; height: 1rem; color: var(--amber-300); }

/* Interior page hero */
.page-hero {
  position: relative;
  color: var(--white);
  background: var(--grad-navy-radial);
  background-image: var(--circuit), var(--grad-navy-radial);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -30%;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 179, 0, 0.16), transparent 68%);
  pointer-events: none;
}
.page-hero .container {
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.6rem, 8vw, 6rem);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  color: var(--white);
  max-width: 22ch;
  text-wrap: balance;
  position: relative;
  z-index: 1;
}
.page-hero .lead { color: rgba(255, 255, 255, 0.86); max-width: 64ch; position: relative; z-index: 1; }

.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--s-4);
  position: relative;
  z-index: 1;
}
.crumb a { color: rgba(255, 255, 255, 0.85); }
.crumb a:hover { color: var(--amber-300); }

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: var(--s-5);
  position: relative;
  z-index: 1;
}
.page-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}
.page-hero__meta svg { width: 1em; height: 1em; color: var(--amber-300); }

.page-hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.page-hero .lead { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   9. SECTIONS & BANDS
   -------------------------------------------------------------------------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--alt, .band--alt { background: var(--grad-paper); }
.section--dark {
  position: relative;
  background: var(--grad-navy);
  color: var(--white);
  isolation: isolate;
}
.section--dark::before, .band--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--circuit);
  opacity: 0.6;
}
.section--dark h2, .band--dark h1, .band--dark h2, .band--dark h3 { color: var(--white); }
.section--dark p, .band--dark p { color: rgba(255, 255, 255, 0.78); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { text-wrap: balance; }
.section-head p:not(.eyebrow) { color: var(--muted); }

/* Generic content band (templates/band.html) */
.band { padding-block: clamp(3.5rem, 8vw, 6rem); }
.band--dark {
  position: relative;
  background: var(--grad-navy);
  color: var(--white);
  overflow: hidden;
}
.band--dark p { color: rgba(255, 255, 255, 0.78); }
.band--center { text-align: center; }
.band--center .band__head { margin-inline: auto; }
.band__head { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.band__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
}
.band--center .band__cta { justify-content: center; }

/* Trust strip */
.trust-strip {
  background: var(--grad-amber);
  color: var(--navy-950);
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1.4rem);
  padding-block: 1rem;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.trust-item svg { width: 1.5rem; height: 1.5rem; color: var(--navy-950); }
.trust-item small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.68rem;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.78;
}

/* --------------------------------------------------------------------------
   10. SERVICE CARDS
   -------------------------------------------------------------------------- */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms var(--ease);
}
.svc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--grad-amber);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 400ms var(--ease);
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: rgba(255, 179, 0, 0.5);
}
.svc-card:hover::before { transform: scaleX(1); box-shadow: var(--sh-glow); }

.svc-card__icon {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1rem;
  border-radius: 0.9rem;
  background: var(--amber-soft);
  color: var(--orange-700);
  transition: transform 300ms var(--ease), background 300ms var(--ease);
}
.svc-card:hover .svc-card__icon {
  transform: scale(1.06) rotate(-4deg);
  background: var(--grad-amber-soft);
}
.svc-card__icon svg { width: 1.7rem; height: 1.7rem; }

.svc-card h3 { font-size: 1.22rem; margin-bottom: 0.5rem; color: var(--slate); }
.svc-card h3 a { color: inherit; }
.svc-card h3 a:hover { color: var(--orange-700); }
.svc-card p { font-size: 0.92rem; color: var(--muted); margin-bottom: 1rem; flex: 1; }

.svc-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--line);
}
.from {
  display: inline-flex;
  flex-direction: column;
  padding: 0.35rem 0.7rem;
  border-radius: var(--r-sm);
  background: var(--navy-800);
  color: var(--amber-300);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1.15;
}
.from small { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }

.svc-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--orange-700);
}
.svc-card__link svg { width: 1rem; height: 1rem; transition: transform 200ms var(--ease); }
.svc-card__link:hover svg { transform: translateX(4px); }
.svc-card__link:hover { color: var(--navy-800); }

/* --------------------------------------------------------------------------
   11. SPLIT / WHY / CHECKLIST / CALLOUTS / BEFORE-AFTER
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--slate);
}
.check-list li svg {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.05rem;
  padding: 0.22rem;
  border-radius: 50%;
  background: rgba(30, 158, 82, 0.14);
  color: var(--success);
  box-sizing: border-box;
}
.check-list strong { color: var(--navy-800); }

/* Lightning-bolt bullets variant */
.check-list--bolt li { align-items: baseline; }
.check-list--bolt li::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 14px;
  margin-top: 0.45em;
  transform: rotate(8deg);
  background: var(--grad-amber);
  clip-path: polygon(52% 0, 92% 36%, 62% 36%, 38% 100%, 52% 52%, 28% 52%);
}

.callout {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem 1.2rem;
  border-radius: var(--r-md);
  background: var(--amber-soft);
  border: 1px solid rgba(255, 179, 0, 0.4);
  color: var(--navy-800);
  font-size: 0.9rem;
}
.callout svg { flex: 0 0 auto; width: 1.25rem; height: 1.25rem; color: var(--orange); margin-top: 0.1rem; }
.callout a { color: var(--orange-700); font-weight: 700; }
.callout strong { color: var(--navy-800); }
.callout--ok { background: rgba(30, 158, 82, 0.1); border-color: rgba(30, 158, 82, 0.4); }
.callout--ok svg { color: var(--success); }

/* Before / after */
.ba-wrap { display: grid; gap: 1.2rem; }
.ba-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
}
.ba-card__img { position: relative; overflow: hidden; background: var(--paper-2); }
.ba-card__img img { width: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.ba-card:hover .ba-card__img img { transform: scale(1.04); }
.ba-card__tag {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 2;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ba-card__tag--before { background: var(--navy-800); color: var(--white); }
.ba-card__tag--after { background: var(--grad-amber); color: var(--navy-950); }
.ba-card__body { padding: 1rem 1.2rem; }
.ba-card__body h4 { margin-bottom: 0.25rem; }
.ba-card__body p { font-size: 0.88rem; color: var(--muted); margin: 0; }
.ba-note { font-size: 0.78rem; color: var(--faint); margin-top: 0.8rem; }

/* Side-by-side comparison seam */
.ba-compare {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-navylg);
}
.ba-compare::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  transform: translateX(-50%);
  background: var(--grad-amber);
  box-shadow: 0 0 18px rgba(255, 179, 0, 0.8);
}
.ba-compare > div { position: relative; }
.ba-compare img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   12. STATS (count-up)
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.4rem;
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  line-height: 1;
  background: var(--grad-amber-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(255, 179, 0, 0.35));
  margin-bottom: 0.5rem;
}
.stat__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  max-width: 24ch;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   13. PRICING
   -------------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
.price-card {
  position: relative;
  padding: 1.5rem 1.4rem;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms var(--ease);
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: rgba(255, 179, 0, 0.5); }
.price-card h4 { font-size: 1.05rem; color: var(--slate); margin-bottom: 0.5rem; }
.price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--navy-800);
  margin-bottom: 0.6rem;
}
.price small {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}
.price-card p { font-size: 0.86rem; color: var(--muted); flex: 1; margin-bottom: 1rem; }

.price-card--feature {
  background: var(--grad-navy);
  border-color: var(--navy-800);
  box-shadow: var(--sh-navylg);
}
.price-card--feature h4 { color: var(--amber-300); }
.price-card--feature .price { color: var(--white); }
.price-card--feature .price small { color: rgba(255, 255, 255, 0.7); }
.price-card--feature p { color: rgba(255, 255, 255, 0.78); }
.price-card--feature::after {
  content: "BEST VALUE";
  position: absolute;
  top: -0.75rem;
  right: 1.2rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--grad-amber);
  color: var(--navy-950);
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  box-shadow: var(--sh-glow);
}

.price-disclaimer { font-size: 0.82rem; color: var(--muted); margin-top: 1.2rem; }
.price-disclaimer a { font-weight: 700; }

/* Price table */
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); }
.price-table th {
  background: var(--navy-800);
  color: var(--white);
  text-align: left;
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 1.1rem;
}
.price-table td { padding: 0.9rem 1.1rem; border-top: 1px solid var(--line); font-size: 0.9rem; }
.price-table td:last-child { font-family: var(--font-head); font-weight: 700; color: var(--navy-800); white-space: nowrap; }
.price-table tbody tr:nth-child(even) { background: var(--paper); }
.price-table tbody tr:hover { background: var(--amber-soft); }

/* Promo / CTA bands */
.promo-band,
.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border-radius: var(--r-xl);
  background: var(--grad-navy);
  background-image: var(--circuit), var(--grad-navy);
  color: var(--white);
  overflow: hidden;
}
.promo-band::before,
.cta-band::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -60%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 179, 0, 0.18), transparent 66%);
  pointer-events: none;
}
.promo-band h3, .cta-band h2 { color: var(--white); }
.promo-band p, .cta-band p { color: rgba(255, 255, 255, 0.8); }
.promo-band ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.promo-band li { display: flex; gap: 0.6rem; align-items: center; font-size: 0.9rem; }
.promo-band li svg { width: 1.2rem; height: 1.2rem; color: var(--amber-300); flex: 0 0 auto; }
.promo-cta { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.cta-band { text-align: center; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); justify-content: center; }

/* --------------------------------------------------------------------------
   14. REVIEWS / CAROUSEL
   -------------------------------------------------------------------------- */
.rating-summary {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.rating-summary .big {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 3.1rem;
  line-height: 1;
  background: var(--grad-amber);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 179, 0, 0.3));
}
.stars { display: inline-flex; gap: 0.15rem; }
.stars svg { width: 1.05rem; height: 1.05rem; color: var(--amber); }

.carousel { position: relative; }
.carousel__viewport {
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: 0.5rem 0.6rem;
}
.carousel__track {
  display: flex;
  transition: transform 500ms var(--ease);
}
/* Slides are exactly 100% of the track; no margins so the slide-index
   translateX math in main.js stays perfectly aligned. */
.carousel__slide {
  flex: 0 0 100%;
  padding: 2rem 1.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
}
.carousel__slide .stars { margin-bottom: 1rem; }
.carousel__slide blockquote {
  margin: 0 0 1.4rem;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--slate);
}
.carousel__slide blockquote::before,
.review-card blockquote::before {
  content: "\201C";
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.4rem;
  display: block;
  color: var(--amber);
  line-height: 0.6;
  margin-bottom: 0.8rem;
}
.carousel__slide figcaption { display: flex; align-items: center; gap: 0.7rem; font-size: 0.9rem; color: var(--muted); }
.avatar {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--grad-navy);
  color: var(--amber-300);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
  flex: 0 0 auto;
}
figcaption strong { color: var(--navy-800); }
.src { font-size: 0.75rem; color: var(--faint); }

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.2rem;
}
.carousel__btn {
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-800);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 200ms var(--ease);
}
.carousel__btn svg { width: 1.15rem; height: 1.15rem; }
.carousel__btn:hover { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); box-shadow: var(--sh-md); }
.carousel__btn--prev svg { transform: rotate(180deg); }

.carousel__dots { display: flex; gap: 0.5rem; }
.carousel__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: var(--r-pill);
  border: 0;
  background: var(--line);
  cursor: pointer;
  transition: all 260ms var(--ease);
}
.carousel__dots button.is-active { background: var(--amber); width: 26px; box-shadow: var(--sh-glow); }

/* Review grid (reviews page) */
.review-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.review-card {
  margin: 0;
  padding: 1.5rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.review-card .stars { margin-bottom: 0.8rem; }
.review-card blockquote { margin: 0 0 1.1rem; font-size: 0.95rem; line-height: 1.6; color: var(--slate); }
.review-card figcaption { display: flex; align-items: center; gap: 0.7rem; font-size: 0.88rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   15. GALLERY
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  aspect-ratio: 16 / 10;
}
.gallery .g-tall { aspect-ratio: 16 / 12; }
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.gallery figure:hover img { transform: scale(1.07); }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.4rem 1.1rem 0.9rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(4, 16, 31, 0.78));
  transform: translateY(6px);
  opacity: 0;
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}
.gallery figure:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery-note { font-size: 0.8rem; color: var(--faint); margin-top: 0.9rem; }

/* --------------------------------------------------------------------------
   16. AREA, FORMS, CONTACT CARDS
   -------------------------------------------------------------------------- */
.area-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.area-chips span {
  padding: 0.45rem 0.95rem;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
  transition: all 200ms var(--ease);
}
.area-chips span:hover { border-color: var(--amber); color: var(--orange-700); box-shadow: var(--sh-glow); transform: translateY(-2px); }

.form-card {
  padding: clamp(1.4rem, 4vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
}
.sub { color: var(--muted); }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
.form-field { display: grid; gap: 0.35rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--slate);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--ink);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 179, 0, 0.28);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--faint); }
.form-field input.is-invalid,
.form-field select.is-invalid,
.form-field textarea.is-invalid { border-color: var(--danger); }
.form-field .err-msg { font-size: 0.76rem; color: var(--danger); font-weight: 600; min-height: 1em; }
.form-grid .full { grid-column: 1 / -1; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.9rem; }
.form-submit { display: flex; }

/* Invalid-form attention shake */
.form-grid.shake { animation: shake 360ms var(--ease); }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-7px); }
  50% { transform: translateX(6px); }
  75% { transform: translateX(-3px); }
}

.contact-cards { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
.contact-card {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all 240ms var(--ease);
}
.contact-card:hover { border-color: var(--amber); box-shadow: var(--sh-md); transform: translateY(-2px); }
.contact-card svg { flex: 0 0 auto; width: 1.5rem; height: 1.5rem; color: var(--orange); margin-top: 0.1rem; }
.contact-card h4 { margin-bottom: 0.2rem; font-size: 1rem; }
.contact-card a { font-weight: 700; color: var(--navy-800); }
.contact-card a:hover { color: var(--orange-700); }

/* Page subnav (services page) */
.page-subnav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--sh-sm);
}
.page-subnav .container {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding-block: 0.6rem;
  -webkit-overflow-scrolling: touch;
}
.page-subnav a {
  flex: 0 0 auto;
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--navy-800);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
}
.page-subnav a:hover { background: var(--amber-soft); color: var(--orange-700); }

/* --------------------------------------------------------------------------
   17. STEPS (process)
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.step {
  position: relative;
  padding: 1.3rem 1.2rem 1.3rem 3.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: var(--r-md);
}
.step::before {
  content: attr(data-step);
  position: absolute;
  left: 1rem;
  top: 1.2rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--orange-700);
}
.step h4 { margin-bottom: 0.3rem; }
.step p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------
   18. BACK-TO-TOP
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 5.2rem;
  z-index: 60;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--amber-300);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 260ms var(--ease);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--grad-amber); color: var(--navy-950); }
.back-to-top svg { width: 20px; height: 20px; transform: rotate(180deg); }

/* --------------------------------------------------------------------------
   19. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-amber);
  box-shadow: var(--sh-glow);
}
.site-footer .container { padding-block: clamp(3rem, 6vw, 4.5rem) 1.6rem; }
.site-footer a { color: rgba(255, 255, 255, 0.72); }
.site-footer a:hover { color: var(--amber-300); }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 2.4rem;
}
.footer-brand p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.62); max-width: 38ch; }
.site-footer .brand { color: var(--white); }
.site-footer .brand__name { color: var(--white); }
.site-footer .brand__tag { color: rgba(255, 255, 255, 0.55); }

.footer-social { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
}
.footer-social a:hover { background: var(--grad-amber); color: var(--navy-950); box-shadow: var(--sh-glow); }
.footer-social svg { width: 1.05rem; height: 1.05rem; }

.site-footer h4 {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.site-footer li a { position: relative; display: inline-flex; align-items: center; gap: 0.5rem; }
.site-footer li a::before {
  content: "";
  width: 7px;
  height: 11px;
  transform: rotate(8deg);
  background: var(--grad-amber);
  clip-path: polygon(52% 0, 92% 36%, 62% 36%, 38% 100%, 52% 52%, 28% 52%);
  opacity: 0;
  transition: opacity 200ms var(--ease);
}
.site-footer li a:hover::before { opacity: 1; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.footer-contact svg { flex: 0 0 auto; width: 1.05rem; height: 1.05rem; color: var(--amber-300); margin-top: 0.15rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.4rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom .license { color: rgba(255, 255, 255, 0.7); font-weight: 600; }

/* --------------------------------------------------------------------------
   20. MOBILE FIXED CTA BAR
   -------------------------------------------------------------------------- */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px -10px rgba(4, 16, 31, 0.3);
  transition: transform 300ms var(--ease);
}
.mobile-cta.hide-bar { transform: translateY(100%); }
.mob-call,
.mob-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 0.5rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mob-call { background: var(--grad-amber); color: var(--navy-950); }
.mob-call:hover { color: var(--navy-950); box-shadow: inset 0 -3px 0 rgba(4, 16, 31, 0.18); }
.mob-quote { background: var(--navy-800); color: var(--white); }
.mob-quote:hover { color: var(--amber-300); }
.mob-call svg, .mob-quote svg { width: 1.05rem; height: 1.05rem; }

/* --------------------------------------------------------------------------
   21. SCROLL REVEAL
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-stagger="1"] { transition-delay: 90ms; }
.reveal[data-stagger="2"] { transition-delay: 180ms; }
.reveal[data-stagger="3"] { transition-delay: 270ms; }

/* --------------------------------------------------------------------------
   22. RESPONSIVE BREAKPOINTS (mobile-first)
   -------------------------------------------------------------------------- */
@media (min-width: 560px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .hero__badges { grid-template-columns: repeat(4, 1fr); }
  .hero__badges span { align-items: flex-start; }
}

/* Compact screens: drop the utility topbar, keep logo + CTAs */
@media (max-width: 760px) {
  .topbar { display: none; }
}

@media (min-width: 640px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .price-table td:first-child { white-space: normal; }
}

@media (min-width: 760px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .mobile-cta { display: none; }
  .back-to-top { bottom: 1.2rem; }
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .hero .container { align-items: center; }
  .hero__panel { max-width: 520px; justify-self: center; }
}

@media (min-width: 900px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery .g-tall { grid-row: span 2; aspect-ratio: auto; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .hero .container { grid-template-columns: 1.05fr 0.95fr; }
  .footer-grid { grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr; }

  /* Desktop nav visible, hamburger hidden */
  .nav__links { display: flex; }
  .nav-toggle { display: none; }
  .nav__phone { display: inline-flex; }
}

@media (min-width: 1040px) {
  .promo-band { grid-template-columns: 1.4fr 1fr; align-items: center; }
}

/* --------------------------------------------------------------------------
   23. REDUCED MOTION & PRINT
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header,
  .site-footer,
  .mobile-cta,
  .back-to-top,
  .nav,
  .topbar { display: none !important; }
  body { background: var(--white); color: #000; }
  .section--dark, .band--dark, .hero, .page-hero { background: var(--white) !important; color: #000 !important; }
  .hero h1, .page-hero h1 { color: #000 !important; }
  .container { max-width: 100%; }
  a[href] { color: #000; }
  a[href^="tel"]::after { content: " (" attr(href) ")"; }
}

/* --------------------------------------------------------------------------
   24. FAQ ACCORDION  (native <details> enhancement — used on every page)
   -------------------------------------------------------------------------- */
.faq-list { display: grid; gap: 0.75rem; margin: 1.5rem 0; }
.faq-list details {
  background: var(--white, #fff);
  border: 1px solid rgba(10, 26, 43, 0.12);
  border-left: 4px solid var(--amber, #ffb300);
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(4, 16, 31, 0.06);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.faq-list details[open] { box-shadow: 0 10px 28px rgba(4, 16, 31, 0.12); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy-900, #081527);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 800;
  color: var(--amber, #ffb300);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list summary:hover { background: var(--amber-soft, #fff3d6); }
.faq-list details .faq-a,
.faq-list details > div,
.faq-list details > p {
  padding: 0 1.15rem 1.1rem;
  color: var(--navy-700, #122c44);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   25. TRUST MARQUEE  (scrolling trust bar — site-wide fallback)
   -------------------------------------------------------------------------- */
.trust { overflow: hidden; white-space: nowrap; position: relative; }
.trust__track { display: inline-flex; gap: 3.5rem; padding: 0.9rem 0; animation: trustScroll 26s linear infinite; will-change: transform; }
.trust:hover .trust__track { animation-play-state: paused; }
@keyframes trustScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.trust__item { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; letter-spacing: 0.02em; }
@media (prefers-reduced-motion: reduce) {
  .trust__track { animation: none; flex-wrap: wrap; white-space: normal; }
}