/* =============================================================
   AETHERIUM ATLAS — MAIN STYLESHEET
   Brand Guidelines v1.0 | February 2026
   Includes: Base, Header, Hero (Industrial Scene), About,
   Services, Technology, Global, Contact, Footer
============================================================= */

/* =============================================================
   CSS VARIABLES
============================================================= */
:root {
  /* Brand Colors */
  --blue:   #1E88E5;
  --white:  #FFFFFF;
  --navy:   #0D1B2A;
  --silver: #B0BEC5;
  --black:  #1A1A1A;
  --volt:   #FFD700;
  --gray:   #F5F5F5;
  --border: #E0E0E0;

  /* Typography */
  --font-display: 'Bebas Neue', 'Montserrat', sans-serif;
  --font-body:    'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  /* Font Weights */
  --fw-light:    300;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;
  --fw-heavy:    800;

  /* Spacing */
  --section-pad:   100px;
  --container-max: 1200px;
  --header-h:      78px;

  /* Transitions */
  --ease: 0.3s ease;
}


/* =============================================================
   RESET & BASE
============================================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: var(--fw-medium);
  font-size: 18px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  line-height: 1.2;
  margin-bottom: 16px;
}

h1 { font-size: clamp(38px, 5vw, 56px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
h4 { font-size: 20px; }

p { margin-bottom: 15px; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; transition: color var(--ease); }
img { max-width: 100%; height: auto; display: block; }
address { font-style: normal; }

/* =============================================================
   ACCESSIBILITY
============================================================= */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--blue);
  color: var(--white);
  padding: 8px 16px;
  z-index: 9999;
  border-radius: 0 0 4px 0;
  font-size: 14px;
  font-weight: var(--fw-semibold);
}
.skip-link:focus { top: 0; outline: 3px solid var(--volt); outline-offset: 2px; }

*:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }


/* =============================================================
   LAYOUT
============================================================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

section { position: relative; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: var(--fw-bold);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(30,136,229,0.08);
  border: 1px solid rgba(30,136,229,0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-header h2 { color: var(--navy); margin-bottom: 12px; }

.section-subtitle {
  font-size: 18px;
  font-weight: var(--fw-regular);
  color: var(--silver);
  margin-bottom: 0;
}


/* =============================================================
   SCROLL ANIMATIONS
============================================================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}


/* =============================================================
   BUTTONS (general)
============================================================= */
.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: var(--fw-bold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: all var(--ease);
}
.btn-primary:hover {
  background: #1976D2;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30,136,229,0.35);
}


/* =============================================================
   HEADER / NAVIGATION
============================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-h);
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  z-index: 1000;
  transition: all var(--ease);
}

.site-header.scrolled {
  height: 60px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.12);
}

/* Transparent header when over hero */
.site-header.over-hero {
  background: transparent;
  box-shadow: none;
}
.site-header.over-hero.scrolled {
  background: rgba(13,27,42,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

/* Logo */
.logo { display: flex; align-items: center; }

.logo-img { height: 40px; width: auto; }
.logo-img--white { display: none; }
.logo-img--color { display: block; }

/* Show white logo when over dark hero */
.site-header.over-hero .logo-img--color { display: none; }
.site-header.over-hero .logo-img--white { display: block; }

.logo-text-fallback {
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: 22px;
  letter-spacing: -0.5px;
  color: var(--blue);
  /* Hide when real images load */
}
.logo-img + .logo-img + .logo-text-fallback { display: none; }

/* Desktop nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 4px;
  transition: all var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--blue); }

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: var(--fw-semibold);
  margin-left: 8px;
}
.nav-cta:hover { background: #1976D2; transform: translateY(-1px); }

/* White nav links when over hero */
.site-header.over-hero .nav-link { color: rgba(255,255,255,0.85); }
.site-header.over-hero .nav-link:hover { color: var(--white); }
.site-header.over-hero .nav-cta { color: var(--white) !important; }

/* Hamburger */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1010;
}
.mobile-menu-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--ease);
}
.site-header.over-hero .mobile-menu-toggle span { background: var(--white); }

.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--white);
  padding: 100px 32px 40px;
  z-index: 1005;
  transform: translateX(100%);
  transition: transform var(--ease);
  box-shadow: -4px 0 30px rgba(0,0,0,0.15);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-nav-list { list-style: none; }
.mobile-nav-link {
  display: block;
  font-size: 18px;
  font-weight: var(--fw-semibold);
  color: var(--navy);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--ease);
}
.mobile-nav-link:hover { color: var(--blue); }
.mobile-nav-cta {
  margin-top: 20px;
  padding: 14px 28px;
  background: var(--blue);
  color: var(--white) !important;
  text-align: center;
  border-radius: 4px;
  border-bottom: none;
  display: block;
}
.mobile-nav-cta:hover { background: #1976D2; }

.mobile-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1003;
  opacity: 0;
  transition: opacity var(--ease);
}
.mobile-overlay.active { opacity: 1; }


/* =============================================================
   HERO — INDUSTRIAL FORGE SCENE
   9-layer system: dark base → furnace → pour → structure →
   smoke → sparks → heat shimmer → light brand overlay → vignette
============================================================= */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  /* No top margin needed — header is transparent over hero */
}

/* -- LAYER 1: DEEP INDUSTRIAL BASE -- */
.layer-base {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 120% 40% at 50% 0%,   #050C12 0%, transparent 70%),
    radial-gradient(ellipse 100% 30% at 50% 100%, #020609 0%, transparent 60%),
    radial-gradient(ellipse 40%  80% at 0%   50%, #071018 0%, transparent 70%),
    radial-gradient(ellipse 40%  80% at 100% 50%, #071018 0%, transparent 70%),
    linear-gradient(180deg, #060F1A 0%, #0D1B2A 40%, #111F2C 70%, #0A1520 100%);
}

/* -- LAYER 2: FURNACE / HEAT SOURCE -- */
.layer-furnace {
  position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(ellipse 28% 22% at 50% 78%, #FF8C00 0%, #FF5500 20%, #CC2200 45%, transparent 75%),
    radial-gradient(ellipse 45% 35% at 50% 82%, rgba(255,100,0,.55) 0%, rgba(200,50,0,.3)  40%, transparent 70%),
    radial-gradient(ellipse 12% 15% at 8%  88%, rgba(255,120,0,.6)  0%, rgba(180,60,0,.3)  50%, transparent 80%),
    radial-gradient(ellipse 10% 12% at 93% 85%, rgba(255,100,0,.5)  0%, rgba(160,50,0,.25) 50%, transparent 80%),
    radial-gradient(ellipse 70% 15% at 50% 100%,rgba(255,80,0,.3)   0%, rgba(180,40,0,.15) 50%, transparent 80%);
}

/* -- LAYER 3: MOLTEN POUR STREAM -- */
.layer-pour {
  position: absolute; inset: 0; z-index: 3;
  background:
    radial-gradient(ellipse 3%  40% at 62% 55%, rgba(255,220,100,.9) 0%, rgba(255,140,0,.6) 40%, transparent 80%),
    radial-gradient(ellipse 12% 50% at 60% 58%, rgba(255,120,0,.35)  0%, rgba(200,80,0,.15) 60%, transparent 85%),
    radial-gradient(ellipse 20% 10% at 57% 82%, rgba(255,180,0,.7)   0%, rgba(255,100,0,.4) 40%, transparent 75%),
    radial-gradient(ellipse 35% 15% at 57% 84%, rgba(255,80,0,.3)    0%, rgba(180,40,0,.15) 60%, transparent 85%);
}

/* -- LAYER 4: STRUCTURAL BEAMS / SCAFFOLDING -- */
.layer-structure {
  position: absolute; inset: 0; z-index: 4;
  background:
    linear-gradient(90deg,
      transparent 2%,   #030810 2.8%,  transparent 3.5%,
      transparent 7%,   #030810 7.6%,  transparent 8.2%,
      transparent 12%,  #040C14 12.5%, transparent 13%,
      transparent 87%,  #040C14 87.5%, transparent 88%,
      transparent 91%,  #030810 91.8%, transparent 92.5%,
      transparent 96%,  #030810 96.8%, transparent 97.5%),
    linear-gradient(180deg,
      transparent 8%, #040C14 8.5%, #030810 9%, transparent 9.5%,
      transparent 18%, rgba(4,12,20,.7) 18.4%, rgba(3,8,16,.7) 18.8%, transparent 19.3%,
      transparent 100%),
    repeating-linear-gradient(-55deg,
      transparent, transparent 42px, rgba(2,6,12,.5) 42px, rgba(2,6,12,.5) 45px);
}

/* -- LAYER 5: SMOKE & STEAM (ambient) -- */
.layer-smoke {
  position: absolute; inset: 0; z-index: 5;
  background:
    radial-gradient(ellipse 30% 60% at 30% 20%, rgba(176,190,197,.06) 0%, transparent 70%),
    radial-gradient(ellipse 20% 50% at 70% 10%, rgba(176,190,197,.04) 0%, transparent 70%),
    radial-gradient(ellipse 25% 40% at 50% 5%,  rgba(140,160,170,.05) 0%, transparent 70%);
  animation: smokeDrift 12s ease-in-out infinite alternate;
}

@keyframes smokeDrift {
  0%   { transform: translateY(0)     scaleX(1);    opacity: 1; }
  50%  { transform: translateY(-15px) scaleX(1.05); opacity: 0.8; }
  100% { transform: translateY(5px)   scaleX(0.97); opacity: 1; }
}

/* Smoke column pillars */
.smoke-col {
  position: absolute; z-index: 5;
  border-radius: 50%;
  pointer-events: none;
}
.smoke-col-1 {
  width: 120px; height: 340px;
  bottom: 75%; left: 48%;
  background: radial-gradient(ellipse 100% 100%, rgba(180,195,205,.12) 0%, transparent 70%);
  animation: smokePillar1 8s ease-in-out infinite;
  transform-origin: bottom center;
}
.smoke-col-2 {
  width: 80px; height: 220px;
  bottom: 72%; left: 56%;
  background: radial-gradient(ellipse 100% 100%, rgba(160,175,185,.09) 0%, transparent 70%);
  animation: smokePillar2 11s ease-in-out infinite 2s;
  transform-origin: bottom center;
}
.smoke-col-3 {
  width: 200px; height: 500px;
  bottom: 65%; left: 38%;
  background: radial-gradient(ellipse 100% 100%, rgba(130,145,155,.07) 0%, transparent 70%);
  animation: smokePillar1 14s ease-in-out infinite 4s;
  transform-origin: bottom center;
}

@keyframes smokePillar1 {
  0%   { transform: translateY(0)     translateX(0)   scaleX(1);    opacity: .7; }
  33%  { transform: translateY(-20px) translateX(8px)  scaleX(1.1);  opacity: 1;  }
  66%  { transform: translateY(-35px) translateX(-5px) scaleX(1.15); opacity: .8; }
  100% { transform: translateY(-50px) translateX(12px) scaleX(.9);   opacity: .5; }
}
@keyframes smokePillar2 {
  0%   { transform: translateY(0)     translateX(0)    scaleX(1);   opacity: .6; }
  40%  { transform: translateY(-25px) translateX(-10px) scaleX(1.2); opacity: .9; }
  100% { transform: translateY(-45px) translateX(8px)   scaleX(.85); opacity: .4; }
}

/* -- SPARK PARTICLES (populated by hero-sparks.js) -- */
.sparks-canvas {
  position: absolute; inset: 0; z-index: 6;
  pointer-events: none;
  overflow: hidden;
}
.spark {
  position: absolute;
  border-radius: 50%;
  background: #FFAB40;
  box-shadow: 0 0 4px 2px rgba(255,171,64,.8), 0 0 8px 4px rgba(255,100,0,.4);
  animation: sparkFly var(--dur,3s) ease-out var(--delay,0s) infinite;
  opacity: 0;
}
.spark-hot {
  background: #FFFDE7;
  box-shadow: 0 0 3px 1px rgba(255,255,220,1), 0 0 6px 3px rgba(255,200,0,.7);
}
@keyframes sparkFly {
  0%   { transform: translate(0,0)                            scale(1);  opacity: 1; }
  30%  { transform: translate(var(--dx1),var(--dy1))          scale(.8); opacity: .9; }
  60%  { transform: translate(var(--dx2),var(--dy2))          scale(.5); opacity: .5; }
  100% { transform: translate(var(--dx3),var(--dy3))          scale(0);  opacity: 0; }
}

/* -- LAYER 6: HEAT SHIMMER -- */
.layer-heat {
  position: absolute; inset: 0; z-index: 7;
  background: linear-gradient(180deg,
    transparent 0%, transparent 65%,
    rgba(255,80,0,.04) 72%, rgba(255,120,0,.07) 76%,
    rgba(255,80,0,.04) 80%, transparent 85%);
  animation: heatShimmer 4s ease-in-out infinite;
}
@keyframes heatShimmer {
  0%,100% { opacity: .6; transform: scaleY(1) translateY(0); }
  50%     { opacity: 1;  transform: scaleY(1.02) translateY(-2px); }
}

/* -- LAYER 7: LIGHT BRAND OVERLAY (image-forward) -- */
.layer-brand-overlay {
  position: absolute; inset: 0; z-index: 8;
  background: linear-gradient(160deg,
    rgba(30,136,229,.22) 0%,
    rgba(30,136,229,.12) 40%,
    rgba(30,136,229,.08) 70%,
    rgba(13,27,42,.35)   100%);
}

/* -- LAYER 8: PHOTOGRAPHIC VIGNETTE -- */
.layer-vignette {
  position: absolute; inset: 0; z-index: 9;
  background: radial-gradient(ellipse 80% 80% at 50% 50%,
    transparent 30%, rgba(2,6,12,.4) 70%, rgba(1,4,8,.75) 100%);
}

/* -- HERO CONTENT -- */
.hero-content {
  position: relative; z-index: 10;
  text-align: center;
  padding: 120px 20px 160px; /* top accounts for transparent header */
  max-width: 920px;
  width: 100%;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(30,136,229,.15);
  border: 1px solid rgba(30,136,229,.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 100px;
  padding: 8px 20px;
  margin-bottom: 32px;
  animation: heroFadeDown 1s ease 0.2s both;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--volt);
  border-radius: 50%;
  box-shadow: 0 0 8px 3px rgba(255,215,0,.6);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,100% { transform: scale(1);   box-shadow: 0 0 8px  3px rgba(255,215,0,.6); }
  50%     { transform: scale(1.3); box-shadow: 0 0 12px 5px rgba(255,215,0,.9); }
}
.hero-badge-text {
  font-size: 12px;
  font-weight: var(--fw-bold);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}

/* Logotype */
.hero-logotype {
  margin-bottom: 28px;
  animation: heroFadeDown 1s ease 0.4s both;
}
.hero-logotype .brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(54px, 9vw, 112px);
  letter-spacing: 8px;
  line-height: 0.9;
  color: var(--white);
  text-shadow:
    0 0 40px rgba(30,136,229,.5),
    0 2px 0 rgba(0,0,0,.8),
    0 4px 8px rgba(0,0,0,.5);
}
.hero-logotype .brand-sub {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 58px);
  letter-spacing: 20px;
  color: var(--blue);
  text-shadow:
    0 0 30px rgba(30,136,229,.7),
    0 0 60px rgba(30,136,229,.3);
  margin-top: 4px;
}

/* Gold rule */
.hero-rule {
  width: 80px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--volt), transparent);
  margin: 28px auto;
  animation: heroFadeDown 1s ease 0.6s both;
}

/* Slogan & subline */
.hero-slogan {
  font-size: clamp(13px, 2vw, 17px);
  font-weight: var(--fw-medium);
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 12px;
  animation: heroFadeUp 1s ease 0.8s both;
}
.hero-subline {
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: var(--fw-light);
  color: rgba(176,190,197,.85);
  letter-spacing: 1px;
  line-height: 1.75;
  margin-bottom: 52px;
  animation: heroFadeUp 1s ease 1s both;
}

/* CTA buttons */
.hero-cta {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroFadeUp 1s ease 1.2s both;
}
.btn-forge {
  position: relative;
  padding: 16px 44px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: var(--fw-bold);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  cursor: pointer;
  border: none;
  transition: all var(--ease);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-forge::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-forge:hover::before { transform: translateX(100%); }

.btn-forge--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 0 20px rgba(30,136,229,.4), 0 4px 15px rgba(0,0,0,.3);
}
.btn-forge--primary:hover {
  background: #1976D2;
  box-shadow: 0 0 35px rgba(30,136,229,.6), 0 8px 25px rgba(0,0,0,.4);
  transform: translateY(-3px);
}
.btn-forge--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.45);
}
.btn-forge--ghost:hover {
  border-color: rgba(255,255,255,.85);
  box-shadow: 0 0 20px rgba(255,255,255,.1);
  transform: translateY(-3px);
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 110px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: heroFadeUp 1s ease 1.6s both;
}
.scroll-cue span {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(176,190,197,.5);
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(180deg, rgba(30,136,229,.8), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top;    opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top;    opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* Stats strip */
.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  background: rgba(5,12,20,.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(30,136,229,.2);
  animation: heroFadeUp 1s ease 1.8s both;
}
.hero-stat {
  flex: 1;
  max-width: 220px;
  padding: 18px 24px;
  text-align: center;
  border-right: 1px solid rgba(30,136,229,.15);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 2px;
  color: var(--volt);
  line-height: 1;
  text-shadow: 0 0 15px rgba(255,215,0,.5);
}
.hero-stat-label {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(176,190,197,.6);
  margin-top: 4px;
}

/* Hero entry animations */
@keyframes heroFadeDown {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* =============================================================
   ABOUT
============================================================= */
.about-section {
  padding: var(--section-pad) 0;
  background: var(--white);
  overflow: hidden;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text .lead-text {
  font-size: 20px;
  font-weight: var(--fw-medium);
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 20px;
}
.about-text p { color: #4A5568; }
.about-text .btn-primary { margin-top: 16px; }

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: var(--gray);
  border-radius: 8px;
  border-left: 4px solid var(--blue);
  transition: all var(--ease);
}
.highlight-card:hover {
  background: var(--white);
  box-shadow: 0 8px 30px rgba(30,136,229,.1);
  transform: translateX(6px);
}
.highlight-icon {
  width: 48px; height: 48px;
  background: rgba(30,136,229,.1);
  border-radius: 10px;
  display: flex;
  align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}
.highlight-icon svg { width: 24px; height: 24px; }
.highlight-card h3 { font-size: 18px; margin-bottom: 6px; }
.highlight-card p  { font-size: 15px; color: #4A5568; margin: 0; }

.geometric-pattern {
  position: absolute;
  top: -60px; right: -80px;
  width: 400px; height: 400px;
  background:
    repeating-linear-gradient(45deg,
      rgba(30,136,229,.04) 0px, rgba(30,136,229,.04) 1px,
      transparent 1px, transparent 30px),
    repeating-linear-gradient(-45deg,
      rgba(30,136,229,.04) 0px, rgba(30,136,229,.04) 1px,
      transparent 1px, transparent 30px);
  pointer-events: none;
}


/* =============================================================
   SERVICES
============================================================= */
.services-section {
  padding: var(--section-pad) 0;
  background: var(--navy);
}

.services-section .section-label { background: rgba(30,136,229,.2); border-color: rgba(30,136,229,.3); }
.services-section .section-header h2 { color: var(--white); }
.services-section .section-subtitle   { color: var(--silver); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 36px 28px;
  transition: all var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--volt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.service-card:hover {
  background: rgba(255,255,255,.07);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  background: rgba(30,136,229,.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
  transition: all var(--ease);
}
.service-card:hover .service-icon { background: rgba(30,136,229,.25); }
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 { font-size: 19px; color: var(--white); margin-bottom: 10px; }
.service-card p  { font-size: 15px; color: rgba(176,190,197,.8); line-height: 1.6; }

.service-features {
  list-style: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.service-features li {
  font-size: 14px;
  color: rgba(176,190,197,.7);
  padding: 5px 0 5px 20px;
  position: relative;
}
.service-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
}


/* =============================================================
   TECHNOLOGY
============================================================= */
.technology-section {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.tech-background {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 0% 50%,   rgba(30,136,229,.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 50%,  rgba(30,136,229,.03) 0%, transparent 60%);
  pointer-events: none;
}

.tech-features {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.tech-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.tech-feature--reverse { direction: rtl; }
.tech-feature--reverse > * { direction: ltr; }

.tech-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray);
}
.tech-img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.tech-image-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px;
  background: linear-gradient(135deg, #0D1B2A 0%, #1E3A5F 100%);
  color: rgba(176,190,197,.5);
}
.tech-image-fallback svg { width: 60px; height: 60px; }
.tech-image-fallback span { font-size: 14px; letter-spacing: 1px; }

/* Hide fallback when real image loads */
.tech-img:not([src=""]) + .tech-image-fallback { display: none; }

.tech-content h3 { color: var(--navy); margin-bottom: 14px; }
.tech-content p   { color: #4A5568; line-height: 1.7; }

.tech-list {
  list-style: none;
  margin-top: 20px;
}
.tech-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 15px;
  color: var(--navy);
  font-weight: var(--fw-medium);
  border-bottom: 1px solid var(--border);
}
.tech-list li:last-child { border-bottom: none; }
.tech-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 2px;
  background: var(--blue);
}


/* =============================================================
   GLOBAL PRESENCE
============================================================= */
.global-section {
  padding: var(--section-pad) 0;
  background: var(--gray);
}

.global-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.stat-card {
  background: var(--white);
  border-radius: 10px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transition: all var(--ease);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(30,136,229,.12);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 56px;
  letter-spacing: 2px;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  letter-spacing: 1px;
  color: var(--silver);
  text-transform: uppercase;
}

.world-map {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 60px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.map-placeholder {
  height: 340px;
  background: linear-gradient(135deg, #0D1B2A 0%, #1E3A5F 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.map-placeholder p {
  color: rgba(176,190,197,.3);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.location-pins { position: absolute; inset: 0; }
.pin {
  position: absolute;
  font-size: 24px;
  filter: drop-shadow(0 0 8px rgba(30,136,229,.8));
  animation: pinPulse 3s ease-in-out infinite;
}
@keyframes pinPulse {
  0%,100% { transform: scale(1)    translateY(0); }
  50%     { transform: scale(1.15) translateY(-4px); }
}

.regional-offices h3 { text-align: center; margin-bottom: 32px; }
.offices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.office-card {
  background: var(--white);
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  border-top: 3px solid var(--blue);
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  transition: all var(--ease);
}
.office-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(30,136,229,.1);
}
.office-card h4 { font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.office-card p  { font-size: 14px; color: var(--silver); margin: 0; }


/* =============================================================
   CONTACT
============================================================= */
.contact-section {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group label {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--navy);
  letter-spacing: 0.3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,136,229,.12);
}
.form-group input.error,
.form-group textarea.error { border-color: #E53E3E; }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-error {
  font-size: 13px;
  color: #E53E3E;
  min-height: 18px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: var(--fw-bold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--ease);
  align-self: flex-start;
}
.btn-submit:hover {
  background: #1976D2;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30,136,229,.35);
}
.btn-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.btn-submit-icon { width: 18px; height: 18px; }

.form-message {
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 15px;
  display: none;
}
.form-message.success {
  display: block;
  background: rgba(72,187,120,.1);
  color: #276749;
  border: 1px solid rgba(72,187,120,.3);
}
.form-message.error {
  display: block;
  background: rgba(229,62,62,.08);
  color: #C53030;
  border: 1px solid rgba(229,62,62,.2);
}

/* Contact info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  background: var(--gray);
  border-radius: 10px;
  transition: all var(--ease);
}
.info-card:hover {
  background: var(--white);
  box-shadow: 0 6px 24px rgba(30,136,229,.1);
}
.info-icon {
  width: 44px; height: 44px;
  background: rgba(30,136,229,.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}
.info-icon svg { width: 20px; height: 20px; }
.info-card h4 { font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.info-card p,
.info-card address { font-size: 14px; color: #4A5568; line-height: 1.7; margin: 0; }
.info-card a { color: var(--blue); }
.info-card a:hover { color: #1565C0; text-decoration: underline; }


/* =============================================================
   FOOTER
============================================================= */
.site-footer { background: var(--navy); }

.footer-main { padding: 80px 0 60px; }

.footer-content {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-logo-link { display: inline-block; margin-bottom: 14px; }
.footer-logo-img  { height: 36px; width: auto; }
.footer-logo-fallback {
  font-weight: var(--fw-bold);
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--white);
}
.footer-logo-img + .footer-logo-fallback { display: none; }

.footer-slogan {
  font-size: 13px;
  font-weight: var(--fw-medium);
  letter-spacing: 1.5px;
  color: var(--volt);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-description {
  font-size: 14px;
  color: rgba(176,190,197,.7);
  line-height: 1.7;
  margin-bottom: 24px;
}

.social-links { display: flex; gap: 12px; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(176,190,197,.7);
  transition: all var(--ease);
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-column h4 {
  font-size: 14px;
  font-weight: var(--fw-bold);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 10px; }
.footer-column ul a {
  font-size: 14px;
  color: rgba(176,190,197,.7);
  transition: color var(--ease);
}
.footer-column ul a:hover { color: var(--white); }

.footer-contact-list { list-style: none; }
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(176,190,197,.7);
}
.footer-icon { width: 16px; height: 16px; flex-shrink: 0; color: var(--blue); }
.footer-contact-list a { color: rgba(176,190,197,.7); transition: color var(--ease); }
.footer-contact-list a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
}
.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-bottom-content p {
  font-size: 13px;
  color: rgba(176,190,197,.5);
  margin: 0;
}
.footer-legal { display: flex; align-items: center; gap: 12px; }
.footer-legal a  { font-size: 13px; color: rgba(176,190,197,.5); transition: color var(--ease); }
.footer-legal a:hover { color: var(--white); }
.footer-legal span { color: rgba(176,190,197,.2); font-size: 10px; }


/* =============================================================
   REDUCED MOTION
============================================================= */
@media (prefers-reduced-motion: reduce) {
  .layer-smoke, .smoke-col, .layer-heat, .spark,
  .scroll-line, .hero-badge-dot, .pin { animation: none !important; }
  .animate-on-scroll { opacity: 1; transform: none; transition: none; }
  .hero-badge, .hero-logotype, .hero-rule, .hero-slogan,
  .hero-subline, .hero-cta, .scroll-cue, .hero-stats { animation: none !important; }
}
