:root {
  --ink: #07090c;
  --ink2: #0c1118;
  --panel: #0d131c;
  --blue1: #00b4f0;
  --blue2: #38d6ff;
  --blue3: #0074ad;
  --blue-deep: #063a56;
  --steel: #c7ccd4;
  --text-body: #a7b0bf;
  --text-muted: #78828f;
  --border-soft: rgba(0,180,240,0.12);
  --border-med: rgba(0,180,240,0.22);
  --warn: #ef4444;
}
* { -webkit-tap-highlight-color: transparent; }
html, body { overflow-x: clip; max-width: 100vw; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--ink);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  position: relative;
}
h1, h2, h3, h4 { font-family: 'Outfit', system-ui, sans-serif; letter-spacing: -0.02em; color: #f6f9fc; }

/* ── Logo lockup — badge image + wordmark */
.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  line-height: 1;
  text-decoration: none;
}
.logo-badge {
  width: 48px; height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 18px rgba(0,180,240,0.25);
}
.logo-text { display: flex; flex-direction: column; }
.logo-wordmark {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: #f6f9fc;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
}
.logo-wordmark .logo-blue { color: var(--blue1); }
.logo-tagline {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.56rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  margin-top: 0.4rem;
}
.logo-lockup:hover .logo-wordmark { color: var(--blue2); }
.logo-lockup, .logo-lockup * { transition: color 0.25s ease; }
@media (max-width: 480px) {
  .logo-badge { width: 40px; height: 40px; }
  .logo-wordmark { font-size: 1.1rem; }
  .logo-tagline { font-size: 0.5rem; letter-spacing: 0.26em; }
}

/* ── Subtle carbon texture */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: 0.05; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ── Atmospheric glows */
.atmos {
  position: absolute; pointer-events: none;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.5;
}

/* ── Glass card — dark */
.glass-card {
  background: linear-gradient(160deg, rgba(18,26,38,0.92) 0%, rgba(10,15,22,0.96) 100%);
  border: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1), border-color 0.4s, box-shadow 0.4s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.glass-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,180,240,0.55), transparent);
  opacity: 0.7;
}
.glass-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(56,214,255,0.08) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform 0.9s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,180,240,0.4);
  box-shadow: 0 18px 50px -18px rgba(0,180,240,0.25), 0 4px 12px -4px rgba(0,0,0,0.5);
}
.glass-card:hover::after { transform: translateX(110%); }

/* Service cards — blueprint grid */
.tile-card {
  background-image:
    linear-gradient(160deg, rgba(18,26,38,0.92) 0%, rgba(10,15,22,0.96) 100%),
    repeating-linear-gradient(0deg, rgba(0,180,240,0.05) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(0,180,240,0.04) 0 1px, transparent 1px 72px);
}

/* ── Buttons */
.btn-primary {
  background: linear-gradient(180deg, var(--blue1), var(--blue3));
  color: #fff;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 0.55rem;
  box-shadow: 0 12px 32px -10px rgba(0,180,240,0.55), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform 0.25s, box-shadow 0.25s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -10px rgba(0,180,240,0.7); }
.btn-ghost {
  background: rgba(12,17,24,0.7);
  color: var(--blue2);
  border: 1.5px solid var(--border-med);
  padding: 0.9rem 1.55rem;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.55rem;
  transition: all 0.25s;
}
.btn-ghost:hover { background: rgba(0,180,240,0.1); border-color: var(--blue1); color: #fff; transform: translateY(-2px); }
.btn-emergency {
  background: linear-gradient(180deg, #ef4444, #b91c1c);
  color: #fff;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 0.55rem;
  box-shadow: 0 12px 32px -10px rgba(239,68,68,0.6), inset 0 1px 0 rgba(255,255,255,0.35);
  animation: emergency-pulse 2.4s ease-in-out infinite;
}
@keyframes emergency-pulse {
  0%, 100% { box-shadow: 0 12px 32px -10px rgba(239,68,68,0.6), inset 0 1px 0 rgba(255,255,255,0.35); }
  50% { box-shadow: 0 12px 40px -6px rgba(239,68,68,0.9), inset 0 1px 0 rgba(255,255,255,0.4); }
}

/* ── 24/7 strip */
.strip-247 {
  position: relative; z-index: 20;
  background: linear-gradient(90deg, rgba(0,116,173,0.25), rgba(0,180,240,0.12) 50%, rgba(0,116,173,0.25));
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.strip-247 .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34,197,94,0.9);
  animation: weather-pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

/* ── Reveal pattern */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.13s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.21s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.29s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.37s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.45s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.53s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.61s; }

/* ── Section shine */
.section-shine { position: relative; }
.section-shine .shine {
  position: absolute;
  top: -10%; left: -25%;
  width: 100px; height: 130%;
  background: linear-gradient(110deg, transparent 30%, rgba(0,180,240,0.1) 48%, rgba(56,214,255,0.22) 52%, transparent 70%);
  transform: skewX(-18deg) translateX(-200px);
  pointer-events: none;
  opacity: 0; z-index: 2;
}
.section-shine.is-visible .shine { animation: shine-pass 1.6s cubic-bezier(.2,.6,.2,1) 0.25s 1 forwards; }
@keyframes shine-pass {
  0% { transform: skewX(-18deg) translateX(-200px); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: skewX(-18deg) translateX(140vw); opacity: 0; }
}

/* ── Hero layout — image set per page via inline style on .hero-img */
.hero { background: #05070a; }
.hero-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 45%;
  z-index: 1;
}
.hero-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,8,12,0.55) 0%, rgba(5,10,16,0.5) 55%, var(--ink) 100%);
  z-index: 2;
}

/* ── Rain particles */
.raindrop {
  position: absolute;
  width: 1.5px;
  height: 22px;
  background: linear-gradient(to bottom, transparent, rgba(120,200,255,0.55));
  top: -30px;
  pointer-events: none;
  animation: rain-fall linear infinite;
  z-index: 3;
}
@keyframes rain-fall {
  0% { transform: translateY(0); opacity: 0; }
  5% { opacity: 0.7; }
  95% { opacity: 0.5; }
  100% { transform: translateY(110vh); opacity: 0; }
}

/* ── Weather chip */
.weather-chip {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(0,180,240,0.1);
  border: 1px solid rgba(0,180,240,0.3);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #e8f6fd;
  backdrop-filter: blur(4px);
}
.weather-chip.alert {
  background: rgba(239,68,68,0.14);
  border-color: rgba(239,68,68,0.5);
  color: #fecaca;
  animation: alert-breathe 2.5s ease-in-out infinite;
}
@keyframes alert-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
  50% { box-shadow: 0 0 22px 0 rgba(239,68,68,0.35); }
}
@keyframes weather-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.weather-metric { font-family: 'Outfit', sans-serif; font-weight: 700; color: #ffffff; }
.weather-chip .wx-icon {
  display: inline-block;
  width: 16px; height: 16px;
  vertical-align: -3px;
  margin-right: 0.3rem;
  opacity: 0.92;
}
.weather-chip.alert .wx-icon { color: #fecaca; }
.weather-chip .wx-label { color: #e8f6fd; font-weight: 600; }
.weather-chip.alert .wx-label { color: #fecaca; }
.weather-chip #weatherText { white-space: nowrap; line-height: 1; }
@media (max-width: 380px) {
  .weather-chip { font-size: 0.75rem; padding: 0.45rem 0.75rem; }
  .weather-chip #weatherText { white-space: normal; }
}

/* ── Floating phone CTA */
.phone-fab {
  position: fixed;
  right: 1.1rem; bottom: 1.1rem;
  z-index: 60;
  width: 60px; height: 60px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--blue1), var(--blue3));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 18px 40px -10px rgba(0,180,240,0.6), inset 0 1px 0 rgba(255,255,255,0.35);
  transition: transform 0.25s;
}
.phone-fab:hover { transform: scale(1.06); }
.phone-fab:active { transform: scale(0.94); }
.phone-fab::before, .phone-fab::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 16px;
  border: 2px solid rgba(0,180,240,0.65);
  animation: fab-ripple 2.6s cubic-bezier(.2,.7,.2,1) infinite;
  pointer-events: none;
}
.phone-fab::after { animation-delay: 1.3s; border-color: rgba(56,214,255,0.4); }
@keyframes fab-ripple {
  0% { transform: scale(1); opacity: 0.7; }
  70% { opacity: 0.04; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ── Hamburger */
.hamburger {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(12,17,24,0.8);
  border: 1px solid var(--border-med);
  color: var(--blue2);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  position: relative;
  z-index: 110;
}
.hamburger:hover { background: rgba(0,180,240,0.12); border-color: var(--blue1); color: #fff; }
.hamburger .icon-stack {
  position: relative;
  width: 26px; height: 26px;
  display: block;
}
.hamburger .icon-stack svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  transition: opacity 0.45s cubic-bezier(.4,.1,.3,1), transform 0.55s cubic-bezier(.4,.1,.3,1);
}
.hamburger .icon-x { opacity: 0; transform: rotate(-90deg) scale(0.4); }
.menu-open .hamburger .icon-tiles { opacity: 0; transform: rotate(60deg) scale(0.4); }
.menu-open .hamburger .icon-x { opacity: 1; transform: rotate(0) scale(1); transition-delay: 0.18s; }

body.menu-open header, body.menu-closing header { z-index: 150; }
body.menu-open { overflow: hidden; }

/* ── Menu overlay */
.menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 100;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.18s ease, visibility 0s linear 0.18s;
}
.menu-overlay.open, .menu-overlay.closing {
  visibility: visible;
  opacity: 1;
  transition: opacity 0s, visibility 0s;
}
.menu-overlay.open { pointer-events: auto; }
.menu-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(0,180,240,0.18), transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(0,116,173,0.3), transparent 45%),
    linear-gradient(180deg, #0a1017 0%, #05070a 100%);
  opacity: 0;
  transition: opacity 0.18s ease;
}
.menu-overlay.open .menu-bg { opacity: 1; }
.menu-overlay.closing .menu-bg { opacity: 0; }
.menu-content {
  position: absolute; inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  transform: translateY(8px);
  transition: transform 0.25s cubic-bezier(.19,1,.22,1);
}
.menu-overlay.open .menu-content { transform: translateY(0); }
.menu-nav, .menu-foot {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.menu-nav {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
  padding: 4.5rem 1.5rem 0.5rem;
  min-height: 0;
  overflow-y: auto;
}
.menu-foot {
  flex-shrink: 0;
  padding: 1rem 1.5rem max(1.5rem, env(safe-area-inset-bottom));
  text-align: center;
}
.menu-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.35rem, 4.5vw, 2.4rem);
  font-weight: 600;
  color: #f1f5f9;
  letter-spacing: -0.03em;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s cubic-bezier(.2,.7,.2,1), transform 0.35s cubic-bezier(.2,.7,.2,1), color 0.3s;
}
.menu-link .menu-num {
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(56,214,255,0.8);
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.18em;
}
.menu-link:hover { color: var(--blue2); }
.menu-overlay.open .menu-link { opacity: 1; transform: translateY(0); }
.menu-overlay.open .menu-link:nth-child(1) { transition-delay: 0.05s; }
.menu-overlay.open .menu-link:nth-child(2) { transition-delay: 0.09s; }
.menu-overlay.open .menu-link:nth-child(3) { transition-delay: 0.13s; }
.menu-overlay.open .menu-link:nth-child(4) { transition-delay: 0.17s; }
.menu-overlay.open .menu-link:nth-child(5) { transition-delay: 0.21s; }
.menu-overlay.open .menu-link:nth-child(6) { transition-delay: 0.25s; }
.menu-overlay.open .menu-link:nth-child(7) { transition-delay: 0.29s; }
.menu-overlay.open .menu-link:nth-child(8) { transition-delay: 0.33s; }
.menu-overlay.open .menu-link:nth-child(9) { transition-delay: 0.37s; }
.menu-overlay.open .menu-link:nth-child(10) { transition-delay: 0.41s; }
.menu-foot {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s, transform 0.35s;
}
.menu-overlay.open .menu-foot { opacity: 1; transform: translateY(0); transition-delay: 0.34s; }

/* ── Before/After slider */
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border-med);
  background: #000;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
  box-shadow: 0 18px 50px -20px rgba(0,180,240,0.3);
}
.ba-layer {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.ba-after { background-image: url('./images/ba-after.webp'); }
.ba-before {
  background-image: url('./images/ba-before.webp');
  clip-path: inset(0 0 0 50%);
}
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(180deg, var(--blue2), var(--blue3));
  box-shadow: 0 0 14px rgba(0,180,240,0.8);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 3;
}
.ba-handle::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--blue1), var(--blue3));
  border: 2px solid rgba(255,255,255,0.95);
  box-shadow: 0 0 22px rgba(0,180,240,0.6), inset 0 1px 0 rgba(255,255,255,0.4);
}
.ba-handle svg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 22px; height: 22px;
  color: #fff;
  z-index: 4;
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}
.ba-label {
  position: absolute;
  top: 0.9rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  z-index: 2;
}
.ba-label.before { right: 0.9rem; background: rgba(220,38,38,0.92); color: white; }
.ba-label.after { left: 0.9rem; background: rgba(0,180,240,0.92); color: white; }

/* Pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  background: rgba(12,17,24,0.8);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  color: var(--text-body);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.25s;
}
.pill:hover {
  background: rgba(0,180,240,0.1);
  border-color: rgba(0,180,240,0.5);
  color: #fff;
}
.pill.accred {
  background: linear-gradient(160deg, rgba(0,180,240,0.16), rgba(0,116,173,0.06));
  border-color: rgba(0,180,240,0.45);
  color: var(--blue2);
  font-weight: 600;
}
.pill-hidden { display: none; }
#areaPills.expanded .pill-hidden { display: inline-flex; animation: pill-fade-in 0.35s ease forwards; }
@keyframes pill-fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.pill-expand {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.55rem 1rem;
  background: transparent;
  border: 1px solid var(--border-med);
  border-radius: 999px;
  color: var(--blue2);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.pill-expand:hover { background: rgba(0,180,240,0.1); border-color: var(--blue1); color: #fff; }
.pill-expand:focus-visible { outline: 2px solid rgba(0,180,240,0.7); outline-offset: 3px; }
.pill-expand svg { transition: transform 0.3s ease; }
.pill-expand[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Form */
.field {
  width: 100%;
  background: rgba(12,17,24,0.9);
  border: 1.5px solid var(--border-soft);
  color: #f6f9fc;
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.97rem;
  transition: all 0.25s;
}
.field:focus {
  outline: none;
  border-color: var(--blue1);
  box-shadow: 0 0 0 4px rgba(0,180,240,0.15);
}
.field::placeholder { color: rgba(167,176,191,0.45); }
select.field option { background: #0c1118; color: #f6f9fc; }

/* Icon holder */
.svc-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(0,180,240,0.2), rgba(0,116,173,0.06));
  border: 1px solid rgba(0,180,240,0.35);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--blue2);
  margin-bottom: 1rem;
}
.svc-icon svg { width: 22px; height: 22px; }

/* Service card image top */
.svc-photo {
  margin: -1.5rem -1.5rem 1.2rem;
  height: 170px;
  overflow: hidden;
  position: relative;
}
.svc-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.svc-card:hover .svc-photo img { transform: scale(1.06); }
.svc-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,15,22,0.95) 100%);
}

/* Step number */
.step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--blue1);
  line-height: 1;
  display: block;
}

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue2);
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue1));
}

/* Headline gradient */
.hl-gradient {
  background: linear-gradient(180deg, #ffffff 0%, var(--blue2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Anatomy diagram */
.anatomy-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0.3rem;
  border-radius: 14px;
  background: rgba(12,17,24,0.9);
  border: 1px solid var(--border-soft);
  margin-bottom: 1.4rem;
  gap: 0.25rem;
  width: 100%;
  max-width: 520px;
}
.anatomy-tab {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  padding: 0.65rem 0.5rem;
  border-radius: 10px;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.anatomy-tab:hover { color: var(--blue2); }
.anatomy-tab.active {
  background: linear-gradient(180deg, var(--blue1), var(--blue3));
  color: #fff;
  box-shadow: 0 6px 18px -4px rgba(0,180,240,0.5), inset 0 1px 0 rgba(255,255,255,0.28);
}
.anatomy-tab:focus-visible { outline: 2px solid var(--blue1); outline-offset: 2px; }

.anatomy-diagram {
  position: relative;
  border-radius: 18px;
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(16,23,33,0.95) 0%, rgba(9,13,19,0.98) 100%);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  isolation: isolate;
}
.anatomy-diagram::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(180deg, rgba(0,180,240,0.1), transparent);
  pointer-events: none;
  z-index: 1;
}
.anatomy-layer {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 1.1rem;
  align-items: baseline;
  padding: 1rem 1.2rem 1rem 1rem;
  margin-bottom: 0.4rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
  border-left: 3px solid rgba(120,130,143,0.45);
  background: rgba(13,19,28,0.85);
  transition: background 0.3s ease, border-left-color 0.3s ease;
}
.anatomy-layer:hover { background: rgba(20,28,40,0.95); }
.anatomy-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blue2);
  opacity: 0.55;
  letter-spacing: 0.02em;
}
.anatomy-layer-body { min-width: 0; }
.anatomy-layer-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #f6f9fc;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}
.anatomy-layer-spec {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.spec-bold { color: var(--blue2); font-weight: 700; }

.layer-membrane {
  padding: 1.15rem 1.2rem 1.15rem 1rem;
  background: linear-gradient(135deg, rgba(0,180,240,0.18) 0%, rgba(0,116,173,0.08) 100%);
  border: 1.5px solid rgba(0,180,240,0.5);
  border-left: 3px solid var(--blue1);
  box-shadow: 0 10px 30px -12px rgba(0,180,240,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}
.layer-membrane .anatomy-num { color: var(--blue1); opacity: 1; }
.layer-membrane .anatomy-layer-title { color: #fff; font-size: 1.08rem; }
.layer-membrane .anatomy-layer-spec { color: var(--text-body); }
.layer-adhesive { border-left-color: rgba(148,163,184,0.6); }
.layer-insulation {
  border-left-color: rgba(217,170,80,0.7);
  background: repeating-linear-gradient(45deg, rgba(217,170,80,0.05) 0 6px, rgba(217,170,80,0.1) 6px 12px), rgba(13,19,28,0.85);
}
.layer-vcl { border-left-color: rgba(56,189,248,0.65); }
.layer-deck {
  border-left-color: rgba(180,130,90,0.7);
  background: linear-gradient(180deg, rgba(180,130,90,0.1), rgba(180,130,90,0.03)), rgba(13,19,28,0.85);
}
.anatomy-diagram[data-material="tile"] .layer-membrane {
  background: linear-gradient(135deg, rgba(148,163,184,0.18) 0%, rgba(100,116,139,0.08) 100%);
  border-color: rgba(148,163,184,0.5);
  border-left-color: #94a3b8;
}
.anatomy-diagram[data-material="tile"] .layer-membrane .anatomy-num { color: #cbd5e1; }
.anatomy-diagram[data-material="grp"] .layer-membrane {
  background: linear-gradient(135deg, rgba(56,214,255,0.2) 0%, rgba(0,180,240,0.08) 100%);
  border-color: rgba(56,214,255,0.55);
  border-left-color: var(--blue2);
}
.membrane-sheen {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 6;
  border-radius: inherit;
}
.membrane-sheen::before {
  content: '';
  position: absolute;
  top: 0; left: -40%;
  width: 35%; height: 100%;
  background: linear-gradient(105deg,
    transparent 0%,
    transparent 35%,
    rgba(255,255,255,0.14) 48%,
    rgba(0,180,240,0.14) 52%,
    transparent 70%);
  transform: skewX(-14deg);
  animation: membrane-sheen-pass 6.5s cubic-bezier(.4,.1,.3,1) infinite;
}
@keyframes membrane-sheen-pass {
  0%   { transform: translateX(0) skewX(-14deg); opacity: 0; }
  8%   { opacity: 0.85; }
  55%  { opacity: 0.85; }
  70%  { transform: translateX(360%) skewX(-14deg); opacity: 0; }
  100% { transform: translateX(360%) skewX(-14deg); opacity: 0; }
}
.anatomy-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 0.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.anatomy-stat { text-align: left; }
.anatomy-stat-val {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: -0.03em;
  color: #f6f9fc;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.anatomy-stat-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 600;
}
@media (max-width: 767px) {
  .anatomy-tab { padding: 0.55rem 0.4rem; font-size: 0.72rem; letter-spacing: 0.01em; }
  .anatomy-diagram { padding: 0.9rem; }
  .anatomy-layer { padding: 0.85rem 1rem 0.85rem 0.85rem; grid-template-columns: 1.8rem 1fr; gap: 0.85rem; }
  .anatomy-layer-title { font-size: 0.95rem; }
  .anatomy-layer-spec { font-size: 0.78rem; }
  .anatomy-stat-val { font-size: 1.5rem; }
  .membrane-sheen { display: none; }
}

/* ── Roof problem diagnoser */
.diag-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
@media (min-width: 640px) { .diag-grid { grid-template-columns: repeat(3, 1fr); } }
.diag-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 1.1rem 1.15rem;
  border-radius: 14px;
  background: rgba(13,19,28,0.9);
  border: 1.5px solid var(--border-soft);
  color: var(--text-body);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.25s, color 0.25s;
}
.diag-btn svg { width: 22px; height: 22px; color: var(--blue2); }
.diag-btn:hover { border-color: rgba(0,180,240,0.45); transform: translateY(-3px); color: #fff; }
.diag-btn.active {
  background: linear-gradient(160deg, rgba(0,180,240,0.18), rgba(0,116,173,0.06));
  border-color: var(--blue1);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(0,180,240,0.5);
}
.diag-result {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(10px);
  transition: opacity 0.45s cubic-bezier(.2,.7,.2,1), transform 0.45s cubic-bezier(.2,.7,.2,1), max-height 0.45s cubic-bezier(.2,.7,.2,1);
}
.diag-result.show {
  opacity: 1;
  max-height: 640px;
  transform: translateY(0);
}

/* ── FAQ accordion */
.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: rgba(13,19,28,0.9);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item[open] { border-color: rgba(0,180,240,0.4); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  cursor: pointer;
  list-style: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #f6f9fc;
  transition: color 0.25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue2); }
.faq-item summary .faq-chev {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--blue2);
  transition: transform 0.3s ease;
}
.faq-item[open] summary .faq-chev { transform: rotate(180deg); }
.faq-item .faq-body {
  padding: 0 1.3rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* ── Service page hero */
.svc-hero {
  position: relative;
  overflow: hidden;
  background: #05070a;
}
.svc-hero .hero-img::after {
  background: linear-gradient(180deg, rgba(5,8,12,0.6) 0%, rgba(5,10,16,0.55) 55%, var(--ink) 100%);
}
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.breadcrumbs a { color: var(--blue2); transition: color 0.25s; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .crumb-sep { opacity: 0.5; }

/* Checklist */
.check-list { display: flex; flex-direction: column; gap: 0.8rem; }
.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.55;
}
.check-list li svg {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--blue1);
  margin-top: 0.1rem;
}
.check-list li strong { color: #f6f9fc; font-weight: 600; }

/* ── Reviews */
.reviews-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: rgba(13,19,28,0.9);
  border: 1px solid var(--border-soft);
}
.reviews-trust .stars { display: inline-flex; gap: 0.12rem; }
.reviews-trust .stars svg { width: 18px; height: 18px; color: #f59e0b; }
.reviews-trust .score {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.reviews-trust .sep { width: 1px; height: 18px; background: var(--border-med); }
.reviews-trust .google-mark {
  display: inline-flex; align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}
.reviews-trust .google-mark svg { width: 16px; height: 16px; }
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 640px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card {
  position: relative;
  background: linear-gradient(160deg, rgba(18,26,38,0.92) 0%, rgba(10,15,22,0.96) 100%);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 1.5rem 1.5rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s, border-color 0.35s;
  overflow: hidden;
}
.review-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}
.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,180,240,0.35);
  box-shadow: 0 16px 40px -16px rgba(0,180,240,0.25);
}
.review-card .review-stars { display: inline-flex; gap: 0.15rem; }
.review-card .review-stars svg { width: 16px; height: 16px; color: #f59e0b; }
.review-card .review-quote {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.55;
  flex-grow: 1;
}
.review-card .review-quote::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 2.2rem;
  line-height: 0;
  color: var(--blue1);
  vertical-align: -0.4rem;
  margin-right: 0.15rem;
  font-weight: 700;
}
.review-card .review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.review-card .review-author {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: #f6f9fc;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.review-card .review-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue1), var(--blue3));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.review-card .review-author-meta { display: flex; flex-direction: column; line-height: 1.2; }
.review-card .review-author-date {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.review-card .review-google {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}
.review-card .review-google svg { width: 14px; height: 14px; }
.review-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  background: rgba(13,19,28,0.9);
  color: #f6f9fc;
  border: 1.5px solid var(--border-med);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.review-cta:hover {
  transform: translateY(-2px);
  border-color: var(--blue1);
  box-shadow: 0 18px 36px -10px rgba(0,180,240,0.3);
}
.review-cta .g-logo { width: 20px; height: 20px; }
.review-card.featured {
  background: linear-gradient(160deg, rgba(0,60,90,0.35) 0%, rgba(10,15,22,0.96) 100%);
  border-color: rgba(0,180,240,0.4);
  padding: 1.8rem 2rem;
}
.review-card.featured::before {
  height: 4px;
  background: linear-gradient(90deg, var(--blue1), #fbbf24, var(--blue1));
}
.review-card.featured .review-quote {
  font-size: 1.05rem;
  color: #e8eef6;
  font-weight: 500;
  line-height: 1.6;
}
.review-card.featured .review-quote::before { font-size: 2.8rem; }
.review-card.featured .review-author { font-size: 1rem; }
.review-card.featured .review-avatar { width: 38px; height: 38px; font-size: 0.85rem; }
.review-badge {
  position: absolute;
  top: 1.1rem; right: 1.3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(0,180,240,0.16);
  color: var(--blue2);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.review-badge svg { width: 11px; height: 11px; }
@media (max-width: 640px) {
  .review-card.featured { padding: 1.4rem 1.5rem; }
  .review-card.featured .review-quote { font-size: 0.98rem; }
  .review-badge { position: static; align-self: flex-start; margin-bottom: 0.2rem; }
}

/* ── Service cards uniform treatment */
.svc-card { display: flex; flex-direction: column; height: 100%; }
.svc-card h3 { min-height: 1.6em; }
.svc-card p { flex-grow: 1; }
.svc-card .svc-link {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue2);
  transition: color 0.25s, gap 0.25s;
}
.svc-card .svc-link:hover { color: #fff; gap: 0.65rem; }
.svc-card .svc-link svg { width: 15px; height: 15px; }

/* ── 404 page */
.err-code {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(6rem, 22vw, 13rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, #ffffff 0%, var(--blue1) 70%, var(--blue3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .raindrop, .section-shine .shine, .phone-fab::before, .phone-fab::after, .membrane-sheen::before, .btn-emergency, .strip-247 .dot {
    transition: opacity 0.3s !important;
    animation: none !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 767px) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}
