/* =========================================================
   NEATDUCTS — VERSION 12
   Premium Color Palette Enhancement
   Fonts are loaded via <link> tags in HTML head (no @import)
   ========================================================= */

/* ---------- 1. BRAND DESIGN TOKENS ---------- */
:root {

  /* ── BACKGROUNDS — Richer, deeper, more cinematic ── */
  --bg-dark:        #07182E;   /* Deeper midnight navy — more cinematic depth */
  --bg-dark-mid:    #0A2240;   /* Mid layer — between dark & soft */
  --bg-dark-soft:   #0D2D52;   /* Richer deep teal-navy secondary */
  --bg-card:        rgba(7, 34, 67, 0.72);    /* Deeper navy glass — more contrast */
  --bg-card-hover:  rgba(0, 68, 110, 0.92);   /* Strong hover state */
  --bg-card-raised: rgba(2, 52, 95, 0.85);    /* Elevated card surface */
  --bg-surface:     rgba(14, 40, 72, 0.50);   /* Ultra-light glass surface */

  /* ── TEXT — Maximum legibility, premium hierarchy ── */
  --ink:            #F0F6FF;   /* Slightly blue-tinted white — more premium feel */
  --ink-muted:      #B8CEEA;   /* Soft blue-white for secondary text */
  --steel:          #7EA4C8;   /* Richer blue-steel for labels — more on-brand */
  --steel-dark:     #EBF2FC;   /* Near-white body copy */
  --white:          #FFFFFF;
  --paper:          #07182E;
  --paper-dim:      #0D2D52;

  /* ── BRAND CORE ACCENT COLORS ── */
  --brand-navy:     #004B75;   /* Deep Steel Blue */
  --brand-sky:      #009FE3;   /* Vibrant Sky Blue */
  --brand-sky-lite: #33B8F0;   /* Lighter sky for subtle highlights */
  --brand-sky-deep: #0080C4;   /* Deeper sky for pressed states */
  --brand-amber:    #F3901D;   /* Vibrant Warm Amber — primary CTA */
  --brand-gold:     #E89224;   /* Golden Orange hover */
  --brand-amber-lite: #F9AC55; /* Light amber for warm text accents */
  --brand-royal:    #0260AE;   /* Royal Electric Blue */
  --brand-royal-lite: #1A78CB; /* Lighter royal for hover */
  --brand-darknavy: #013057;   /* Deep Navy Dark */
  --brand-ocean:    #014379;   /* Ocean Border Blue */
  --brand-slate:    #1E293B;   /* Slate Dark Neutral */

  /* ── SEMANTIC TOKENS ── */
  --bg-section-alt:  #0A2240;   /* Alternating sections — richer navy */
  --bg-footer:       #050F1E;   /* Ultra-dark footer — clean anchor */
  --star-color:      #F3901D;   /* Amber stars */
  --star-empty:      rgba(243, 144, 29, 0.22);
  --focus-ring:      #009FE3;
  --success:         #34D399;
  --success-bg:      rgba(5, 150, 105, 0.12);
  --warning:         #FBBF24;
  --warning-bg:      rgba(251, 191, 36, 0.10);
  --error:           #F87171;
  --error-bg:        rgba(248, 113, 113, 0.10);

  /* ── LEGACY COMPAT ── */
  --electric-blue:  #0260AE;
  --purple:         #004B75;
  --indigo:         #014379;
  --cyan:           #009FE3;
  --neon-blue:      #009FE3;
  --light-cyan:     #009FE3;
  --soft-violet:    #F3901D;

  /* ── GRADIENTS — Richer, more cinematic ── */
  --grad-primary:      linear-gradient(135deg, #0260AE 0%, #009FE3 45%, #F3901D 100%);
  --grad-sky:          linear-gradient(135deg, #0080C4 0%, #009FE3 60%, #33B8F0 100%);
  --grad-blue-sky:     linear-gradient(135deg, #0260AE 0%, #009FE3 100%);
  --grad-navy-sky:     linear-gradient(135deg, #004B75 0%, #0080C4 60%, #009FE3 100%);
  --grad-navy-deep:    linear-gradient(180deg, #07182E 0%, #0D2D52 100%);
  --grad-cta:          linear-gradient(135deg, #F3901D 0%, #E89224 100%);
  --grad-cta-vivid:    linear-gradient(135deg, #FF9A2E 0%, #F3901D 45%, #E08515 100%);
  --grad-cta-section:  linear-gradient(135deg, #003D62 0%, #0D2D52 100%);
  --grad-hero:         linear-gradient(160deg, #07182E 0%, #0A2240 55%, #051A38 100%);
  --grad-glow:         radial-gradient(ellipse at 35% 0%,  rgba(0, 159, 227, 0.28) 0%,
                                       rgba(243, 144, 29, 0.12) 50%,
                                       transparent 72%);
  --grad-glow-amber:   radial-gradient(ellipse at 65% 100%, rgba(243, 144, 29, 0.18) 0%,
                                       transparent 55%);
  --grad-glass:        linear-gradient(135deg,
                                       rgba(0, 159, 227, 0.08) 0%,
                                       rgba(255, 255, 255, 0.03) 100%);
  --grad-card-top:     linear-gradient(180deg, rgba(0,159,227,0.12) 0%, transparent 40%);
  /* Legacy compat */
  --grad-blue-purple:  var(--grad-blue-sky);
  --grad-purple-cyan:  var(--grad-navy-sky);
  --grad-navy-indigo:  var(--grad-navy-deep);

  /* ── BORDERS — Layered system for depth ── */
  --line:           rgba(0, 159, 227, 0.14);
  --line-mid:       rgba(0, 159, 227, 0.24);
  --line-bright:    rgba(0, 159, 227, 0.42);
  --line-amber:     rgba(243, 144, 29, 0.38);
  --line-white:     rgba(255, 255, 255, 0.08);
  --line-white-mid: rgba(255, 255, 255, 0.14);
  /* Legacy compat */
  --line-purple:    var(--line-amber);

  /* ── TYPOGRAPHY ── */
  --font-display: "Space Grotesk", "Plus Jakarta Sans", -apple-system, sans-serif;
  --font-body:    "Plus Jakarta Sans", -apple-system, Segoe UI, sans-serif;
  --font-mono:    "JetBrains Mono", monospace;

  /* ── SPACING (8-pt grid) ── */
  --space-1: 4px;  --space-2: 8px;   --space-3: 12px;
  --space-4: 16px; --space-5: 24px;  --space-6: 32px;
  --space-7: 48px; --space-8: 64px;  --space-9: 96px;

  /* ── RADIUS ── */
  --radius-xs:   6px;
  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   22px;
  --radius-xl:   30px;
  --radius-pill: 999px;

  /* ── SHADOWS — Dual-color cinematic system ── */
  --shadow-card:
    0 4px 12px -4px rgba(0, 0, 0, 0.55),
    0 1px 3px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 0 0 1px rgba(0, 159, 227, 0.06);

  --shadow-card-hover:
    0 20px 40px -10px rgba(0, 30, 60, 0.75),
    0 8px 20px -4px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 159, 227, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);

  --shadow-glow:        0 0 24px rgba(0, 159, 227, 0.38),
                        0 0 60px rgba(0, 159, 227, 0.12);
  --shadow-glow-amber:  0 0 28px rgba(243, 144, 29, 0.55),
                        0 0 64px rgba(243, 144, 29, 0.18);
  --shadow-glow-sm:     0 0 12px rgba(0, 159, 227, 0.30);
  --shadow-nav:         0 8px 32px rgba(0, 0, 0, 0.65),
                        0 1px 0 rgba(0, 159, 227, 0.18);
  --shadow-btn-amber:   0 6px 24px rgba(243, 144, 29, 0.52),
                        0 2px 8px rgba(243, 144, 29, 0.30),
                        inset 0 1px 0 rgba(255,255,255,0.32);
  --shadow-btn-sky:     0 6px 20px rgba(0, 159, 227, 0.40),
                        0 2px 6px rgba(0, 159, 227, 0.20);
  /* Legacy compat */
  --shadow-purple-glow: var(--shadow-glow);

  /* ── EASING — Apple-calibrated physics ── */
  --ease:    cubic-bezier(0.16, 1, 0.3, 1);
  --spring:  cubic-bezier(0.34, 1.48, 0.64, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);

  /* ── DURATIONS ── */
  --dur-fast:   160ms;
  --dur-base:   240ms;
  --dur-slow:   400ms;
  --dur-reveal: 720ms;

  /* ── HEADER HEIGHT ── */
  --header-height: 80px;
}


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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  /* Prevent CLS from scrollbar appearing */
  scrollbar-gutter: stable;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  margin: 0;
  background-color: var(--bg-dark);
  color: var(--steel);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  /* Optimise text rendering */
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}

/* Background Canvas */
#bg-motion-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: -2;
  opacity: 0.7;   /* Reduced — less visual noise, more content focus */
  will-change: auto;
}

/* Ambient Glow — dual radial, more cinematic */
.bg-ambient-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background-image:
    var(--grad-glow),
    var(--grad-glow-amber);
  pointer-events: none;
  z-index: -1;
  opacity: 0.80;
}

/* Base elements */
img { max-width: 100%; display: block; height: auto; }
a   { color: inherit; text-decoration: none; transition: color var(--dur-base) var(--ease); }
ul  { margin: 0; padding: 0; list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; color: var(--ink); }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
svg { overflow: visible; }

/* Page transition — slightly faster for snappier feel */
body.page-leaving {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 200ms var(--ease-in), transform 200ms var(--ease-in);
}

/* ---------- 3. ACCESSIBILITY ---------- */
/* Reduced motion — comprehensive override */
@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;
  }
  /* Keep canvas hidden to avoid distracting movement */
  #bg-motion-canvas { display: none; }
}

/* Focus-visible — improved ring, more accessible */
:focus-visible {
  outline: 2px solid var(--neon-blue);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: var(--space-2);
  z-index: 999;
  background: var(--electric-blue);
  color: var(--white);
  padding: var(--space-2) var(--space-5);
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
  font-size: 0.9rem;
}
.skip-link:focus { left: 0; }

/* ---------- 4. TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;  /* Tighter — more premium */
  color: var(--ink);
}

h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 1.06;
  background: linear-gradient(165deg, #FFFFFF 0%, #E0EEFF 40%, #B8D4F5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  line-height: 1.14;
  color: #F2F6FC;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.35;
  color: #EEF2FA;
  letter-spacing: -0.02em;
}

h4 {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Gradient text utility */
.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Eyebrow / tag label */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-sky);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: rgba(0, 159, 227, 0.10);
  border: 1px solid rgba(0, 159, 227, 0.28);
  border-radius: var(--radius-pill);
  will-change: transform;
  transform: translateZ(0);
}

.eyebrow::before {
  content: "";
  width: 5px; height: 5px;  /* Slightly smaller — more refined */
  border-radius: 50%;
  background: var(--neon-blue);
  box-shadow: 0 0 6px var(--neon-blue);
  animation: pulse-dot 2.4s ease-in-out infinite;  /* Slightly slower — more calm */
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.35); opacity: 0.55; }
}

.section-sub {
  color: var(--steel);
  max-width: 48ch;
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.7;  /* Improved readability */
}

/* ---------- 5. LAYOUT ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-7); }

/* Tighter padding on very small screens */
@media (max-width: 480px) {
  .wrap { padding: 0 var(--space-5); }
}

.section-head { max-width: 680px; margin-bottom: 3.5rem; }

section {
  padding: clamp(4rem, 8.5vw, 7rem) 0;
  position: relative;
}

/* ---------- 6. BUTTONS ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.8rem 1.55rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.93rem;
  letter-spacing: 0.01em;
  /* spring easing for natural feel */
  transition: transform var(--dur-base) var(--spring),
              box-shadow var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease),
              background var(--dur-base) var(--ease);
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  /* Promote to GPU layer */
  transform: translateZ(0);
  will-change: transform;
}

.btn-primary {
  background: var(--grad-cta-vivid);
  color: var(--white);
  box-shadow: var(--shadow-btn-amber);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 700;
  letter-spacing: 0.015em;
}

/* Shimmer sweep */
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.40), transparent);
  transition: left 0.5s var(--ease);
  z-index: -1;
  pointer-events: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FF9A2E 0%, #E89224 100%);
  transform: translateY(-4px) scale(1.03) translateZ(0);
  box-shadow:
    0 16px 40px rgba(243, 144, 29, 0.70),
    0 4px 12px rgba(243, 144, 29, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  border-color: rgba(255, 255, 255, 0.60);
}

.btn-primary:hover::before { left: 100%; }

.btn-primary:active {
  transform: translateY(-1px) scale(0.975) translateZ(0);
  transition-duration: var(--dur-fast);
}

.btn-ghost {
  background: rgba(2, 96, 174, 0.22);
  color: var(--white);
  border: 1px solid rgba(0, 159, 227, 0.35);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}

.btn-ghost:hover {
  background: rgba(0, 159, 227, 0.28);
  border-color: rgba(0, 159, 227, 0.75);
  transform: translateY(-4px) scale(1.02) translateZ(0);
  box-shadow: var(--shadow-btn-sky);
}

.btn-ghost:active {
  transform: translateY(-1px) scale(0.985) translateZ(0);
  transition-duration: var(--dur-fast);
}

.btn-lg { padding: 0.95rem 2.1rem; font-size: 1.02rem; }
.btn-block { width: 100%; justify-content: center; }

/* Icon micro-interaction */
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--spring);
  will-change: transform;
}
.btn:hover .icon { transform: translateX(4px); }

/* ---------- 7. SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px) translateZ(0);  /* Removed scale+blur — fewer paint ops */
  transition:
    opacity var(--dur-reveal) var(--ease),
    transform var(--dur-reveal) var(--ease);
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) translateZ(0);
}

/* Ensure hero above-the-fold content is always immediately visible */
.hero-copy,
.page-header {
  opacity: 1 !important;
  transform: none !important;
}

/* Fallback: if scripting is disabled or fails, show all content */
@media (scripting: none) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Stagger helpers */
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }

/* ---------- 8. STICKY GLASS HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 14, 32, 0.78);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid var(--line);
  transition: background var(--dur-slow) var(--ease),
              border-color var(--dur-slow) var(--ease),
              box-shadow var(--dur-slow) var(--ease);
  will-change: background, box-shadow;
}

.site-header.scrolled {
  background: rgba(4, 14, 32, 0.96);
  border-bottom-color: rgba(0, 159, 227, 0.25);
  box-shadow: var(--shadow-nav);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}

/* Brand / Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  text-decoration: none;
  transform: translateZ(0);
  transition: opacity var(--dur-base) var(--ease), transform var(--dur-slow) var(--spring);
}

.brand:hover {
  transform: scale(1.03) translateZ(0);
}

/* Full logo image — preserved aspect ratio, crisp rendering */
.brand-mark {
  height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--dur-slow) var(--spring);
  will-change: transform;
}

.brand:hover .brand-mark {
  transform: scale(1.02);
}

/* Hide the separate brand-name text — the logo image includes "NEAT DUCTS" */
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 2vw, 1.5rem);
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.brand-name em {
  font-style: normal;
  background: linear-gradient(135deg, #38BDF8 0%, #009FE3 55%, #0080CC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(0, 159, 227, 0.50));
}

/* Navigation */
.main-nav ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-nav a {
  position: relative;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--steel-dark);
  padding: 6px 2px;
  transition: color var(--dur-base) var(--ease);
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
  transition: width var(--dur-base) var(--spring);
}

.main-nav a:hover,
.main-nav a.active { color: var(--white); }

.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 1rem; }

.header-phone,
button.header-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #7EA4C8;
  padding: 6px var(--space-3);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  cursor: pointer;
  line-height: 1.4;
  text-decoration: none;
  transition: color var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease),
              background var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
}

.header-phone .icon,
button.header-phone .icon {
  color: #7EA4C8;
  flex-shrink: 0;
  transition: color var(--dur-base) var(--ease);
}

.header-phone:hover,
button.header-phone:hover {
  color: var(--neon-blue);
  border-color: rgba(56, 189, 248, 0.38);
  background: rgba(56, 189, 248, 0.08);
  box-shadow: 0 0 12px rgba(0, 159, 227, 0.18);
}

.header-phone:hover .icon,
button.header-phone:hover .icon {
  color: var(--neon-blue);
}

/* Mobile toggle */
.nav-toggle { display: none; padding: var(--space-2); color: var(--white); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open  { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: inline-block; }

/* ---------- 9. HERO SECTION ---------- */
.hero-image-section {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  /* Richer processing for more cinematic look */
  filter: brightness(0.40) contrast(1.14) saturate(1.1);
  transform: scale(1.03) translateZ(0);
  transition: transform 8s var(--ease), filter 0.6s var(--ease);
  will-change: transform;
}

.hero-image-section:hover .hero-image {
  transform: scale(1.07) translateZ(0);
  filter: brightness(0.46) contrast(1.16) saturate(1.18);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 60% 30%, rgba(0, 128, 196, 0.30), transparent 60%),
    radial-gradient(ellipse at 15% 70%, rgba(0, 75, 117, 0.25), transparent 55%),
    linear-gradient(170deg, rgba(7, 24, 46, 0.42) 0%, rgba(7, 24, 46, 0.97) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-copy h1 {
  margin-top: 1rem;
  margin-bottom: 1.35rem;
  letter-spacing: -0.03em;
}

.hero-lede {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--steel-dark);
  max-width: 60ch;  /* Narrower — better readability */
  line-height: 1.68;
  margin-bottom: 2.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.2rem;
}

/* Stats bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  width: fit-content;
}

/* Dividers between stat items */
.hero-stats > div {
  padding: 0 2rem 0 0;
  margin-right: 2rem;
  border-right: 1px solid var(--line);
}
.hero-stats > div:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: none;
}

.hero-stats dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  background: var(--grad-sky);    /* brand sky gradient — vivid */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.hero-stats dd {
  margin: 0;
  font-size: 0.82rem;
  color: var(--steel);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ---------- 10. CARDS — GLASSMORPHISM ---------- */
.quick-intro {
  padding: clamp(2.5rem, 5.5vw, 4.5rem) 0;
  background: var(--bg-dark-soft);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

/* Shared card styles */
.intro-card,
.benefit-card,
.service-card,
.testi-card,
.contact-form {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.9rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition:
    transform var(--dur-slow) var(--spring),
    border-color var(--dur-slow) var(--ease),
    box-shadow var(--dur-slow) var(--ease);
  overflow: hidden;
  /* GPU layer */
  will-change: transform;
  transform: translateZ(0);
}

/* Top gradient accent line */
.intro-card::before,
.benefit-card::before,
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;   /* Thinner — more refined than 2px */
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease);
}

.intro-card:hover,
.benefit-card:hover,
.service-card:hover {
  transform: translateY(-7px) translateZ(0);
  border-color: rgba(0, 159, 227, 0.42);   /* brand-sky — on-brand hover border */
  box-shadow: var(--shadow-card-hover);
}

.intro-card:hover::before,
.benefit-card:hover::before,
.service-card:hover::before { opacity: 1; }

.intro-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  color: var(--white);
}

.intro-card p {
  color: var(--steel);
  font-size: 0.97rem;
  margin-bottom: 1.6rem;
  line-height: 1.65;
}

/* Link arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--neon-blue);
  transition:
    gap var(--dur-base) var(--spring),
    color var(--dur-base) var(--ease);
}

.link-arrow:hover {
  gap: 13px;
  color: var(--light-cyan);
}

/* Page Header Trust Bar */
.page-header {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  position: relative;
}

.header-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem 1.2rem;
  margin-top: 1.8rem;
}

.trust-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 159, 227, 0.12);
  border: 1px solid rgba(0, 159, 227, 0.35);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(11, 37, 69, 0.5);
  backdrop-filter: blur(10px);
}

.trust-badge-pill .icon {
  color: var(--brand-sky);
}

.trust-badge-pill--amber {
  background: rgba(243, 144, 29, 0.14);
  border-color: rgba(243, 144, 29, 0.45);
}

.trust-badge-pill--amber .icon {
  color: var(--brand-amber);
}

/* ---------- 11. BENEFITS & SERVICES GRID ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

/* Icon containers */
.benefit-icon,
.service-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-md);
  background: rgba(0, 159, 227, 0.10);  /* brand-sky tint */
  border: 1px solid rgba(0, 159, 227, 0.22);
  color: var(--brand-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.30);
  transition:
    transform var(--dur-slow) var(--spring),
    background var(--dur-base) var(--ease),
    border-color var(--dur-base) var(--ease),
    box-shadow var(--dur-base) var(--ease),
    color var(--dur-base) var(--ease);
  will-change: transform;
  transform: translateZ(0);
}

.benefit-card:hover .benefit-icon,
.service-card:hover .service-icon {
  transform: scale(1.12) rotate(4deg) translateZ(0);
  background: var(--grad-sky);   /* vivid sky gradient on hover */
  border-color: var(--brand-sky);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 159, 227, 0.45);
}

/* Service grid */
.service-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
}

.service-card > p {
  color: var(--steel);
  font-size: 0.97rem;
  margin-bottom: 1.6rem;
  flex-grow: 1;
  line-height: 1.65;
}

.service-features,
.service-points {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}

.service-features li,
.service-points li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9rem;
  color: var(--steel-dark);
}

.service-features .icon,
.service-points .icon { color: var(--neon-blue); }

/* ---------- 12. PROCESS SECTION ---------- */
.process-flow-wrap {
  position: relative;
}

@media (min-width: 992px) {
  .process-connector-line {
    position: absolute;
    top: 55px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, #009FE3 0%, #0260AE 50%, #F3901D 100%);
    box-shadow: 0 0 12px rgba(0, 159, 227, 0.6);
    z-index: 0;
  }
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  counter-reset: step;
  list-style: none;   /* Remove browser default ol markers */
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}

.process-list li {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(0, 159, 227, 0.25);
  border-top: 3px solid var(--brand-sky);
  border-radius: var(--radius-md);
  padding: 2.1rem 1.6rem 1.9rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 32px rgba(11, 37, 69, 0.65);
  transition:
    transform var(--dur-base) var(--ease),
    border-color var(--dur-base) var(--ease),
    box-shadow var(--dur-base) var(--ease);
  will-change: transform;
  transform: translateZ(0);
}

.process-list li:hover {
  border-top-color: var(--brand-amber);
  border-color: rgba(243, 144, 29, 0.45);
  transform: translateY(-8px) translateZ(0);
  box-shadow: 0 22px 45px rgba(0, 159, 227, 0.28);
}

.process-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.process-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--brand-sky);
  background: rgba(0, 159, 227, 0.12);
  border: 1px solid rgba(0, 159, 227, 0.30);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
  letter-spacing: 0.06em;
}

.process-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 159, 227, 0.14);
  border: 1px solid rgba(0, 159, 227, 0.35);
  color: var(--brand-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.process-list li:hover .process-icon-badge {
  background: rgba(243, 144, 29, 0.20);
  border-color: rgba(243, 144, 29, 0.50);
  color: var(--brand-amber);
  transform: scale(1.1);
}

.process-list h3 {
  margin-bottom: 0.65rem;
  font-size: 1.18rem;
  color: var(--white);
  line-height: 1.3;
}

.process-list p {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ---------- 13. WHY US / ABOUT GRIDS ---------- */
.why-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.why-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  transition:
    transform var(--dur-base) var(--ease),
    border-color var(--dur-base) var(--ease);
  will-change: transform;
  transform: translateZ(0);
}

.why-item:hover {
  border-color: rgba(0, 159, 227, 0.40);   /* brand-sky hover */
  transform: translateY(-4px) translateZ(0);
}

.why-item h3 { font-size: 1.1rem; margin-bottom: 0.45rem; color: var(--white); }
.why-item p  { color: var(--steel); font-size: 0.9rem; line-height: 1.6; }

/* ---------- 14. TESTIMONIALS ---------- */
.testi-carousel { position: relative; }

.testi-track {
  display: flex;
  gap: 1.6rem;
  overflow: hidden;
  scroll-snap-type: x mandatory;
  /* Smooth momentum scrolling on iOS */
  -webkit-overflow-scrolling: touch;
}

.testi-card {
  scroll-snap-align: start;
  flex: 0 0 100%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.6rem 2.2rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px) saturate(150%);
}

.quote-icon { color: var(--brand-sky); margin-bottom: 1.1rem; }  /* brand-sky quote marks */

.testi-card p {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--steel-dark);
  line-height: 1.65;
  margin-bottom: 1.8rem;
  font-style: italic;
}

.testi-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}

.testi-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}

.testi-stars { display: inline-flex; gap: 3px; color: var(--star-color); }  /* brand amber stars */

/* Carousel controls */
.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.testi-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition:
    transform var(--dur-base) var(--spring),
    background var(--dur-base) var(--ease),
    border-color var(--dur-base) var(--ease),
    box-shadow var(--dur-base) var(--ease);
  will-change: transform;
  transform: translateZ(0);
}

.testi-btn:hover {
  background: var(--grad-blue-sky);              /* brand-sky gradient */
  border-color: rgba(0, 159, 227, 0.45);
  transform: scale(1.1) translateZ(0);
  box-shadow: 0 6px 18px rgba(0, 159, 227, 0.35); /* brand-sky glow */
}

/* Dot indicators */
.testi-dots { display: flex; gap: 6px; align-items: center; }

.testi-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition:
    width var(--dur-base) var(--ease),
    background var(--dur-base) var(--ease),
    box-shadow var(--dur-base) var(--ease);
  /* Touch targets — min 44x44 via padding */
  padding: 8px;
  margin: -8px;
  background-clip: content-box;
}

.testi-dots button.active {
  background: var(--brand-sky);
  width: 22px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 159, 227, 0.65);  /* brand-sky glow */
  background-clip: content-box;
}

/* ---------- 15. PHOTO FRAMES & PROOF GALLERY ---------- */
.photo-banner { padding: 0 0 clamp(3rem, 6.5vw, 5.5rem); }

.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.60);
  border: 1px solid var(--line-bright);
  background: rgba(1, 35, 65, 0.85);
  backdrop-filter: blur(10px);
}

.photo-frame img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  object-position: center;
  background: #011c34;
  transition:
    transform 0.65s var(--ease),
    filter 0.45s var(--ease);
  filter: brightness(0.97) contrast(1.03);
  will-change: transform;
  transform: translateZ(0);
  display: block;
}

.photo-frame:hover img {
  transform: scale(1.02) translateZ(0);
  filter: brightness(0.98) contrast(1.08);
}

.photo-frame-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(11, 37, 69, 0.70);
  border: 1px solid rgba(0, 159, 227, 0.35);
  border-top: 3px solid var(--brand-sky);
  background: rgba(1, 35, 65, 0.85);
  backdrop-filter: blur(14px);
}

.photo-trust-badges {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.photo-trust-badge {
  background: rgba(11, 37, 69, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--brand-sky);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.photo-trust-badge .icon { color: var(--brand-sky); }

.photo-trust-badge--amber {
  border-color: var(--brand-amber);
}

.photo-trust-badge--amber .icon { color: var(--brand-amber); }

.photo-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.6rem;
  background: rgba(1, 35, 65, 0.95);
  border-top: 1px solid rgba(0, 159, 227, 0.20);
}

@media (max-width: 640px) {
  .photo-caption-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

.photo-caption-text {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.93rem;
  font-weight: 500;
}

.photo-caption-text .icon {
  color: var(--brand-sky);
  flex-shrink: 0;
}

.photo-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 159, 227, 0.12);
  border: 1px solid rgba(0, 159, 227, 0.30);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--white);
  white-space: nowrap;
}

.photo-frame-wrap .photo-frame {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  background: transparent;
  overflow: hidden;
}

.photo-frame-wrap .photo-frame img {
  width: 100%;
  height: clamp(320px, 48vw, 520px);
  object-fit: contain;
  object-position: center;
  display: block;
  background: #011c34;
  filter: brightness(0.98) contrast(1.05) saturate(1.04);
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}

.photo-frame-wrap:hover .photo-frame img {
  transform: scale(1.02);
  filter: brightness(1.02) contrast(1.08) saturate(1.06);
}

/* Contain variant — for before/after grid collages */
.photo-frame-wrap .photo-frame--contain {
  padding: 1.2rem;
  background: rgba(1, 28, 52, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-frame-wrap .photo-frame--contain img {
  width: 100%;
  height: auto;
  max-height: 460px;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.proof-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 159, 227, 0.28);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(11, 37, 69, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}

.proof-card:hover {
  transform: translateY(-6px);
  border-color: rgba(243, 144, 29, 0.50);
  box-shadow: 0 24px 48px rgba(0, 159, 227, 0.28);
}

.proof-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #011c34;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proof-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
  filter: brightness(0.96) contrast(1.04);
}

.proof-card:hover .proof-media img {
  transform: scale(1.03);
  filter: brightness(1.0) contrast(1.08);
}

.proof-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: rgba(11, 37, 69, 0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--brand-sky);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.proof-badge .icon {
  color: var(--brand-sky);
}

.proof-badge--amber {
  border-color: var(--brand-amber);
}

.proof-badge--amber .icon {
  color: var(--brand-amber);
}

.proof-body {
  padding: 1.6rem 1.8rem 1.8rem;
}

.proof-body h3 {
  font-size: 1.22rem;
  font-family: var(--font-display);
  color: var(--white);
  margin-bottom: 0.9rem;
}

.proof-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.proof-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.5;
}

.proof-bullets .icon {
  color: var(--brand-sky);
  flex-shrink: 0;
  margin-top: 3px;
}

.proof-bullets strong {
  color: var(--white);
}

@media (max-width: 768px) {
  .proof-grid {
    grid-template-columns: 1fr;
  }
}

.proof-caption {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.5;
}

.proof-caption strong { color: var(--white); }

/* ---------- 16. CONTACT FORM ---------- */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.6rem 2.1rem;
  box-shadow: var(--shadow-card);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field { margin-bottom: 1.3rem; }

.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--steel-dark);
  letter-spacing: 0.01em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(7, 24, 50, 0.72);  /* deeper navy glass — more contrast */
  color: var(--white);
  transition:
    border-color var(--dur-base) var(--ease),
    box-shadow var(--dur-base) var(--ease),
    background var(--dur-base) var(--ease);
  font-size: 0.95rem;
}

/* Select styling improvement */
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237EA4C8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-sky);
  box-shadow: 0 0 0 3px rgba(0, 159, 227, 0.20);  /* brand-sky focus ring */
  outline: none;
  background: rgba(7, 24, 50, 0.95);
}

.field textarea { resize: vertical; min-height: 108px; }

/* Honeypot spam-trap field: positioned off-screen rather than display:none
   so unsophisticated bots that check computed styles still fill it in */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-error {
  display: none;
  font-size: 0.78rem;
  color: #F87171;
  margin-top: 0.35rem;
  font-weight: 500;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.field.invalid .field-error { display: block; }

/* Form feedback states */
.form-success {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  background: rgba(16, 185, 129, 0.12);
  color: #34D399;
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-error {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  background: rgba(239, 68, 68, 0.12);
  color: #F87171;
  border: 1px solid rgba(248, 113, 113, 0.28);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Contact info list */
.contact-info {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.97rem;
  color: var(--steel-dark);
}

.contact-info .icon { color: var(--neon-blue); flex-shrink: 0; }

.contact-info a {
  color: var(--steel-dark);
  transition: color var(--dur-base) var(--ease);
}
.contact-info a:hover { color: var(--neon-blue); }

/* ---------- 17. FOOTER ---------- */
.site-footer {
  background: var(--bg-footer);   /* #1E293B slate dark — distinct from page body */
  color: var(--steel);
  padding-top: 5rem;
  border-top: 1px solid var(--line);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  margin: 1.1rem 0 1.5rem;
  font-size: 0.93rem;
  max-width: 32ch;
  line-height: 1.65;
}

.footer-socials { display: flex; gap: var(--space-2); }

.footer-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0, 159, 227, 0.06);
  border: 1px solid var(--line-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel);
  transition:
    transform var(--dur-base) var(--spring),
    background var(--dur-base) var(--ease),
    border-color var(--dur-base) var(--ease),
    box-shadow var(--dur-base) var(--ease);
  will-change: transform;
  transform: translateZ(0);
}

.footer-socials a:hover {
  background: var(--grad-blue-sky);            /* brand sky gradient */
  border-color: rgba(0, 159, 227, 0.55);
  color: var(--white);
  transform: translateY(-3px) scale(1.08) translateZ(0);
  box-shadow: 0 8px 18px rgba(0, 159, 227, 0.35); /* brand-sky glow */
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neon-blue);
  margin-bottom: 1.3rem;
  font-weight: 600;
}

.footer-col ul { display: grid; gap: 0.75rem; }

.footer-col a {
  color: var(--steel);
  font-size: 0.93rem;
  display: inline-block;
  transition:
    color var(--dur-base) var(--ease),
    transform var(--dur-base) var(--ease);
}

.footer-col a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem 0;
  font-size: 0.85rem;
  color: var(--steel);
  /* Use wrap for consistent side padding */
  margin: 0 auto;
  max-width: 1200px;
  padding-left: 48px;
  padding-right: 48px;
}

/* ---------- 18. BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  right: 28px; bottom: 28px;
  z-index: 90;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-cta-vivid);   /* vivid amber — stands out in navy BG */
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow-amber);
  border: 1px solid rgba(255, 255, 255, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.8) translateZ(0);
  transition:
    opacity var(--dur-base) var(--ease),
    visibility var(--dur-base) var(--ease),
    transform var(--dur-base) var(--spring),
    box-shadow var(--dur-base) var(--ease);
  will-change: transform, opacity;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1) translateZ(0);
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.12) translateZ(0);
  box-shadow:
    0 0 32px rgba(243, 144, 29, 0.70),
    0 8px 20px rgba(243, 144, 29, 0.40);
}

/* ---------- 19. PAGE HEADER (INTERIOR PAGES) ---------- */
.page-header {
  position: relative;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(0, 128, 196, 0.22), transparent 55%),
    radial-gradient(ellipse at 70% 100%, rgba(0, 75, 117, 0.18), transparent 50%),
    radial-gradient(ellipse at 50% 0%, rgba(0, 159, 227, 0.12), rgba(7, 24, 46, 0.99) 65%);
  padding: clamp(3.5rem, 7.5vw, 5.5rem) 0;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-mid);
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 159, 227, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

.page-header h1 { margin-bottom: 0.9rem; }

.page-header p {
  color: var(--steel-dark);
  font-size: 1.15rem;
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---------- 20. TRUST STRIP & CONVERSION BOOSTERS ---------- */
.trust-strip {
  background: var(--bg-section-alt);  /* #013057 — distinct from primary BG */
  border-top: 1px solid var(--line-bright);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  transition: transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}

.trust-badge-item:hover {
  transform: translateY(-3px);
  border-color: var(--line-bright);   /* brand-sky border */
}

.trust-badge-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(0, 159, 227, 0.12);   /* brand-sky tint */
  border: 1px solid rgba(0, 159, 227, 0.28);
  color: var(--neon-blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.trust-badge-text h4 {
  font-size: 0.92rem;
  color: var(--white);
  margin-bottom: 2px;
}

.trust-badge-text p {
  font-size: 0.8rem;
  color: var(--steel);
  line-height: 1.3;
}

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--white);
  background: rgba(0, 159, 227, 0.10);
  border: 1px solid rgba(0, 159, 227, 0.30);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}

.trust-pill:hover {
  background: rgba(0, 159, 227, 0.18);
  border-color: rgba(0, 159, 227, 0.55);
}

.trust-pill .icon {
  color: var(--brand-sky);
}

/* ---------- FAQ ACCORDION ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(14px);
  transition: border-color var(--dur-base) var(--ease);
}

.faq-item:hover,
.faq-item.open {
  border-color: var(--line-bright);   /* brand-sky — was rgba(56,189,248) legacy */
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 1.6rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
}

.faq-question .icon-chevron {
  color: var(--neon-blue);
  transition: transform var(--dur-base) var(--ease);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.open .faq-question .icon-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
  padding: 0 1.6rem;
  color: var(--steel-dark);
  font-size: 0.96rem;
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.6rem 1.4rem;
}

/* CTA BANNER */
.cta-banner {
  background:
    radial-gradient(ellipse at 35% 0%,  rgba(0, 128, 196, 0.30), transparent 55%),
    radial-gradient(ellipse at 65% 100%, rgba(0, 75, 117, 0.22), transparent 50%),
    radial-gradient(ellipse at 50% 50%,  rgba(0, 159, 227, 0.10), rgba(7, 24, 46, 0.98) 75%);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(0, 159, 227, 0.08);
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
  color: var(--white);
}

.cta-banner p {
  color: var(--steel-dark);
  font-size: 1.1rem;
  max-width: 54ch;
  margin: 0 auto 2.2rem;
  line-height: 1.65;
}

.cta-banner-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

/* Responsive adjust for trust strip */
@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* ---------- 21. STORY & MISSION LAYOUT ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* ---------- 21. RESPONSIVE BREAKPOINTS ---------- */
@media (max-width: 1024px) {
  .hero-stats { grid-template-columns: repeat(3, auto); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid,
  .services-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 1.8rem; }
  .story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .story-grid .about-diagram { display: none; }
}

@media (max-width: 992px) {
  .why-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .intro-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.2rem; }

  /* Mobile & Tablet nav — full screen drawer */
  .main-nav {
    position: fixed;
    top: var(--header-height, 80px);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100vw;
    height: calc(100vh - var(--header-height, 80px));
    height: calc(100dvh - var(--header-height, 80px));
    background: rgba(5, 7, 18, 0.98);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    transform: translateX(100%);
    transition: transform var(--dur-slow) var(--ease), visibility var(--dur-slow) var(--ease);
    visibility: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid var(--line);
    z-index: 999;
  }

  .main-nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .main-nav ul {
    display: flex;
    flex-direction: column;
    padding: 2rem var(--space-7);
    gap: 0;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
  }

  .main-nav li {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a {
    display: block;
    padding: 1.1rem 0;
    font-size: 1.15rem;
    color: var(--steel-dark);
    width: 100%;
  }

  .main-nav a:hover,
  .main-nav a.active {
    color: var(--white);
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .header-phone span { display: none; }
}

@media (max-width: 640px) {
  /* Hide phone in header on mobile to give clean space for button + 3-line hamburger menu */
  .header-phone {
    display: none;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
  }

  /* Compact short normal size CTA button in header alongside 3-line navigation menu */
  .header-actions .btn-primary {
    display: inline-flex;
    padding: 0.5rem 1rem;
    font-size: 0.84rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 14px rgba(243, 144, 29, 0.45);
  }

  .header-inner {
    gap: 0.6rem;
  }

  .main-nav ul {
    padding: 1.5rem var(--space-5);
  }

  .benefit-grid   { grid-template-columns: 1fr; }
  .process-list   { grid-template-columns: 1fr; }
  .why-list       { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; }

  /* Hero stats — stack vertically on mobile */
  .hero-stats {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 1.2rem;
  }

  .hero-stats > div {
    padding: 0 0 1.2rem;
    margin: 0 0 0;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .hero-stats > div:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.7rem;
    text-align: center;
    padding-left: var(--space-5);
    padding-right: var(--space-5);
  }
}

/* Body scroll-lock when mobile nav is open */
body.nav-open {
  overflow: hidden;
  /* Prevent layout shift from scrollbar disappearing */
  padding-right: 0;
}

/* ---------- 22. UTILITY CLASSES ---------- */
/* Ensure transition-less snap for reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .intro-card,
  .benefit-card,
  .service-card,
  .process-list li,
  .why-item,
  .testi-btn,
  .btn,
  .footer-socials a {
    transition: none !important;
  }
}

/* High contrast mode support */
@media (forced-colors: active) {
  .btn-primary { forced-color-adjust: none; }
  :focus-visible { outline: 3px solid ButtonText; }
}

/* ---------- 23. FEATURE ENHANCEMENT STYLES ---------- */

/* Mobile Sticky Bottom CTA Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 990;
  background: rgba(4, 14, 32, 0.97);   /* deep navy — v12 BG */
  backdrop-filter: blur(24px) saturate(200%);
  border-top: 1px solid var(--line-mid);
  padding: 0.75rem 1rem;
  gap: 0.75rem;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.70);
}

.mobile-sticky-bar .btn {
  flex: 1;
  padding: 0.75rem 0.5rem;
  font-size: 0.88rem;
}

@media (max-width: 640px) {
  .mobile-sticky-bar { display: flex; }
  body { padding-bottom: 70px; } /* Prevent footer overlap */
  .back-to-top { bottom: 80px; }  /* Lift back to top button above mobile bar */
}

/* Interactive Before & After Drag Slider */
.ba-slider {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0,0,0,0.65);
  border: 1px solid var(--line-bright);
  user-select: none;
  touch-action: none;   /* Allow JS to fully control touch — fixes drag vs scroll conflict */
  cursor: ew-resize;
  background: #090C18;
}

.ba-slider img {
  display: block;
  width: 100%;
  height: clamp(300px, 45vw, 500px);
  object-fit: cover;
  pointer-events: none;
}

.ba-before-img {
  width: 100%;
}

.ba-after-layer {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 50%; /* Default split */
  overflow: hidden;
  z-index: 2;
  will-change: width;
}

.ba-after-layer img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--brand-sky);
  z-index: 3;
  transform: translateX(-50%);
  box-shadow: 0 0 18px rgba(0, 159, 227, 0.80), 0 0 6px rgba(0, 159, 227, 0.50);
  pointer-events: none;
  will-change: left;
}

.ba-handle-button {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-sky);      /* vivid sky gradient */
  border: 2px solid rgba(255, 255, 255, 0.90);
  box-shadow:
    0 0 20px rgba(0, 159, 227, 0.65),
    0 4px 14px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.ba-label {
  position: absolute;
  top: 1.2rem;
  padding: 0.35rem 0.9rem;
  background: rgba(5, 7, 18, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  z-index: 4;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.ba-label-before { left: 1.2rem;  color: var(--error);     border-color: rgba(248,113,113,0.35); }
.ba-label-after  { right: 1.2rem; color: var(--brand-sky); border-color: var(--line-mid); }

/* ZIP Code Availability Checker */
.zip-checker-box {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 2.2rem;
  backdrop-filter: blur(16px);
  margin-top: 2rem;
  box-shadow: var(--shadow-card);
}

.zip-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  max-width: 520px;
  margin-top: 1rem;
}

.zip-form .btn {
  flex-shrink: 0;
}

.zip-input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-mid);
  background: rgba(7, 24, 50, 0.80);   /* deep navy glass */
  color: var(--white);
  font-size: 0.98rem;
}

.zip-input:focus {
  border-color: var(--brand-sky);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 159, 227, 0.22);  /* brand-sky ring */
}

.zip-result {
  margin-top: 1rem;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.94rem;
  display: none;
  align-items: center;
  gap: 0.6rem;
}

.zip-result.success {
  display: flex;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #34D399;
}

/* Savings & Dust Calculator */
.calc-box {
  background: var(--bg-card);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-card);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 860px) {
  .calc-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.calc-sliders {
  display: grid;
  gap: 1.6rem;
}

.calc-group label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--steel-dark);
  margin-bottom: 0.6rem;
}

.calc-val {
  color: var(--brand-sky);   /* brand-sky token */
  font-family: var(--font-mono);
  font-weight: 600;
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(0, 159, 227, 0.12);
  outline: none;
  cursor: pointer;
  accent-color: var(--brand-sky);   /* brand-sky slider thumb */
}

.calc-result-card {
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 128, 196, 0.28), rgba(7, 24, 50, 0.95) 75%);
  border: 1px solid var(--line-mid);
  border-top: 2px solid var(--brand-sky);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  text-align: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.calc-metric {
  margin-bottom: 1.5rem;
}

.calc-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  background: var(--grad-sky);   /* brand sky — vivid and on-brand */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.calc-label {
  font-size: 0.85rem;
  color: var(--steel);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* Trust Guarantee Seals Grid */
.trust-seals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .trust-seals-grid { grid-template-columns: 1fr; }
}

.seal-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(14px);
  transition: transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}

.seal-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 159, 227, 0.42);   /* brand-sky on-brand hover */
}

.seal-icon-wrap {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(0, 159, 227, 0.12);   /* brand-sky tint */
  border: 1px solid rgba(0, 159, 227, 0.30);
  color: var(--brand-sky);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.1rem;
}

.seal-card h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.seal-card p {
  font-size: 0.88rem;
  color: var(--steel);
  line-height: 1.55;
}

/* ============================================================
   VERSION 11 — PREMIUM DESIGN SYSTEM ADDITIONS
   ============================================================ */

/* Alternating section backgrounds for visual rhythm */
.section-alt {
  background: var(--bg-section-alt);
}

/* Star rating components */
.star-cluster {
  display: inline-flex;
  gap: 3px;
  color: var(--star-color);
  font-size: 1.1rem;
  line-height: 1;
}

.star-cluster--lg {
  font-size: 1.4rem;
  gap: 4px;
}

/* Aggregate rating display */
.agg-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.agg-rating-score {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.03em;
}

.agg-rating-count {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--steel);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* Platform badge */
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink);
  font-weight: 600;
}

/* Guarantee / Success badge */
.guarantee-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--success-bg);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--success);
  font-weight: 600;
}

/* Stat counter */
.stat-counter {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 800;
  color: var(--brand-sky);
  letter-spacing: -0.03em;
  line-height: 1.1;
  display: block;
}

.stat-counter--amber {
  color: var(--brand-amber);
}

/* Section accent divider */
.section-divider {
  width: 48px;
  height: 3px;
  background: var(--grad-cta);
  border-radius: var(--radius-pill);
  margin: 1.2rem 0 2rem;
}

.section-divider--center {
  margin: 1.2rem auto 2rem;
}

/* Mobile CTA Bar */
.mobile-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 88;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.2rem;
  background: rgba(11, 37, 69, 0.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--line-bright);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 72px; }
}

.mobile-cta-bar .btn {
  flex: 1;
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
}

/* Responsive trust-badge pill for page headers */
@media (max-width: 600px) {
  .header-trust-bar {
    gap: 0.5rem 0.75rem;
  }
  .trust-badge-pill {
    font-size: 0.76rem;
    padding: 5px 12px;
  }
}

/* Photo trust badge amber variant */
.photo-trust-badge--amber {
  border-color: var(--brand-amber);
}

.photo-trust-badge--amber .icon {
  color: var(--brand-amber);
}

/* Star icon color utility */
.icon--star {
  color: var(--star-color);
}

/* Responsive: trust-grid stacks on smaller screens */
@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================
   VERSION 12+ — PERFORMANCE & MOBILE IMPROVEMENTS
   ============================================================= */

/* ---------- Content Visibility — render only what's visible ---------- */
.quick-intro,
.faq-section,
.photo-banner {
  content-visibility: auto;
  contain-intrinsic-size: 0 400px;
}

/* ---------- Mobile Performance — reduce GPU-heavy effects ---------- */
@media (max-width: 768px) {
  .intro-card,
  .benefit-card,
  .service-card,
  .testi-card {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .site-header {
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
  }

  /* Hero on mobile */
  .hero-image-section {
    min-height: 92svh;
    padding-top: clamp(3rem, 12vw, 5rem);
    padding-bottom: clamp(2rem, 8vw, 4rem);
  }

  .hero-lede {
    font-size: 1rem;
    margin-bottom: 1.8rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-trust-pills {
    gap: 0.5rem;
  }

  .trust-pill {
    font-size: 0.76rem;
    padding: 4px 10px;
  }

  .section-head {
    margin-bottom: 2.2rem;
  }

  .footer-brand p {
    max-width: none;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 68px;
  }

  .header-inner {
    height: var(--header-height);
    gap: 0.45rem;
  }

  .brand {
    gap: 0.45rem;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .brand-mark {
    height: 38px;
  }

  .header-actions {
    gap: 0.45rem;
  }

  .header-actions .btn-primary {
    padding: 0.44rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
  }

  .nav-toggle {
    min-width: 38px;
    min-height: 38px;
    padding: 6px;
  }

  .main-nav ul {
    padding: 1.2rem 1.25rem;
  }

  .main-nav a {
    padding: 1rem 0;
    font-size: 1.1rem;
  }

  .hero-actions {
    gap: 0.75rem;
  }

  .cta-banner {
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 6vw, 3rem) clamp(1.2rem, 4vw, 2rem);
  }

  .back-to-top {
    right: 16px;
  }
}

@media (max-width: 360px) {
  .wrap {
    padding: 0 0.85rem;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-mark {
    height: 32px;
  }

  .header-actions {
    gap: 0.35rem;
  }

  .header-actions .btn-primary {
    padding: 0.38rem 0.65rem;
    font-size: 0.72rem;
  }

  .nav-toggle {
    min-width: 32px;
    min-height: 32px;
    padding: 4px;
  }

  .main-nav ul {
    padding: 1rem 0.9rem;
  }

  .main-nav a {
    padding: 0.85rem 0;
    font-size: 1.02rem;
  }
}

/* ---------- Touch Target Minimum 44x44px ---------- */
.testi-btn,
.faq-question,
.nav-toggle,
.footer-socials a,
.back-to-top {
  min-width: 44px;
  min-height: 44px;
}

/* ---------- Scroll-margin for anchor targets ---------- */
/* Prevents sticky header from covering jump targets */
[id] {
  scroll-margin-top: 90px;
}

/* ---------- Image lazy-load fade-in ---------- */
img[loading="lazy"] {
  transition: opacity 0.4s var(--ease);
}

/* =========================================================
   REVIEWS PAGE & REPUTATION DASHBOARD STYLES
   ========================================================= */

/* Hero badge bar */
.reviews-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.reviews-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 159, 227, 0.08);
  border: 1px solid rgba(0, 159, 227, 0.25);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.84rem;
  font-family: var(--font-mono);
  color: var(--ink);
}

.reviews-trust-chip .icon {
  color: var(--brand-sky);
}

.reviews-trust-chip--amber {
  background: rgba(243, 144, 29, 0.08);
  border-color: rgba(243, 144, 29, 0.30);
}

.reviews-trust-chip--amber .icon {
  color: var(--brand-amber);
}

/* Reputation Dashboard */
.reputation-dashboard-section {
  padding: 0 0 clamp(2.5rem, 5vw, 4rem);
}

.reputation-dashboard {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1.6fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 992px) {
  .reputation-dashboard {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .reputation-dashboard {
    grid-template-columns: 1fr;
  }
}

.dashboard-card {
  background: var(--bg-card);
  border: 1px solid var(--line-mid);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Overall Score Box */
.score-box-inner {
  text-align: center;
}

.overall-score-num {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.overall-score-num span {
  font-size: 1.8rem;
  color: var(--steel);
  font-weight: 600;
}

.score-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  color: var(--brand-amber);
  margin-bottom: 0.8rem;
}

.score-count-label {
  font-size: 0.92rem;
  color: var(--ink-muted);
  font-family: var(--font-mono);
}

/* Rating Breakdown Bars */
.rating-breakdown-card h3,
.subratings-card h3 {
  font-size: 1.05rem;
  font-family: var(--font-display);
  color: var(--white);
  margin-bottom: 1.2rem;
}

.rating-bar-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rating-bar-row {
  display: grid;
  grid-template-columns: 52px 1fr 40px;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--steel-dark);
}

.rating-bar-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
}

.rating-bar-fill {
  height: 100%;
  background: var(--grad-cta-vivid);
  border-radius: var(--radius-pill);
  transition: width 1s var(--ease);
}

/* Subrating Criteria Grid */
.subrating-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.subrating-chip {
  background: rgba(7, 24, 50, 0.60);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.subrating-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 159, 227, 0.12);
  border: 1px solid rgba(0, 159, 227, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-sky);
  flex-shrink: 0;
}

.subrating-info {
  display: flex;
  flex-direction: column;
}

.subrating-score {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.1;
}

.subrating-title {
  font-size: 0.78rem;
  color: var(--steel);
  font-family: var(--font-mono);
}

/* Review Filter Controls */
.reviews-controls-bar {
  background: rgba(7, 24, 50, 0.85);
  border: 1px solid var(--line-mid);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.4rem;
  margin-bottom: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  backdrop-filter: blur(16px);
}

.reviews-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 7px 15px;
  font-size: 0.84rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--steel-dark);
  cursor: pointer;
  transition: all var(--dur-base) var(--ease);
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-btn:hover {
  background: rgba(0, 159, 227, 0.14);
  border-color: var(--brand-sky);
  color: var(--white);
}

.filter-btn.active {
  background: var(--brand-sky);
  border-color: var(--brand-sky);
  color: var(--white);
  box-shadow: var(--shadow-glow-sm);
}

.reviews-sort-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.reviews-sort-label {
  font-size: 0.84rem;
  color: var(--steel);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.reviews-sort-select {
  background: rgba(7, 24, 50, 0.9);
  border: 1px solid var(--line-mid);
  color: var(--white);
  padding: 6px 28px 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-family: var(--font-body);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23009FE3' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.reviews-sort-select:focus {
  outline: none;
  border-color: var(--brand-sky);
  box-shadow: 0 0 0 2px rgba(0, 159, 227, 0.25);
}

.reviews-count-meta {
  font-size: 0.86rem;
  color: var(--steel);
  font-family: var(--font-mono);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Reviews Grid V2 */
.reviews-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.4rem;
  align-items: stretch;
}

@media (max-width: 480px) {
  .reviews-grid-v2 {
    grid-template-columns: 1fr;
  }
}

/* Review Card V2 */
.review-card-v2 {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-base) var(--spring), border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}

.review-card-v2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-card-top);
  pointer-events: none;
}

.review-card-v2:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 159, 227, 0.38);
  box-shadow: var(--shadow-card-hover);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 159, 227, 0.25) 0%, rgba(2, 96, 174, 0.35) 100%);
  border: 1px solid rgba(0, 159, 227, 0.4);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-header-text {
  flex: 1;
  min-width: 0;
}

.review-author-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 2px;
}

.review-author-meta {
  font-size: 0.78rem;
  color: var(--steel);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-date-badge {
  font-size: 0.76rem;
  color: var(--steel);
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.review-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 0.9rem;
}

.review-stars {
  display: flex;
  gap: 3px;
  color: var(--brand-amber);
}

.review-service-tag {
  font-size: 0.74rem;
  font-family: var(--font-mono);
  color: var(--brand-sky);
  background: rgba(0, 159, 227, 0.10);
  border: 1px solid rgba(0, 159, 227, 0.20);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-text {
  font-size: 0.96rem;
  color: var(--steel-dark);
  line-height: 1.62;
  margin-bottom: 1.2rem;
  flex: 1;
}

.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
  font-size: 0.8rem;
}

.review-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--success);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.review-verified-tag .icon {
  color: var(--success);
}

/* Load More Button */
.reviews-load-more-wrap {
  text-align: center;
  margin-top: 2.8rem;
}

/* Empty State */
.reviews-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--bg-card);
  border: 1px dashed var(--line-mid);
  border-radius: var(--radius-lg);
  color: var(--steel-dark);
  grid-column: 1 / -1;
}

.reviews-empty-state p {
  margin-top: 0.5rem;
  color: var(--steel);
}

/* Service Highlight Section */
.service-highlights-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--bg-section-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

@media (max-width: 860px) {
  .service-highlights-grid {
    grid-template-columns: 1fr;
  }
}

.service-highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.service-highlight-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-highlight-card p {
  color: var(--steel-dark);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.service-highlight-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-highlight-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ink);
}

.service-highlight-card li .icon {
  color: var(--brand-sky);
  flex-shrink: 0;
}

/* Submit Review / Share Feedback Card */
.feedback-invite-card {
  background: linear-gradient(135deg, rgba(0, 75, 117, 0.45) 0%, rgba(13, 45, 82, 0.7) 100%);
  border: 1px solid rgba(0, 159, 227, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3.5rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.feedback-invite-text h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.feedback-invite-text p {
  color: var(--steel-dark);
  font-size: 0.95rem;
  max-width: 58ch;
  line-height: 1.5;
}

/* FAQ Accordion on Reviews Page */
.reviews-faq-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease);
}

.faq-item.open {
  border-color: var(--brand-sky);
  box-shadow: var(--shadow-glow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.3rem 1.6rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  cursor: pointer;
}

.faq-icon-cross {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--spring);
}

.faq-icon-cross::before,
.faq-icon-cross::after {
  content: "";
  position: absolute;
  background: var(--brand-sky);
  border-radius: 2px;
}

.faq-icon-cross::before {
  top: 9px;
  left: 2px;
  right: 2px;
  height: 2px;
}

.faq-icon-cross::after {
  top: 2px;
  bottom: 2px;
  left: 9px;
  width: 2px;
  transition: transform var(--dur-base) var(--ease);
}

.faq-item.open .faq-icon-cross {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
  padding: 0 1.6rem;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.6rem 1.4rem;
}

.faq-answer p {
  color: var(--steel-dark);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* =========================================================
   SYSTEM COMPARISON: HVAC AIR DUCTS VS. DRYER EXHAUST
   ========================================================= */

.system-comparison-section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: var(--bg-dark-soft);
  border-top: 1px solid var(--line-mid);
  border-bottom: 1px solid var(--line-mid);
}

.system-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 820px) {
  .system-comparison-grid {
    grid-template-columns: 1fr;
  }
}

.system-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.system-card--primary {
  border-color: rgba(0, 159, 227, 0.38);
  border-top: 4px solid var(--brand-sky);
}

.system-card--secondary {
  border-color: rgba(243, 144, 29, 0.38);
  border-top: 4px solid var(--brand-amber);
}

.system-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  width: fit-content;
}

.system-badge-tag--sky {
  background: rgba(0, 159, 227, 0.12);
  color: var(--brand-sky);
  border: 1px solid rgba(0, 159, 227, 0.3);
}

.system-badge-tag--amber {
  background: rgba(243, 144, 29, 0.12);
  color: var(--brand-amber);
  border: 1px solid rgba(243, 144, 29, 0.3);
}

.system-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.system-card-desc {
  color: var(--steel-dark);
  font-size: 0.95rem;
  line-height: 1.62;
  margin-bottom: 1.4rem;
}

.system-specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

.system-specs-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.5;
}

.system-specs-list strong {
  color: var(--white);
}

.system-specs-list .icon {
  color: var(--brand-sky);
  flex-shrink: 0;
  margin-top: 2px;
}

.system-card--secondary .system-specs-list .icon {
  color: var(--brand-amber);
}

/* System Comparison Table */
.system-table-card {
  background: var(--bg-card);
  border: 1px solid var(--line-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.system-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.system-comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
  min-width: 620px;
}

.system-comparison-table th,
.system-comparison-table td {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--line);
}

.system-comparison-table th {
  background: rgba(1, 35, 65, 0.95);
  font-family: var(--font-display);
  font-size: 0.96rem;
  color: var(--white);
  font-weight: 700;
}

.system-comparison-table td {
  color: var(--steel-dark);
  line-height: 1.5;
}

.system-comparison-table td:first-child {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
}

.system-comparison-table tr:hover td {
  background: rgba(0, 159, 227, 0.04);
}

/* ---------- 23. TWO-OPTION MESSAGING MODAL & CONTACT PREFERENCES ---------- */
.header-phone.phone-choice-trigger {
  cursor: pointer;
}

.footer-phone-btn {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: color var(--dur-base) var(--ease);
}
.footer-phone-btn:hover {
  color: var(--neon-blue);
}

.contact-info-phone {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: color var(--dur-base) var(--ease);
}
.contact-info-phone:hover {
  color: var(--neon-blue);
}

/* Modal Overlay */
.phone-choice-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  width: 100vw;
  max-width: 100%;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  inset: 0;
  z-index: 100000;
  background: rgba(3, 10, 22, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.phone-choice-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Modal Card */
.phone-choice-card {
  background: var(--bg-dark);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 32px rgba(0, 159, 227, 0.12);
  max-width: 420px;
  width: 100%;
  margin: auto;
  padding: 1.75rem;
  box-sizing: border-box;
  position: relative;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.phone-choice-overlay.open .phone-choice-card {
  transform: scale(1) translateY(0);
}

.phone-choice-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.phone-choice-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--brand-sky);
  background: rgba(0, 159, 227, 0.1);
  border: 1px solid rgba(0, 159, 227, 0.22);
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  margin-bottom: 0.4rem;
}

.phone-choice-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  line-height: 1.25;
  margin: 0;
}

.phone-choice-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--steel-dark);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
.phone-choice-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.phone-choice-options {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.choice-option-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 64px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-sizing: border-box;
}

.choice-option-btn:focus-visible {
  outline: 2px solid var(--neon-blue);
  outline-offset: 2px;
}

/* SMS Button */
.choice-option-btn.opt-sms {
  border-color: rgba(56, 189, 248, 0.24);
}
.choice-option-btn.opt-sms:hover {
  background: rgba(0, 159, 227, 0.14);
  border-color: var(--brand-sky);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 159, 227, 0.2);
}

/* WhatsApp Button */
.choice-option-btn.opt-whatsapp {
  border-color: rgba(37, 211, 102, 0.28);
  background: rgba(37, 211, 102, 0.06);
}
.choice-option-btn.opt-whatsapp:hover {
  background: rgba(37, 211, 102, 0.16);
  border-color: #25D366;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.22);
}

.choice-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.opt-sms .choice-icon-wrap {
  background: rgba(0, 159, 227, 0.15);
  color: var(--brand-sky);
}
.opt-whatsapp .choice-icon-wrap {
  background: rgba(37, 211, 102, 0.18);
  color: #25D366;
}

.choice-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: left;
}

.choice-main-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}

.choice-sub-text {
  font-size: 0.8rem;
  color: var(--steel);
  line-height: 1.3;
}

.phone-choice-footer-note {
  font-size: 0.78rem;
  color: var(--steel);
  text-align: center;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .phone-choice-overlay {
    padding: 0.85rem;
    align-items: center;
    justify-content: center;
  }

  .phone-choice-card {
    max-width: min(420px, calc(100vw - 1.7rem));
    width: 100%;
    margin: auto;
    padding: 1.35rem 1.1rem;
    border-radius: var(--radius-md);
  }

  .phone-choice-header {
    margin-bottom: 1rem;
  }

  .phone-choice-title {
    font-size: 1.15rem;
  }

  .choice-option-btn {
    padding: 0.85rem 0.95rem;
    gap: 0.75rem;
    min-height: auto;
  }

  .choice-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .choice-main-text {
    font-size: 0.92rem;
  }

  .choice-sub-text {
    font-size: 0.74rem;
  }

  .phone-choice-footer-note {
    font-size: 0.72rem;
    margin-top: 0.75rem;
  }
}

/* Form Contact Preferences */
.contact-pref-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.pref-pill {
  position: relative;
  cursor: pointer;
  display: block;
}

.pref-pill input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.pref-pill-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0.85rem;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--steel-dark);
  transition: all 0.2s ease;
  user-select: none;
}

.pref-pill input:checked + .pref-pill-box {
  background: rgba(0, 159, 227, 0.16);
  border-color: var(--brand-sky);
  color: var(--white);
  box-shadow: 0 0 12px rgba(0, 159, 227, 0.2);
}

.pref-pill.opt-wa input:checked + .pref-pill-box {
  background: rgba(37, 211, 102, 0.14);
  border-color: #25D366;
  color: var(--white);
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.2);
}

.pref-pill input:focus-visible + .pref-pill-box {
  outline: 2px solid var(--neon-blue);
  outline-offset: 2px;
}

.pref-hint {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.45rem;
  font-size: 0.82rem;
  color: #34D399;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.24);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  animation: fadeInHint 0.2s ease;
}

@keyframes fadeInHint {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Print styles ---------- */
@media print {
  .site-header,
  .mobile-sticky-bar,
  .mobile-cta-bar,
  .back-to-top,
  #bg-motion-canvas,
  .bg-ambient-overlay,
  .ba-slider,
  .calc-box {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    padding: 0;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #444;
  }
}
