/* ============================================================
   ELECTRON MONKEY ELITE — style.css
   ============================================================ */

:root {
  --orange:        #ff5a00;
  --deep-orange:   #e63a00;
  --soft-orange:   #ff8c33;
  --coral:         #ff6f5e;
  --off-white:     #f2f2f0;
  --white:         #ffffff;
  --charcoal:      #1a1a1a;
  --teal:          #169e9a;
  --deep-teal:     #0b6f78;
  --cyan:          #2bbec1;
  --focus:         #101820;
  --header-height: 86px;
  --black:         #060606;
  --black-2:       #0c0c0c;

  --font-anton:    "Anton", Impact, sans-serif;
  --font-orbitron: "Orbitron", monospace;
  --font-inter:    "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  color: var(--charcoal);
  background: var(--off-white);
  font-family: var(--font-inter);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(18px,5vw,64px); }

/* ── PRELOADER ─────────────────────────────── */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,90,0,.18), transparent 34%),
    radial-gradient(circle at 50% 55%, rgba(255,140,51,.08), transparent 48%),
    #000015;
  transition: opacity 600ms cubic-bezier(.22,.61,.36,1), visibility 600ms;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }

.pre-hex {
  width: clamp(100px,18vw,160px);
  aspect-ratio: 1;
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  background: rgba(255,90,0,0.1);
  border: 2px solid #ff5a00;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 0 28px rgba(255,90,0,.34),
    inset 0 0 28px rgba(255,90,0,.16);
  animation: preOrganicPulse 2.8s ease-in-out infinite;
}
.pre-hex::before {
  content: "";
  position: absolute;
  inset: 10%;
  clip-path: inherit;
  border: 1px solid rgba(255,255,255,.12);
  z-index: 1;
}
.pre-hex::after {
  content: "";
  position: absolute;
  left: -40%;
  right: -40%;
  top: -24%;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.34), transparent);
  filter: blur(2px);
  transform: rotate(-12deg);
  animation: preScan 2.35s cubic-bezier(.45,0,.2,1) infinite;
  z-index: 3;
  pointer-events: none;
}
.pre-hex-fill {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 8%, rgba(255,255,255,.32), transparent 30%),
    linear-gradient(180deg,#ffb347 0%,#ff7a2f 42%,#ff5a00 72%,#d74100 100%);
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  transform-origin: bottom; transform: scaleY(0);
  transition: transform 120ms cubic-bezier(.2,.75,.25,1);
  will-change: transform;
}
.pre-pct {
  position: relative; z-index: 4;
  font-family: var(--font-orbitron);
  font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 900;
  color: #fff; text-shadow: 0 0 20px rgba(255,90,0,0.9);
  letter-spacing: 0.04em; line-height: 1;
}
.preloader-brand {
  font-family: var(--font-orbitron); font-size: 0.68rem; font-weight: 700;
  color: #ff5a00; letter-spacing: 0.24em; text-transform: uppercase; text-align: center;
}
@keyframes preOrganicPulse {
  0%,100% { transform: scale(1); filter: saturate(1); }
  45% { transform: scale(1.025); filter: saturate(1.18); }
  72% { transform: scale(.992); filter: saturate(1.05); }
}
@keyframes preScan {
  0% { transform: translateY(-130%) rotate(-12deg); opacity: 0; }
  18% { opacity: .72; }
  62% { opacity: .28; }
  100% { transform: translateY(430%) rotate(-12deg); opacity: 0; }
}

/* ── HEADER ─────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: var(--header-height);
  padding: 18px clamp(18px,4vw,56px);
  color: var(--white);
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease, padding 300ms ease, min-height 300ms ease;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(26,26,26,0.92);
  color: var(--white);
  box-shadow: 0 18px 50px rgba(26,26,26,0.28);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,140,51,0.34);
}
.site-header.is-scrolled {
  min-height: 58px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: inline-flex; align-items: center;
  width: 176px; min-height: 44px;
}
.brand img {
  width: 100%;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,0.22));
  transition: filter 220ms ease;
}
.site-header.is-scrolled .brand img,
.site-header.is-open .brand img {
  filter: drop-shadow(0 0 18px rgba(255,174,58,0.36)) drop-shadow(0 12px 18px rgba(0,0,0,0.44));
}
.site-header.is-scrolled .header-cta,
.site-header.is-open .header-cta {
  border-color: var(--soft-orange); color: var(--white);
  background: rgba(255,90,0,0.22);
}
.primary-nav {
  justify-self: center;
  display: flex; align-items: center;
  gap: clamp(14px,2.2vw,34px);
  font-size: 0.82rem; font-weight: 900;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.nav-mob-logo,
.nav-mob-social {
  display: none;
}
.primary-nav > a, .nav-dropdown-trigger {
  position: relative; min-height: 44px;
  display: inline-flex; align-items: center;
}
.primary-nav > a::after, .nav-dropdown-trigger::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 7px;
  height: 2px; transform: scaleX(0); transform-origin: left;
  background: currentColor; transition: transform 180ms ease;
}
.primary-nav > a:hover::after, .nav-dropdown-trigger:hover::after { transform: scaleX(1); }
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  gap: 8px; border: 0; padding: 0;
  background: transparent; color: inherit;
  font-weight: 900; letter-spacing: inherit; text-transform: inherit;
}
.services-menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  width: min(840px,calc(100vw - 36px));
  transform: translateX(-50%);
  display: none;
  background: #050505;
  border: 1px solid rgba(255,140,51,0.28);
  border-radius: 14px;
  box-shadow: 0 36px 90px rgba(0,0,0,0.88), 0 0 60px rgba(255,90,0,0.1), inset 0 1px 0 rgba(255,140,51,0.12);
  z-index: 100; overflow: hidden;
}
.services-menu[hidden] { display: none !important; }
.nav-dropdown.is-open .services-menu:not([hidden]) { display: block; }
/* ── SM grid / columns / items ─── */
.sm-grid { display: flex; }
.sm-col { flex: 1; min-width: 0; padding: 22px 16px; border-right: 1px solid rgba(255,140,51,0.1); }
.sm-col:last-child { border-right: none; }
.sm-cat {
  font-family: var(--font-orbitron);
  font-size: 0.59rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,140,51,0.5);
  padding: 2px 6px 12px; margin-bottom: 6px;
  border-bottom: 1px solid rgba(255,140,51,0.13);
}
.sm-item {
  display: flex; align-items: center; gap: 10px;
  min-height: 42px; padding: 8px 10px; border-radius: 7px;
  color: rgba(255,176,100,0.82);
  font-size: 0.76rem; font-weight: 500; line-height: 1.25; letter-spacing: 0.02em;
  transition: color 180ms ease, background 180ms ease, text-shadow 180ms ease;
}
.sm-item:hover, .sm-item:focus-visible {
  color: #ff8c33;
  background: rgba(255,140,51,0.08);
  text-shadow: 0 0 18px rgba(255,140,51,0.7), 0 0 40px rgba(255,100,0,0.35);
}
.sm-icon {
  width: 17px; height: 17px; flex-shrink: 0;
  stroke: rgba(255,140,51,0.6);
  transition: stroke 180ms ease, filter 180ms ease;
}
.sm-item:hover .sm-icon, .sm-item:focus-visible .sm-icon {
  stroke: #ff8c33;
  filter: drop-shadow(0 0 5px rgba(255,140,51,0.75));
}
.header-cta {
  justify-self: end; display: inline-flex;
  align-items: center; justify-content: center;
  min-height: 44px; border: 2px solid currentColor; border-radius: 999px;
  padding: 0 18px; font-size: 0.78rem; font-weight: 900;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.nav-toggle {
  display: none; justify-self: end; position: relative; z-index: 80;
  width: 58px; height: 58px;
  border: 3px solid currentColor; border-radius: 50%;
  background: rgba(26,26,26,0.24); color: inherit; padding: 0;
  box-shadow: 0 12px 28px rgba(26,26,26,0.16);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, border-color 180ms ease;
}
.nav-toggle span {
  display: block; width: 24px; height: 4px;
  margin: 5px auto; border-radius: 999px; background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-9px) rotate(-45deg); }

/* ── HERO ─────────────────────────────────── */
.hero {
  --hero-blur-progress: 0;
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-height) + 44px) clamp(18px,5vw,72px) 0;
  margin-bottom: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--orange);
}
.hero-background-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: blur(calc(var(--hero-blur-progress,0)*10px)) saturate(1.18) contrast(1.05);
}
.hero-video-wash {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(230,58,0,0.90), rgba(255,90,0,0.78) 42%, rgba(255,130,40,0.84)),
    radial-gradient(circle at 50% 44%, rgba(255,255,255,0.10), transparent 32%);
  filter: blur(calc(var(--hero-blur-progress,0)*7px));
  mix-blend-mode: multiply;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0;
  height: 28%;
  background: linear-gradient(180deg,transparent,rgba(255,90,0,0.95));
  pointer-events: none; z-index: 2;
}
.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(12px); opacity: 0.72;
  pointer-events: none; z-index: 2;
}
.hero-glow-teal {
  right: 26%; top: 34%; width: 18vw; height: 18vw;
  background: radial-gradient(circle,rgba(255,255,255,0.22),transparent 64%);
}
.hero-glow-red {
  left: 12%; bottom: 6%; width: 20vw; height: 20vw;
  background: radial-gradient(circle,rgba(255,29,0,0.44),transparent 64%);
}
.elite-backdrop {
  position: absolute;
  left: 0;
  right: 0;
  top: 36%;
  margin: 0;
  transform: none;
  color: rgba(255,255,255,0.28);
  filter: blur(calc(var(--hero-blur-progress,0)*8px));
  font-family: var(--font-anton);
  font-size: clamp(4.4rem,14vw,17.5rem);
  line-height: 0.92;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  user-select: none;
  z-index: 2;
}
.hero-title {
  position: relative; z-index: 2; width: 100%;
  margin: 3vh 0 0;
  font-family: var(--font-anton);
  font-size: clamp(6.2rem,11.2vw,13rem);
  font-weight: 400; line-height: 0.86;
  letter-spacing: 0; text-align: center;
  text-transform: uppercase; white-space: nowrap;
}
.hero-side-note {
  position: absolute; z-index: 4;
  right: clamp(32px,8vw,150px); top: 43%;
  display: grid; gap: 4px;
  color: rgba(255,255,255,0.76);
  font-weight: 900; letter-spacing: 0.08em;
  line-height: 1.3; text-transform: uppercase;
}
.hero-intro {
  position: absolute; z-index: 4;
  left: clamp(28px,5vw,82px);
  bottom: clamp(92px,13vh,150px);
  max-width: 720px;
  color: rgba(255,255,255,0.74);
  font-size: clamp(0.78rem,1.1vw,0.94rem);
  font-weight: 800; letter-spacing: 0.02em;
  line-height: 1.65; text-transform: uppercase;
}
.hero-intro p { margin: 0; }
.hero-actions {
  position: absolute; z-index: 4;
  left: clamp(28px,5vw,82px);
  bottom: clamp(28px,5vh,58px);
  display: flex; flex-wrap: wrap; gap: 14px;
}

/* ── BUTTONS ─────────────────────────────── */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; border-radius: 8px; padding: 0 22px;
  font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
  text-decoration: none; gap: 8px;
}
.button:hover { transform: translateY(-2px); }
.button-dark {
  background: var(--charcoal); color: var(--white);
  box-shadow: 0 20px 44px rgba(26,26,26,0.24);
}
.button-dark:hover { background: #ff5a00; }
.button-light { border: 2px solid var(--white); color: var(--white); }
.button-light:hover { background: rgba(255,255,255,0.12); }
.button-call {
  border: 2px solid var(--charcoal);
  background: var(--white); color: var(--charcoal);
  box-shadow: 0 20px 44px rgba(26,26,26,0.18);
}
.button-call:hover { background: var(--off-white); }

/* ─────────────────────────────────────────────────────────────────
   BLOQUE 2 — MTS  (grid: image LEFT | text RIGHT)
───────────────────────────────────────────────────────────────── */
.mts {
  position: relative;
  background: var(--off-white);
  overflow: hidden;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 45% 55%;
  grid-template-rows: 1fr;
  align-items: stretch;
}

/* Particle canvas — sits behind everything */
.mts-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}

.mts-tag {
  font-family: var(--font-orbitron); font-size: 0.7rem; font-weight: 700;
  color: var(--orange); letter-spacing: 0.24em; text-transform: uppercase; margin: 0;
}

/* RIGHT column: monkey image, tall and bottom-aligned */
.mts-monkey-side {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  padding: 0;
  min-height: 100vh;
  overflow: visible;
  will-change: transform, opacity;
}

/* Height-driven sizing: makes monkeys MUCH bigger than width-based */
.mts-monkey-img {
  display: block;
  width: auto;
  height: 88vh;
  max-width: none;
  transform-origin: center bottom;
}

/* LEFT column: text content */
.mts-text-side {
  position: relative;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  background: var(--off-white);
  padding: clamp(60px,8vh,120px) clamp(32px,5vw,80px) clamp(60px,8vh,120px) clamp(60px,8vw,120px);
  will-change: transform, opacity;
}

.mts-title {
  font-family: var(--font-anton);
  font-size: clamp(2.8rem,4.8vw,5.6rem);
  font-weight: 400; line-height: 0.88;
  text-transform: uppercase; color: var(--orange); margin: 0;
}
.mts-sub {
  font-family: var(--font-anton);
  font-size: clamp(1rem,1.6vw,1.5rem);
  font-weight: 400; text-transform: uppercase;
  color: var(--charcoal); margin: 0; letter-spacing: 0.02em;
}
.mts-desc {
  font-family: var(--font-inter);
  font-size: clamp(0.82rem,1vw,0.95rem);
  font-weight: 500; line-height: 1.75;
  color: rgba(26,26,26,0.65); max-width: 320px; margin: 0;
}
.mts-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 28px;
  background: var(--charcoal); color: #fff; border-radius: 6px;
  font-family: var(--font-inter); font-size: 0.84rem; font-weight: 900;
  letter-spacing: 0.08em; text-transform: uppercase;
  align-self: flex-start;
  transition: background 220ms ease, transform 220ms ease;
}
.mts-btn:hover { background: var(--orange); transform: translateY(-2px); }

/* ─────────────────────────────────────────────────────────────────
   BLOQUE 3 — OSMO PARALLAX  (Monkey-Universe.png)
   200 vh tall section + sticky 100svh viewport.
   GSAP animates [data-parallax-layers] children at different speeds.
───────────────────────────────────────────────────────────────── */

/* Root wrapper — z-index above Block 2 so it "covers" the monkeys */
.parallax-wrap {
  position: relative;
  z-index: 10;
}

/* Tall section: first 100vh = parallax animation; second 100vh = resting state */
.parallax__header {
  position: relative;
  height: 200vh;
}

/* Sticky viewport — pins while user scrolls through parallax__header */
.parallax__visuals {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #05000f;
}

/* Hair-line cover so there is zero pixel gap between Block 2 (off-white) and Block 3 */
.parallax__black-line-overflow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--off-white);
  z-index: 30;
}

/* [data-parallax-layers] — the GSAP trigger element */
.parallax__layers {
  position: absolute;
  inset: 0;
}

/* ── Layer 1: deep space background (moves most → yPercent: 70) */
.parallax__space {
  position: absolute;
  top: -30%; left: 0;
  width: 100%;
  height: 160%;           /* oversized so 70% yPercent movement stays covered */
  background:
    radial-gradient(ellipse at 65% 58%, rgba(255, 80,  0, 0.30) 0%, transparent 45%),
    radial-gradient(ellipse at 22% 54%, rgba( 90,  0,200, 0.32) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 82%, rgba(120,  0, 60, 0.22) 0%, transparent 45%),
    #05000f;
  will-change: transform;
}

/* ── Layer 2: nebula atmosphere (yPercent: 55) */
.parallax__nebula {
  position: absolute;
  top: -20%; left: 0;
  width: 100%;
  height: 140%;
  background:
    radial-gradient(ellipse at 38% 68%, rgba( 60,  0,120, 0.26) 0%, transparent 55%),
    radial-gradient(ellipse at 72% 38%, rgba(  0, 40,120, 0.18) 0%, transparent 40%);
  will-change: transform;
}

/* ── Layer 3: orange plasma glow (yPercent: 40) */
.parallax__plasma {
  position: absolute;
  top: -10%; left: 0;
  width: 100%;
  height: 120%;
  background:
    radial-gradient(ellipse at 60% 62%, rgba(255,100,  0, 0.16) 0%, transparent 40%),
    radial-gradient(ellipse at 30% 78%, rgba(255, 50,  0, 0.10) 0%, transparent 35%);
  will-change: transform;
}

/* ── Layer 4: Monkey-Universe.png — mountain foreground (rises from below) */
.parallax__univ-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 115%;
  object-fit: cover;
  /* shift view into the image to skip the solid black sky at the top */
  object-position: 50% 22%;
  /* screen blend: pure-black sky areas become transparent, showing space gradients */
  mix-blend-mode: screen;
  z-index: 5;
  will-change: transform;
}

/* ── Services: fades in once mountain has risen enough */
.parallax__services {
  position: absolute;
  top: 42%;
  bottom: 0; left: 0; right: 0;
  z-index: 15;
  padding: 0 clamp(18px, 5vw, 64px) clamp(40px, 5vh, 72px);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;             /* GSAP fades this in at mid-scroll */
  background: linear-gradient(
    to top,
    rgba(5, 0, 15, 0.95) 0%,
    rgba(5, 0, 15, 0.70) 55%,
    transparent 100%
  );
}

/* ── Bottom fade into the dark services section below */
.parallax__fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 15%;
  background: linear-gradient(to bottom, transparent, #060606);
  z-index: 20;
  pointer-events: none;
}

/* Eyebrow + title (shared by parallax__services) */
.univ-eyebrow {
  font-family: var(--font-orbitron); font-size: 0.8rem; color: #ff5a00;
  letter-spacing: 0.28em; text-transform: uppercase; margin: 0 0 14px;
}
.univ-title {
  font-family: var(--font-anton);
  font-size: clamp(2.2rem,5vw,4.4rem);
  color: #fff; text-transform: uppercase;
  line-height: 0.95; margin: 0 0 40px;
}

/* 2×2 service cards grid */
.univ-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 16px; max-width: 900px; margin: 0 auto;
}
.svc-glass {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,90,0,0.28); border-radius: 8px;
  padding: 22px; backdrop-filter: blur(10px);
  text-align: left; cursor: default;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  opacity: 0; transform: translateY(28px);
}
.svc-glass:hover {
  transform: translateY(-4px);
  border-color: rgba(255,90,0,0.6);
  box-shadow: 0 16px 40px rgba(255,90,0,0.15);
}
.svc-num {
  font-family: var(--font-orbitron); font-size: 0.72rem;
  color: #ff5a00; letter-spacing: 0.15em; margin-bottom: 10px;
}
.svc-glass h3 {
  font-family: var(--font-anton); font-size: 1.2rem;
  color: #fff; text-transform: uppercase; line-height: 1; margin-bottom: 8px;
}
.svc-glass p {
  font-family: var(--font-inter); font-size: 0.8rem;
  color: rgba(255,255,255,0.58); line-height: 1.6; margin: 0;
}

/* ── BLOQUE 2 — hover eléctrico monos ─────── */
@keyframes electric-color {
  0%, 100% {
    background: radial-gradient(
      ellipse at 40% 50%,
      rgba(0, 180, 255, 0.95) 0%,
      rgba(0, 100, 255, 0.5) 50%,
      transparent 100%
    );
  }
  50% {
    background: radial-gradient(
      ellipse at 40% 50%,
      rgba(255, 100, 0, 0.95) 0%,
      rgba(255, 50, 0, 0.5) 50%,
      transparent 100%
    );
  }
}

/* ── SERVICE CARDS (Block 3 overlay) ─────── */
.service-card {
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 28px 24px;
  transition: background 0.3s ease;
}
.service-card:hover { background: rgba(232,68,10,0.25); }
.service-card .num {
  display: block;
  font-size: 11px; color: #E8440A;
  letter-spacing: 2px; font-weight: 700;
  font-family: 'Orbitron', Arial, sans-serif;
  margin-bottom: 10px; text-transform: uppercase;
}
.service-card h3 {
  font-size: 18px; font-weight: 900; color: #fff;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 8px;
  font-family: 'Anton', Impact, Arial Black, sans-serif;
}
.service-card p {
  font-size: 12px; color: rgba(255,255,255,0.6);
  font-family: 'Inter', Arial, sans-serif; line-height: 1.5; margin: 0;
}

/* ── BLOCK 4 — SERVICES GRID ─────────────── */
.services-section {
  position: relative; background: var(--black-2,#0c0c0c);
  padding: clamp(80px,10vh,140px) 0; overflow: hidden;
}
.services-radial {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle,rgba(255,90,0,.05) 0%,transparent 68%);
  pointer-events: none;
}
.sec-header { text-align: center; margin-bottom: 56px; }
.sec-eyebrow {
  font-family:var(--font-orbitron);font-size:.72rem;letter-spacing:.25em;
  text-transform:uppercase;color:#ff5a00;margin-bottom:14px;
  display: flex;
}
.sec-title {
  font-family: var(--font-anton);
  font-size: clamp(42px,7.5vw,96px);
  line-height: .9; text-transform: uppercase; color: #fff; margin-bottom: 14px;
}
.sec-sub {
  font-size: clamp(.875rem,1.2vw,1rem); color: rgba(255,255,255,.4);
  max-width: 540px; margin: 0 auto; line-height: 1.8;
}
.svc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.svc-card {
  background: rgba(255,255,255,.022); border: 1px solid rgba(255,255,255,.07);
  border-radius: 5px; overflow: hidden; position: relative;
  transition: transform .35s, border-color .3s, box-shadow .35s;
  opacity: 0; transform: translateY(24px);
}
.svc-inner { padding: clamp(16px,2.5vw,26px); position: relative; z-index: 1; }
.svc-card:hover { border-color: rgba(255,90,0,.28); box-shadow: 0 10px 36px rgba(0,0,0,.3); transform: translateY(-3px); }
.svc-ico { font-size: 1.55rem; display: block; margin-bottom: 12px; }
.svc-card h3 {
  font-family: var(--font-orbitron); font-size: .7rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: #fff;
  margin-bottom: 8px; line-height: 1.4;
}
.svc-card p { font-size: .78rem; color: rgba(255,255,255,.35); line-height: 1.7; }

/* ── BLOCK 5 — TIMELINE ───────────────────── */
.timeline-section {
  position: relative; background: #060606;
  padding: clamp(80px,10vh,140px) 0; overflow: hidden;
}
.tl-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; pointer-events: none;
}
.tl-video-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: rgba(4,4,6,.82);
}
.tl-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(ellipse at 0% 50%,rgba(255,61,0,.06) 0%,transparent 42%),
              radial-gradient(ellipse at 100% 50%,rgba(255,90,0,.05) 0%,transparent 42%);
}
.timeline-section > .container { position: relative; z-index: 3; }
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.tl-track {
  position: absolute; left: 40px; top: 0; bottom: 0;
  width: 1px; background: rgba(255,255,255,.06);
}
.tl-fill {
  width: 100%; height: 0%;
  background: linear-gradient(180deg,#ff5a00,#e63a00);
  box-shadow: 0 0 14px rgba(255,90,0,.4);
}
.tl-item {
  display: flex; align-items: flex-start; gap: 32px;
  opacity: 0; transform: translateX(-24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.tl-item.is-active { opacity: 1; transform: none; }
.tl-num {
  font-family: var(--font-anton); font-size: clamp(50px,6vw,74px);
  line-height: 1; color: rgba(255,90,0,.12);
  min-width: 80px; text-align: center; position: relative; z-index: 1;
  transition: color .4s, text-shadow .4s;
}
.tl-item.is-active .tl-num { color: #ff5a00; text-shadow: 0 0 40px rgba(255,90,0,.45); }
.tl-body { flex: 1; padding: 10px 0 34px; border-bottom: 1px solid rgba(255,255,255,.05); }
.tl-body h3 {
  font-family: var(--font-anton); font-size: clamp(1.4rem,2.5vw,1.9rem);
  text-transform: uppercase; color: #fff; margin-bottom: 8px;
}
.tl-body p { font-size: .88rem; color: rgba(255,255,255,.4); line-height: 1.78; max-width: 460px; }

/* ── BLOCK 6 — CTA ───────────────────────── */
.cta-section {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; background: var(--black,#060606);
}
.cta-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle,rgba(255,61,0,.07) 0%,transparent 70%);
  pointer-events: none; z-index: 0;
}
.cta-inner { position: relative; z-index: 2; text-align: center; padding: clamp(80px,10vh,140px) 0; }
.cta-title {
  font-family: var(--font-anton);
  font-size: clamp(52px,9.5vw,132px);
  line-height: .88; text-transform: uppercase; color: #fff; margin-bottom: 26px;
}
.cta-desc {
  font-size: clamp(.875rem,1.2vw,1rem); color: rgba(255,255,255,.45);
  max-width: 580px; margin: 0 auto 44px; line-height: 1.85;
}
.cta-video-wrap {
  margin: 0 auto 48px;
  max-width: 820px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,0.45);
}
.cta-video {
  display: block; width: 100%; height: auto;
  border-radius: 16px 16px 0 0;
}
.cta-video-controls {
  display: flex; gap: 10px; justify-content: center;
  padding: 14px 20px;
  background: rgba(0,0,0,0.55);
  border-radius: 0 0 16px 16px;
}
.cvc-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: var(--font-body, sans-serif);
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.cvc-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.cvc-btn:hover:not(:disabled) { background: rgba(255,90,0,0.35); border-color: #ff5a00; }
.cvc-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.cvc-play.is-active { background: rgba(255,90,0,0.45); border-color: #ff5a00; }
.cta-actions {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}
.gsap-ready .cta-title,
.gsap-ready .cta-desc,
.gsap-ready .cta-actions { opacity: 0; transform: translateY(24px); }

/* ── FOOTER ──────────────────────────────── */
.site-footer {
  background: #d54e05; border-top: 1px solid rgba(255,255,255,.05); padding: 40px 0 28px;
}
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-bottom: 28px; }
.footer-tag { font-family:var(--font-orbitron);font-size:.6rem;color:rgba(255,255,255,.25);letter-spacing:.08em;margin-top:10px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer-links a { font-family:var(--font-orbitron);font-size:.62rem;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.28);transition:color .2s; }
.footer-links a:hover { color: #ff5a00; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.04); padding-top: 18px; }
.footer-bottom p { font-family:var(--font-orbitron);font-size:.56rem;color:rgba(255,255,255,.16);letter-spacing:.1em; }

/* ── REDUCED MOTION ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after {
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    scroll-behavior:auto!important;
    transition-duration:.001ms!important;
  }
  .matrix-canvas,.mts-canvas,.cta-canvas { display: none; }
  .parallax__univ-img { height: 100%; }
}

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2,1fr); }
  .svc-panel-grid { grid-template-columns: repeat(2,1fr) !important; }
}

@media (max-width: 620px) {
  .svc-panel-grid { grid-template-columns: 1fr !important; }
}

@keyframes mobileNavIn {
  from { opacity: 0; transform: translateY(-28px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes mobileNavItemIn {
  from { opacity: 0; transform: translateX(-36px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes navToggleGlow {
  0%,100% { box-shadow: 0 0 0 3px rgba(255,140,51,0.55), 0 0 18px rgba(255,140,51,0.22); }
  50%     { box-shadow: 0 0 0 4px rgba(255,140,51,0.9),  0 0 36px rgba(255,140,51,0.48); }
}
@keyframes submenuSlideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  /* Header */
  .site-header {
    grid-template-columns: auto auto;
    z-index: 90;
    overflow: visible;
    align-items: center;
  }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded="true"] {
    border-color: #ff8c33;
    color: #ff8c33;
    animation: navToggleGlow 1.8s ease-in-out infinite;
  }
  .primary-nav {
    position: fixed; inset: 0; z-index: 70;
    display: none; width: 100%; min-height: 100svh;
    overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
    padding: 160px clamp(18px,4vw,56px) 48px;
    background:
      radial-gradient(circle at 8% 10%, rgba(255,140,51,.28), transparent 38%),
      radial-gradient(circle at 88% 88%, rgba(255,140,51,.14), transparent 34%),
      linear-gradient(145deg,#050303 0%,#1a0f0a 54%,#0d0907 100%);
    color: #ffb083;
    left: 0!important; right: 0!important;
    border-right: 1px solid rgba(255,140,51,0.1);
  }
  .primary-nav.is-open,
  .primary-nav.open {
    display: flex; flex-direction: column; justify-content: flex-start;
    align-items: stretch; gap: 8px;
    animation: mobileNavIn 340ms cubic-bezier(0.22,1,0.36,1) forwards;
  }
  .primary-nav.is-open .nav-mob-logo,
  .primary-nav.open .nav-mob-logo {
    position: absolute;
    top: 18px;
    left: clamp(18px,4vw,56px);
    display: flex;
    align-items: center;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    pointer-events: none;
    animation: none;
  }
  .primary-nav.is-open .nav-mob-logo img,
  .primary-nav.open .nav-mob-logo img {
    width: 176px;
    height: auto;
    max-height: none;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(255,174,58,0.48)) drop-shadow(0 12px 18px rgba(0,0,0,0.44));
  }
  .primary-nav.is-open > *:nth-child(2),
  .primary-nav.open > *:nth-child(2) { animation: mobileNavItemIn 420ms cubic-bezier(0.22,1,0.36,1) 60ms both; }
  .primary-nav.is-open > *:nth-child(3),
  .primary-nav.open > *:nth-child(3) { animation: mobileNavItemIn 420ms cubic-bezier(0.22,1,0.36,1) 120ms both; }
  .primary-nav.is-open > *:nth-child(4),
  .primary-nav.open > *:nth-child(4) { animation: mobileNavItemIn 420ms cubic-bezier(0.22,1,0.36,1) 180ms both; }
  .primary-nav.is-open > *:nth-child(5),
  .primary-nav.open > *:nth-child(5) { animation: mobileNavItemIn 420ms cubic-bezier(0.22,1,0.36,1) 240ms both; }
  .primary-nav.is-open > *:nth-child(6),
  .primary-nav.open > *:nth-child(6) { animation: mobileNavItemIn 420ms cubic-bezier(0.22,1,0.36,1) 300ms both; }
  .primary-nav.is-open > *:nth-child(7),
  .primary-nav.open > *:nth-child(7) { animation: mobileNavItemIn 420ms cubic-bezier(0.22,1,0.36,1) 360ms both; }
  .primary-nav > a, .nav-dropdown-trigger {
    width: 100%; min-height: 72px; justify-content: space-between;
    border-bottom: 1px solid rgba(255,176,131,.2); color: #ffb083;
    font-family: var(--font-anton);
    font-size: clamp(2.05rem,11vw,4.6rem); font-weight: 400;
    letter-spacing: .02em; line-height: 1.08; padding: 8px 0;
    transition: color 200ms ease, text-shadow 200ms ease;
  }
	  .primary-nav > a:hover, .primary-nav > a:focus-visible,
	  .nav-dropdown-trigger:hover, .nav-dropdown-trigger:focus-visible {
	    color: #ff8c33;
	    text-shadow: 0 0 28px rgba(255,140,51,0.75), 0 0 56px rgba(255,140,51,0.35);
	  }
  .primary-nav.is-open > a[href="#contact"],
  .primary-nav.open > a[href="#contact"] {
    border-bottom: 0;
  }
  .nav-mob-social {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 22px;
    margin-top: 28px;
    padding: 16px 0 0;
    border-top: 1px solid rgba(255,140,51,0.12);
  }
  .nav-mob-social a {
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255,140,51,0.65);
    border-radius: 50%;
    color: #ff8c33;
    background: rgba(255,90,0,0.12);
    box-shadow:
      0 0 0 4px rgba(255,140,51,0.1),
      0 0 24px rgba(255,90,0,0.55),
      0 0 52px rgba(255,120,30,0.25),
      inset 0 0 20px rgba(255,90,0,0.18);
    transition: transform 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
    animation: socialGlowPulse 2.8s ease-in-out infinite;
  }
  .nav-mob-social a:nth-child(2) { animation-delay: 0.6s; }
  .nav-mob-social a:nth-child(3) { animation-delay: 1.2s; }
  .nav-mob-social a:hover,
  .nav-mob-social a:focus-visible {
    color: #fff;
    border-color: #ffcc88;
    transform: translateY(-3px) scale(1.08);
    box-shadow:
      0 0 0 5px rgba(255,140,51,0.2),
      0 0 38px rgba(255,100,20,0.8),
      0 0 80px rgba(255,120,30,0.45),
      inset 0 0 28px rgba(255,120,30,0.28);
    animation: none;
  }
  .nav-mob-social svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
    filter: drop-shadow(0 0 8px rgba(255,140,51,0.9)) drop-shadow(0 0 3px rgba(255,90,0,0.7));
  }
  @keyframes socialGlowPulse {
    0%,100% {
      box-shadow:
        0 0 0 4px rgba(255,140,51,0.1),
        0 0 24px rgba(255,90,0,0.55),
        0 0 52px rgba(255,120,30,0.25),
        inset 0 0 20px rgba(255,90,0,0.18);
    }
    50% {
      box-shadow:
        0 0 0 6px rgba(255,140,51,0.18),
        0 0 36px rgba(255,100,20,0.75),
        0 0 80px rgba(255,120,30,0.38),
        inset 0 0 30px rgba(255,120,30,0.26);
    }
  }
	  .primary-nav > a::after, .nav-dropdown-trigger::after { display: none; }
  .services-menu {
    position: relative!important; inset: auto!important;
    width: calc(100% - 16px)!important; max-width: 100%;
    transform: none!important; box-shadow: none;
    display: none; margin: 6px 8px 18px; padding: 0;
    border: 1px solid rgba(255,140,51,0.45); border-radius: 10px;
    background: rgba(14,5,1,0.92); overflow: hidden;
  }
  .nav-dropdown.is-open .services-menu {
    display: block;
    animation: submenuSlideIn 280ms cubic-bezier(0.22,1,0.36,1) forwards;
  }
  /* Mobile: stack columns vertically */
  .sm-grid { flex-direction: column!important; }
  .sm-col {
    padding: 10px 10px 6px!important;
    border-right: none!important;
    border-bottom: 1px solid rgba(255,140,51,0.08);
  }
  .sm-col:last-child { border-bottom: none!important; }
  .sm-cat {
    font-size: 0.55rem!important;
    color: rgba(255,140,51,0.45)!important;
    padding: 2px 6px 8px!important;
    margin-bottom: 2px!important;
  }
  .sm-item {
    color: rgba(255,200,160,0.88)!important;
    font-size: 0.8rem!important; letter-spacing: 0.06em!important; text-transform: uppercase!important;
    padding: 11px 12px!important; gap: 12px!important;
    border-bottom: 1px solid rgba(255,140,51,0.08); border-radius: 5px!important;
  }
  .sm-item:last-child { border-bottom: none!important; }
  .sm-item:hover, .sm-item:focus-visible {
    color: #ff8c33!important;
    background: rgba(255,140,51,0.1)!important;
    text-shadow: 0 0 16px rgba(255,140,51,0.55)!important;
  }
  .sm-icon { width: 18px!important; height: 18px!important; stroke: rgba(255,140,51,0.5)!important; }
  .sm-item:hover .sm-icon { stroke: #ff8c33!important; filter: drop-shadow(0 0 5px rgba(255,140,51,0.7))!important; }

  /* Hero — mobile flex layout */
  .hero {
    display: flex; flex-direction: column; align-items: center;
    min-height: 100svh;
    padding-top: calc(var(--header-height) + 48px);
    padding-bottom: 52px;
    text-align: center;
  }
  .hero-title {
    order: 1; margin-top: 3vh; width: 100%;
    font-size: clamp(4.4rem,18vw,9.5rem); line-height: 1.02; white-space: normal;
    text-align: center;
  }
  .elite-backdrop {
    order: 2;
    position: relative; top: auto; left: auto; right: auto;
    width: 100%;
    font-size: clamp(1.8rem,9vw,3.2rem);
    color: rgba(255,255,255,0.92); filter: none;
    text-align: center; white-space: normal;
    line-height: 1.1; margin-top: 4px;
    user-select: text; letter-spacing: 0.04em;
  }
  .hero-side-note { display: none; }
  .hero-intro {
    order: 3; width: 100%;
    position: relative; left: auto; bottom: auto;
    margin-top: 20px; text-align: center;
  }
  .hero-actions {
    order: 4; width: 100%;
    position: relative; left: auto; bottom: auto;
    margin-top: 24px;
    flex-direction: column; align-items: stretch;
  }
  .hero-actions .button { width: 100%; justify-content: center; }

  /* Block 2: stack vertically on mobile */
  .mts {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: auto;
    overflow: hidden;
  }
  .mts::after { display: none; }
  .mts-monkey-side {
    min-height: auto;
    justify-content: center;
    padding: clamp(80px,12vw,120px) 20px 0;
    z-index: 5;
    overflow: hidden;
    order: -1;
  }
  .mts-monkey-img { width: 100%; height: auto; max-width: 560px; margin: 0 auto; }
  .mts-text-side {
    padding: 32px 24px 60px;
    z-index: 6;
    order: 0;
  }
  .mts-title { font-size: clamp(2.4rem,10vw,3.8rem); }

  /* Block 3: parallax services grid — stays 2 cols on tablet */
  .svc-grid  { grid-template-columns: 1fr; }

  /* Shorter parallax section on mobile (less scroll room needed) */
  .parallax__header { height: 160vh; }
}

@media (max-width: 620px) {
  .hero { padding-left: 18px; padding-right: 18px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .button { width: 100%; max-width: 420px; justify-content: center; }
  .footer-top { flex-direction: column; }
  .univ-grid { grid-template-columns: 1fr; }
  .parallax__header { height: 140vh; }
  .parallax__services { padding-left: 16px; padding-right: 16px; }
}

/* ── BLOQUE 2 + 3 — RESPONSIVE MOBILE ──────── */
@media (max-width: 768px) {

  /* Scene: más scroll room en mobile */
  #scene { height: 500vh !important; }

  /* Sticky container: columna vertical */
  .scene-sticky {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    height: 100vh !important;
    overflow: hidden !important;
    background: white !important;
  }

  /* ① TEXTO: centrado, grande, fondo blanco */
  .scene-text {
    position: relative !important;
    top: auto !important; right: auto !important;
    left: auto !important; bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    padding: 185px 20px 20px !important;
    z-index: -5 !important;
    background: white !important;
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .scene-text h2 {
    font-size: 56px !important;
    line-height: 0.88 !important;
    text-align: center !important;
  }
  .scene-text p {
    font-size: 14px !important;
    text-align: center !important;
    max-width: 300px !important;
    margin-bottom: 14px !important;
  }
  .scene-text .mts-btn { margin: 0 auto !important; }

  /* ③ MONTAÑA: cubre viewport completo desde abajo */
  #universe {
    position: absolute !important;
    left: 0 !important; bottom: 0 !important;
    width: 129% !important;
    height: 178vh !important;
    object-fit: cover !important;
    object-position: top center !important;
    z-index: 4 !important;
    margin: -210px 0px;
  }

  /* ④ SERVICIOS: sobre el cosmos, 1 columna */
  #services-panel {
    position: absolute !important;
    top: 16px !important; bottom: auto !important;
    left: 12px !important; right: 12px !important;
    transform: none !important;
    z-index: 10 !important;
  }
  #services-panel h2 {
    font-size: 30px !important;
    margin-bottom: 12px !important;
    text-align: center !important;
  }
  .svc-panel-grid {
    margin: 0 !important;
    grid-template-columns: 1fr !important;
    gap: 0px !important;
    background: rgba(255,255,255,0.08) !important;
  }
  .service-card {
    padding: 14px 16px !important;
    background: rgba(10,10,10,0.82) !important;
  }
  .service-card h3 { font-size: 15px !important; margin-bottom: 4px !important; }
  .service-card p  { font-size: 11px !important; line-height: 1.4 !important; }
}

@media (max-width: 480px) {
  .scene-text h2  { font-size: 34px !important; }
  #monkeys-canvas {
    position: absolute !important;
    left: 46% !important;
    bottom: 7% !important;
    transform: translateX(-50%) !important;
    width: 123% !important;
    max-width: 540px !important;
    scale: 1 !important;
    z-index: 3 !important;
  }
  #services-panel h2 { font-size: 26px !important; }
}

/* ===== Stable mission carousel photos ===== */
#c4MissionScroller .mission .art {
  display: block !important;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

#c4MissionScroller .mission .art img.mission-photo {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  z-index: 1 !important;
}

#c4MissionScroller .mission .art::after {
  content: none !important;
  display: none !important;
}

#c4MissionScroller .mission .scrim {
  display: block !important;
  z-index: 2;
}

#c4MissionScroller .mission .body,
#c4MissionScroller .mission .corner-tag {
  z-index: 3 !important;
}

.c4-marquee {
  transform: translate3d(0,0,0);
}

.c4-marquee .track {
  display: inline-flex !important;
  min-width: max-content;
  flex-wrap: nowrap;
  will-change: transform;
  transform: translate3d(0,0,0);
  animation: c4marqueeRoll 24s linear infinite !important;
}

@media (max-width: 768px) {
  .c4-marquee .track {
    animation-duration: 18s !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .c4-marquee .track {
    animation-duration: 24s !important;
    animation-iteration-count: infinite !important;
  }
}

@media (max-width: 768px) {
  .timeline-section .sec-header > *,
  .tl-item,
  .cta-title,
  .cta-desc,
  .cta-actions {
    opacity: 1 !important;
    transform: none !important;
  }
}

@supports (-webkit-touch-callout: none) {
  .timeline-section .sec-header > *,
  .tl-item,
  .cta-title,
  .cta-desc,
  .cta-actions {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── MOBILE APP BOTTOM NAV ──────────────────── */
.app-nav { display: none; }

@keyframes appNavCallPulse {
  0%,100% { box-shadow: 0 4px 18px rgba(255,140,51,.55), 0 0 0 3px rgba(10,4,1,.97); }
  50%     { box-shadow: 0 4px 30px rgba(255,140,51,.88), 0 0 0 3px rgba(10,4,1,.97), 0 0 0 7px rgba(255,140,51,.18); }
}

@media (max-width: 980px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }

  .app-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 95;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(10,4,1,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255,140,51,.28);
    align-items: stretch;
    box-shadow: 0 -6px 32px rgba(0,0,0,.45);
  }

  .app-nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: rgba(255,255,255,.38);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    transition: color 200ms ease;
    position: relative;
    padding-bottom: 2px;
    -webkit-tap-highlight-color: transparent;
  }

  .app-nav-btn svg {
    width: 22px; height: 22px;
    transition: transform 220ms ease, filter 220ms ease;
    flex-shrink: 0;
  }

  .app-nav-btn.is-active { color: #ff8c33; }

  .app-nav-btn.is-active svg {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 7px rgba(255,140,51,.72));
  }

  .app-nav-btn.is-active::after {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 28px; height: 3px;
    background: #ff8c33;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 0 10px rgba(255,140,51,.85);
  }

  /* Raised CALL button */
  .app-nav-call {
    color: rgba(255,140,51,.85);
    overflow: visible;
  }

  .app-nav-call-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px; height: 50px;
    background: linear-gradient(135deg, #ff8c33 0%, #c43200 100%);
    border-radius: 50%;
    margin-top: -22px;
    box-shadow: 0 4px 18px rgba(255,140,51,.55), 0 0 0 3px rgba(10,4,1,.97);
    animation: appNavCallPulse 2.6s ease-in-out infinite;
    flex-shrink: 0;
    transition: transform 150ms ease;
  }

  .app-nav-call:active .app-nav-call-bg { transform: scale(0.92); }
  .app-nav-call-bg svg { width: 22px; height: 22px; }
}

/* ── EM FOOTER ─────────────────────────────────────────────── */
.em-footer{background:#d54e05;color:#fff;font-family:'Inter',sans-serif;padding:0;position:relative;overflow:hidden;}
.em-footer-jungle{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:0.14;z-index:0;}
.em-footer-jungle img{width:100%;height:100%;object-fit:cover;object-position:center bottom;display:block;}
.em-footer-top,.em-footer-bottom{position:relative;z-index:1;}
.em-footer *{box-sizing:border-box;}
.em-footer a{color:#fff;text-decoration:none;transition:opacity .18s;}
.em-footer a:hover{opacity:.72;}
.em-footer-top{display:grid;grid-template-columns:260px 1fr 1fr 1fr;gap:48px;max-width:1280px;margin:0 auto;padding:64px 40px 48px;border-bottom:1px solid rgba(255,255,255,.18);}
.em-footer-col-toggle{display:block;pointer-events:none;}
.em-footer-col-toggle svg{display:none;}
.em-footer-brand img{width:130px;display:block;margin-bottom:16px;filter:brightness(0) invert(1);}
.em-footer-tagline{font-size:12.5px;line-height:1.65;color:rgba(255,255,255,.82);margin:0 0 22px;}
.em-footer-social{display:flex;gap:12px;margin-top:4px;}
.em-footer-social a{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.25);transition:background .18s,transform .18s;flex-shrink:0;}
.em-footer-social a:hover{background:rgba(255,255,255,.3);transform:translateY(-2px);opacity:1;}
.em-footer-social svg{width:17px;height:17px;fill:#fff;}
.em-footer-col h4{font-size:11px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:rgba(255,255,255,.55);margin:0 0 18px;}
.em-footer-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:11px;}
.em-footer-col ul li a{font-size:14px;font-weight:500;color:#fff;}
.em-footer-bottom{max-width:1280px;margin:0 auto;padding:20px 40px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;}
.em-footer-bottom p{font-size:12.5px;color:rgba(255,255,255,.7);margin:0;}
.em-footer-bottom-links{display:flex;gap:22px;flex-wrap:wrap;}
.em-footer-bottom-links a{font-size:12.5px;color:rgba(255,255,255,.7);}
.em-footer-bottom-links a:hover{color:#fff;opacity:1;}
@media(max-width:1024px){.em-footer-top{grid-template-columns:1fr 1fr;gap:36px;}}
@media(max-width:600px){
  .em-footer-top{grid-template-columns:1fr;padding:40px 24px 32px;gap:0;}
  .em-footer-col{border-top:1px solid rgba(255,255,255,.12);padding:0;}
  .em-footer-col-toggle{display:flex;align-items:center;justify-content:space-between;padding:18px 0;cursor:pointer;user-select:none;pointer-events:auto;}
  .em-footer-col-toggle h4{margin:0;font-size:11px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:rgba(255,255,255,.7);}
  .em-footer-col-toggle svg{display:block;width:16px;height:16px;fill:none;stroke:rgba(255,255,255,.5);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s ease;flex-shrink:0;}
  .em-footer-col.is-open .em-footer-col-toggle svg{transform:rotate(180deg);}
  .em-footer-col-body{max-height:0;overflow:hidden;transition:max-height .35s ease;}
  .em-footer-col.is-open .em-footer-col-body{max-height:400px;}
  .em-footer-col ul{padding-bottom:18px;}
  .em-footer-brand{padding-bottom:28px;border-bottom:1px solid rgba(255,255,255,.12);}
  .em-footer-bottom{padding:18px 24px;flex-direction:column;align-items:flex-start;gap:10px;}
}
