/* ========================================
   TIPOGRAFÍA: AMBIT REGULAR FONT FAMILY
======================================== */
@font-face {
  font-family: 'Ambit';
  src: url('fonts/Ambit/Ambit-Regular.otf') format('opentype'),
       url('fonts/Ambit/Ambit-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ambit';
  src: url('fonts/Ambit/Ambit-SemiBold.otf') format('opentype'),
       url('fonts/Ambit/Ambit-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ambit';
  src: url('fonts/Ambit/Ambit-Bold.otf') format('opentype'),
       url('fonts/Ambit/Ambit-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ambit';
  src: url('fonts/Ambit/Ambit-Italic.otf') format('opentype'),
       url('fonts/Ambit/Ambit-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  min-height: 100%;
}

body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  background: #02040a;
  color: #FFF7D0;
  font-family: 'Ambit', Arial, Helvetica, sans-serif;
  cursor: none;
}


/* ========================================
   HERO CON IMAGEN DE FONDO (ESCENARIO FIJO)
======================================== */

.hero {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  z-index: 1;

  background: #02040a url("space-bg.jpg") center center / cover no-repeat;
}

.space-background,
.nebula,
.stars {
  display: none;
}


/* ========================================
   SISTEMA PLANETARIO
======================================== */

.solar-system {
  position: relative;

  width: min(780px, 94vw);
  height: min(780px, 94vw);

  z-index: 10;

  transition: transform .18s ease-out;
}


/* ========================================
   ÓRBITAS
======================================== */

.orbit {
  position: absolute;

  left: 0;
  top: 0;

  width: 100%;
  height: 100%;

  pointer-events: none;
}


/* ========================================
   PLANETAS SECUNDARIOS
======================================== */

.satellite {
  position: absolute;

  left: 50%;
  top: 50%;

  border-radius: 50%;

  overflow: visible;

  pointer-events: none;

  transform:
    translate(-50%, -50%)
    scale(1);

  transform-origin: center;

  will-change:
    left,
    top,
    transform,
    filter,
    opacity;
}

.planet {
  isolation: isolate;
}


/* ========================================
   CAPAS COMUNES DE PLANETAS
======================================== */

.planet-surface,
.planet-clouds,
.planet-shadow,
.planet-atmosphere {
  position: absolute;

  inset: 0;

  border-radius: 50%;

  pointer-events: none;
}

.planet-surface {
  overflow: hidden;
  z-index: 1;
}

.planet-clouds {
  z-index: 2;
  opacity: .44;
  mix-blend-mode: screen;
}

.planet-shadow {
  z-index: 3;

  background:
    radial-gradient(
      circle at 76% 68%,
      transparent 0 32%,
      rgba(0,0,0,.18) 50%,
      rgba(0,0,0,.82) 80%,
      rgba(0,0,0,.96) 100%
    );
}

.planet-atmosphere {
  z-index: 4;

  box-shadow:
    inset -2px -2px 3px rgba(255,255,255,.24),
    inset 3px 3px 5px rgba(0,0,0,.5),
    0 0 8px rgba(255,255,255,.15);

  background:
    radial-gradient(
      circle at 76% 68%,
      rgba(255,255,255,.22),
      transparent 22%
    );
}


/* ========================================
   PLANETA MORADO
======================================== */

.planet-1 {
  width: 34px;
  height: 34px;
}

.planet-1 .planet-surface {
  background: #150501 url("moon-1.jpg?v=3") center center / cover no-repeat;
}

.planet-1 .planet-clouds {
  display: none;
}

.planet-1 .planet-atmosphere {
  box-shadow:
    inset -2px -2px 4px rgba(255,255,255,.45),
    inset 3px 3px 6px rgba(0,0,0,.75),
    0 0 10px rgba(255,73,36,.88),
    0 0 22px rgba(255,73,36,.42);
}


/* ========================================
   PLANETA VERDE (#2CB764)
======================================== */

.planet-2 {
  width: 24px;
  height: 24px;
}

.planet-2 .planet-surface {
  background: #021206 url("moon-2.jpg?v=3") center center / cover no-repeat;
}

.planet-2 .planet-clouds {
  display: none;
}

.planet-2 .planet-atmosphere {
  box-shadow:
    inset -2px -2px 3px rgba(255,255,255,.45),
    inset 3px 3px 5px rgba(0,0,0,.75),
    0 0 9px rgba(44,183,100,.9),
    0 0 22px rgba(44,183,100,.42);
}


/* ========================================
   PLANETA CIAN (#56D7FF)
======================================== */

.planet-3 {
  width: 42px;
  height: 42px;
}

.planet-3 .planet-surface {
  background: #021218 url("moon-3.jpg?v=3") center center / cover no-repeat;
}

.planet-3 .planet-clouds {
  display: none;
}

.planet-3 .planet-atmosphere {
  box-shadow:
    inset -2px -2px 4px rgba(255,255,255,.45),
    inset 4px 4px 7px rgba(0,0,0,.75),
    0 0 12px rgba(86,215,255,.9),
    0 0 25px rgba(86,215,255,.42);
}


/* ========================================
   PLANETA CENTRAL
======================================== */

.main-planet {
  position: absolute;

  left: 50%;
  top: 50%;

  width: 270px;
  height: 270px;

  transform:
    translate(-50%, -50%);

  border-radius: 50%;

  z-index: 20;

  pointer-events: none;
  will-change: transform;
  overflow: hidden;
  background: #000 url("main-planet.jpg?v=2") center center / cover no-repeat;
  box-shadow:
    0 0 35px rgba(255, 130, 70, 0.25),
    inset -4px 0 14px rgba(255, 190, 110, 0.35),
    inset 4px 0 18px rgba(0, 0, 0, 0.85);
}

#planetCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
}

.hero-dimmer {
  position: absolute;
  inset: 0;
  background: #010309;
  opacity: 0;
  pointer-events: none;
  z-index: 30;
  transition: opacity 0.1s linear;
  will-change: opacity;
}


/* ========================================
   MARCA
======================================== */

.brand {
  position: relative;

  z-index: 8;

  text-align: center;

  text-shadow:
    0 2px 8px rgba(0,0,0,.75);
}

.brand h1 {
  font-size: 31px;

  line-height: 1;

  font-weight: 700;

  letter-spacing: 8px;

  margin-left: 8px;
}

.brand p {
  margin-top: 10px;
  margin-left: 6px;

  font-size: 9px;

  letter-spacing: 6px;

  opacity: .65;
}


/* ========================================
   EFECTOS ESPACIALES
======================================== */

.space-effects {
  position: absolute;

  inset: 0;

  pointer-events: none;

  overflow: hidden;

  z-index: 5;
}


/* ========================================
   COMETAS
======================================== */

.comet {
  position: absolute;

  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: #fff;

  box-shadow:
    0 0 8px rgba(255,255,255,.95),
    0 0 20px rgba(120,190,255,.7);

  pointer-events: none;
}

.comet::after {
  content: "";

  position: absolute;

  right: 2px;
  top: 50%;

  width: 150px;
  height: 2px;

  transform:
    translateY(-50%);

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(100,160,255,.08),
      rgba(180,215,255,.42),
      rgba(255,255,255,.9)
    );

  filter: blur(.5px);
}


/* ========================================
   ASTEROIDES
======================================== */

.asteroid {
  position: absolute;

  width: 10px;
  height: 8px;

  border-radius:
    52% 48% 62% 38%;

  background:
    radial-gradient(
      circle at 35% 30%,
      #aaa499,
      #696259 42%,
      #39342f 70%,
      #181613 100%
    );

  box-shadow:
    inset -3px -3px 5px rgba(0,0,0,.7),
    0 0 4px rgba(255,255,255,.08);

  opacity: .55;

  pointer-events: none;
}


/* ========================================
   TEXTO INFERIOR
======================================== */

.bottom-copy {
  position: absolute;

  left: 50%;
  bottom: 32px;

  transform:
    translateX(-50%);

  z-index: 50;

  text-align: center;
}

.bottom-copy p {
  font-family: 'Ambit', sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 247, 208, 0.65);
}

.mouse {
  position: relative;

  width: 20px;
  height: 34px;

  margin:
    14px auto 0;

  border:
    1px solid rgba(255,255,255,.27);

  border-radius: 20px;
}

.mouse::after {
  content: "";

  position: absolute;

  left: 50%;
  top: 7px;

  width: 3px;
  height: 6px;

  transform:
    translateX(-50%);

  border-radius: 5px;

  background: #fff;

  animation:
    mouseMove 1.8s infinite;
}

@keyframes mouseMove {
  0% {
    opacity: 0;

    transform:
      translate(-50%, 0);
  }

  35% {
    opacity: 1;
  }

  100% {
    opacity: 0;

    transform:
      translate(-50%, 13px);
  }
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 700px) {

  .solar-system {
    width: 470px;
    height: 470px;
  }

  .main-planet {
    width: 180px;
    height: 180px;
  }

  .brand h1 {
    font-size: 20px;
    letter-spacing: 5px;
    margin-left: 5px;
  }

  .brand p {
    font-size: 6px;
    letter-spacing: 4px;
  }

  .planet-1 {
    width: 25px;
    height: 25px;
  }

  .planet-2 {
    width: 17px;
    height: 17px;
  }

  .planet-3 {
    width: 31px;
    height: 31px;
  }

  .nebula-1 {
    width: 600px;
    height: 260px;
  }

  .nebula-2 {
    width: 480px;
    height: 320px;
  }

  .bottom-copy {
    bottom: 24px;
  }

  .bottom-copy p {
    font-size: 8px;
    letter-spacing: 2px;
  }
}


/* ========================================
   CURSOR NAVE ESPACIAL (OVNI) Y ESTELA
======================================== */

.ufo-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease;
  will-change: transform, left, top;
}

.ufo-cursor svg {
  display: block;
  filter: drop-shadow(0 0 5px rgba(86, 215, 255, 0.5));
}

.ufo-trail {
  position: fixed;
  pointer-events: none;
  z-index: 999998;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  background: radial-gradient(circle, #ffffff 0%, #56d7ff 65%, transparent 100%);
  box-shadow:
    0 0 5px #56d7ff,
    0 0 10px rgba(86, 215, 255, 0.7);
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}


/* ========================================
   LOGO OFICIAL ÓRBITA (ANIMACIÓN AÑOS 80s)
======================================== */

.agency-logo-wrapper {
  position: absolute;
  top: clamp(88px, calc(68px + 3vh), 112px);
  left: 50%;
  transform: translateX(-50%);
  transform-origin: center top;
  z-index: 25;
  pointer-events: none;
  transition: transform 0.08s ease-out, opacity 0.08s ease-out;
  will-change: transform, opacity;
}

.agency-logo-container {
  position: relative;
  width: 325px;
  max-width: 86vw;
  pointer-events: auto;
  overflow: hidden;
  border-radius: 6px;
  animation: retro80sIntro 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.agency-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Destello láser transversal estilo cine 80s */
.agency-logo-container::after {
  content: "";
  position: absolute;
  inset: -15% -30%;
  background: linear-gradient(
    105deg,
    transparent 25%,
    rgba(86, 215, 255, 0.2) 42%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(255, 73, 36, 0.35) 56%,
    transparent 68%
  );
  transform: translateX(-160%) skewX(-25deg);
  pointer-events: none;
  mix-blend-mode: screen;
  animation: retroLaserSheen 3.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: 1.1s;
}

@keyframes retro80sIntro {
  0% {
    opacity: 0;
    transform: perspective(600px) translateZ(190px) scale(1.6);
    filter: blur(14px) drop-shadow(0 0 45px #56d7ff) drop-shadow(0 0 25px #ff4924);
  }
  40% {
    opacity: 0.9;
    transform: perspective(600px) translateZ(35px) scale(1.08);
    filter: blur(3px) drop-shadow(0 0 30px #56d7ff) drop-shadow(0 0 15px #2cb764);
  }
  65% {
    opacity: 1;
    transform: perspective(600px) translateZ(-10px) scale(0.98);
    filter: blur(0px) drop-shadow(0 0 22px #ffffff) drop-shadow(0 0 35px #56d7ff);
  }
  80% {
    transform: perspective(600px) translateZ(0) scale(1.01);
    filter: drop-shadow(0 0 8px rgba(86, 215, 255, 0.4));
  }
  100% {
    opacity: 1;
    transform: perspective(600px) translateZ(0) scale(1);
    filter: none;
  }
}

@keyframes retroLaserSheen {
  0% {
    transform: translateX(-160%) skewX(-25deg);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translateX(170%) skewX(-25deg);
    opacity: 0;
  }
}


/* ========================================
   CONTENEDOR DE SCROLL Y SECCIÓN NOSOTROS
======================================== */

.scroll-content {
  position: relative;
  z-index: 40;
  width: 100%;
  pointer-events: none;
}

.hero-scroll-trigger {
  height: 90vh;
  width: 100%;
  pointer-events: none;
}

.section-nosotros {
  min-height: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 24px 35px;
  box-sizing: border-box;
  pointer-events: auto;
}

.nosotros-container {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(70px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
  will-change: opacity, transform;
}

.nosotros-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.badge-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
}
.nosotros-badge .badge-line:last-child {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.4), transparent);
}

.badge-text {
  font-family: 'Ambit', sans-serif;
  font-size: 13px;
  letter-spacing: 6px;
  color: #FFF7D0;
  font-weight: 600;
  opacity: 0.95;
  text-transform: uppercase;
}

.nosotros-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(26px, 4.6vw, 46px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 2px;
  color: #FFF7D0;
  margin-bottom: 44px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.95), 0 0 45px rgba(0, 0, 0, 0.9);
}

.nosotros-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 880px;
  text-align: left;
  margin-bottom: 48px;
}

.nosotros-col p {
  font-family: 'Ambit', sans-serif;
  font-size: 17.5px;
  line-height: 1.75;
  color: #FFF7D0;
  font-weight: 400;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

.highlight-orange {
  color: #ff4924;
  font-weight: 700;
}

.highlight-cyan {
  color: #56d7ff;
  font-weight: 700;
}

/* Cápsula de diseño estilo moodboard */
.nosotros-capsule {
  position: relative;
  max-width: 860px;
  width: 100%;
  padding: 38px 46px;
  border-radius: 28px;
  background: rgba(3, 6, 16, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 247, 208, 0.16);
  box-shadow:
    0 16px 50px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 247, 208, 0.2);
  text-align: left;
}

.capsule-lead {
  font-family: 'Ambit', sans-serif;
  font-size: clamp(21px, 2.3vw, 25px);
  line-height: 1.45;
  color: #FFF7D0;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-bottom: 22px;
}

.capsule-body {
  font-family: 'Ambit', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 247, 208, 0.88);
  font-weight: 400;
  margin-bottom: 18px;
}

.capsule-sub {
  font-family: 'Ambit', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 247, 208, 0.72);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 26px;
}

.capsule-pillars {
  display: flex;
  width: 100%;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 247, 208, 0.12);
  justify-content: space-between;
}

.pillar-tag {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 247, 208, 0.05);
  border: 1px solid rgba(255, 247, 208, 0.16);
  font-family: 'Ambit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #FFF7D0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
  user-select: none;
  cursor: pointer;
}

.pillar-origen {
  --pillar-glow-color: rgba(255, 73, 36, 0.9);
  --pillar-glow-bg: rgba(255, 73, 36, 0.16);
  --pillar-glow-shadow: rgba(255, 73, 36, 0.55);
  --moon-glow-base: rgba(255, 73, 36, 0.85);
  --moon-glow-peak: rgba(255, 110, 70, 1);
}

.pillar-movimiento {
  --pillar-glow-color: rgba(86, 215, 255, 0.9);
  --pillar-glow-bg: rgba(86, 215, 255, 0.16);
  --pillar-glow-shadow: rgba(86, 215, 255, 0.55);
  --moon-glow-base: rgba(86, 215, 255, 0.85);
  --moon-glow-peak: rgba(130, 230, 255, 1);
}

.pillar-crecimiento {
  --pillar-glow-color: rgba(44, 183, 100, 0.9);
  --pillar-glow-bg: rgba(44, 183, 100, 0.16);
  --pillar-glow-shadow: rgba(44, 183, 100, 0.55);
  --moon-glow-base: rgba(44, 183, 100, 0.85);
  --moon-glow-peak: rgba(70, 225, 130, 1);
}

.pillar-tag:hover,
.pillar-tag.is-active {
  border-color: var(--pillar-glow-color);
  background: var(--pillar-glow-bg);
  box-shadow: 0 0 28px var(--pillar-glow-shadow), 0 4px 18px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}

.pillar-moon-canvas {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
  pointer-events: none;
  transition: transform 0.35s ease, filter 0.35s ease;
  filter: drop-shadow(0 0 8px var(--moon-glow-base));
}

.pillar-tag:hover .pillar-moon-canvas,
.pillar-tag.is-active .pillar-moon-canvas {
  filter: drop-shadow(0 0 18px var(--moon-glow-peak));
  transform: scale(1.08);
}

/* ========================================
   CAJAS DINÁMICAS DE SERVICIOS POR ETAPA
   ======================================== */
.services-dynamic-wrapper {
  position: relative;
  width: 100%;
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.35s ease,
              margin-top 0.35s ease;
  pointer-events: none;
}

.services-dynamic-wrapper.is-open {
  max-height: 520px;
  opacity: 1;
  margin-top: 24px;
  pointer-events: auto;
}

/* Tarjeta de etapa individual */
.stage-services-card {
  display: none;
  width: 100%;
  padding: 24px 28px;
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.stage-services-card.is-active {
  display: block;
  animation: cardSlideFromLeft 0.38s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes cardSlideFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Colores temáticos de tarjeta */
.stage-origen {
  background: linear-gradient(135deg, rgba(255, 73, 36, 0.08), rgba(3, 6, 16, 0.88) 65%);
  border: 1px solid rgba(255, 73, 36, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 35px rgba(255, 73, 36, 0.05);
}

.stage-movimiento {
  background: linear-gradient(135deg, rgba(86, 215, 255, 0.08), rgba(3, 6, 16, 0.88) 65%);
  border: 1px solid rgba(86, 215, 255, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 35px rgba(86, 215, 255, 0.05);
}

.stage-crecimiento {
  background: linear-gradient(135deg, rgba(44, 183, 100, 0.08), rgba(3, 6, 16, 0.88) 65%);
  border: 1px solid rgba(44, 183, 100, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 35px rgba(44, 183, 100, 0.05);
}

/* Encabezado de la tarjeta */
.stage-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 247, 208, 0.1);
  flex-wrap: wrap;
  gap: 10px;
}

.stage-badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stage-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulseDot 2s infinite ease-in-out;
}

.stage-origen .stage-indicator-dot {
  background: #FF4924;
  box-shadow: 0 0 10px #FF4924;
}

.stage-movimiento .stage-indicator-dot {
  background: #56D7FF;
  box-shadow: 0 0 10px #56D7FF;
}

.stage-crecimiento .stage-indicator-dot {
  background: #2CB764;
  box-shadow: 0 0 10px #2CB764;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
}

.stage-badge {
  font-family: 'Ambit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}

.stage-origen .stage-badge { color: #FF4924; }
.stage-movimiento .stage-badge { color: #56D7FF; }
.stage-crecimiento .stage-badge { color: #2CB764; }

.stage-hint {
  font-family: 'Ambit', sans-serif;
  font-size: 14px;
  color: rgba(255, 247, 208, 0.6);
  font-style: italic;
}

/* Cuadrícula de 4 servicios */
.stage-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 18px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 247, 208, 0.035);
  border: 1px solid rgba(255, 247, 208, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.service-item:hover {
  transform: translateX(4px);
  background: rgba(255, 247, 208, 0.065);
  border-color: rgba(255, 247, 208, 0.25);
}

.stage-origen .service-item:hover {
  border-color: rgba(255, 73, 36, 0.45);
  background: rgba(255, 73, 36, 0.06);
  box-shadow: 0 6px 18px rgba(255, 73, 36, 0.15);
}

.stage-movimiento .service-item:hover {
  border-color: rgba(86, 215, 255, 0.45);
  background: rgba(86, 215, 255, 0.06);
  box-shadow: 0 6px 18px rgba(86, 215, 255, 0.15);
}

.stage-crecimiento .service-item:hover {
  border-color: rgba(44, 183, 100, 0.45);
  background: rgba(44, 183, 100, 0.06);
  box-shadow: 0 6px 18px rgba(44, 183, 100, 0.15);
}

/* Animación escalonada de izquierda a derecha de cada servicio */
.stage-services-card.is-active .service-item:nth-child(1) {
  animation: serviceSlideFromLeft 0.38s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}
.stage-services-card.is-active .service-item:nth-child(2) {
  animation: serviceSlideFromLeft 0.38s cubic-bezier(0.16, 1, 0.3, 1) 0.11s both;
}
.stage-services-card.is-active .service-item:nth-child(3) {
  animation: serviceSlideFromLeft 0.38s cubic-bezier(0.16, 1, 0.3, 1) 0.17s both;
}
.stage-services-card.is-active .service-item:nth-child(4) {
  animation: serviceSlideFromLeft 0.38s cubic-bezier(0.16, 1, 0.3, 1) 0.23s both;
}

@keyframes serviceSlideFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-35px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.service-num {
  font-family: 'Ambit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 8px;
  flex-shrink: 0;
}

.stage-origen .service-num {
  background: rgba(255, 73, 36, 0.18);
  color: #FF7B5E;
  border: 1px solid rgba(255, 73, 36, 0.4);
}

.stage-movimiento .service-num {
  background: rgba(86, 215, 255, 0.18);
  color: #56D7FF;
  border: 1px solid rgba(86, 215, 255, 0.4);
}

.stage-crecimiento .service-num {
  background: rgba(44, 183, 100, 0.18);
  color: #4AE088;
  border: 1px solid rgba(44, 183, 100, 0.4);
}

.service-name {
  font-family: 'Ambit', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #FFF7D0;
  line-height: 1.4;
}

.stage-card-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
}

.stage-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.22s ease;
}

.stage-origen .stage-card-link:hover {
  background: rgba(255, 73, 36, 0.2);
  border-color: #FF4924;
  color: #FFA18A;
  box-shadow: 0 0 14px rgba(255, 73, 36, 0.4);
}

.stage-movimiento .stage-card-link:hover {
  background: rgba(86, 215, 255, 0.2);
  border-color: #56D7FF;
  color: #B8EFFF;
  box-shadow: 0 0 14px rgba(86, 215, 255, 0.4);
}

.stage-crecimiento .stage-card-link:hover {
  background: rgba(44, 183, 100, 0.2);
  border-color: #2CB764;
  color: #85E8A9;
  box-shadow: 0 0 14px rgba(44, 183, 100, 0.4);
}

.stage-card-link .card-link-arrow {
  transition: transform 0.2s ease;
}

.stage-card-link:hover .card-link-arrow {
  transform: translateX(4px);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.dot-orange { background: #ff4924; box-shadow: 0 0 8px #ff4924; }
.dot-green { background: #2cb764; box-shadow: 0 0 8px #2cb764; }
.dot-cyan { background: #56d7ff; box-shadow: 0 0 8px #56d7ff; }

@media (max-width: 768px) {
  .nosotros-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .nosotros-capsule {
    padding: 26px 20px;
  }
  .capsule-pillars {
    flex-direction: column;
    gap: 12px;
  }
  .pillar-tag {
    width: 100%;
    justify-content: flex-start;
    padding: 10px 20px;
    gap: 16px;
    font-size: 15px;
  }
  .stage-services-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .stage-services-card {
    padding: 18px 16px;
  }
  .services-dynamic-wrapper.is-open {
    max-height: 700px;
  }
}

/* ========================================
   SECCIÓN: CLIENTES & MISIONES CUMPLIDAS
======================================== */
.section-misiones {
  width: 100%;
  padding: 35px 24px 130px;
  box-sizing: border-box;
  pointer-events: auto;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 20;
}

.misiones-container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.misiones-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.misiones-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(28px, 4.8vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 2px;
  color: #FFF7D0;
  margin-bottom: 22px;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.95), 0 0 45px rgba(0, 0, 0, 0.9);
}

.misiones-subtitle {
  font-family: 'Ambit', sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 247, 208, 0.78);
  max-width: 740px;
  margin: 0 auto 50px;
  font-weight: 400;
}

/* ========================================
   MATRIZ RECTANGULAR DE LOGOS (EFECTO CONSTELACIÓN)
======================================== */
.clients-grid-wrapper {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

.client-grid-cell {
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 22px;
  box-sizing: border-box;
  background: rgba(3, 7, 18, 0.72);
  border: 1px solid rgba(255, 247, 208, 0.08);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              background 0.35s ease,
              box-shadow 0.35s ease;
  user-select: none;
}

/* Micro-indicador de esquina aeroespacial */
.client-grid-cell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-top: 1.5px solid rgba(255, 247, 208, 0.15);
  border-left: 1.5px solid rgba(255, 247, 208, 0.15);
  border-top-left-radius: 13px;
  pointer-events: none;
  transition: border-color 0.35s ease;
}

.client-grid-cell:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 247, 208, 0.35);
  background: rgba(255, 247, 208, 0.07);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 247, 208, 0.12);
  z-index: 5;
}

.client-grid-cell:hover::before {
  border-color: #FFF7D0;
}

.client-logo-img {
  max-width: 82%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  animation-name: starlightFade;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  transition: opacity 0.35s ease, transform 0.35s ease;
  will-change: opacity, transform;
  transform: translateZ(0);
}

/* Hover: fija el logo en 100% de brillo y pausa la animación */
.client-grid-cell:hover .client-logo-img {
  animation-play-state: paused !important;
  opacity: 1 !important;
  transform: translateZ(0) scale(1.06) !important;
  filter: drop-shadow(0 0 10px rgba(255, 247, 208, 0.45)) !important;
}

/* ========================================
   ANIMACIÓN DE PARPADEO LENTO Y SUTIL (CONSTELACIÓN)
   - 100% acelerada por GPU (sin drop-shadow en keyframes)
======================================== */
@keyframes starlightFade {
  0%, 100% {
    opacity: 0.88;
    transform: translateZ(0) scale(1);
  }
  22% {
    opacity: 0.85;
    transform: translateZ(0) scale(1);
  }
  44% {
    opacity: 0.12;
    transform: translateZ(0) scale(0.97);
  }
  52% {
    opacity: 0.0;
    transform: translateZ(0) scale(0.94);
  }
  60% {
    opacity: 0.12;
    transform: translateZ(0) scale(0.97);
  }
  80% {
    opacity: 0.92;
    transform: translateZ(0) scale(1.01);
  }
}

/* Desfases y duraciones orgánicas desincronizadas para los 20 logos */
.item-1  .client-logo-img { animation-duration: 6.4s; animation-delay: 0.0s; }
.item-2  .client-logo-img { animation-duration: 7.8s; animation-delay: 2.4s; }
.item-3  .client-logo-img { animation-duration: 8.2s; animation-delay: 4.8s; }
.item-4  .client-logo-img { animation-duration: 6.9s; animation-delay: 1.2s; }
.item-5  .client-logo-img { animation-duration: 9.1s; animation-delay: 5.5s; }
.item-6  .client-logo-img { animation-duration: 7.3s; animation-delay: 3.1s; }
.item-7  .client-logo-img { animation-duration: 8.6s; animation-delay: 0.6s; }
.item-8  .client-logo-img { animation-duration: 6.2s; animation-delay: 4.2s; }
.item-9  .client-logo-img { animation-duration: 9.4s; animation-delay: 2.0s; }
.item-10 .client-logo-img { animation-duration: 7.5s; animation-delay: 5.9s; }
.item-11 .client-logo-img { animation-duration: 8.0s; animation-delay: 1.7s; }
.item-12 .client-logo-img { animation-duration: 6.6s; animation-delay: 3.8s; }
.item-13 .client-logo-img { animation-duration: 9.0s; animation-delay: 0.4s; }
.item-14 .client-logo-img { animation-duration: 7.1s; animation-delay: 4.9s; }
.item-15 .client-logo-img { animation-duration: 8.4s; animation-delay: 2.8s; }
.item-16 .client-logo-img { animation-duration: 6.8s; animation-delay: 6.1s; }
.item-17 .client-logo-img { animation-duration: 9.2s; animation-delay: 1.5s; }
.item-18 .client-logo-img { animation-duration: 7.7s; animation-delay: 3.5s; }
.item-19 .client-logo-img { animation-duration: 8.8s; animation-delay: 0.9s; }
.item-20 .client-logo-img { animation-duration: 7.0s; animation-delay: 5.2s; }

/* Responsividad */
@media (max-width: 1080px) {
  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  .client-grid-cell {
    height: 96px;
    padding: 14px 18px;
  }
  .client-logo-img {
    max-height: 44px;
  }
}

@media (max-width: 768px) {
  .section-nosotros {
    padding: 35px 16px 25px;
  }
  .section-misiones {
    padding: 25px 16px 100px;
  }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .client-grid-cell {
    height: 85px;
    padding: 12px 16px;
  }
  .client-logo-img {
    max-height: 38px;
  }
}

/* ========================================
   SECCIÓN CONTACTO: "ENTRA EN ÓRBITA CON NOSOTROS"
   - Nave Nodriza OVNI y Haz de Luz (Idéntico a la imagen de referencia)
   - Contenedor CTA y formulario compacto, funcional y editable
   - Selección automática de código de área internacional por país
======================================== */

.section-contacto {
  position: relative;
  width: 100%;
  padding: 40px 20px 110px;
  background: transparent;
  z-index: 50;
  pointer-events: auto !important;
  box-sizing: border-box;
  overflow: hidden;
}

.contacto-container {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto !important;
}

/* --- ESCENA DE CONTACTO: NAVE OVNI ARRIBA DEL TEXTO Y HAZ DE CREACIÓN QUE SE DESVANECE --- */
.contacto-container {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto !important;
}

/* 1. NAVE NODRIZA ARRIBA DEL TEXTO */
.contact-ufo-stage {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none !important;
  z-index: 10;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(-25px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.section-contacto.is-revealed .contact-ufo-stage {
  opacity: 1;
  transform: translateY(0);
}

.contact-ufo-mothership {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto !important;
  cursor: pointer;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 16px rgba(86, 215, 255, 0.45));
  transition: transform 0.4s ease-out, filter 0.4s ease-out;
}

.contact-ufo-mothership:hover {
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 24px rgba(86, 215, 255, 0.75));
}

.section-contacto.is-revealed .contact-ufo-mothership {
  animation: ufoMotherHover 5.5s ease-in-out infinite 0.9s;
}

@keyframes ufoMotherHover {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  30% {
    transform: translateY(-5px) rotate(-1deg);
  }
  70% {
    transform: translateY(-2px) rotate(1deg);
  }
}

.mothership-svg {
  display: block;
  width: 126px;
  height: 65px;
  overflow: visible;
}

.mother-reactor-glow {
  animation: motherReactorPulse 2.4s ease-in-out infinite;
}

@keyframes motherReactorPulse {
  0%, 100% {
    opacity: 0.85;
    filter: drop-shadow(0 0 4px #56D7FF);
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 10px #56D7FF) drop-shadow(0 0 18px #38bdf8);
  }
}

/* 2. HAZ DE LUZ DE CREACIÓN / MANIFESTACIÓN ONDULANTE (DESAPARECE TRAS CREAR EL CONTENIDO) */
.contact-creation-beam {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: min(580px, 92vw);
  height: 520px;
  pointer-events: none !important;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  opacity: 0;
  visibility: hidden;
  overflow: visible;
  background: transparent !important;
  border: none;
  outline: none;
  box-shadow: none;
}

.section-contacto.is-revealed .contact-creation-beam,
.contact-creation-beam.is-flashing {
  animation: beamCreationFlash 1.35s cubic-bezier(0.2, 0.9, 0.25, 1) 0.1s forwards;
}

@keyframes beamCreationFlash {
  0% {
    opacity: 0;
    visibility: visible;
    transform: translateX(-50%) scaleY(0.12) scaleX(0.85);
  }
  20% {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scaleY(1) scaleX(1);
  }
  48% {
    opacity: 0.95;
    visibility: visible;
    transform: translateX(-50%) scaleY(1.02) scaleX(1);
  }
  72% {
    opacity: 0.38;
    visibility: visible;
    transform: translateX(-50%) scaleY(1.04) scaleX(1.01);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) scaleY(1.06) scaleX(1.02);
  }
}

.contact-creation-beam-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  display: block;
  mix-blend-mode: screen;
  pointer-events: none !important;
  user-select: none;
  -webkit-user-drag: none;
  background: transparent !important;
  filter: drop-shadow(0 0 25px rgba(255, 130, 0, 0.45)) drop-shadow(0 0 50px rgba(86, 215, 255, 0.35));
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 50% 15%, black 45%, transparent 95%);
  mask-image: radial-gradient(ellipse 95% 85% at 50% 15%, black 45%, transparent 95%);
}

/* 3. HEADER DE CONTACTO (MATERIALIZADO POR LA LUZ) */
.contacto-header {
  position: relative;
  z-index: 5;
  text-align: center;
  margin-top: 6px;
  margin-bottom: 22px;
  max-width: 580px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.22s, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.22s;
  pointer-events: auto !important;
}

.section-contacto.is-revealed .contacto-header {
  opacity: 1;
  transform: translateY(0);
}

.contacto-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.contacto-title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.95), 0 0 40px rgba(0, 0, 0, 0.9);
  margin: 0 0 8px 0;
}

.contacto-subtitle {
  font-family: inherit;
  font-size: 0.90rem;
  color: rgba(226, 238, 255, 0.85);
  line-height: 1.5;
  max-width: 480px;
  margin: 0 auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* 4. TARJETA GLASSMORPHIC DEL FORMULARIO (MATERIALIZADA POR LA LUZ, 100% LIMPIA Y LEGIBLE) */
.contacto-card {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 560px;
  margin-top: 0;
  background: rgba(5, 11, 24, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(86, 215, 255, 0.32);
  border-radius: 20px;
  box-shadow: 
    0 20px 60px -10px rgba(0, 0, 0, 0.85),
    0 0 35px rgba(255, 120, 0, 0.12),
    0 0 25px rgba(86, 215, 255, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.18);
  padding: 28px 28px 24px;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.38s, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.38s;
  pointer-events: auto !important;
}

.section-contacto.is-revealed .contacto-card {
  opacity: 1;
  transform: translateY(0);
}

/* GRID DE CAMPOS */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 16px;
  text-align: left;
  pointer-events: auto !important;
}

.form-col-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  pointer-events: auto !important;
}

.form-label {
  display: flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(224, 237, 255, 0.92);
  margin-bottom: 6px;
  user-select: none;
}

.label-optional {
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: lowercase;
  color: rgba(148, 163, 184, 0.75);
  margin-left: 5px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(12, 21, 40, 0.82);
  border: 1px solid rgba(86, 215, 255, 0.25);
  border-radius: 10px;
  padding: 10px 13px;
  color: #ffffff;
  font-size: 0.90rem;
  font-family: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  outline: none;
  pointer-events: auto !important;
  cursor: text;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #56D7FF;
  background: rgba(15, 27, 52, 0.96);
  box-shadow: 0 0 0 3px rgba(86, 215, 255, 0.2), 0 0 18px rgba(86, 215, 255, 0.3);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(148, 163, 184, 0.55);
}

.select-wrapper {
  position: relative;
  width: 100%;
  pointer-events: auto !important;
}

.select-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 10px;
  height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2356D7FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer !important;
  padding-right: 34px;
}

.form-select option {
  background: #091322;
  color: #f8fafc;
  padding: 10px;
}

/* ENVOLTORIO DE TELÉFONO CON PREFIJO DINÁMICO */
.phone-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(12, 21, 40, 0.82);
  border: 1px solid rgba(86, 215, 255, 0.25);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  pointer-events: auto !important;
}

.phone-input-wrap:focus-within {
  border-color: #56D7FF;
  background: rgba(15, 27, 52, 0.96);
  box-shadow: 0 0 0 3px rgba(86, 215, 255, 0.2), 0 0 18px rgba(86, 215, 255, 0.3);
}

.phone-prefix-badge {
  padding: 10px 12px;
  background: rgba(86, 215, 255, 0.14);
  color: #56D7FF;
  font-weight: 700;
  font-size: 0.88rem;
  border-right: 1px solid rgba(86, 215, 255, 0.25);
  letter-spacing: 0.5px;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
}

.phone-input {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding-left: 10px;
}

.form-textarea {
  resize: vertical;
  min-height: 75px;
}

/* MENSAJE Y ESTILOS DE ERROR DE VALIDACIÓN */
.form-error-msg {
  display: none;
  font-size: 0.74rem;
  color: #ff6b4a;
  margin-top: 5px;
  line-height: 1.3;
}

.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .phone-input-wrap {
  border-color: #FF4924 !important;
  box-shadow: 0 0 0 2px rgba(255, 73, 36, 0.3) !important;
  background: rgba(35, 14, 18, 0.88) !important;
}

.form-group.has-error .form-error-msg {
  display: block;
  animation: fadeInError 0.25s ease-out;
}

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

/* BOTÓN DE ENVÍO ORBITAL COMPACTO */
.form-submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 22px;
  pointer-events: auto !important;
}

.btn-orbital-submit {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 300px;
  padding: 13px 26px;
  background: linear-gradient(135deg, #FF4924 0%, #ff6b4a 50%, #FFB800 100%);
  border: none;
  border-radius: 999px;
  cursor: pointer !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(255, 73, 36, 0.4), 0 0 20px rgba(255, 184, 0, 0.25);
  pointer-events: auto !important;
}

.btn-orbital-submit:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 35px rgba(255, 73, 36, 0.55), 0 0 30px rgba(255, 184, 0, 0.45);
}

.btn-orbital-submit:active {
  transform: translateY(0) scale(0.99);
}

.btn-submit-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: left 0.7s ease;
}

.btn-orbital-submit:hover .btn-submit-glow {
  left: 100%;
}

.btn-submit-content {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-submit-text {
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.btn-submit-icon {
  transition: transform 0.25s ease;
}

.btn-orbital-submit:hover .btn-submit-icon {
  transform: translateX(4px);
}

/* ALERTA DE ERROR DE ENVÍO */
.form-alert-error {
  margin-top: 16px;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(255, 73, 36, 0.12);
  border: 1px solid rgba(255, 73, 36, 0.4);
  color: #FFF7D0;
  font-family: 'Ambit', sans-serif;
  font-size: 0.85rem;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 4px 15px rgba(255, 73, 36, 0.2);
  animation: fadeInError 0.3s ease-out;
}

.form-alert-error a.error-mail-link {
  color: #FF7B5E;
  text-decoration: underline;
  font-weight: 700;
  transition: color 0.2s ease;
}

.form-alert-error a.error-mail-link:hover {
  color: #FFA585;
}

/* TARJETA DE ÉXITO */
.contact-success-card {
  padding: 28px 16px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: successPopIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto !important;
}

@keyframes successPopIn {
  0% { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}

.success-icon-ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(86, 215, 255, 0.12);
  border: 1px solid rgba(86, 215, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 0 30px rgba(86, 215, 255, 0.4);
}

.success-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1.2px;
  margin: 0 0 10px 0;
  text-shadow: 0 2px 15px rgba(86, 215, 255, 0.5);
}

.success-msg {
  font-size: 0.92rem;
  color: rgba(220, 235, 255, 0.85);
  line-height: 1.5;
  max-width: 460px;
  margin: 0 0 22px 0;
}

/* ACCIONES EN TARJETA DE ÉXITO */
.success-actions-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 360px;
}

.btn-success-boletin {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 26px;
  background: linear-gradient(135deg, #FF4924 0%, #ff6b4a 50%, #FFB800 100%);
  border: none;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(255, 73, 36, 0.4), 0 0 20px rgba(255, 184, 0, 0.25);
}

.btn-success-boletin:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 35px rgba(255, 73, 36, 0.55), 0 0 30px rgba(255, 184, 0, 0.45);
}

.btn-boletin-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: left 0.7s ease;
}

.btn-success-boletin:hover .btn-boletin-glow {
  left: 100%;
}

.btn-boletin-content {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.btn-boletin-icon {
  flex-shrink: 0;
}

.btn-boletin-arrow {
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.btn-success-boletin:hover .btn-boletin-arrow {
  transform: translateX(4px);
}

.btn-success-reset {
  background: transparent;
  border: 1px solid rgba(86, 215, 255, 0.35);
  color: rgba(86, 215, 255, 0.85);
  padding: 8px 22px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: all 0.25s ease;
  pointer-events: auto !important;
}

.btn-success-reset:hover {
  background: rgba(86, 215, 255, 0.12);
  border-color: #56D7FF;
  color: #56D7FF;
  box-shadow: 0 0 16px rgba(86, 215, 255, 0.3);
  transform: translateY(-1px);
}

/* RESPONSIVIDAD PARA LA SECCIÓN DE CONTACTO */
@media (max-width: 768px) {
  .section-contacto {
    padding: 35px 14px 80px;
  }
  .contacto-card {
    padding: 22px 16px 20px;
    border-radius: 16px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .form-col-full {
    grid-column: span 1;
  }
  .btn-orbital-submit {
    max-width: 100%;
  }
}

/* ========================================
   PIE DE PÁGINA (FOOTER AEROESPACIAL DE ÓRBITA)
======================================== */
.site-footer {
  position: relative;
  z-index: 45;
  width: 100%;
  pointer-events: auto !important;
  background: linear-gradient(180deg, rgba(2, 5, 14, 0.94) 0%, rgba(1, 3, 8, 0.99) 100%);
  border-top: 1px solid rgba(86, 215, 255, 0.24);
  box-shadow: 0 -25px 60px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 65px 24px 32px;
  color: #FFF7D0;
  box-sizing: border-box;
}

.footer-container {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* REJILLA PRINCIPAL DE 3 COLUMNAS */
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1.05fr 1.25fr;
  gap: 46px;
  margin-bottom: 50px;
  align-items: start;
}

/* COLUMNA 1: MARCA & MANIFIESTO */
.footer-col-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.footer-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 12px rgba(255, 184, 0, 0.35));
}

.footer-brand-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(226, 238, 255, 0.80);
  max-width: 380px;
  margin: 0 0 22px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.footer-system-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(86, 215, 255, 0.08);
  border: 1px solid rgba(86, 215, 255, 0.28);
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: #56D7FF;
  width: fit-content;
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #56D7FF;
  box-shadow: 0 0 10px #56D7FF, 0 0 20px #38bdf8;
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% {
    opacity: 0.8;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

/* TÍTULOS DE COLUMNAS */
.footer-col-title {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-title-badge {
  color: #FF4924;
  font-weight: 900;
}

/* LISTAS DE CONTACTO Y REDES */
.footer-contact-list,
.footer-social-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-item-label {
  font-size: 0.70rem;
  letter-spacing: 1.5px;
  color: rgba(226, 238, 255, 0.55);
  font-weight: 700;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: all 0.25s ease;
  pointer-events: auto !important;
}

.footer-contact-link:hover {
  color: #56D7FF;
  background: rgba(86, 215, 255, 0.12);
  border-color: rgba(86, 215, 255, 0.45);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

/* ICONOS VECTORIALES */
.footer-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.footer-icon-wa {
  background: rgba(44, 183, 100, 0.16);
  color: #2CB764;
  border: 1px solid rgba(44, 183, 100, 0.35);
}

.footer-icon-mail {
  background: rgba(86, 215, 255, 0.16);
  color: #56D7FF;
  border: 1px solid rgba(86, 215, 255, 0.35);
}

.footer-icon-fb {
  background: rgba(24, 119, 242, 0.16);
  color: #4b97ff;
  border: 1px solid rgba(24, 119, 242, 0.35);
}

.footer-icon-ig {
  background: rgba(225, 48, 108, 0.16);
  color: #f472b6;
  border: 1px solid rgba(225, 48, 108, 0.35);
}

.footer-icon-tt {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.footer-icon-yt {
  background: rgba(255, 0, 0, 0.16);
  color: #ff5252;
  border: 1px solid rgba(255, 0, 0, 0.35);
}

/* ENLACES A REDES SOCIALES */
.footer-social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto !important;
}

.footer-social-link:hover {
  background: rgba(86, 215, 255, 0.10);
  border-color: rgba(86, 215, 255, 0.38);
  transform: translateX(5px);
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.5);
}

.footer-social-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.footer-social-platform {
  font-size: 0.70rem;
  color: rgba(226, 238, 255, 0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-social-handle {
  font-size: 0.88rem;
  color: #ffffff;
  font-weight: 600;
}

.footer-link-arrow {
  font-size: 0.95rem;
  color: rgba(226, 238, 255, 0.4);
  transition: transform 0.25s ease, color 0.25s ease;
}

.footer-social-link:hover .footer-link-arrow {
  transform: translate(2px, -2px);
  color: #56D7FF;
}

/* BARRA INFERIOR: COPYRIGHT & LEGAL */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-legal-link {
  background: none;
  border: none;
  padding: 0;
  color: rgba(226, 238, 255, 0.75);
  font-size: 0.82rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  text-decoration: underline;
  text-decoration-color: rgba(226, 238, 255, 0.35);
  text-underline-offset: 3px;
  pointer-events: auto !important;
}

.btn-legal-link:hover {
  color: #56D7FF;
  text-decoration-color: #56D7FF;
}

.legal-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.8rem;
}

.footer-copyright {
  text-align: center;
  font-size: 0.80rem;
  color: rgba(226, 238, 255, 0.72);
  line-height: 1.4;
}

.copyright-main strong {
  color: #FFF7D0;
  letter-spacing: 1px;
  font-weight: 700;
}

.copyright-sub {
  font-size: 0.74rem;
  color: rgba(226, 238, 255, 0.52);
  font-style: italic;
  margin-top: 3px;
}

.footer-coordinates {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: rgba(226, 238, 255, 0.55);
  letter-spacing: 1px;
  font-weight: 600;
}

.coord-icon {
  color: #FFB800;
  animation: starTwinkle 3s ease-in-out infinite;
}

/* ========================================
   MODAL LEGAL AEROESPACIAL (TÉRMINOS & PRIVACIDAD)
======================================== */
.legal-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  background: rgba(1, 3, 10, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.legal-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto !important;
}

.legal-modal-card {
  background: rgba(5, 11, 26, 0.96);
  border: 1px solid rgba(86, 215, 255, 0.4);
  border-radius: 20px;
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 35px rgba(86, 215, 255, 0.2);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.legal-modal-overlay.is-open .legal-modal-card {
  transform: translateY(0) scale(1);
}

.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-modal-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #56D7FF;
  text-transform: uppercase;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF4924;
  box-shadow: 0 0 8px #FF4924;
}

.btn-modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  pointer-events: auto !important;
}

.btn-modal-close:hover {
  background: rgba(255, 73, 36, 0.2);
  border-color: #FF4924;
  color: #FF4924;
  transform: rotate(90deg);
}

.legal-modal-body {
  padding: 24px;
  overflow-y: auto;
  color: rgba(226, 238, 255, 0.85);
  font-size: 0.90rem;
  line-height: 1.65;
  flex: 1;
}

.legal-modal-body h3 {
  color: #ffffff;
  font-size: 1.15rem;
  margin: 0 0 14px 0;
  letter-spacing: 1px;
}

.legal-modal-body h4 {
  color: #56D7FF;
  font-size: 0.92rem;
  margin: 18px 0 8px 0;
  letter-spacing: 1px;
}

.legal-modal-body p {
  margin: 0 0 12px 0;
}

.legal-modal-body ul {
  margin: 0 0 14px 20px;
  padding: 0;
}

.legal-modal-body li {
  margin-bottom: 6px;
}

.legal-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: flex-end;
}

.btn-modal-accept {
  background: linear-gradient(135deg, rgba(86, 215, 255, 0.2), rgba(86, 215, 255, 0.08));
  border: 1px solid rgba(86, 215, 255, 0.5);
  color: #56D7FF;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 10px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  pointer-events: auto !important;
}

.btn-modal-accept:hover {
  background: #56D7FF;
  color: #030712;
  box-shadow: 0 0 20px rgba(86, 215, 255, 0.4);
}

/* RESPONSIVIDAD DEL FOOTER */
@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-col-brand {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .site-footer {
    padding: 45px 16px 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 35px;
  }
  .footer-col-brand {
    grid-column: span 1;
    text-align: center;
    align-items: center;
  }
  .footer-logo-wrap {
    justify-content: center;
  }
  .footer-brand-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 16px;
  }
  .footer-legal-links {
    justify-content: center;
    flex-wrap: wrap;
  }
  .footer-coordinates {
    justify-content: center;
    text-align: center;
  }
}

/* ========================================
   BARRA DE NAVEGACIÓN: CENTRO DE CONTROL (HUD)
======================================== */
.site-hud-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 68px;
  z-index: 99990;
  pointer-events: auto !important;
  background: rgba(2, 6, 16, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(86, 215, 255, 0.16);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  font-family: 'Ambit', Arial, Helvetica, sans-serif !important;
}

.site-hud-header *,
.site-hud-header *::before,
.site-hud-header *::after {
  box-sizing: border-box;
  font-family: 'Ambit', Arial, Helvetica, sans-serif !important;
}

.site-hud-header.is-scrolled {
  height: 58px;
  background: rgba(2, 5, 14, 0.92);
  border-bottom-color: rgba(86, 215, 255, 0.32);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.85);
}

.hud-container {
  max-width: 1260px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-sizing: border-box;
}

/* IDENTIDAD / LOGO MINI */
.hud-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.hud-brand:hover {
  opacity: 0.9;
}

.hud-brand-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 184, 0, 0.45));
}

.hud-brand-meta {
  display: flex;
  flex-direction: column;
}

.hud-system-title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: #ffffff;
  text-transform: uppercase;
}

.hud-system-version {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #56D7FF;
}

/* NAVEGACIÓN DESKTOP */
.hud-nav {
  display: flex;
  align-items: center;
}

.hud-nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hud-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  text-decoration: none;
  color: rgba(226, 238, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  border-radius: 999px;
  transition: all 0.22s ease;
  position: relative;
  box-sizing: border-box;
}

.hud-nav-link:hover {
  color: #ffffff;
  background: rgba(86, 215, 255, 0.10);
  box-shadow: 0 0 16px rgba(86, 215, 255, 0.15);
}

.hud-nav-link.is-active {
  color: #56D7FF;
  background: rgba(86, 215, 255, 0.14);
  border: 1px solid rgba(86, 215, 255, 0.35);
}

.hud-link-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: transparent;
  transition: all 0.2s ease;
}

.hud-nav-link:hover .hud-link-dot,
.hud-nav-link.is-active .hud-link-dot {
  background: #56D7FF;
  box-shadow: 0 0 6px #56D7FF;
}

/* MICRO-PIPS DE LAS 3 LUNAS EN EL ENLACE SERVICIOS */
.hud-badge-moons {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 2px;
}

.moon-pip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
}

.pip-orange {
  background: #FF4924;
  box-shadow: 0 0 4px #FF4924;
}

.pip-blue {
  background: #56D7FF;
  box-shadow: 0 0 4px #56D7FF;
}

.pip-green {
  background: #2CB764;
  box-shadow: 0 0 4px #2CB764;
}

/* BOTONES Y ACCIONES */
.hud-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-hud-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(86, 215, 255, 0.25), rgba(255, 184, 0, 0.18));
  border: 1px solid rgba(86, 215, 255, 0.55);
  color: #FFF7D0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.25s ease;
  box-shadow: 0 0 16px rgba(86, 215, 255, 0.22);
}

.btn-hud-cta:hover {
  transform: translateY(-1px);
  border-color: #56D7FF;
  box-shadow: 0 0 25px rgba(86, 215, 255, 0.5), 0 0 12px rgba(255, 184, 0, 0.35);
  color: #ffffff;
}

.btn-hud-icon {
  transition: transform 0.2s ease;
}

.btn-hud-cta:hover .btn-hud-icon {
  transform: translateX(3px);
}

/* BOTÓN DISPARADOR ORBITAL PARA MÓVILES (BURGER) */
.btn-orbital-burger {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(86, 215, 255, 0.10);
  border: 1px solid rgba(86, 215, 255, 0.35);
  border-radius: 999px;
  padding: 7px 14px;
  color: #56D7FF;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  pointer-events: auto !important;
}

.btn-orbital-burger:hover {
  background: rgba(86, 215, 255, 0.18);
  border-color: #56D7FF;
  box-shadow: 0 0 14px rgba(86, 215, 255, 0.35);
}

.burger-box {
  width: 16px;
  height: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger-line {
  width: 100%;
  height: 2px;
  background: #56D7FF;
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* ESTADO ABIERTO DEL BOTÓN HAMBURGUESA */
.btn-orbital-burger.is-open .line-1 {
  transform: translateY(5px) rotate(45deg);
}

.btn-orbital-burger.is-open .line-2 {
  opacity: 0;
  transform: scaleX(0);
}

.btn-orbital-burger.is-open .line-3 {
  transform: translateY(-5px) rotate(-45deg);
}

/* ========================================
   MENÚ MÓVIL A PANTALLA COMPLETA (COMMAND DECK)
======================================== */
.mobile-command-deck {
  position: fixed;
  inset: 0;
  z-index: 99995;
  background: rgba(2, 5, 14, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  overflow-y: auto;
  box-sizing: border-box;
}

.mobile-command-deck.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto !important;
}

.command-deck-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.deck-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}

.deck-glow-cyan {
  top: -100px;
  left: -80px;
  background: #56D7FF;
}

.deck-glow-orange {
  bottom: -100px;
  right: -80px;
  background: #FF4924;
}

.command-deck-content {
  max-width: 580px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 20px 36px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.deck-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.deck-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  letter-spacing: 2px;
  color: #56D7FF;
  font-weight: 800;
  text-transform: uppercase;
}

.deck-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2CB764;
  box-shadow: 0 0 8px #2CB764;
}

.btn-deck-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  pointer-events: auto !important;
}

.btn-deck-close:hover {
  background: rgba(255, 73, 36, 0.2);
  border-color: #FF4924;
  color: #FF4924;
  transform: rotate(90deg);
}

.deck-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.deck-nav-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #ffffff;
  transition: all 0.25s ease;
  pointer-events: auto !important;
}

.deck-nav-link:active,
.deck-nav-link:hover {
  background: rgba(86, 215, 255, 0.12);
  border-color: rgba(86, 215, 255, 0.45);
  transform: translateX(6px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.deck-num {
  font-size: 0.78rem;
  font-weight: 800;
  color: #FF4924;
  font-family: monospace;
  letter-spacing: 1px;
}

.deck-link-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.deck-link-title {
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
}

.deck-link-desc {
  font-size: 0.74rem;
  color: rgba(226, 238, 255, 0.65);
  margin-top: 2px;
}

.deck-link-arrow {
  font-size: 1.1rem;
  color: #56D7FF;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.deck-nav-link:hover .deck-link-arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* FOOTER DEL MENÚ MÓVIL */
.deck-footer {
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn-deck-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(86, 215, 255, 0.3), rgba(255, 73, 36, 0.25));
  border: 1px solid #56D7FF;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 0 25px rgba(86, 215, 255, 0.3);
  box-sizing: border-box;
  transition: all 0.25s ease;
  pointer-events: auto !important;
}

.btn-deck-cta:hover,
.btn-deck-cta:active {
  background: #56D7FF;
  color: #020610;
  box-shadow: 0 0 35px rgba(86, 215, 255, 0.6);
}

.deck-quick-channels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.deck-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: rgba(226, 238, 255, 0.75);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
  pointer-events: auto !important;
}

.deck-quick-link:hover {
  color: #56D7FF;
  border-color: rgba(86, 215, 255, 0.4);
}

.quick-icon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.quick-icon-dot.green {
  background: #2CB764;
  box-shadow: 0 0 6px #2CB764;
}

.quick-icon-dot.cyan {
  background: #56D7FF;
  box-shadow: 0 0 6px #56D7FF;
}

/* RESPONSIVIDAD DE LA BARRA HUD */
@media (max-width: 1024px) {
  .hud-nav {
    display: none;
  }
  .btn-orbital-burger {
    display: inline-flex;
  }
}

@media (max-width: 600px) {
  .hud-container {
    padding: 0 16px;
  }
  .btn-hud-cta {
    display: none;
  }
  .hud-brand-meta {
    display: none;
  }
}

/* ========================================
   EFECTO DE TRANSICIÓN WARP ENTRE PÁGINAS
======================================== */
.warp-entry-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background: #02040a;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.warp-entry-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   INSIGNIAS SUPERIORES / BALIZAS DE TELEMETRÍA (ESTÁNDAR COMPARTIDO ÓRBITA)
   ========================================================================== */
.crew-badge-line,
.missions-badge-line,
.stage-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(4, 12, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

.badge-dot-beacon,
.stage-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  animation: pulseDot 2s infinite ease-in-out;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.badge-telemetry-text,
.stage-badge-text {
  font-family: "SF Mono", "Roboto Mono", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: rgba(226, 238, 255, 0.85);
  text-transform: uppercase;
  line-height: 1;
}

/* ============================================================
   Ocultar Badge / HUD inyectado por Netlify
   ============================================================ */
#nl-badge-frame,
#nl-hud-frame,
iframe[title="Powered by Netlify"],
iframe[title="Netlify"],
iframe[id^="nl-"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}

