/* ═══════════════════════════════════════════
   VOLTEC INSTITUTE — dark navy · electric blue
   ═══════════════════════════════════════════ */

:root {
  --navy-950: #04081d;
  --navy-900: #060c26;
  --navy-800: #0a1233;
  --navy-700: #101c4a;
  --electric: #1fa7ff;
  --electric-bright: #4dc3ff;
  --electric-deep: #0b6fd8;
  --white: #f4f8ff;
  --muted: #93a3c4;
  --line: rgba(77, 195, 255, .14);

  --font-display: "Archivo", sans-serif;
  --font-tech: "Chakra Petch", monospace;
  --font-body: "Sofia Sans", sans-serif;

  --container: 1160px;
  --radius: 18px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  background: var(--navy-950);
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--electric); color: var(--navy-950); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: 820px; }

/* ── type helpers ── */
.eyebrow {
  font-family: var(--font-tech);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 14px;
}
.eyebrow::before { content: "// "; opacity: .6; }

.h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.h2 em {
  font-style: italic;
  color: var(--electric-bright);
}

.lead { color: var(--muted); max-width: 560px; margin-bottom: 42px; }

/* ── buttons ── */
.btn {
  display: inline-block;
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 10px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  cursor: pointer;
  border: 0;
}
.btn--solid {
  background: linear-gradient(120deg, var(--electric-deep), var(--electric));
  color: #fff;
  box-shadow: 0 6px 24px rgba(31, 167, 255, .35);
}
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 10px 34px rgba(31, 167, 255, .5); }
.btn--ghost {
  color: var(--white);
  border: 1px solid var(--line);
  background: rgba(77, 195, 255, .05);
}
.btn--ghost:hover { border-color: var(--electric); color: var(--electric-bright); }
.btn--outline {
  color: var(--electric-bright);
  border: 1px solid rgba(77, 195, 255, .4);
  background: transparent;
  padding: 10px 20px;
}
.btn--outline:hover { background: var(--electric); border-color: var(--electric); color: var(--navy-950); }
.btn--lg { padding: 16px 32px; font-size: 1.02rem; }
.btn--xl { padding: 19px 44px; font-size: 1.12rem; border-radius: 14px; }

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(4, 8, 29, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.nav__bolt { width: 26px; height: 26px; fill: var(--electric); filter: drop-shadow(0 0 8px rgba(31,167,255,.7)); }
.nav__wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -.02em;
  color: var(--white);
}
.nav__wordmark em { color: var(--electric); font-style: italic; }
.nav__wordmark small {
  display: block;
  font-family: var(--font-tech);
  font-weight: 500;
  font-style: normal;
  font-size: .58rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: -3px;
}
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  transition: color .15s;
}
.nav__links a:hover { color: var(--electric-bright); }
.nav__cta { white-space: nowrap; }

.nav__burger { display: none; background: none; border: 0; flex-direction: column; gap: 5px; padding: 6px; cursor: pointer; }
.nav__burger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: .25s; }
.nav__mobile { display: none; }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px 28px 24px;
    border-top: 1px solid var(--line);
  }
  .nav__mobile.open { display: flex; }
  .nav__mobile a {
    color: var(--white);
    text-decoration: none;
    padding: 12px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(77,195,255,.08);
  }
  .nav__mobile .btn { margin-top: 14px; text-align: center; border-bottom: 0; }
}

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 0;
  overflow: hidden;
  background:
    radial-gradient(1100px 600px at 78% 12%, rgba(11, 111, 216, .22), transparent 60%),
    radial-gradient(800px 500px at 12% 85%, rgba(31, 167, 255, .1), transparent 60%),
    var(--navy-950);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,9,20,.94) 0%, rgba(5,9,20,.8) 42%, rgba(5,9,20,.55) 72%, rgba(5,9,20,.42) 100%),
    linear-gradient(180deg, rgba(5,9,20,.68) 0%, rgba(5,9,20,.28) 32%, rgba(5,9,20,.34) 60%, rgba(5,9,20,.74) 100%),
    url('img/foto_hero.jpg') center / cover no-repeat;
}
@media (max-width: 640px) {
  .hero::before {
    background:
      linear-gradient(180deg, rgba(5,9,20,.92) 0%, rgba(5,9,20,.8) 34%, rgba(5,9,20,.8) 62%, rgba(5,9,20,.94) 100%),
      url('img/foto_hero.jpg') center / cover no-repeat;
  }
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(77,195,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77,195,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 75%);
}
.hero__glow {
  position: absolute;
  width: 640px; height: 640px;
  right: -140px; top: -140px;
  background: radial-gradient(circle, rgba(31,167,255,.28), transparent 65%);
  filter: blur(40px);
  animation: pulse 7s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }

.hero__boltbg {
  position: absolute;
  right: -6%; top: 50%;
  transform: translateY(-52%) rotate(8deg);
  width: min(56vw, 680px);
  fill: none;
  stroke: rgba(77, 195, 255, .16);
  stroke-width: .35;
  filter: drop-shadow(0 0 26px rgba(31,167,255,.25));
}

.hero__inner { position: relative; max-width: var(--container); margin: 0 auto; padding: 0 28px; width: 100%; }

.tag {
  display: inline-block;
  font-family: var(--font-tech);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--electric-bright);
  border: 1px solid rgba(77,195,255,.35);
  background: rgba(31,167,255,.08);
  padding: 8px 16px;
  border-radius: 100px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 26px 0 24px;
  max-width: 22ch;
}
.hero__title span { display: block; }
.hero__title-electric {
  color: var(--electric);
  text-shadow: 0 0 42px rgba(31,167,255,.55);
}

.hero__sub { color: var(--muted); max-width: 560px; margin-bottom: 34px; }
.hero__sub strong { color: var(--white); }

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero__stats {
  display: flex;
  gap: clamp(28px, 5vw, 64px);
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 30px;
  margin-bottom: 70px;
}
.hero__stats dt {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 2rem;
  color: var(--electric-bright);
}
.hero__stats dd {
  font-family: var(--font-tech);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 4px;
}

/* marquee */
.hero__marquee {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(31,167,255,.05);
  overflow: hidden;
  padding: 13px 0;
}
.hero__marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--font-tech);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .3em;
  color: rgba(147, 163, 196, .85);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(22px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .18s; } .d3 { animation-delay: .28s; }
.d4 { animation-delay: .42s; } .d5 { animation-delay: .54s; } .d6 { animation-delay: .68s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* scroll-in sections */
.sr { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.sr.in { opacity: 1; transform: none; }

/* ═══════════ PROMO POP-OUT ═══════════ */
:root {
  --amber: #ffc820;
  --amber-bright: #ffe066;
  --amber-deep: #c98f00;
}

.promo {
  position: absolute;
  right: 0;
  top: 2px;
  width: min(360px, 32vw);
  z-index: 5;
  animation: promo-in .8s cubic-bezier(.2,.8,.2,1) .5s both;
}
@keyframes promo-in {
  from { opacity: 0; transform: translateY(-16px) scale(.95); }
  to   { opacity: 1; transform: none; }
}
.promo[hidden] { display: none; }

.promo__tab {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto -1px;
  padding: 9px 22px 10px;
  font-family: var(--font-tech);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy-950);
  background: linear-gradient(180deg, var(--amber-bright), var(--amber));
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 100%, 0 100%);
  left: 50%;
  translate: -50% 0;
  box-shadow: 0 0 26px rgba(255, 200, 32, .5);
}
.promo__flame { font-size: .9rem; }

.promo__frame {
  position: relative;
  padding: 26px 28px 24px;
  background:
    radial-gradient(120% 90% at 85% 15%, rgba(255, 200, 32, .1), transparent 60%),
    linear-gradient(165deg, #0d1226 0%, #060a1c 100%);
  border: 2px solid var(--amber);
  clip-path: polygon(
    26px 0, calc(100% - 26px) 0, 100% 26px,
    100% calc(100% - 26px), calc(100% - 26px) 100%,
    26px 100%, 0 calc(100% - 26px), 0 26px
  );
  box-shadow:
    0 0 0 1px rgba(255, 200, 32, .18),
    0 0 44px rgba(255, 200, 32, .28),
    0 30px 70px rgba(4, 8, 29, .85);
}
.promo__frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 200, 32, .16);
  clip-path: inherit;
  pointer-events: none;
}

.promo__dots {
  position: absolute;
  left: 34px; right: 34px;
  height: 5px;
  background-image: repeating-linear-gradient(90deg, var(--amber) 0 4px, transparent 4px 11px);
  opacity: .5;
}
.promo__dots--top { top: 13px; }
.promo__dots--bottom { bottom: 13px; }

.promo__body { display: flex; align-items: center; gap: 20px; margin-top: 12px; }

.promo__dial {
  position: relative;
  flex: none;
  width: 76px; height: 76px;
  display: grid;
  place-items: center;
}
.promo__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(255, 200, 32, .55);
  animation: promo-spin 14s linear infinite;
}
.promo__ring--inner {
  inset: 11px;
  border: 2px solid rgba(255, 200, 32, .3);
  border-top-color: var(--amber);
  border-style: solid;
  animation: promo-spin 4.5s linear infinite reverse;
}
@keyframes promo-spin { to { transform: rotate(360deg); } }
.promo__bolt {
  position: relative;
  width: 30px; height: 30px;
  fill: var(--amber);
  filter: drop-shadow(0 0 12px rgba(255, 200, 32, .9));
}

.promo__eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.05;
  color: var(--white);
}
.promo__status {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1;
  color: var(--amber);
  text-shadow: 0 0 26px rgba(255, 200, 32, .55);
}

.promo__rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0 12px;
  font-family: var(--font-tech);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 224, 102, .85);
}
.promo__rule::before, .promo__rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 200, 32, .55), transparent);
}

.promo__offer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}
.promo__pct {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(3.2rem, 6.4vw, 4.6rem);
  line-height: .88;
  letter-spacing: -.03em;
  color: var(--amber);
  text-shadow: 0 0 40px rgba(255, 200, 32, .5);
}
.promo__pct em { font-style: italic; font-size: .62em; }
.promo__off {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  line-height: 1.02;
  color: var(--amber);
}

.promo__deadline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 200, 32, .22);
  font-size: .95rem;
  color: #d9e2f5;
}
.promo__deadline strong { color: var(--amber); }
.promo__cal { font-size: 1.05rem; }

.promo__cta {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 15px;
  padding: 14px 22px;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .02em;
  color: var(--navy-950);
  background: linear-gradient(180deg, var(--amber-bright), var(--amber));
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(255, 200, 32, .38);
  transition: transform .18s ease, box-shadow .18s ease;
}
.promo__cta:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(255, 200, 32, .55); }

.promo__chip {
  position: absolute;
  z-index: 0;
  right: 22px; bottom: 22px;
  width: 40px; height: 40px;
  fill: none;
  stroke: rgba(255, 200, 32, .32);
  stroke-width: 1.6;
  stroke-linecap: round;
}

@media (max-width: 1080px) {
  .promo {
    position: static;
    width: min(420px, 100%);
    margin: 36px 0 0;
    animation-name: promo-in-flat;
  }
  @keyframes promo-in-flat {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
  }
}

/* Teléfono: banner compacto en vez de tarjeta vertical */
@media (max-width: 640px) {
  .promo { width: 100%; margin-top: 28px; }
  .promo__tab {
    padding: 7px 18px 8px;
    font-size: .68rem;
  }
  .promo__frame {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 14px;
    row-gap: 10px;
    padding: 18px 18px 16px;
  }
  .promo__dots { display: none; }
  .promo__body {
    grid-column: 1 / 3;
    grid-row: 1;
    margin-top: 0;
    gap: 12px;
  }
  .promo__dial { width: 50px; height: 50px; }
  .promo__bolt { width: 20px; height: 20px; }
  .promo__eyebrow { font-size: .88rem; }
  .promo__status { font-size: 1.1rem; }
  .promo__rule { display: none; }
  .promo__offer {
    grid-column: 3;
    grid-row: 1;
    margin-bottom: 0;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    text-align: right;
  }
  .promo__pct { font-size: 2.1rem; }
  .promo__off { font-size: .74rem; }
  .promo__deadline {
    grid-column: 1 / 4;
    grid-row: 2;
    padding-top: 12px;
    font-size: .86rem;
  }
  .promo__cta {
    grid-column: 1 / 4;
    grid-row: 3;
    margin-top: 2px;
    padding: 13px 20px;
  }
  .promo__chip { display: none; }
}

/* ═══════════ WHY / GLOW GRID ═══════════ */
.why { padding: 110px 0; }
.glow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
  list-style: none;
}
.glow-item { min-height: 15rem; }

.glow-card {
  position: relative;
  height: 100%;
  border-radius: 22px;
  padding: 1.5px;
  background: var(--line);
  isolation: isolate;
}
.glow-card__spot {
  position: absolute;
  inset: -70px;
  z-index: 0;
  border-radius: 34px;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%),
    rgba(31, 167, 255, .95), rgba(140, 90, 255, .55) 34%, transparent 68%);
  filter: blur(30px);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.glow-card:hover .glow-card__spot,
.glow-card:focus-within .glow-card__spot { opacity: .9; }

.glow-card__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border-radius: 21px;
  padding: 30px 26px;
}
.glow-card__icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(31, 167, 255, .08);
  color: var(--electric-bright);
}
.glow-card__icon svg { width: 18px; height: 18px; }
.glow-card__body h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: .01em;
  margin-bottom: 10px;
  color: var(--electric-bright);
}
.glow-card__body p { font-size: .96rem; color: var(--muted); }

@media (max-width: 860px) {
  .glow-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .glow-grid { grid-template-columns: 1fr; }
}

/* ═══════════ GALLERY ═══════════ */
.gallery {
  overflow: hidden;
  padding: 10px 0 90px;
  position: relative;
}
.gallery::before, .gallery::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.gallery::before { left: 0; background: linear-gradient(90deg, var(--navy-950), transparent); }
.gallery::after { right: 0; background: linear-gradient(-90deg, var(--navy-950), transparent); }
.gallery__track {
  display: flex;
  width: max-content;
  animation: gallery-slide 45s linear infinite;
}
.gallery__track:hover { animation-play-state: paused; }
.gallery__set { display: flex; }
.gallery__set img {
  height: clamp(190px, 26vw, 280px);
  width: auto;
  border-radius: 16px;
  margin-right: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(4, 8, 29, .65);
  object-fit: cover;
  transition: transform .3s ease, border-color .3s ease;
}
.gallery__set img:hover {
  transform: scale(1.035);
  border-color: rgba(77, 195, 255, .5);
}
@keyframes gallery-slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .gallery__track { animation: none; overflow-x: auto; }
}

/* ═══════════ PROGRAMS ═══════════ */
.programs {
  padding: 110px 0;
  background:
    radial-gradient(900px 480px at 15% 0%, rgba(11,111,216,.14), transparent 60%),
    var(--navy-900);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stages {
  display: flex;
  gap: 10px;
  height: 560px;
}
.stage {
  position: relative;
  flex: 1;
  min-width: 64px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  font: inherit;
  color: inherit;
  transition: flex .55s cubic-bezier(.2,.8,.2,1), border-color .3s ease;
}
.stage::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(4,8,29,.92) 0%, rgba(4,8,29,.55) 42%, rgba(4,8,29,.35) 100%);
  transition: background .5s ease;
}
.stage:hover, .stage:focus-visible { border-color: rgba(77,195,255,.5); }
.stage.is-active {
  flex: 4.2;
  border-color: rgba(77,195,255,.5);
  box-shadow: 0 28px 70px rgba(4,8,29,.85);
}
.stage.is-active::before {
  background: linear-gradient(100deg, rgba(4,8,29,.94) 0%, rgba(4,8,29,.72) 38%, rgba(4,8,29,.28) 75%, rgba(4,8,29,.15) 100%);
}
.stage__num {
  position: absolute;
  top: 22px; left: 22px;
  font-family: var(--font-tech);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--electric-bright);
  opacity: .85;
  z-index: 2;
}
.stage__label {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: .02em;
  white-space: nowrap;
  z-index: 2;
  transition: opacity .35s ease;
}
.stage.is-active .stage__label { opacity: 0; pointer-events: none; }
.stage__panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 14px;
  padding: 34px;
  text-align: left;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s ease .1s, transform .4s ease .1s;
  z-index: 2;
  pointer-events: none;
}
.stage.is-active .stage__panel { opacity: 1; transform: none; pointer-events: auto; }
.stage__badge {
  font-family: var(--font-tech);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--electric-bright);
  background: rgba(31,167,255,.14);
  border: 1px solid rgba(77,195,255,.35);
  padding: 6px 13px;
  border-radius: 100px;
  white-space: nowrap;
}
.stage__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.02;
  white-space: nowrap;
}
.stage__desc {
  color: #dbe4f7;
  font-size: .96rem;
  max-width: 40ch;
  white-space: normal;
}
.stage__desc strong { color: var(--white); }
.stage__cta { align-self: flex-start; margin-top: 4px; white-space: nowrap; }

@media (max-width: 860px) {
  .stages { flex-direction: column; height: auto; gap: 8px; }
  .stage { flex: none; height: 76px; min-width: 0; }
  .stage.is-active { flex: none; height: 420px; }
  .stage__label {
    writing-mode: horizontal-tb;
    transform: none;
    left: 22px; bottom: 22px;
    font-size: 1.1rem;
  }
  .stage__num { top: 18px; left: 18px; }
}

/* ═══════════ DETAILS ═══════════ */
.details { padding: 110px 0; }
.details__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.detail {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  background: rgba(10, 18, 51, .5);
  transition: border-color .25s;
}
.detail:hover { border-color: rgba(77,195,255,.4); }
.detail__icon { font-size: 1.7rem; margin-bottom: 14px; }
.detail h3 {
  font-family: var(--font-tech);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.detail__big {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.7rem;
  color: var(--electric-bright);
  margin-bottom: 10px;
  line-height: 1.1;
}
.detail__big span { font-size: .9rem; color: var(--muted); font-weight: 700; }
.detail p { font-size: .95rem; color: var(--muted); }
.detail__link {
  display: inline-block;
  margin-top: 12px;
  color: var(--electric);
  font-weight: 600;
  text-decoration: none;
  font-size: .95rem;
}
.detail__link:hover { color: var(--electric-bright); text-decoration: underline; }

/* ═══════════ TEAM ═══════════ */
.team {
  position: relative;
  padding: 120px 0;
  background: var(--navy-900);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.team__glow {
  position: absolute;
  left: -180px; bottom: -180px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(31,167,255,.18), transparent 65%);
  filter: blur(30px);
}
.team__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) { .team__inner { grid-template-columns: 1fr; } }
.team__text p { color: var(--muted); margin-bottom: 16px; }
.team__text strong { color: var(--white); }
.team__text em { color: var(--electric-bright); font-style: italic; }
.team__more {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .92rem;
}
.team__more a { color: var(--electric-bright); text-decoration: none; }
.team__more a:hover { text-decoration: underline; }
.team__points { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.team__points li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}
.team__points li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 14px; height: 14px;
  background: linear-gradient(120deg, var(--electric-deep), var(--electric));
  clip-path: polygon(60% 0, 15% 58%, 45% 58%, 40% 100%, 85% 40%, 55% 40%);
}
.team__points strong { color: var(--white); }

.team__card {
  position: sticky;
  top: 110px;
  text-align: center;
  border: 1px solid rgba(77,195,255,.3);
  border-radius: 26px;
  padding: 14px;
  background:
    radial-gradient(400px 260px at 50% 0%, rgba(31,167,255,.16), transparent 70%),
    linear-gradient(170deg, var(--navy-800), var(--navy-950));
  box-shadow: 0 30px 80px rgba(4,8,29,.8);
}
.team__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}
.team__caption {
  font-family: var(--font-tech);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
  margin-bottom: 4px;
}
.team__caption strong { color: var(--electric-bright); font-weight: 700; }
.team__bolt {
  width: 54px; height: 54px;
  fill: var(--electric);
  filter: drop-shadow(0 0 18px rgba(31,167,255,.8));
  margin-bottom: 10px;
  animation: pulse 4s ease-in-out infinite;
}
.team__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 4.4rem;
  line-height: 1;
  letter-spacing: -.02em;
}
.team__label {
  font-family: var(--font-tech);
  letter-spacing: .3em;
  text-transform: uppercase;
  font-size: .85rem;
  color: var(--electric-bright);
  margin-top: 6px;
}
.team__motto {
  font-family: var(--font-tech);
  font-size: .68rem;
  letter-spacing: .4em;
  color: var(--muted);
  margin-top: 18px;
}
.team__logos {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--font-tech);
  font-size: .78rem;
  color: var(--muted);
}

/* ═══════════ FAQ ═══════════ */
.faq { padding: 110px 0; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 18, 51, .45);
  margin-top: 14px;
  overflow: hidden;
  transition: border-color .25s;
}
.faq__item[open] { border-color: rgba(77,195,255,.45); }
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 54px 20px 24px;
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-tech);
  font-size: 1.4rem;
  color: var(--electric);
  transition: transform .25s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { padding: 0 24px 22px; color: var(--muted); font-size: 1rem; }
.faq__item a { color: var(--electric-bright); }
.faq__more { margin-top: 34px; color: var(--muted); }
.faq__more a { color: var(--electric-bright); font-weight: 600; }

/* ═══════════ CTA ═══════════ */
.cta {
  position: relative;
  padding: 130px 0;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(700px 420px at 50% 110%, rgba(11,111,216,.3), transparent 65%),
    var(--navy-900);
  border-top: 1px solid var(--line);
}
.cta__glow {
  position: absolute;
  left: 50%; top: -220px;
  transform: translateX(-50%);
  width: 700px; height: 440px;
  background: radial-gradient(ellipse, rgba(31,167,255,.16), transparent 65%);
  filter: blur(30px);
}
.cta__inner { position: relative; }
.cta__bolt {
  width: 46px; height: 46px;
  fill: var(--electric);
  filter: drop-shadow(0 0 16px rgba(31,167,255,.8));
  margin-bottom: 22px;
  animation: pulse 4s ease-in-out infinite;
}
.cta__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 18px;
}
.cta__title span { color: var(--electric-bright); text-shadow: 0 0 36px rgba(31,167,255,.5); }
.cta__sub { color: var(--muted); margin-bottom: 36px; font-size: 1.15rem; }
.cta__alt {
  margin-top: 26px;
  font-family: var(--font-tech);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ═══════════ DETAIL PAGES (etapas) ═══════════ */
.page-hero {
  position: relative;
  padding: 150px 0 70px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(11,111,216,.22), transparent 60%),
    var(--navy-950);
  border-bottom: 1px solid var(--line);
}
.page-hero__glow {
  position: absolute;
  right: -160px; top: -160px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(31,167,255,.25), transparent 65%);
  filter: blur(30px);
}
.page-hero__inner { position: relative; }
.page-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-tech);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 28px;
  transition: color .2s ease;
}
.page-hero__back:hover { color: var(--electric-bright); }
.page-hero__badge {
  display: inline-block;
  margin-bottom: 20px;
}
.page-hero__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.02;
  margin-bottom: 20px;
}
.page-hero__title em { color: var(--electric-bright); font-style: italic; text-shadow: 0 0 36px rgba(31,167,255,.5); }
.page-hero__lead { color: var(--muted); max-width: 620px; font-size: 1.1rem; }

.page-gallery { padding: 50px 0 20px; background: var(--navy-950); }
.page-gallery__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}
.page-gallery__grid img {
  width: 100%;
  height: clamp(220px, 32vw, 380px);
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(4,8,29,.7);
}
@media (max-width: 700px) {
  .page-gallery__grid { grid-template-columns: 1fr; }
}

.page-content { padding: 80px 0 100px; background: var(--navy-950); }
.level-block { padding: 44px 0; border-top: 1px solid var(--line); }
.level-block:first-child { border-top: 0; padding-top: 0; }
.level-block__tag {
  display: inline-block;
  font-family: var(--font-tech);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--electric-bright);
  background: rgba(31,167,255,.12);
  border: 1px solid rgba(77,195,255,.3);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.level-block__age {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  margin-bottom: 18px;
}
.level-block p { color: var(--muted); margin-bottom: 18px; max-width: 68ch; }
.level-block p strong, .level-block p em { color: var(--white); font-style: normal; }
.level-block__subhead {
  font-family: var(--font-tech);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  margin: 8px 0 16px;
}
.level-block__list { list-style: none; display: grid; gap: 12px; margin-bottom: 18px; }
.level-block__list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  max-width: 68ch;
}
.level-block__list li::before {
  content: "⚡";
  position: absolute; left: 0; top: 0;
  color: var(--electric);
  font-size: .85rem;
}

.page-cta {
  padding: 90px 0;
  text-align: center;
  background:
    radial-gradient(700px 400px at 50% 110%, rgba(11,111,216,.28), transparent 65%),
    var(--navy-900);
  border-top: 1px solid var(--line);
}
.page-cta h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  margin-bottom: 30px;
}

/* ═══════════ FOOTER ═══════════ */
.footer { padding: 60px 0 40px; border-top: 1px solid var(--line); background: var(--navy-950); }
.footer__inner { display: grid; gap: 40px; }
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}
.footer__cols h4 {
  font-family: var(--font-tech);
  font-size: .74rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 12px;
}
.footer__cols p, .footer__cols a { color: var(--muted); font-size: .95rem; line-height: 1.8; }
.footer__cols a { text-decoration: none; }
.footer__cols a:hover { color: var(--electric-bright); }
.footer__legal {
  font-size: .82rem;
  color: rgba(147,163,196,.55);
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

/* ── motion safety ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .sr { opacity: 1; transform: none; }
}
