/* ============================================================
   ELEVATED SOLUTIONS ROOFING & DEVELOPMENT
   Design System — Dark / Chrome / Green
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ---- CUSTOM PROPERTIES ----------------------------------- */
:root {
  --bg:          #050810;
  --bg-2:        #0f0f0f;
  --bg-3:        #161616;
  --bg-4:        #1e1e1e;
  --border:      rgba(255, 255, 255, 0.07);
  --border-md:   rgba(255, 255, 255, 0.12);
  --border-lg:   rgba(255, 255, 255, 0.20);
  --text:        #f2f2f2;
  --text-2:      #888;
  --text-3:      #444;
  --green:       #3fd97a;
  --green-dark:  #2db862;
  --green-dim:   rgba(63, 217, 122, 0.09);
  --green-glow:  rgba(63, 217, 122, 0.22);
  --chrome:      #a0a8b0;
  --chrome-lt:   #c8d0d8;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius:    6px;
  --radius-lg: 12px;
  --ease:      0.2s ease;
  --ease-slow: 0.4s ease;
  --container: 1400px;
  --nav-h:     80px;
}

/* ---- RESET ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img    { display: block; max-width: 100%; }
a      { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---- TYPOGRAPHY ------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-size: clamp(2.8rem, 5.5vw, 4.8rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); margin-bottom: 18px; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 0.9rem; }
p  { color: var(--text-2); line-height: 1.75; }

.text-green  { color: var(--green); }
.text-chrome { color: var(--chrome); }
.text-muted  { color: var(--text-2); }
.text-white  { color: var(--text); }

/* ---- LAYOUT ---------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--green);
  flex-shrink: 0;
}
.section-title { margin-bottom: 24px; }
.section-desc  { font-size: 1.05rem; color: var(--text-2); margin-top: 10px; }

.section-header        { max-width: 620px; }
.section-header.center { margin: 0 auto; text-align: center; }
.section-header.center .section-label { justify-content: center; }
.section-header.center .section-label::before { display: none; }

.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

/* ---- NAV ------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(8, 8, 8, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 56px;
  width: auto;
  filter: invert(1) brightness(2);
}
.footer-brand .nav-logo img {
  height: 42px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: color var(--ease), background var(--ease);
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--green); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  padding: 3px 0;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 16px 28px 28px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: all 0.2s ease;
}
.nav-mobile.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.nav-mobile-links { display: flex; flex-direction: column; margin-bottom: 20px; }
.nav-mobile-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--ease);
}
.nav-mobile-link:hover { color: var(--text); }

/* ---- BUTTONS --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 12px 24px;
  border-radius: var(--radius);
  transition: all var(--ease);
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--green);
  color: #000;
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px var(--green-glow);
}
.btn-outline {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.50);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.16);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--green);
  padding-left: 0;
  gap: 6px;
}
.btn-ghost:hover { color: var(--green-dark); }
.btn-ghost .arrow { transition: transform var(--ease); }
.btn-ghost:hover .arrow { transform: translateX(4px); }

.btn-lg { font-size: 1.1rem; padding: 17px 38px; }
.btn-sm { font-size: 0.8rem; padding: 9px 18px; }
.btn-full { width: 100%; }

/* ---- HERO (Homepage) — Premium minimal single-column ----- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 64px) 0 120px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}

/* Background wrapper — holds all layered atmospheric elements */
.hero-bg {
  position: absolute; inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

/* Aurora — slow-rotating conic gradient, adds magic without noise */
.hero-aurora {
  position: absolute;
  top: 50%; left: 50%;
  width: 180%; height: 180%;
  transform: translate(-50%, -50%);
  background: conic-gradient(
    from 0deg at 50% 50%,
    rgba(63,217,122,0) 0deg,
    rgba(63,217,122,0.07) 40deg,
    rgba(63,217,122,0) 90deg,
    rgba(63,217,122,0.10) 160deg,
    rgba(63,217,122,0) 210deg,
    rgba(63,217,122,0.05) 290deg,
    rgba(63,217,122,0) 360deg
  );
  filter: blur(50px);
  mix-blend-mode: screen;
  animation: auroraSpin 32s linear infinite;
  opacity: 0.9;
}
@keyframes auroraSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Fine dot grid — precision, masked to fade gracefully at edges */
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1.2px);
  background-size: 32px 32px;
  background-position: 0 0;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, #000 0%, rgba(0,0,0,0.55) 50%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, #000 0%, rgba(0,0,0,0.55) 50%, transparent 85%);
}

/* Horizontal scan beam — plays once on first page load */
.hero-scan {
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(63,217,122,0.25) 20%,
    rgba(63,217,122,0.85) 50%,
    rgba(63,217,122,0.25) 80%,
    transparent 100%);
  box-shadow: 0 0 24px rgba(63,217,122,0.55), 0 0 44px rgba(63,217,122,0.3);
  opacity: 0;
  animation: scanSweep 2.6s cubic-bezier(.25,.6,.3,1) 0.4s both;
}
@keyframes scanSweep {
  0%   { transform: translateY(0);    opacity: 0; }
  8%   { opacity: 0.9; }
  90%  { opacity: 0.9; }
  100% { transform: translateY(100vh); opacity: 0; }
}

/* Floating particles — small green motes drifting upward */
.hero-particles {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-particles span {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(63,217,122,0.85), 0 0 16px rgba(63,217,122,0.4);
  opacity: 0;
  animation: particleDrift 14s linear infinite;
}
.hero-particles span:nth-child(1)  { left:  6%; animation-delay:  0s;  animation-duration: 16s; }
.hero-particles span:nth-child(2)  { left: 14%; animation-delay:  2.4s; animation-duration: 12s; width: 2px; height: 2px; }
.hero-particles span:nth-child(3)  { left: 22%; animation-delay:  5s;  animation-duration: 18s; }
.hero-particles span:nth-child(4)  { left: 31%; animation-delay:  7.5s; animation-duration: 15s; width: 2px; height: 2px; }
.hero-particles span:nth-child(5)  { left: 42%; animation-delay:  1s;  animation-duration: 20s; }
.hero-particles span:nth-child(6)  { left: 51%; animation-delay: 10s;  animation-duration: 14s; width: 2px; height: 2px; }
.hero-particles span:nth-child(7)  { left: 59%; animation-delay:  3.5s; animation-duration: 17s; }
.hero-particles span:nth-child(8)  { left: 68%; animation-delay:  6.5s; animation-duration: 13s; width: 4px; height: 4px; }
.hero-particles span:nth-child(9)  { left: 76%; animation-delay:  9s;  animation-duration: 19s; }
.hero-particles span:nth-child(10) { left: 84%; animation-delay:  4s;  animation-duration: 15s; width: 2px; height: 2px; }
.hero-particles span:nth-child(11) { left: 91%; animation-delay: 11s;  animation-duration: 17s; }
.hero-particles span:nth-child(12) { left: 96%; animation-delay:  8s;  animation-duration: 14s; width: 2px; height: 2px; }
@keyframes particleDrift {
  0%   { bottom: -6px;  opacity: 0;    transform: translateX(0); }
  8%   { opacity: 0.85; }
  50%  { transform: translateX(18px); }
  92%  { opacity: 0.85; }
  100% { bottom: 102%; opacity: 0;    transform: translateX(-10px); }
}

/* Primary green aura — large, slow-drifting, centered behind text */
.hero-orb {
  position: absolute;
  top: 50%; left: 50%;
  width: 1100px; height: 1100px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle,
      rgba(63,217,122,0.24) 0%,
      rgba(63,217,122,0.10) 28%,
      rgba(63,217,122,0.03) 52%,
      transparent 70%);
  filter: blur(40px);
  animation: orbDrift 16s ease-in-out infinite;
  mix-blend-mode: screen;
}
@keyframes orbDrift {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50%       { transform: translate(-48%, -52%) scale(1.08); opacity: 0.88; }
}

/* Secondary accent orb — smaller, offset, adds depth */
.hero-orb-b {
  width: 520px; height: 520px;
  top: 78%; left: 82%;
  background:
    radial-gradient(circle,
      rgba(63,217,122,0.18) 0%,
      rgba(63,217,122,0.05) 45%,
      transparent 70%);
  filter: blur(50px);
  animation: orbDriftB 20s ease-in-out infinite;
}
@keyframes orbDriftB {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%       { transform: translate(-55%, -45%) scale(1.14); }
}

/* Thin neon beams — top and bottom edges of the hero */
.hero-beam {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(63,217,122,0.08) 18%,
    rgba(63,217,122,0.55) 50%,
    rgba(63,217,122,0.08) 82%,
    transparent 100%);
  opacity: 0.55;
  transform-origin: center;
  animation: beamSweep 3s cubic-bezier(.2,.7,.2,1) both;
}
.hero-beam-top { top: var(--nav-h); }
.hero-beam-bot { bottom: 0; }
.hero-beam-bot { animation-delay: 0.3s; }
@keyframes beamSweep {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 0.55; }
}

/* Subtle grain — breaks up solid fills, adds premium feel */
.hero-grain {
  position: absolute; inset: 0;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Editorial corner marks — set on opposite corners for quiet asymmetry */
.hero-edge {
  position: absolute;
  width: 36px; height: 36px;
  opacity: 0.55;
}
.hero-edge::before,
.hero-edge::after {
  content: "";
  position: absolute;
  background: var(--green);
  box-shadow: 0 0 8px rgba(63,217,122,0.4);
}
.hero-edge::before { width: 100%; height: 1px; }
.hero-edge::after  { width: 1px;  height: 100%; }
.hero-edge-tl { top: calc(var(--nav-h) + 36px); left: 36px; }
.hero-edge-tl::before { top: 0; left: 0; }
.hero-edge-tl::after  { top: 0; left: 0; }
.hero-edge-br { bottom: 36px; right: 36px; }
.hero-edge-br::before { bottom: 0; right: 0; }
.hero-edge-br::after  { bottom: 0; right: 0; }

/* Content — centered column, left-aligned text */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  animation: heroFadeIn 0.95s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 12px;
  border: 1px solid rgba(63,217,122,0.32);
  border-radius: 100px;
  background: rgba(63, 217, 122, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--green);
  margin-bottom: 32px;
}
.pulse-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(63,217,122,0.85);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(0.85); }
}

.hero h1 {
  margin-bottom: 28px;
  font-size: clamp(2.8rem, 6.2vw, 5rem);
  letter-spacing: -0.028em;
  font-weight: 600;
  line-height: 1.02;
  color: var(--text);
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
  position: relative;
  white-space: nowrap;
  animation: emBreathe 4.5s ease-in-out 1s infinite;
}
@keyframes emBreathe {
  0%, 100% { text-shadow: 0 0 28px rgba(63,217,122,0.32), 0 0 54px rgba(63,217,122,0.15); }
  50%       { text-shadow: 0 0 46px rgba(63,217,122,0.55), 0 0 80px rgba(63,217,122,0.32); }
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, var(--green) 0%, rgba(63,217,122,0) 100%);
  border-radius: 2px;
  transform-origin: left;
  animation: underline 1.2s 0.6s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes underline {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.hero-sub {
  font-size: 1.18rem;
  color: var(--text-2);
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-actions .btn-primary svg { transition: transform var(--ease); }
.hero-actions .btn-primary:hover svg { transform: translateX(3px); }

/* Rotating specialization ticker — sits just below the CTAs */
.hero-spec {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 30px;
  padding: 8px 18px 8px 14px;
  border-radius: 100px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-display);
}
.hero-spec-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.hero-spec-rotator {
  position: relative;
  display: inline-block;
  min-width: 210px;
  height: 1.2em;
  vertical-align: bottom;
}
.hero-spec-word {
  position: absolute;
  top: 0; left: 0;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.005em;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(.2,.7,.2,1);
  text-shadow: 0 0 16px rgba(63,217,122,0.35);
}
.hero-spec-word.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}
.hero-spec-word.leaving {
  opacity: 0;
  transform: translateY(-10px);
}

.hero-signals {
  display: flex;
  gap: 24px 36px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
  max-width: 720px;
}
.hero-signals li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-2);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.sig-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(63,217,122,0.7);
  flex-shrink: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-3);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  z-index: 1;
  font-family: var(--font-display);
  animation: float 2.4s ease-in-out infinite;
  opacity: 0.7;
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(5px); }
}

/* ---- PAGE HERO (inner pages) ----------------------------- */
.page-hero {
  padding: calc(var(--nav-h) + 72px) 0 72px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 90% at 5% 50%, rgba(63,217,122,0.055) 0%, transparent 60%);
  z-index: 0;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1       { margin-bottom: 24px; }
.page-hero .lead    { font-size: 1.1rem; max-width: 560px; margin-top: 6px; }

/* ---- TRUST BAR ------------------------------------------ */
.trust-bar {
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 36px;
  justify-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
}
.trust-item svg { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; }

/* ---- STATS ---------------------------------------------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-block {
  background: var(--bg-2);
  padding: 36px 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 7px;
}
.stat-num em { font-style: normal; color: var(--green); }
.stat-label  { font-size: 0.82rem; color: var(--text-2); }

/* ---- SERVICE GRID --------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.svc-card {
  background: var(--bg-2);
  padding: 40px 36px;
  position: relative;
  transition: background var(--ease);
}
.svc-card:hover { background: var(--bg-3); }
.svc-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.12em;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.svc-icon {
  width: 44px; height: 44px;
  background: var(--green-dim);
  border: 1px solid rgba(63,217,122,0.18);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--green);
}
.svc-icon svg { width: 21px; height: 21px; }
.svc-card h3  { font-size: 1.2rem; margin-bottom: 10px; }
.svc-card p   { font-size: 0.88rem; margin-bottom: 20px; }
.svc-arrow {
  position: absolute;
  top: 36px; right: 36px;
  color: var(--text-3);
  transition: color var(--ease), transform var(--ease);
}
.svc-card:hover .svc-arrow { color: var(--green); transform: translate(2px, -2px); }

/* ---- CARDS ---------------------------------------------- */
.card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--ease), background var(--ease);
}
.card:hover { border-color: var(--border-md); background: var(--bg-4); }

.card-icon {
  width: 44px; height: 44px;
  background: var(--green-dim);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--green);
}
.card-icon svg { width: 21px; height: 21px; }
.card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.card p  { font-size: 0.88rem; }

/* ---- CARDS GRID ----------------------------------------- */
.cards-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cards-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ---- STORY SECTION -------------------------------------- */
.story-pull {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
  padding: 0 16px;
}
.story-pull p {
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0;
}
.story-accent { color: var(--green); }

.story-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
}
.story-card p {
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.85;
  margin: 0;
}

.story-pillars {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.story-pillar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
  transition: border-color var(--ease), background var(--ease);
}
.story-pillar:hover {
  border-color: rgba(63,217,122,0.4);
  background: var(--bg-4);
}
.story-pillar svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .story-pull p   { font-size: 1.15rem; }
  .story-card     { padding: 24px 22px; }
  .story-card p   { font-size: 0.95rem; line-height: 1.75; }
  .story-pillars  { gap: 8px; }
  .story-pillar   { padding: 8px 14px; font-size: 0.78rem; }
}

/* ---- TWO COLUMN ----------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.two-col.flip { direction: rtl; }
.two-col.flip > * { direction: ltr; }

/* ---- IMAGE PLACEHOLDER ---------------------------------- */
.img-block {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-3);
}
.img-block svg  { width: 40px; height: 40px; opacity: 0.3; }
.img-block span { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.img-block.tall { aspect-ratio: 3/4; }

/* ---- PROCESS STEPS -------------------------------------- */
.steps { display: flex; flex-direction: column; }
.step  {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.1em;
  padding-top: 3px;
}
.step h4 { font-size: 1.05rem; margin-bottom: 10px; }
.step p  { font-size: 0.88rem; }

/* ---- FEATURE LIST --------------------------------------- */
.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.feat-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green-dim);
  border: 1px solid rgba(63,217,122,0.28);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green);
}
.feat-check svg { width: 10px; height: 10px; }
.feature-item p { font-size: 0.88rem; }

/* ---- CALLOUT BANNERS ------------------------------------ */
.callout {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.callout-green {
  border-color: rgba(63,217,122,0.22);
  background: rgba(63,217,122,0.06);
}
.callout-body h3 { font-size: 1.25rem; margin-bottom: 10px; }
.callout-body p  { font-size: 0.88rem; }

.emergency-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 36px;
  background: rgba(63,217,122,0.07);
  border: 1px solid rgba(63,217,122,0.2);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}
.emergency-icon {
  width: 48px; height: 48px;
  background: var(--green-dim);
  border: 1px solid rgba(63,217,122,0.28);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.emergency-icon svg { width: 24px; height: 24px; }
.emergency-text h4 { font-size: 1.05rem; margin-bottom: 4px; }
.emergency-text p  { font-size: 0.875rem; }
.emergency-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ---- PARTNER LOGOS ROW ---------------------------------- */
.partners-logos {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---- BADGES / TAGS -------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--border-md);
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--chrome);
  letter-spacing: 0.04em;
  background: rgba(255,255,255,0.03);
}
.badge-green {
  border-color: rgba(63,217,122,0.3);
  color: var(--green);
  background: var(--green-dim);
}
.badges-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ---- PRODUCT CARDS (Shingles) --------------------------- */
.product-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--ease);
}
.product-card:hover { border-color: var(--border-md); }
.product-card-top {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.product-card-body { padding: 24px 28px 28px; }
.product-brand { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.product-sub   { font-size: 0.76rem; color: var(--text-3); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }
.product-card-body p { font-size: 0.88rem; margin-bottom: 18px; }

/* ---- TESTIMONIALS --------------------------------------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--green); }
.stars svg { width: 13px; height: 13px; }
.review-text { font-size: 0.875rem; color: var(--text-2); margin-bottom: 18px; line-height: 1.7; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-4);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3);
  flex-shrink: 0;
}
.reviewer-avatar svg { width: 18px; height: 18px; }
.reviewer-name { font-size: 0.82rem; font-weight: 600; font-family: var(--font-display); color: var(--text); }
.reviewer-loc  { font-size: 0.75rem; color: var(--text-3); }
.placeholder-shimmer {
  height: 11px;
  background: var(--bg-4);
  border-radius: 4px;
  animation: shimmer 2s ease-in-out infinite;
}
.placeholder-shimmer.short  { width: 55%; }
.placeholder-shimmer.medium { width: 78%; }
.placeholder-shimmer.long   { width: 100%; }
@keyframes shimmer {
  0%, 100% { opacity: 0.45; }
  50%       { opacity: 0.75; }
}

/* ---- TEAM CARDS ----------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.team-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}
.team-avatar {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--bg-4);
  margin: 0 auto 16px;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3);
}
.team-avatar svg { width: 34px; height: 34px; }
.team-name { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--text); margin-bottom: 4px; }
.team-role { font-size: 0.76rem; color: var(--green); font-weight: 500; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.team-bio  { font-size: 0.82rem; color: var(--text-3); font-style: italic; }

/* ---- GALLERY GRID --------------------------------------- */
.gallery-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-btn {
  padding: 7px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  font-family: var(--font-body);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-2);
  background: transparent;
  cursor: pointer;
  transition: all var(--ease);
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-dim);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  aspect-ratio: 1 / 1;
  gap: 12px;
}
.gallery-item {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: border-color var(--ease), transform var(--ease);
  min-width: 0;
  min-height: 0;
}
.gallery-item:hover { border-color: var(--border-md); transform: scale(1.01); }
.gallery-item.large { grid-column: span 2; grid-row: span 2; }
.gallery-item.wide  { grid-column: span 2; grid-row: span 1; }
.gallery-item.tall  { grid-column: span 1; grid-row: span 2; }
.gallery-ph {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; color: var(--text-3);
}
.gallery-ph svg  { width: 28px; height: 28px; opacity: 0.25; }
.gallery-ph span { font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.4; }
.gallery-ph img  { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-label {
  position: absolute;
  bottom: 10px; left: 10px;
  background: rgba(8,8,8,0.85);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 9px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.04em;
}

/* ---- COMING SOON BANNER --------------------------------- */
.coming-soon-banner {
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 20% 0%, rgba(63,217,122,0.10), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(63,217,122,0.06), transparent 50%),
    var(--bg-2);
  position: relative;
  overflow: hidden;
}
.coming-soon-banner[hidden] { display: none; }
.coming-soon-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(63,217,122,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63,217,122,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 75%);
  pointer-events: none;
}
.coming-soon-inner {
  position: relative;
  text-align: center;
  padding: 88px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 1;
}
.coming-soon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  height: 380px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(63,217,122,0.18), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
  animation: comingSoonPulse 4s ease-in-out infinite;
}
@keyframes comingSoonPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.08); }
}
.coming-soon-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(63,217,122,0.12);
  border: 1px solid rgba(63,217,122,0.3);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.coming-soon-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: comingSoonBlink 1.6s ease-in-out infinite;
}
@keyframes comingSoonBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}
.coming-soon-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
  margin: 4px 0 0;
  color: var(--text);
}
.coming-soon-desc {
  max-width: 460px;
  font-size: 0.95rem;
  color: var(--text-2);
  margin: 0;
}

/* ---- FAQ ------------------------------------------------ */
.faq-list {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
  background: var(--bg-2);
}
.faq-q:hover                    { background: var(--bg-3); }
.faq-q[aria-expanded="true"]    { color: var(--green); background: var(--bg-3); }
.faq-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--text-3);
  transition: transform var(--ease), color var(--ease);
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); color: var(--green); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.32s ease, padding 0.32s ease;
  background: var(--bg-2);
}
.faq-a.open { max-height: 280px; }
.faq-a-inner { padding: 4px 28px 22px; }
.faq-a p { font-size: 0.875rem; line-height: 1.72; }

/* ---- QUOTE FORM ----------------------------------------- */
.quote-wrap {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.quote-inner {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }

label {
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--text-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
input, textarea, select {
  background: var(--bg-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 11px 15px;
  font-size: 0.9rem;
  transition: border-color var(--ease), box-shadow var(--ease);
  width: 100%;
}
input::placeholder, textarea::placeholder { color: var(--text-3); }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-dim);
}
select {
  appearance: none; -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 34px;
}
select option { background: var(--bg-3); color: var(--text); }
textarea { resize: vertical; min-height: 110px; }

/* ---- CONTACT INFO --------------------------------------- */
.contact-info-list { display: flex; flex-direction: column; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.ci-icon {
  width: 40px; height: 40px;
  background: var(--green-dim);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.ci-icon svg { width: 17px; height: 17px; }
.ci-label   { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; color: var(--text-3); margin-bottom: 3px; }
.ci-value   { font-size: 0.92rem; color: var(--text); font-weight: 500; }
.ci-value.ph { color: var(--text-3); font-style: italic; font-weight: 400; }

.map-ph {
  width: 100%; height: 280px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; color: var(--text-3);
}
.map-ph svg  { width: 34px; height: 34px; opacity: 0.3; }
.map-ph span { font-size: 0.8rem; }

/* ---- PARTNER LOGOS -------------------------------------- */
.partners { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.partner-tag {
  padding: 12px 26px;
  background: var(--bg-3);
  border: 1px solid var(--border-md);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--chrome-lt);
  letter-spacing: 0.03em;
  transition: border-color var(--ease), color var(--ease);
}
.partner-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 64px;
  position: relative;
  cursor: pointer;
  text-decoration: none;
}
.partner-tag:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(63, 217, 122, 0.10);
}
.partner-tag[data-name]::after {
  content: attr(data-name);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--green);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.partner-tag[data-name]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.partner-logo {
  height: 40px;
  width: 120px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}
.partner-tag:hover .partner-logo { transform: scale(1.05); }

/* ---- Brand logo panels (Shingles page) — clickable ------ */
.brand-logo-link {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
}
.brand-logo-link img { transition: transform 0.4s ease; }
.brand-logo-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(63,217,122,0.35);
}
.brand-logo-link:hover img { transform: scale(1.05); }
.brand-logo-link:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* ---- FOOTER --------------------------------------------- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { font-size: 0.85rem; margin-top: 14px; max-width: 280px; line-height: 1.72; }
.footer-col h5  { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.11em; color: var(--text-2); margin-bottom: 18px; }
.footer-links   { display: flex; flex-direction: column; gap: 11px; }
.footer-link    { font-size: 0.85rem; color: var(--text-2); transition: color var(--ease); }
.footer-link:hover { color: var(--text); }
.footer-link.accent { color: var(--green); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-copy  { font-size: 0.78rem; color: var(--text-3); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: 0.78rem; color: var(--text-3); transition: color var(--ease); }
.footer-legal a:hover { color: var(--text-2); }

/* ---- AMBIENT NEON GLOW ---------------------------------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background:
    radial-gradient(ellipse 70% 55% at 15% 18%, rgba(63, 217, 122, 0.32), transparent 60%),
    radial-gradient(ellipse 65% 50% at 85% 82%, rgba(63, 217, 122, 0.26), transparent 60%),
    radial-gradient(ellipse 90% 45% at 50% 110%, rgba(63, 217, 122, 0.20), transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% -10%, rgba(63, 217, 122, 0.14), transparent 60%);
  filter: blur(70px);
}

/* Home page ambient: refined, cinematic — the hero supplies the visual */
body.home::before {
  background:
    radial-gradient(ellipse 55% 40% at 90% 10%, rgba(63, 217, 122, 0.18), transparent 60%),
    radial-gradient(ellipse 45% 40% at 10% 90%, rgba(63, 217, 122, 0.09), transparent 60%),
    radial-gradient(circle at 50% 100%, rgba(63, 217, 122, 0.04), transparent 55%);
  filter: blur(50px);
}

/* ---- ANIMATIONS ----------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }
.fade-up:nth-child(5) { transition-delay: 0.32s; }
.fade-up:nth-child(6) { transition-delay: 0.40s; }

/* ---- SPACING UTILS -------------------------------------- */
.mt-8  { margin-top: 8px;  } .mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; } .mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-8  { margin-bottom: 8px;  } .mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; } .mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; } .mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }

/* ---- RESPONSIVE ----------------------------------------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid   { grid-template-columns: repeat(2, 1fr); }
  .stats-row   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .hero { padding: calc(var(--nav-h) + 48px) 0 96px; }
  .hero-edge { width: 28px; height: 28px; }
  .hero-edge-tl { top: calc(var(--nav-h) + 24px); left: 24px; }
  .hero-edge-br { bottom: 24px; right: 24px; }
  .hero-orb { width: 820px; height: 820px; }
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .reviews-grid  { grid-template-columns: 1fr; }
  .gallery-grid  {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    grid-auto-rows: 1fr;
    aspect-ratio: auto;
  }
  .gallery-item { aspect-ratio: 4/3; }
  .gallery-item.large,
  .gallery-item.wide,
  .gallery-item.tall { grid-column: span 1; grid-row: span 1; }
  .cards-grid-3  { grid-template-columns: repeat(2, 1fr); }
  .cards-grid-4  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 62px; }

  .section    { padding: 56px 0; }
  .section-sm { padding: 40px 0; }
  .container  { padding: 0 18px; }

  .nav-links  { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: block; }
  .nav-logo img { height: 44px; }

  /* Typography */
  h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  h2 { font-size: clamp(1.5rem, 5.5vw, 2rem); margin-bottom: 14px; }
  h3 { font-size: clamp(1.05rem, 4vw, 1.3rem); }

  /* Page hero */
  .page-hero { padding: calc(var(--nav-h) + 48px) 0 48px; }
  .page-hero .lead { font-size: 1rem; }

  /* Homepage hero */
  .hero            { padding: calc(var(--nav-h) + 40px) 0 80px; min-height: auto; }
  .hero-badge      { margin-bottom: 22px; padding: 6px 13px 6px 10px; font-size: 0.78rem; }
  .hero h1         { margin-bottom: 20px; font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero-sub        { font-size: 1.02rem; margin-bottom: 28px; }
  .hero-signals    { margin-top: 36px; padding-top: 22px; gap: 14px 22px; }
  .hero-signals li { font-size: 0.78rem; }
  .hero-edge       { display: none; }
  .hero-orb        { width: 640px; height: 640px; }
  .hero-orb-b      { display: none; }
  .hero-scroll     { display: none; }

  /* Two-column stacking */
  .two-col      { grid-template-columns: 1fr !important; gap: 32px !important; }
  .two-col.flip { direction: ltr; }

  /* Inline image grids — stack to 1 col */
  .inline-grid-2 { grid-template-columns: 1fr !important; }

  /* Contact page layout — form first on mobile */
  .contact-layout { grid-template-columns: 1fr !important; gap: 40px !important; }
  .contact-form-col { order: -1; }
  .contact-info-col { order: 1; }

  /* Grids */
  .form-grid   { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .team-grid   { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
  .cards-grid-2 { grid-template-columns: 1fr; }
  .cards-grid-3 { grid-template-columns: 1fr; }
  .cards-grid-4 { grid-template-columns: 1fr; }
  .trust-inner  { grid-template-columns: 1fr; gap: 14px; justify-items: start; }
  .trust-item   { font-size: 0.92rem; white-space: normal; }

  /* Stats */
  .stat-block { padding: 24px 16px; }
  .stat-num   { font-size: 2rem; }
  .stat-label { font-size: 0.75rem; }

  /* Service cards */
  .svc-card   { padding: 28px 22px; }
  .svc-arrow  { top: 24px; right: 22px; }
  .svc-num    { margin-bottom: 20px; }

  /* Cards */
  .card { padding: 24px 20px; }

  /* Product cards */
  .product-card-top  { padding: 22px 20px 16px; }
  .product-card-body { padding: 18px 20px 22px; }

  /* Steps */
  .step { grid-template-columns: 40px 1fr; gap: 16px; padding: 24px 0; }

  /* Callout + emergency */
  .callout       { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
  .emergency-bar { flex-direction: column; align-items: stretch; padding: 20px 18px; gap: 16px; text-align: center; }
  .emergency-icon { align-self: center; }
  .emergency-text { text-align: center; }
  .emergency-actions { flex-direction: column; width: 100%; }
  .emergency-actions .btn { width: 100%; justify-content: center; }

  /* Quote form */
  .quote-inner { padding: 24px 18px; }

  /* FAQ */
  .faq-q       { padding: 18px 20px; font-size: 0.88rem; }
  .faq-a-inner { padding: 4px 20px 18px; }

  /* Partners */
  .partners-logos { display: flex; justify-content: center; gap: 8px; flex-wrap: nowrap; }
  .partners-logos .partner-tag { flex: 1; min-width: 0; min-height: 52px; padding: 8px 10px; }
  .partner-logo { height: 30px; width: auto; max-width: 90px; }
  .partner-tag[data-name]::after { display: none; }

  /* Footer */
  .footer { padding: 48px 0 0; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 10px; }

  /* Map */
  .map-ph { height: 200px; }

  /* Review cards */
  .review-card { padding: 22px 18px; }

  /* Section header */
  .section-header { max-width: 100%; }
  .section-desc   { font-size: 0.95rem; }

  /* Spacing overrides */
  .mb-48 { margin-bottom: 32px; }
  .mb-64 { margin-bottom: 40px; }
  .mt-48 { margin-top: 32px; }
  .mt-64 { margin-top: 40px; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .btn-lg { width: 100%; font-size: 1rem; padding: 15px 28px; }

  .stats-row { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }

  .footer-grid { gap: 24px; }
  .footer-col h5 { margin-bottom: 12px; }
}

/* ---- REDUCED MOTION ------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero-orb,
  .hero-orb-b,
  .hero-aurora,
  .hero-scan,
  .hero-particles span,
  .hero-beam,
  .hero-content,
  .hero h1 em,
  .hero h1 em::after,
  .hero-spec-word,
  .pulse-dot,
  .hero-scroll { animation: none !important; transition: none !important; }
  .hero-scan { opacity: 0 !important; }
  .hero-particles { display: none; }
}

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