/* ============================================================
   TRD DEFTECH — Tactical Navy Blue Sovereign Defence Design System
   High-Contrast, Ultra-Legible Typography & Blue Video Theme
   ============================================================ */

/* ─── Tokens ───────────────────────────────────────────────── */
:root {
  /* Aerospace Navy & Tactical Blue Palette */
  --bg:          #08111E;
  --bg-alt:      #0C182B;
  --bg-card:     #102138;
  --bg-card-hover: #162B4A;
  --surface:     #0F1D33;
  --graphite:    #091322;

  /* High-Contrast Crisp Typography */
  --ink:         #FFFFFF;
  --ink-pure:    #FFFFFF;
  --ink-soft:    #CBD5E1;
  --ink-muted:   #94A3B8;
  --titanium:    #E2E8F0;

  /* Grid & Line Accents */
  --line:        rgba(255, 255, 255, 0.10);
  --line-strong: rgba(56, 189, 248, 0.30);
  --line-emerald:rgba(0, 242, 157, 0.30);

  /* Luminous Accents */
  --emerald:     #00F29D;
  --emerald-mid: rgba(0, 242, 157, 0.20);
  --emerald-soft:rgba(0, 242, 157, 0.10);

  --cyan:        #38BDF8;
  --cyan-glow:   rgba(56, 189, 248, 0.35);
  --cyan-soft:   rgba(56, 189, 248, 0.12);

  --gold:        #FBBF24;
  --gold-soft:   rgba(251, 191, 36, 0.15);

  /* Typography Scale */
  --font-display:"Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono:   "JetBrains Mono", "SFMono-Regular", Menlo, monospace;

  --ease:        cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.26, .64, 1);

  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   14px;
  --radius-xl:   20px;

  --shadow-sm:   0 2px 8px rgba(0,0,0,.45);
  --shadow:      0 8px 32px rgba(0,0,0,.55), 0 0 2px rgba(56,189,248,.2);
  --shadow-lg:   0 16px 48px rgba(0,0,0,.7), 0 0 16px rgba(56,189,248,.25);
  --shadow-hover:0 16px 48px rgba(0,0,0,.7), 0 0 24px rgba(56,189,248,.35);
}

/* ─── Reset & Global Setup ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(56, 189, 248, 0.12), transparent 70%),
    radial-gradient(circle 900px at 100% 40%, rgba(0, 242, 157, 0.05), transparent 80%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--cyan); color: #040D1A; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ─── Preloader ─────────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  background-image: radial-gradient(circle at 50% 50%, #102138 0%, #08111E 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity .8s var(--ease), visibility .8s var(--ease);
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}

.loader-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.5));
  animation: pulseLogo 2.2s ease-in-out infinite;
}

@keyframes pulseLogo {
  0%, 100% { opacity: 0.75; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.02); filter: drop-shadow(0 0 24px rgba(56, 189, 248, 0.8)); }
}

.loader-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .2em;
  color: #FFFFFF;
}

.loader-track {
  width: 240px;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
}

.loader-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--emerald));
  box-shadow: 0 0 12px var(--cyan);
  transition: width .25s var(--ease);
}

.loader-pct {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--cyan);
}

/* ─── Navigation (Luminous Frosted Aerospace Glass) ───────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 56px);
  background: rgba(18, 38, 64, 0.45);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}

.nav.scrolled {
  height: 68px;
  background: rgba(15, 33, 56, 0.72);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: none;
  box-shadow: 0 8px 30px rgba(4, 12, 24, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .12em;
  color: #FFFFFF;
  z-index: 1;
}

.nav-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.98);
  padding: 0;
  border-radius: 6px;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.45), 0 2px 8px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.06);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.8);
}

.nav-links {
  display: flex;
  gap: 36px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .05em;
  color: #E2E8F0;
  transition: color .3s var(--ease), text-shadow .3s var(--ease);
  position: relative;
  text-transform: uppercase;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--emerald));
  box-shadow: 0 0 8px var(--cyan);
  transition: width .3s var(--ease);
}

.nav-links a:hover {
  color: #FFFFFF;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.7);
}

.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 10px 22px;
  background: var(--cyan);
  color: #040E1B;
  border: 1px solid var(--cyan);
  border-radius: var(--radius-sm);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.45);
  transition: all .3s var(--ease);
}

.nav-cta:hover {
  background: #FFFFFF;
  color: #040E1B;
  border-color: #FFFFFF;
  box-shadow: 0 0 26px rgba(255, 255, 255, 0.75);
  transform: translateY(-2px);
}

.nav-links .mobile-cta {
  display: none;
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  padding: 11px 9px;
  cursor: pointer;
  z-index: 102;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: all .3s var(--ease);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
}

.nav-toggle.open {
  border-color: var(--cyan);
  background: rgba(56, 189, 248, 0.15);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background: var(--cyan);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background: var(--cyan);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }
  
  .desktop-cta {
    display: none;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    width: 100%;
    transform: translateY(-120%);
    background: rgba(8, 17, 30, 0.98);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-bottom: 1px solid rgba(56, 189, 248, 0.30);
    padding: 24px 28px 32px;
    gap: 14px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.75);
    transition: transform .35s cubic-bezier(.16, 1, .3, 1), opacity .35s ease, visibility .35s ease;
    z-index: 99;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 15px;
    font-weight: 600;
    padding: 10px 0;
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links .mobile-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    padding: 14px 20px;
    background: var(--cyan);
    color: #040E1B;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-align: center;
    border: none;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
  }
}

/* ─── Hero Section ──────────────────────────────────────────── */
.hero-scroll {
  position: relative;
  min-height: 100vh;
}

.pin {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 40px;
  overflow: hidden;
  position: relative;
}

.pin-bg {
  position: absolute;
  inset: 0;
  background: #08111E;
  z-index: 0;
  transition: background-color .4s ease;
}

.pin-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(320px, 490px) 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.pin-text {
  position: relative;
  min-width: 0;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.stage-stack {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  align-items: start;
  position: relative;
  min-height: 220px;
}

/* Zero overlap: all stages share the same grid cell and stack naturally */
.stage {
  grid-area: 1 / 1 / 2 / 2;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .5s cubic-bezier(0.16, 1, 0.3, 1), transform .5s cubic-bezier(0.16, 1, 0.3, 1), visibility .5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.stage.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 2;
}

.stage-index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--emerald);
  text-shadow: 0 0 10px rgba(0, 242, 157, 0.4);
  margin: 0 0 8px;
  text-transform: uppercase;
}

.stage h1, .stage h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 3.4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: #FFFFFF;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.8);
}

.stage-copy {
  font-size: clamp(14.5px, 1.1vw, 16px);
  line-height: 1.6;
  color: #CBD5E1;
  max-width: 44ch;
  font-weight: 300;
  margin: 0;
}

.stage-tag {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--gold);
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.35);
}

/* Permanent Hero Badges & Actions */
.hero-badges {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #FFFFFF;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 4px;
  padding: 6px 10px;
  background: rgba(16, 33, 56, 0.85);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 12px rgba(56, 189, 248, 0.15);
  backdrop-filter: blur(8px);
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: all .3s var(--ease);
  cursor: pointer;
  border: none;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--emerald);
  color: #040D18;
  border: 1px solid var(--emerald);
  box-shadow: 0 0 20px rgba(0, 242, 157, 0.35);
}

.btn-primary:hover {
  background: #00FFB2;
  box-shadow: 0 0 30px rgba(0, 242, 157, 0.6);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(16, 33, 56, 0.7);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--cyan);
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
}

/* Pin visual (video & canvas) */
.pin-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.pin-visual::before {
  content: "";
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.35) 0%, rgba(56, 189, 248, 0.15) 45%, transparent 75%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.hero-video,
#frameCanvas {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  object-fit: cover;
  filter: contrast(1.05) brightness(1.02);
  -webkit-mask-image: radial-gradient(ellipse 68% 64% at 50% 50%, #000000 25%, rgba(0, 0, 0, 0.95) 45%, rgba(0, 0, 0, 0.35) 66%, transparent 82%);
  mask-image: radial-gradient(ellipse 68% 64% at 50% 50%, #000000 25%, rgba(0, 0, 0, 0.95) 45%, rgba(0, 0, 0, 0.35) 66%, transparent 82%);
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: #94A3B8;
  transition: opacity .5s var(--ease);
  white-space: nowrap;
  text-transform: uppercase;
}

.scroll-cue i {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  top: -32px; left: 0;
  width: 100%; height: 32px;
  background: linear-gradient(var(--cyan), transparent);
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  0%   { transform: translateY(0); }
  100% { transform: translateY(64px); }
}

.scroll-cue.hide { opacity: 0; pointer-events: none; }

@media (max-width: 860px) {
  .hero-scroll { min-height: auto; }
  .pin { min-height: auto; padding: 88px 0 40px; }
  .pin-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding: 0 clamp(16px, 4vw, 24px);
    gap: 16px;
  }
  .pin-visual { order: -1; max-height: 34vh; width: 100%; }
  .hero-video { max-height: 34vh; max-width: 100%; object-fit: contain; }
  .stage h1, .stage h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); margin: 0 0 8px; }
  .stage-copy { font-size: 13.5px; line-height: 1.55; }
  .stage-stack { min-height: 200px; }
  .hero-badges { gap: 8px; margin-top: 14px; }
  .badge { font-size: 10px; padding: 4px 10px; }
  .hero-actions { gap: 10px; width: 100%; margin-top: 14px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; padding: 12px 16px; font-size: 12.5px; }
  .scroll-cue { display: none; }
}

/* ─── Section commons ────────────────────────────────────────── */
.section-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 72px);
}

section {
  scroll-margin-top: 0px;
}

section:not(.hero-scroll) {
  padding: clamp(56px, 8vw, 96px) 0;
  position: relative;
  scroll-margin-top: 0px;
}

.section-header {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-header h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 12px 0 20px;
  color: #FFFFFF;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7);
}

.section-lead {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.7;
  font-weight: 300;
  color: #CBD5E1;
  max-width: 58ch;
  margin: 0;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ─── Alternating Theme System ─────────────────────────────────── */
.theme-light {
  background-color: #F4F7FA;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(2, 132, 199, 0.06), transparent 70%),
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  color: #0A192F;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.theme-light .section-header h2 {
  color: #0A192F;
  text-shadow: none;
}

.theme-light .eyebrow {
  color: #0284C7;
  text-shadow: none;
}

.theme-light .eyebrow::before {
  background: #0284C7;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.4);
}

.theme-light .section-lead {
  color: #475569;
}

.theme-dark {
  background-color: var(--bg);
  color: var(--ink);
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.theme-dark .section-header h2 {
  color: #FFFFFF;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7);
}

.theme-dark .eyebrow {
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.theme-dark .eyebrow::before {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.theme-dark .section-lead {
  color: #CBD5E1;
}

/* ─── About ─────────────────────────────────────────────────── */
.about {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.about-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, .03) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 42px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 44px; height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  transition: width .4s var(--ease);
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(56, 189, 248, 0.4);
}

.about-card:hover::before { width: 100%; }

.about-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--cyan);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.2);
}

.about-card-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--cyan);
  margin: 0 0 12px;
  text-transform: uppercase;
}

.about-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 14px;
  color: #FFFFFF;
}

.about-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #CBD5E1;
  font-weight: 300;
  margin: 0;
}

@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* ─── Services ───────────────────────────────────────────────── */
.services.theme-light {
  background-color: #F8FAFC;
  background-image: 
    radial-gradient(circle 800px at 10% 20%, rgba(2, 132, 199, 0.06), transparent 70%),
    radial-gradient(circle 700px at 90% 80%, rgba(5, 150, 105, 0.05), transparent 70%),
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

.services-grid {
  display: grid;
  gap: 24px;
}

.services.theme-light .service-card {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 25, 47, 0.06), 0 1px 3px rgba(10, 25, 47, 0.04);
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease), border-color .4s var(--ease);
}

.services.theme-light .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(10, 25, 47, 0.12), 0 0 20px rgba(2, 132, 199, 0.15);
  border-color: rgba(2, 132, 199, 0.4);
}

.service-canvas-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0A1424;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) brightness(0.92);
  transition: transform .6s var(--ease), filter .6s var(--ease);
}

.service-card:hover .service-img {
  transform: scale(1.06);
  filter: contrast(1.1) brightness(1.02);
}

.service-canvas-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 80%, rgba(56, 189, 248, 0.25), transparent);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}

.service-card:hover .service-canvas-glow { opacity: 1; }

.service-body {
  padding: 28px 32px 32px;
}

.services.theme-light .service-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 12px;
  color: #0A192F;
}

.services.theme-light .service-body p {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
  font-weight: 300;
  margin: 0 0 20px;
}

.services.theme-light .service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: #0284C7;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: gap .3s var(--ease), color .3s var(--ease);
}

.services.theme-light .service-link:hover {
  gap: 12px;
  color: #0A192F;
}

/* Services grid — 3+2 centered layout */
@media (min-width: 901px) {
  .services-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .service-card:nth-child(1) { grid-column: 1 / 3; }
  .service-card:nth-child(2) { grid-column: 3 / 5; }
  .service-card:nth-child(3) { grid-column: 5 / 7; }
  .service-card:nth-child(4) { grid-column: 2 / 4; }
  .service-card:nth-child(5) { grid-column: 4 / 6; }
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ─── Capabilities ───────────────────────────────────────────── */
.capabilities { background: var(--bg); }

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cap-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 28px;
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease), border-color .4s var(--ease);
  position: relative;
  overflow: hidden;
}

.cap-card::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--emerald));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}

.cap-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(56, 189, 248, 0.4);
}

.cap-card:hover::after { transform: scaleX(1); }

.cap-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--cyan);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.2);
}

.cap-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  margin: 0 0 12px;
  color: #FFFFFF;
}

.cap-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: #CBD5E1;
  font-weight: 300;
  margin: 0 0 20px;
}

.cap-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cap-tags li {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 4px 9px;
  text-transform: uppercase;
}

@media (max-width: 1100px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .cap-grid { grid-template-columns: 1fr; } }

/* ─── Platforms ──────────────────────────────────────────────── */
.platforms.theme-light {
  background-color: #EEF3F8;
  background-image: 
    radial-gradient(circle 900px at 80% 30%, rgba(2, 132, 199, 0.06), transparent 75%),
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.platforms.theme-light .platform-card {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 25, 47, 0.06), 0 1px 3px rgba(10, 25, 47, 0.04);
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease), border-color .4s var(--ease);
}

.platforms.theme-light .platform-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(10, 25, 47, 0.12), 0 0 20px rgba(2, 132, 199, 0.15);
  border-color: rgba(2, 132, 199, 0.4);
}

.platform-visual {
  position: relative;
  background: #0A1424;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.platform-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) brightness(0.9);
  transition: transform .6s var(--ease), filter .6s var(--ease);
}

.platform-card:hover .platform-img {
  transform: scale(1.06);
  filter: contrast(1.1) brightness(1.02);
}

/* Radar overlay */
.platform-radar {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 54px;
  height: 54px;
}

.radar-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid var(--cyan);
  border-radius: 50%;
  opacity: 0;
  animation: radarPulse 3s ease-out infinite;
}

.radar-ring.r1 { width: 54px; height: 54px; animation-delay: 0s; }
.radar-ring.r2 { width: 36px; height: 36px; animation-delay: 1s; }
.radar-ring.r3 { width: 18px; height: 18px; animation-delay: 2s; }

@keyframes radarPulse {
  0%   { opacity: .8; transform: translate(-50%,-50%) scale(.3); }
  100% { opacity: 0;  transform: translate(-50%,-50%) scale(1); }
}

.radar-sweep {
  position: absolute;
  top: 50%; left: 50%;
  width: 27px; height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, var(--cyan), transparent);
  animation: radarSweep 3s linear infinite;
}

@keyframes radarSweep {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.radar-dot {
  position: absolute;
  top: 50%; left: 50%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px var(--cyan);
}

.platform-body { padding: 28px 28px 32px; }

.platforms.theme-light .platform-domain {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: #0284C7;
  font-weight: 600;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.platforms.theme-light .platform-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 10px;
  color: #0A192F;
}

.platforms.theme-light .platform-body p {
  font-size: 13.5px;
  line-height: 1.7;
  color: #475569;
  font-weight: 300;
  margin: 0;
}

@media (max-width: 960px) { .platform-grid { grid-template-columns: 1fr; } }

/* ─── Statistics (Titanium Darker Gray Theme) ───────────────── */
.statistics.theme-light {
  background-color: #D6DFEA;
  background-image: 
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(2, 132, 199, 0.10), transparent 80%),
    linear-gradient(rgba(15, 23, 42, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.055) 1px, transparent 1px);
  background-size: 100% 100%, 44px 44px, 44px 44px;
  padding: clamp(70px, 10vw, 110px) 0;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.statistics.theme-light .section-container {
  max-width: 1600px;
  width: 100%;
  padding: 0 clamp(20px, 3.5vw, 48px);
}

.statistics.theme-light .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3.5vw, 48px);
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.statistics.theme-light .stat-plate {
  background: transparent;
  padding: 24px 16px;
  position: relative;
  text-align: center;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: transform .3s var(--ease);
}

.statistics.theme-light .stat-plate:hover {
  background: transparent;
  transform: translateY(-3px);
}

.statistics.theme-light .stat-accent {
  display: none;
}

.statistics.theme-light .stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  letter-spacing: -0.03em;
  color: #0A192F;
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 0 2px 16px rgba(10, 25, 47, 0.12);
}

.statistics.theme-light .stat-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
  color: #0F172A;
  line-height: 1.3;
  margin-bottom: 6px;
}

.statistics.theme-light .stat-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .10em;
  color: #0369A1;
  line-height: 1.4;
  text-transform: uppercase;
  font-weight: 700;
}

@media (max-width: 860px) {
  .statistics.theme-light { padding: 48px 0; }
  .statistics.theme-light .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .statistics.theme-light .stat-plate { padding: 16px 8px; }
  .statistics.theme-light .stat-value { font-size: 2.4rem; margin-bottom: 6px; }
  .statistics.theme-light .stat-label { font-size: 14px; margin-bottom: 4px; }
  .statistics.theme-light .stat-sub { font-size: 10px; }
}

@media (max-width: 440px) {
  .statistics.theme-light .stats-grid { grid-template-columns: 1fr; gap: 20px; }
  .statistics.theme-light .stat-plate { padding: 12px 8px; }
}

/* ─── Process ────────────────────────────────────────────────── */
.process { background: var(--bg-alt); }

.process-track-wrap {
  overflow-x: auto;
  padding: 24px 0 12px;
}

.process-track {
  position: relative;
  min-width: 900px;
  padding-top: 16px;
}

.process-line {
  position: absolute;
  top: 34px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 2px;
  background: var(--line);
  border-radius: 2px;
}

.process-line-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--emerald));
  box-shadow: 0 0 10px var(--cyan);
  border-radius: 2px;
  transition: width 1.2s var(--ease);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}

.step-node {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-node-inner {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink-muted);
  transition: background .4s var(--ease), transform .4s var(--ease-spring);
}

.process-step.active .step-node {
  border-color: var(--cyan);
  box-shadow: 0 0 0 6px var(--cyan-soft), 0 0 14px var(--cyan);
}

.process-step.active .step-node-inner {
  background: var(--cyan);
  transform: scale(1.3);
  box-shadow: 0 0 8px var(--cyan);
}

.step-content { padding: 0 4px; }

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--cyan);
  margin: 0 0 6px;
}

.step-content h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 8px;
  color: #FFFFFF;
  transition: color .4s;
}

.process-step.active .step-content h4 { color: var(--cyan); }

.step-content p {
  font-size: 13px;
  line-height: 1.6;
  color: #CBD5E1;
  font-weight: 300;
  margin: 0;
}

/* ─── Certifications ─────────────────────────────────────────── */
.certifications.theme-light {
  background-color: #F8FAFC;
  background-image: 
    radial-gradient(circle 800px at 50% 50%, rgba(2, 132, 199, 0.05), transparent 75%),
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.certifications.theme-light .cert-badge {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 16px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 25, 47, 0.06), 0 1px 3px rgba(10, 25, 47, 0.04);
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease), border-color .4s var(--ease);
  cursor: default;
}

.certifications.theme-light .cert-badge:hover {
  transform: translateY(-6px);
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 0 20px 45px rgba(10, 25, 47, 0.12), 0 0 20px rgba(2, 132, 199, 0.12);
}

.certifications.theme-light .cert-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(2, 132, 199, 0.15) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0s;
}

.certifications.theme-light .cert-badge:hover .cert-shimmer {
  transform: translateX(120%);
  transition: transform .75s ease;
}

.certifications.theme-light .cert-mark {
  color: #0284C7;
  filter: drop-shadow(0 0 8px rgba(2, 132, 199, 0.25));
}

.certifications.theme-light .cert-mark path[stroke="#0E6B4A"] {
  stroke: #059669;
}

.certifications.theme-light .cert-mark circle[fill="#0E6B4A"] {
  fill: #059669;
}

.certifications.theme-light .cert-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: #0A192F;
  margin: 0;
  letter-spacing: .02em;
}

.certifications.theme-light .cert-desc {
  font-size: 12px;
  color: #475569;
  margin: 0;
  line-height: 1.45;
}

@media (max-width: 1100px) { .cert-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .cert-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 480px) { .cert-grid { grid-template-columns: 1fr; } }

/* ─── Contact (Redesigned) ─────────────────────────────────── */
.contact {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.35), transparent);
}

.contact-grid-redesign {
  display: grid;
  grid-template-columns: minmax(320px, 440px) 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: stretch;
  margin-top: 10px;
}

/* Left Column: Direct Info & Integrated Facility Map */
.contact-left-pane {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card-premium {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 22px;
  background: rgba(14, 28, 48, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all .35s var(--ease);
}

.contact-card-premium:hover {
  background: rgba(18, 36, 62, 0.9);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(56, 189, 248, 0.12);
  transform: translateY(-2px);
}

.ccp-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ccp-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.ccp-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 700;
}

.ccp-channels {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ccp-channel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 400;
  transition: color .25s var(--ease);
}

.ccp-channel-link:hover {
  color: var(--cyan);
}

.ccp-channel-link span.pill {
  font-family: var(--font-mono);
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--cyan);
  font-weight: 600;
}

.ccp-address {
  font-size: 13.5px;
  line-height: 1.5;
  color: #CBD5E1;
  font-style: normal;
  margin: 0;
}

/* Integrated Facilities Map */
.contact-map-card {
  position: relative;
  width: 100%;
  height: 230px;
  min-height: 210px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
  background: #0D1B2E;
  margin-top: 4px;
}

.contact-map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-status-pill {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(8, 17, 30, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 6px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: #E2E8F0;
  pointer-events: none;
}

.map-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  flex-shrink: 0;
}

/* Right Column: Briefing Form Panel */
.contact-form-panel {
  background: linear-gradient(180deg, rgba(14, 27, 44, 0.85) 0%, rgba(8, 17, 30, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.5vw, 38px);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-panel-header {
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
  padding-bottom: 14px;
}

.form-panel-header h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.form-panel-header p {
  font-size: 13px;
  color: #94A3B8;
  margin: 0;
  font-weight: 300;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: #CBD5E1;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  background: rgba(10, 22, 38, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #FFFFFF;
  outline: none;
  resize: vertical;
  transition: all .3s var(--ease);
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #52637A;
}

.form-group input:focus,
.form-group textarea:focus {
  background: rgba(14, 28, 48, 0.95);
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15), 0 0 16px rgba(56, 189, 248, 0.2);
}

.form-footer-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.form-trust-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #64748B;
}

.form-trust-note svg {
  color: var(--emerald);
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .contact-grid-redesign { grid-template-columns: 1fr; gap: 36px; }
  .contact-left-pane { order: 2; }
  .contact-form-panel { order: 1; }
  .contact-map-card { height: 260px; }
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; gap: 14px; }
  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
    padding: 12px 14px;
  }
  .btn-submit { width: 100%; justify-content: center; }
  .form-footer-action { flex-direction: column; align-items: stretch; gap: 12px; }
  .form-trust-note { justify-content: center; }
  .contact-map-card { height: 220px; }
}

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 2;
  padding: 36px clamp(20px, 4vw, 56px) 48px;
  background: #050B14;
  border-top: 1px solid rgba(56, 189, 248, 0.15);
}

.footer-line {
  height: 1px;
  background: linear-gradient(90deg, var(--cyan) 0%, rgba(0, 242, 157, 0.4) 50%, transparent 100%);
  margin-bottom: 32px;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #CBD5E1;
}

.footer-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.98);
  padding: 0;
  border-radius: 5px;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.footer-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .12em;
  color: #FFFFFF;
}

.footer-links { display: flex; gap: 32px; }

.footer-links a {
  font-size: 13px;
  letter-spacing: .04em;
  color: #CBD5E1;
  text-transform: uppercase;
  transition: color .3s var(--ease);
}

.footer-links a:hover { color: var(--cyan); }

.footer-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #94A3B8;
}

@media (max-width: 768px) {
  .site-footer { padding: 32px 20px 40px; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-links { display: flex; flex-wrap: wrap; gap: 14px 22px; }
  .footer-meta { font-size: 11px; line-height: 1.6; }
}

/* ─── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage { transition: none; }
  .scroll-cue i::after { animation: none; }
  .loader-logo-img { animation: none; }
  .radar-ring { animation: none; }
  .radar-sweep { animation: none; }
  .globe-pulse { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}