/* ============================================================
   PROTECHWELL SOLUTIONS — "Energy Instrumentation" design system
   ============================================================ */

:root {
  --ink:        #05100F;
  --ink-2:      #081815;
  --panel:      #0B2E32;
  --panel-2:    #103A3E;
  --panel-3:    #144349;
  --teal:       #00A79D;
  --teal-deep:  #008A80;
  --glow:       #4DF0D6;
  --slate:      #7D8A96;
  --mist:       #E6EBEF;
  --white:      #FFFFFF;
  --danger:     #FF5B4E;
  --glass-bg:        rgba(16,58,62,.55);
  --glass-border:    rgba(77,240,214,.16);
  --nav-scrolled-bg: rgba(5,16,15,.75);
  --radius:     20px;
  --radius-sm:  10px;
  --font-h:     'Space Grotesk', sans-serif;
  --font-b:     'Inter', sans-serif;
  --font-mono:  'JetBrains Mono', monospace;
  --px:         clamp(20px, 5vw, 72px);
  --maxw:       1360px;
}

/* ── LIGHT MODE ──
   Same variable names, swapped values — "--white"/"--mist" hold dark text
   colors here since every rule already references them for heading/body text. */
[data-theme="light"] {
  --ink:        #F5FAF9;
  --ink-2:      #EAF4F2;
  --panel:      #FFFFFF;
  --panel-2:    #F3FAF9;
  --panel-3:    #EDF7F5;
  --teal:       #00A79D;
  --teal-deep:  #008A80;
  --glow:       #007A72;
  --slate:      #5A6B76;
  --mist:       #16302E;
  --white:      #0E211F;
  --glass-bg:        rgba(255,255,255,.7);
  --glass-border:    rgba(0,138,128,.2);
  --nav-scrolled-bg: rgba(245,250,249,.82);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  background: var(--ink);
  color: var(--mist);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  transition: background-color .35s ease, color .35s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; color: inherit; background: none; border: none; }
h1, h2, h3, h4 { font-family: var(--font-h); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
::selection { background: var(--glow); color: var(--ink); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; }

/* Hide native cursor only where custom cursor is active (desktop, fine pointer) */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button, input, textarea { cursor: none; }
}
@media (hover: none), (pointer: coarse) {
  body { cursor: auto; }
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--px); }
.section { position: relative; padding: 120px var(--px); overflow: hidden; }
.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--glow);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--glow);
}
.section-title { font-size: clamp(30px, 4.2vw, 54px); color: var(--white); }
.section-sub { font-family: var(--font-b); color: var(--slate); font-size: clamp(15px, 1.6vw, 18px); max-width: 640px; margin-top: 16px; }

/* ── GLOWING ORB CURSOR ── */
#cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77,240,214,.9) 0%, rgba(77,240,214,.35) 45%, transparent 75%);
  filter: blur(2px);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .35s ease, height .35s ease, opacity .3s ease;
}
[data-theme="light"] #cursor-glow {
  background: radial-gradient(circle, rgba(0,122,114,.55) 0%, rgba(0,122,114,.2) 45%, transparent 75%);
  mix-blend-mode: multiply;
}
@media (hover: none), (pointer: coarse) {
  #cursor-glow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #cursor-glow { display: none; }
}

/* ── LOADER — power-on sequence ── */
#loader {
  position: fixed; inset: 0;
  z-index: 10000;
  background: var(--ink);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 18px;
}
#loader-battery { width: 74px; height: auto; overflow: visible; filter: drop-shadow(0 0 18px rgba(77,240,214,.25)); }
#loader-charge-fill { clip-path: inset(100% 0 0 0); }
#loader-pct {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--slate);
}
#loader-pct span { color: var(--glow); }
#loader-flash {
  position: fixed; inset: 0;
  z-index: 10001;
  background: radial-gradient(circle, var(--glow) 0%, var(--teal) 35%, transparent 72%);
  opacity: 0;
  transform: scale(0);
  pointer-events: none;
}

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--px);
  transition: padding .3s ease, background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  padding: 14px var(--px);
  background: var(--nav-scrolled-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(77,240,214,.14);
}
.nav-logo { display: flex; align-items: center; }
.logo-text { font-family: var(--font-h); font-weight: 700; font-size: 19px; line-height: 1.05; color: var(--teal); }
.logo-text em { display: block; font-style: normal; font-weight: 700; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--white); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--mist);
  opacity: .75;
  transition: opacity .25s, color .25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--glow);
  transition: width .3s ease;
}
.nav-links a:hover { opacity: 1; color: var(--glow); }
.nav-links a:hover::after { width: 100%; }
#hamburger { display: none; flex-direction: column; gap: 5px; width: 30px; }
#hamburger span { display: block; height: 2px; background: var(--mist); border-radius: 2px; }

/* ── THEME TOGGLE ── */
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(77,240,214,.28);
  color: var(--glow);
  margin-left: 18px;
  flex-shrink: 0;
  transition: border-color .25s ease, color .25s ease, background-color .25s ease;
}
.theme-toggle:hover { border-color: var(--glow); background: rgba(77,240,214,.08); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
.mobile-theme-toggle {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--mist);
  margin-top: 8px;
}
.mobile-theme-toggle .theme-toggle { margin-left: 0; }

#mobile-menu {
  position: fixed; inset: 0;
  z-index: 600;
  background: var(--ink-2);
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  gap: 28px;
  padding: 40px var(--px);
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.65,0,.35,1);
}
#mobile-menu.open { transform: translateX(0); }
#mobile-menu a { font-family: var(--font-h); font-size: 30px; color: var(--white); }
#mobile-close {
  position: absolute; top: 24px; right: var(--px);
  font-size: 22px; color: var(--mist);
}

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 140px var(--px) 80px;
  background: var(--ink);
}
#hero-hexgrid {
  position: absolute; inset: -10%;
  background-image:
    repeating-linear-gradient(60deg, rgba(0,167,157,.06) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(-60deg, rgba(0,167,157,.06) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(0,167,157,.05) 0 1px, transparent 1px 64px);
  mask-image: radial-gradient(ellipse at 50% 40%, black 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 10%, transparent 72%);
}
#hero-scanline {
  position: absolute; left: 0; right: 0; height: 140px;
  top: -140px;
  background: linear-gradient(180deg, transparent, rgba(77,240,214,.10), transparent);
  animation: scan-sweep 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scan-sweep {
  0% { transform: translateY(0); }
  50% { transform: translateY(calc(100svh + 140px)); }
  100% { transform: translateY(calc(100svh + 140px)); }
}
#hero-waveform { position: absolute; inset: 0; opacity: .8; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero-glow-1 { width: 480px; height: 480px; background: rgba(0,167,157,.28); top: -120px; right: -100px; }
.hero-glow-2 { width: 380px; height: 380px; background: rgba(77,240,214,.16); bottom: -140px; left: -80px; }

.hero-inner {
  position: relative; z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--glow);
  opacity: 0;
  margin-bottom: 20px;
}
.hero-headline { font-size: clamp(42px, 6vw, 88px); color: var(--white); }
.hero-headline .word-mask { display: inline-block; overflow: hidden; vertical-align: top; }
.hero-headline .word { display: inline-block; transform: translateY(110%); }
.hero-sub { font-size: clamp(15px, 1.6vw, 19px); color: var(--slate); max-width: 520px; margin-top: 26px; opacity: 0; }
.hero-ctas { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; opacity: 0; }

.hero-hud {
  display: flex; flex-wrap: wrap; gap: 0;
  margin-top: 56px;
  border-top: 1px solid rgba(77,240,214,.18);
  padding-top: 22px;
  opacity: 0;
}
.hud-stat { flex: 1 1 140px; padding-right: 20px; }
.metric-prefix {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate);
  display: block;
  margin-bottom: 3px;
}
.hud-stat .hud-val {
  font-family: var(--font-mono);
  font-size: clamp(20px, 2vw, 26px);
  color: var(--glow);
  display: block;
  white-space: nowrap;
}
.hud-stat .hud-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 4px;
  display: block;
}

.hero-graphic { position: relative; display: flex; align-items: center; justify-content: center; min-height: 380px; }

/* ── PRODUCT SHOT — real photography, grounded into the dark UI ── */
.hero-graphic svg { width: 100%; max-width: 340px; }
#hero-charge-fill { clip-path: inset(72% 0 0 0); }

.product-shot-glow {
  position: absolute;
  width: 74%; height: 46%;
  bottom: 8%;
  background: radial-gradient(ellipse at center, rgba(77,240,214,.32), rgba(0,167,157,.12) 55%, transparent 75%);
  filter: blur(22px);
  border-radius: 50%;
  pointer-events: none;
}

/* Product photo inside cards (tier rail + accordion) */
.card-product-shot {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  height: 150px;
  margin: 18px 0 4px;
}
.card-product-shot img {
  max-height: 100%; max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(0,0,0,.5)) drop-shadow(0 0 20px rgba(0,167,157,.16));
}
.card-product-shot .product-shot-glow { width: 80%; height: 50%; bottom: 2%; }
.acc-thumb {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(77,240,214,.06);
  border: 1px solid rgba(77,240,214,.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.acc-thumb img {
  max-width: 78%; max-height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.5));
}
.acc-product-shot {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  height: 200px;
  margin-bottom: 22px;
}
.acc-product-shot img { max-height: 100%; max-width: 70%; object-fit: contain; }

#scroll-indicator {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 3;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--slate);
}
.scroll-line { width: 1px; height: 34px; background: linear-gradient(180deg, var(--glow), transparent); animation: scroll-pulse 2s ease-in-out infinite; }
@keyframes scroll-pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* ── CIRCUIT TRACE (persistent motif) ── */
#circuit-trace {
  position: absolute; top: 0; left: 28px;
  width: 2px; height: 100%;
  background: repeating-linear-gradient(180deg, var(--teal) 0 8px, transparent 8px 22px);
  background-size: 2px 44px;
  animation: trace-flow 1.6s linear infinite;
  opacity: .3;
  z-index: 1;
  pointer-events: none;
}
@keyframes trace-flow { to { background-position: 0 -44px; } }
@media (max-width: 1023px) { #circuit-trace { display: none; } }

/* ── GLASS PANEL / CARD ── */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.glass-panel:hover { border-color: var(--teal); box-shadow: 0 18px 50px rgba(0,0,0,.2); }

/* ── BUTTONS ── */
.btn-primary, .btn-ghost {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 50px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, color .25s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: #04211E;
}
.btn-primary::after {
  content: '';
  position: absolute; top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg);
  transition: left .55s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(77,240,214,.35); }
.btn-primary:hover::after { left: 120%; }
.btn-ghost {
  background: transparent;
  color: var(--mist);
  border: 1px solid rgba(77,240,214,.32);
}
.btn-ghost:hover { border-color: var(--glow); color: var(--glow); background: rgba(77,240,214,.07); }

/* ── DIAGONAL SLANT PANEL WRAPPER ── */
.slant-wrap { position: relative; }
.slant-bg { position: absolute; inset: 0; z-index: 0; background: var(--panel); }
.slant-wrap.slant-down .slant-bg { clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%); }
.slant-wrap.slant-up .slant-bg { clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%); }
.slant-wrap .container { position: relative; z-index: 1; }

/* ── ABOUT ── */
.about-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.about-copy p { color: var(--slate); margin-top: 18px; font-size: 16px; max-width: 480px; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.certs-grid { grid-template-columns: repeat(4, 1fr); margin-top: 44px; }
/* Theme-aware icon — mask technique so color follows --glow in both themes
   (an <img src="icon.svg"> can't inherit currentColor from the page). */
.icon-mask {
  display: inline-block;
  background-color: var(--glow);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  flex-shrink: 0;
  transition: background-color .3s ease;
}
.value-card { padding: 26px; }
.value-card .icon-mask { width: 30px; height: 30px; }
.value-card h4 { font-size: 17px; color: var(--white); margin-top: 16px; }
.value-card p { font-size: 13.5px; color: var(--slate); margin-top: 8px; }

/* ── STATS STRIP ── */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(77,240,214,.14); border-radius: var(--radius); overflow: hidden; }
.stat-block { background: var(--panel); padding: 34px 24px; text-align: center; }
.stat-number { font-family: var(--font-mono); font-size: clamp(26px, 3vw, 38px); color: var(--glow); white-space: nowrap; display: block; }
.stat-caption { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); margin-top: 8px; }

/* ── TIER RAIL (horizontal pinned scroll) ── */
#tier-rail-section { position: relative; }
#tier-rail-pin { height: 100vh; display: flex; align-items: center; overflow: hidden; }
#tier-track { display: flex; gap: 40px; padding: 0 var(--px); will-change: transform; }
.tier-card {
  flex: 0 0 min(620px, 82vw);
  padding: 44px;
  display: flex; flex-direction: column;
}
.tier-index { font-family: var(--font-mono); color: var(--glow); font-size: 13px; letter-spacing: .12em; }
.tier-card h3 { font-size: clamp(28px, 3vw, 40px); color: var(--white); margin-top: 14px; }
.tier-card p { color: var(--slate); margin-top: 16px; max-width: 460px; }
.tier-models { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tier-chip {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em;
  padding: 8px 14px; border-radius: 100px;
  border: 1px solid rgba(77,240,214,.3); color: var(--mist);
}
@media (max-width: 1023px) {
  #tier-rail-pin { height: auto; overflow: visible; }
  #tier-track { flex-direction: column; padding: 0; transform: none !important; }
  .tier-card { flex: 1 1 auto; }
}

/* ── SOLUTIONS MARQUEE ── */
.marquee-band { padding: 46px 0; overflow: hidden; border-top: 1px solid rgba(77,240,214,.14); border-bottom: 1px solid rgba(77,240,214,.14); }
.marquee-track { display: flex; width: max-content; animation: marquee-move 42s linear infinite; }
.marquee-track a {
  font-family: var(--font-mono); font-size: 15px; letter-spacing: .1em;
  color: var(--glow); text-shadow: 0 0 16px rgba(77,240,214,.5);
  padding: 0 44px; white-space: nowrap;
  border-right: 1px solid rgba(77,240,214,.2);
  text-decoration: none; transition: opacity .2s ease;
}
.marquee-track a:hover { opacity: .65; }
@keyframes marquee-move { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── PRODUCT ACCORDION ── */
.tier-block { margin-bottom: 70px; }
.tier-block:last-child { margin-bottom: 0; }
.tier-block-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 28px; flex-wrap: wrap; }
.tier-block-head h3 { font-size: clamp(24px, 2.6vw, 32px); color: var(--white); }
.tier-block-head span { font-family: var(--font-mono); font-size: 12px; color: var(--slate); }

.acc-item { margin-bottom: 16px; overflow: hidden; }
.acc-header {
  width: 100%;
  display: flex; align-items: center; gap: 20px;
  padding: 24px 28px;
  text-align: left;
}
.acc-icon { width: 42px; height: 42px; flex-shrink: 0; color: var(--glow); }
.acc-title { flex: 1; }
.acc-title h4 { font-size: 19px; color: var(--white); }
.acc-title p { font-size: 13px; color: var(--slate); margin-top: 4px; }
.acc-range { font-family: var(--font-mono); font-size: 12.5px; color: var(--teal); white-space: nowrap; }
.acc-chevron { width: 20px; height: 20px; color: var(--glow); transition: transform .35s ease; flex-shrink: 0; }
.acc-item.open .acc-chevron { transform: rotate(180deg); }
.acc-body { height: 0; overflow: hidden; }
.acc-body-inner { padding: 0 28px 28px; }
.acc-body-grid { display: grid; grid-template-columns: 210px 1fr; gap: 34px; align-items: start; }
.acc-body-media { display: flex; flex-direction: column; align-items: stretch; }
.acc-body-media .acc-brochure { justify-content: center; text-align: center; }
.acc-body-content { min-width: 0; }
@media (max-width: 900px) {
  .acc-body-grid { grid-template-columns: 1fr; }
  .acc-product-shot { height: 170px; }
}
.acc-features { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.acc-features span {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .03em;
  padding: 7px 12px; border-radius: 100px;
  background: rgba(77,240,214,.08); border: 1px solid rgba(77,240,214,.22); color: var(--mist);
}
.spec-table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 12.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(77,240,214,.12); }
.spec-table th { color: var(--glow); font-weight: 500; letter-spacing: .05em; text-transform: uppercase; font-size: 11px; }
.spec-table td { color: var(--mist); }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table-wrap { overflow-x: auto; }
.acc-brochure { margin-top: 22px; display: inline-flex; }

/* ── CONTACT ── */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-card, .contact-form { padding: 40px; }
.contact-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(77,240,214,.12); }
.contact-row:last-child { border-bottom: none; }
.contact-row .icon-mask { width: 26px; height: 26px; }
.contact-row .label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.contact-row .value { font-size: 16px; color: var(--white); margin-top: 3px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; }
.form-field input, .form-field textarea {
  width: 100%; padding: 14px 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(77,240,214,.2);
  border-radius: var(--radius-sm);
  color: var(--white);
  transition: border-color .25s;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--glow); }
.form-field textarea { resize: vertical; min-height: 120px; }

/* ── CTA BAND ── */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(30px, 4vw, 48px); color: var(--white); max-width: 720px; margin: 0 auto; }
.cta-band .btn-primary { margin-top: 30px; }

/* ── FOOTER ── */
footer { padding: 80px var(--px) 30px; border-top: 1px solid rgba(77,240,214,.12); }
.footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 60px; margin-bottom: 50px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-tagline { color: var(--slate); font-size: 14px; max-width: 320px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-col h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--glow); margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: var(--slate); font-size: 14px; transition: color .25s; }
.footer-col a:hover { color: var(--glow); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; border-top: 1px solid rgba(77,240,214,.1); flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12.5px; color: var(--slate); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12.5px; color: var(--slate); }
.footer-legal a:hover { color: var(--glow); }

/* ── LEGAL PAGES ── */
.legal-page { padding: 160px var(--px) 100px; max-width: 860px; margin: 0 auto; }
.legal-page h1 { font-size: clamp(30px, 4vw, 44px); color: var(--white); margin-bottom: 30px; }
.legal-page h2 { font-size: 22px; color: var(--white); margin-top: 40px; margin-bottom: 14px; }
.legal-page p, .legal-page li { color: var(--slate); margin-bottom: 12px; }
.legal-page ul { padding-left: 20px; list-style: disc; }

/* ── REVEAL UTILITY ── */
.reveal { opacity: 0; }

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  #circuit-trace, .marquee-track, #hero-scanline, .scroll-line { animation: none; }
  .reveal { opacity: 1; }
}

/* ===== RESPONSIVE — TABLET (≤1024px) ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-graphic { order: -1; max-width: 260px; min-height: 0; margin: 0 auto 20px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  #tier-track { padding: 0 var(--px); gap: 28px; }
  .tier-card { padding: 32px; }
}

/* ===== RESPONSIVE — MOBILE (≤768px) ===== */
@media (max-width: 768px) {
  .nav-links, #nav-cta { display: none; }
  #hamburger { display: flex; }
  .section { padding: 64px var(--px); }
  #hero { padding: 120px var(--px) 70px; }
  .hero-hud { flex-direction: column; gap: 16px; }
  .hud-stat { padding-right: 0; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .contact-card, .contact-form { padding: 26px; }
  .acc-header { padding: 18px 20px; gap: 14px; }
  .acc-body-inner { padding: 0 20px 20px; }
  .acc-body-grid { gap: 22px; }
  .acc-thumb { width: 46px; height: 46px; border-radius: 12px; }
  .acc-title h4 { font-size: 17px; }
  .legal-page { padding: 120px var(--px) 70px; }
}

/* ===== RESPONSIVE — SMALL MOBILE (≤480px) ===== */
@media (max-width: 480px) {
  .hero-headline { font-size: clamp(34px, 10vw, 46px); }
  .hero-graphic { max-width: 200px; }
  .stats-strip { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .tier-card { padding: 24px; }
  .acc-product-shot { height: 140px; }
  .acc-header { flex-wrap: wrap; }
  .acc-range { order: 3; width: 100%; }
}
