/* ─── EMPRESAS ALIADAS — Tecnocash ─── */

/* Nav: keep all links on one line (reuse landing nav) */
nav { gap: 18px !important; padding: 10px 14px 10px 22px !important; white-space: nowrap; }
.nav-links { gap: 16px !important; align-items: center; }
.nav-links li { white-space: nowrap; }
.nav-links a { font-size: 12.5px !important; white-space: nowrap; }

/* ─────────── HERO (texto izquierda · cohete derecha) ─────────── */
.ea-hero {
  position: relative;
  min-height: 100vh;
  max-width: 1240px;
  margin: 0 auto;
  padding: 150px 24px 80px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}
.ea-hero-copy { position: relative; z-index: 3; max-width: 600px; }
.ea-hero-copy .section-eyebrow { color: var(--c-neon); }
.ea-hero-title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--c-text);
  margin: 10px 0 22px;
  text-wrap: balance;
}
.ea-hero-title .accent {
  background: linear-gradient(135deg, #00DF81 0%, #00DFB1 50%, #2CC295 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ea-hero-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--c-pista);
  max-width: 520px;
  margin-bottom: 32px;
  text-wrap: pretty;
}
.ea-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ─────────── COHETE (estilo planeta de la marca) ─────────── */
.ea-rocket-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  height: min(620px, 78vh);
  display: grid;
  place-items: center;
  isolation: isolate;
}
/* Halo verde tipo planeta detrás del cohete */
.ea-rocket-stage::before {
  content: '';
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, rgba(0,223,177,0.5) 0%, rgba(0,223,129,0.28) 32%, rgba(46,123,120,0.12) 60%, transparent 75%);
  filter: blur(26px);
  z-index: -1;
  animation: ea-halo 8s ease-in-out infinite;
}
@keyframes ea-halo {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50%      { transform: scale(1.08); opacity: 1; }
}

/* Anillos en órbita — removidos a pedido (quedaba ruido alrededor del cohete) */

/* Contenedor de partículas (estrellas / aire) */
.ea-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
.ea-streak {
  position: absolute;
  top: -40px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(to bottom, transparent, rgba(0,223,129,0.85), transparent);
  will-change: transform, opacity;
  opacity: 0;
}
.ea-star {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #d6fff0;
  box-shadow: 0 0 6px rgba(0,223,177,0.9);
  will-change: transform, opacity;
  opacity: 0;
}
@keyframes ea-fall {
  0%   { opacity: 0; transform: translateY(-20px); }
  12%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(var(--fall, 460px)); }
}

/* El cohete */
.ea-rocket {
  position: relative;
  z-index: 3;
  width: clamp(210px, 24vw, 300px);
  cursor: none;
  perspective: 1100px;
  animation: ea-bob 5.2s ease-in-out infinite;
}
@keyframes ea-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}
.ea-rocket svg { width: 100%; height: auto; display: block; overflow: visible; transform-style: preserve-3d; transition: transform 0.35s ease-out; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.45)) drop-shadow(0 0 34px rgba(0,223,129,0.28)); }

/* Inclinación 3D sutil al pasar el cursor (controlada por JS) */
.ea-rocket-craft {
  transform-box: fill-box;
  transform-origin: 50% 46%;
  animation: ea-sway 7s ease-in-out infinite;
}
/* Balanceo/rotación lenta continua — imita el giro flotante del video.
   El scaleX simula la rotación sobre el eje vertical (escorzo de las aletas). */
@keyframes ea-sway {
  0%   { transform: rotate(-3.6deg) scaleX(1); }
  25%  { transform: rotate(0deg)    scaleX(0.955); }
  50%  { transform: rotate(3.6deg)  scaleX(1); }
  75%  { transform: rotate(0deg)    scaleX(0.955); }
  100% { transform: rotate(-3.6deg) scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .ea-rocket-craft { animation: none; }
}

/* Llama en movimiento constante */
.ea-flame {
  transform-box: fill-box;
  transform-origin: top center;
  animation: ea-flicker 0.42s ease-in-out infinite alternate;
}
.ea-flame-glow { animation: ea-flicker2 0.6s ease-in-out infinite alternate; }
.ea-flame-core { animation: ea-flicker 0.28s ease-in-out infinite alternate; }
@keyframes ea-flicker  { from { transform: scaleY(0.92) scaleX(1.05); opacity: 0.92; } to { transform: scaleY(1.16) scaleX(0.9); opacity: 1; } }
@keyframes ea-flicker2 { from { transform: scaleY(1.0) scaleX(0.96); opacity: 0.6; } to { transform: scaleY(0.82) scaleX(1.12); opacity: 0.95; } }

/* ─────────── SECCIONES ─────────── */
.ea-sec {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}
.ea-sec-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.ea-sec-head .section-eyebrow { justify-content: center; display: inline-flex; }
.ea-sec-title {
  font-family: var(--f-head);
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--c-text);
  margin: 10px 0 14px;
  text-wrap: balance;
}
.ea-sec-title .accent { color: var(--c-neon); }
.ea-sec-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-pista);
  max-width: 580px;
  margin: 0 auto;
  text-wrap: pretty;
}

/* Beneficios */
.ea-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ea-benefit {
  padding: 34px 30px;
  border-radius: var(--r-card);
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), border-color 0.3s, box-shadow 0.3s;
}
.ea-benefit:hover {
  transform: translateY(-5px);
  border-color: rgba(0,223,129,0.25);
  box-shadow: 0 18px 50px -22px rgba(0,223,129,0.25);
}
.ea-benefit-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: rgba(0,223,129,0.08);
  border: 1px solid rgba(0,223,129,0.20);
  color: var(--c-neon);
  transition: transform 0.45s cubic-bezier(.34,1.5,.5,1), background 0.3s, box-shadow 0.3s;
}
.ea-benefit:hover .ea-benefit-icon {
  transform: translateY(-4px) scale(1.08) rotate(-5deg);
  background: rgba(0,223,129,0.14);
  box-shadow: 0 10px 26px -8px rgba(0,223,129,0.45);
}
.ea-benefit-icon svg { width: 28px; height: 28px; }
.ea-benefit h3 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--c-text);
  margin-bottom: 10px;
}
.ea-benefit p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--c-pista);
  text-wrap: pretty;
}

/* Cómo ser aliada — pasos */
.ea-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: ea-step;
}
.ea-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: ea-step;
  perspective: 1000px;
}
.ea-step {
  position: relative;
  padding: 34px 26px 30px;
  border-radius: var(--r-card);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(.2,.85,.3,1), border-color 0.3s, box-shadow 0.3s;
  will-change: transform;
}
.ea-step:hover {
  border-color: rgba(0,223,129,0.32);
  box-shadow: 0 26px 60px -26px rgba(0,223,129,0.34);
}
.ea-step-num {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--c-neon);
  display: inline-block;
  margin-bottom: 16px;
  transform: translateZ(28px);
  transition: transform 0.5s cubic-bezier(.2,.85,.3,1), text-shadow 0.3s;
}
.ea-step:hover .ea-step-num {
  text-shadow: 0 0 18px rgba(0,223,129,0.6);
}
.ea-step h3 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--c-text);
  margin-bottom: 8px;
  transform: translateZ(18px);
}
.ea-step p { transform: translateZ(10px); }
.ea-step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-pista);
}

/* CTA */
.ea-cta { max-width: 1200px; margin: 0 auto; padding: 40px 24px 110px; }
.ea-cta-box {
  border-radius: 30px;
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 600px 300px at 50% 0%, rgba(0,223,129,0.18), transparent 70%),
    linear-gradient(135deg, rgba(46,123,120,0.16), rgba(46,123,120,0.06));
  border: 1px solid rgba(0,223,129,0.22);
}
.ea-cta-box h2 {
  font-family: var(--f-head);
  font-size: clamp(32px, 4.5vw, 50px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  text-wrap: balance;
}
.ea-cta-box p {
  font-size: 17px;
  color: var(--c-pista);
  margin-bottom: 30px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.ea-cta-actions { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 980px) {
  .ea-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 130px; gap: 10px; text-align: center; }
  .ea-hero-copy { max-width: 640px; margin: 0 auto; }
  .ea-hero-copy .section-eyebrow { justify-content: center; display: inline-flex; }
  .ea-hero-sub { margin-left: auto; margin-right: auto; }
  .ea-hero-actions { justify-content: center; }
  .ea-rocket-stage { order: -1; height: 440px; }
  .ea-rocket-stage::before { width: 360px; height: 360px; }
  .ea-benefits { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .ea-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { cursor: auto; }
  #cursor-glow, #cursor-dot { display: none; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta-desktop { display: none; }
  .ea-sec { padding: 60px 20px; }
  .ea-steps { grid-template-columns: 1fr; }
  .ea-cta-box { padding: 52px 24px; }
  .ea-rocket, .ea-rocket:hover .ea-rocket-craft { cursor: pointer !important; }
}
