/* Futuraxis — web pública. Identidad "Despegue": espacio profundo, estela naranja, horizonte curvo. */

@font-face {
  font-family: "Tektur";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/tektur-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #07080c;
  --ink-2: #0e1016;
  --surface: #12141b;
  --surface-2: #181b24;
  --graphite: #2a2c33;
  --graphite-2: #3a3d46;
  --mist: #8c8f99;
  --mist-2: #b9bcc5;
  --white: #ffffff;
  --orange: #ff7a45;
  --orange-hover: #ff8f63;
  --orange-soft: #ffb08f;
  --orange-ink: #1a0a03;
  --warn: #f5c451;

  --f-brand: "Tektur", "Segoe UI", system-ui, sans-serif;
  --f-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 5vw, 48px);
  --nav-h: 72px;
  --radius: 18px;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --card: linear-gradient(180deg, rgba(22, 24, 33, 0.82), rgba(12, 13, 19, 0.82));
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main, .foot { overflow-x: clip; } /* las órbitas y el horizonte del contacto no ensanchan la página en móvil */
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--orange); color: var(--orange-ink); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--orange); color: var(--orange-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Fondo cósmico ---------- */
#cosmos {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100lvh;
  z-index: -1;
  opacity: 0;
  transition: opacity 1.4s ease;
  pointer-events: none;
}
.cosmos-on #cosmos { opacity: 1; }
body::before { /* estrellas estáticas mientras carga el canvas (y sin JS) */
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px at 28% 62%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 44% 30%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1px 1px at 63% 12%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1px 1px at 72% 48%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 86% 26%, rgba(255,255,255,.75), transparent 60%),
    radial-gradient(1px 1px at 92% 70%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1px 1px at 6% 82%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(60% 50% at 20% 25%, rgba(70, 90, 170, 0.09), transparent 70%),
    radial-gradient(50% 45% at 85% 65%, rgba(255, 122, 69, 0.05), transparent 70%),
    linear-gradient(180deg, #05060a, #080a11 65%, #0b0d14);
}

/* ---------- Tipografía común ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-brand);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
h2 {
  font-family: var(--f-brand);
  font-size: clamp(32px, 4.8vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.005em;
  font-weight: 500;
  text-wrap: balance;
}
h3 { font-family: var(--f-brand); font-weight: 500; letter-spacing: 0.01em; }
.hot {
  background: linear-gradient(100deg, var(--orange) 0%, var(--orange-soft) 55%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sec-head { max-width: 780px; margin-bottom: clamp(48px, 7vw, 80px); }
.sec-lead { margin-top: 22px; color: var(--mist-2); font-size: clamp(17px, 1.5vw, 19px); max-width: 640px; }

/* ---------- Botones ---------- */
.btn {
  --mx: 0px; --my: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--f-brand);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transform: translate(var(--mx), var(--my));
  transition: transform 0.35s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.35s;
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn-primary { background: var(--orange); color: var(--orange-ink); font-weight: 600; box-shadow: 0 0 0 0 rgba(255,122,69,0), 0 10px 30px -10px rgba(255,122,69,.6); }
.btn-primary:hover { background: var(--orange-hover); box-shadow: 0 0 0 6px rgba(255,122,69,.14), 0 18px 50px -12px rgba(255,122,69,.8); }
.btn-ghost { color: var(--white); border-color: var(--line-2); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.4s, border-color 0.4s, transform 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7, 8, 12, 0.72); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.nav.hide { transform: translateY(-100%); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.nav-logo img { width: 158px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { position: relative; font-size: 14px; color: var(--mist-2); text-decoration: none; transition: color 0.2s; }
.nav-links a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after, .nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { padding: 9px 18px; border: 1px solid rgba(255,122,69,.5); border-radius: 999px; color: var(--white) !important; font-family: var(--f-brand); font-size: 12px !important; letter-spacing: 0.14em; text-transform: uppercase; transition: background 0.25s, border-color 0.25s; }
.nav-cta:hover { background: var(--orange); border-color: var(--orange); color: var(--orange-ink) !important; }
.nav-toggle { display: none; }
.nav-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.nav-progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, rgba(255,122,69,0), var(--orange) 70%, #ffe1d2); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px rgba(255,122,69,.7); }

@media (max-width: 960px) {
  .nav-toggle {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; margin-right: -8px;
    background: none; border: 0; cursor: pointer; z-index: 2;
  }
  .nav-toggle i { display: block; width: 22px; height: 1.5px; background: var(--white); transition: transform 0.35s var(--ease); }
  .nav-open .nav-toggle i:first-of-type { transform: translateY(3.75px) rotate(45deg); }
  .nav-open .nav-toggle i:last-of-type { transform: translateY(-3.75px) rotate(-45deg); }
  .nav-links {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px;
    padding: var(--nav-h) var(--gutter) 40px;
    background: rgba(7, 8, 12, 0.97);
    opacity: 0; visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
  }
  .nav-links a { font-family: var(--f-brand); font-size: clamp(26px, 8vw, 40px); color: var(--white); padding: 6px 0; opacity: 0; transform: translateY(14px); transition: opacity 0.4s, transform 0.5s var(--ease); }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-links .nav-cta { margin-top: 24px; font-size: 13px !important; padding: 14px 22px; }
  .nav-open .nav-links { opacity: 1; visibility: visible; }
  .nav-open .nav-links a { opacity: 1; transform: none; }
  .nav-open .nav-links a:nth-child(2) { transition-delay: 0.04s; }
  .nav-open .nav-links a:nth-child(3) { transition-delay: 0.08s; }
  .nav-open .nav-links a:nth-child(4) { transition-delay: 0.12s; }
  .nav-open .nav-links a:nth-child(5) { transition-delay: 0.16s; }
  .nav-open .nav-links a:nth-child(6) { transition-delay: 0.2s; }
  .nav-open { overflow: hidden; }
  .nav-open .nav { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--nav-h) + 16px) var(--gutter) 168px;
  text-align: center;
  isolation: isolate;
  overflow: clip;
}
.hero-fallback { /* horizonte estático (sin JS, con "reducir movimiento" y mientras arranca el canvas) */
  position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: calc(100% - 130px);
  width: max(2400px, 260vw); aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  background: #07080c;
  box-shadow: 0 0 0 1.5px rgba(255, 196, 160, 0.9), 0 0 24px 3px rgba(255, 122, 69, 0.5), 0 0 140px 40px rgba(255, 122, 69, 0.16);
  transition: opacity 1.4s ease;
}
.cosmos-planet .hero-fallback { opacity: 0; }
.hero-in { position: relative; max-width: 1000px; margin: 0 auto; will-change: transform, opacity; }

.hero-mark { width: 60px; height: 60px; margin: 0 auto 22px; overflow: visible; }
.hm-horizon { fill: none; stroke: #fff; stroke-width: 1.2; stroke-linecap: round; }
.hm-trail { fill: var(--orange); filter: drop-shadow(0 0 6px rgba(255,122,69,.6)); }
.hm-star { fill: #fff; transform-box: fill-box; transform-origin: center; }
.js .hm-horizon { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s var(--ease) 0.1s forwards; }
.js .hm-trail { clip-path: inset(100% 100% 0 0); animation: launch 1.1s var(--ease) 0.5s forwards; }
.js .hm-star { opacity: 0; animation: flare 0.9s var(--ease) 1.25s forwards, twinkle 4s ease-in-out 2.4s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes launch { to { clip-path: inset(0 0 0 0); } }
@keyframes flare { 0% { opacity: 0; transform: scale(0) rotate(-90deg); } 60% { opacity: 1; transform: scale(1.6) rotate(10deg); } 100% { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(0.75) rotate(45deg); } }

.hero-eyebrow { gap: 10px; margin-bottom: 22px; }
.hero-eyebrow::before { display: none; }
.hero-eyebrow b { color: var(--mist); font-weight: 400; }
.hero-title {
  font-family: var(--f-brand);
  font-weight: 500;
  font-size: clamp(36px, 7.2vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.012em;
}
.hero-title .ln { display: block; }
.hero-title .w { display: inline-block; }
.js .hero-title .w { animation: rise 1.1s var(--ease) both; animation-delay: calc(0.25s + var(--i) * 0.085s); }
.hero-title .hot { position: relative; padding-right: 0.06em; }
@keyframes rise { from { opacity: 0; transform: translateY(0.45em) scale(0.98); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
.hero-lead { margin: 26px auto 0; max-width: 640px; color: var(--mist-2); font-size: clamp(17px, 1.6vw, 20px); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.js .hero-eyebrow, .js .hero-lead, .js .hero-ctas { animation: fadeUp 1s var(--ease) both; }
.js .hero-eyebrow { animation-delay: 0.15s; }
.js .hero-lead { animation-delay: 0.85s; }
.js .hero-ctas { animation-delay: 1s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-stats {
  position: absolute; left: 50%; bottom: 40px; translate: -50% 0;
  display: flex; gap: clamp(20px, 6vw, 72px);
  width: max-content; max-width: calc(100% - var(--gutter) * 2);
}
.hero-stats li { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hero-stats b { font-family: var(--f-brand); font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.hero-stats span { font-size: 12px; letter-spacing: 0.08em; color: var(--mist); text-transform: uppercase; line-height: 1.3; }
.js .hero-stats { animation: fadeUp 1s var(--ease) 1.2s both; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 64px; display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mist); text-decoration: none; writing-mode: vertical-rl; }
.scroll-cue span { position: relative; width: 1px; height: 54px; background: var(--line-2); overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--orange); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

@media (max-width: 700px) {
  .hero { padding-bottom: 180px; }
  .hero-mark { width: 52px; height: 52px; margin-bottom: 22px; }
  .hero-eyebrow { font-size: 10.5px; letter-spacing: 0.22em; flex-wrap: wrap; justify-content: center; }
  .hero-ctas .btn { flex: 1 1 100%; justify-content: center; }
  .btn-film { flex: 1 1 100%; justify-content: center; }
  .hero-stats { bottom: 40px; gap: 18px; }
  .hero-stats span { font-size: 10px; letter-spacing: 0.04em; text-align: center; }
  .scroll-cue { display: none; }
}

/* Botón de la película en el hero */
.btn-film {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 4px 14px 4px 4px;
  background: none; border: 0; border-radius: 999px; cursor: pointer;
  color: var(--mist-2); font: 600 14px/1 var(--f-body); letter-spacing: 0.02em;
  transition: color 0.25s;
}
.btn-film:hover { color: var(--white); }
.bf-ico { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,122,69,.6); }
.bf-ico::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--orange); animation: ping 2.4s var(--ease) infinite; }
.bf-ico svg { width: 16px; height: 16px; fill: var(--orange); margin-left: 2px; transition: transform 0.3s var(--ease); }
.btn-film:hover .bf-ico svg { transform: scale(1.2); }
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 80%, 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Secciones ---------- */
.section { position: relative; padding-block: clamp(96px, 13vw, 170px); }

.card, .area, .co, .value {
  position: relative;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  isolation: isolate;
}
/* Foco de luz que sigue al cursor */
.spot { --mx: 50%; --my: 0%; }
.spot::before, .spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s; }
.spot::before { z-index: -1; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 122, 69, 0.12), transparent 60%); }
.spot::after {
  padding: 1px;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(255, 140, 90, 0.85), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.spot:hover::before, .spot:hover::after { opacity: 1; }

/* Revelado al hacer scroll */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 0.09s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Qué hacemos */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { padding: clamp(28px, 4vw, 48px); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.badge { font-family: var(--f-brand); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--orange); border: 1px solid rgba(255,122,69,.35); border-radius: 999px; padding: 6px 12px; }
.card-ico { width: 56px; height: 56px; fill: none; stroke: var(--mist-2); stroke-width: 1.3; transition: transform 0.8s var(--ease); }
.card-ico .dash { stroke-dasharray: 3 4; animation: spin 30s linear infinite; transform-origin: center; transform-box: fill-box; }
.card-ico .fill { fill: var(--orange); stroke: none; }
.card-ico .fill-w { fill: #fff; stroke: none; }
.card:hover .card-ico { transform: translateY(-4px) rotate(-4deg); }
.card h3 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 16px; }
.card p { color: var(--mist-2); }
.ticks { margin-top: 28px; display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 24px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 1.5px; background: var(--orange); box-shadow: 0 0 8px rgba(255,122,69,.8); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Áreas */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.area { padding: 32px 30px 34px; transition: transform 0.5s var(--ease), border-color 0.3s, opacity 1s var(--ease); }
.area:hover { transform: translateY(-6px); border-color: var(--line-2); }
.area svg { width: 40px; height: 40px; fill: none; stroke: var(--orange); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; filter: drop-shadow(0 0 10px rgba(255,122,69,.35)); transition: transform 0.6s var(--ease); }
.area:hover svg { transform: scale(1.08) rotate(-6deg); }
.area h3 { font-size: 19px; margin-bottom: 10px; }
.area p { color: var(--mist-2); font-size: 15.5px; }

.marquee { margin-top: clamp(80px, 10vw, 130px); overflow: hidden; border-block: 1px solid var(--line); padding-block: 22px; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-family: var(--f-brand); font-size: clamp(20px, 2.6vw, 34px); letter-spacing: 0.06em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.6); white-space: nowrap; }
.marquee span:nth-of-type(3n+2) { color: var(--white); -webkit-text-stroke: 0; }
.marquee i { width: 10px; height: 10px; flex: none; background: var(--orange); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Grupo */
.group { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.orbit { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; margin: 0 auto; perspective: 1400px; }
.orbit::before { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,69,.22), transparent 65%); filter: blur(10px); }
.orbit-sys { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(66deg) rotateZ(-18deg); }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.13); transform-style: preserve-3d; animation: spin var(--t, 40s) linear infinite; }
.ring.r1 { inset: 26%; --t: 26s; }
.ring.r2 { inset: 13%; --t: 40s; border-style: dashed; border-color: rgba(255,255,255,.1); }
.ring.r3 { inset: 0; --t: 60s; border-color: rgba(255,122,69,.22); }
.sat { position: absolute; inset: 0; transform: rotate(var(--a)); transform-style: preserve-3d; }
.sat span {
  position: absolute; left: 100%; top: 50%;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-brand); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
  transform-style: preserve-3d;
  transform-origin: 0 50%;
  animation: counter var(--t, 40s) linear infinite;
}
.sat span::before { content: ""; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.08), 0 0 18px rgba(255,255,255,.8); flex: none; }
.ring.r3 .sat span::before { background: var(--orange); box-shadow: 0 0 0 4px rgba(255,122,69,.15), 0 0 18px rgba(255,122,69,.9); }
.sat.ghost span { color: var(--mist); }
.ring .sat.ghost span::before { background: transparent; border: 1px dashed var(--orange); box-shadow: none; }
/* La etiqueta compensa el giro del anillo, el ángulo del brazo y la inclinación del plano para mirar siempre al frente */
@keyframes counter {
  from { transform: translateY(-50%) rotate(calc(-1 * var(--a))) rotateZ(0deg) rotateZ(18deg) rotateX(-66deg); }
  to { transform: translateY(-50%) rotate(calc(-1 * var(--a))) rotateZ(-360deg) rotateZ(18deg) rotateX(-66deg); }
}
.orbit-core { position: absolute; left: 50%; top: 50%; width: 18%; aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(18,20,27,.95) 55%, rgba(18,20,27,0) 72%); }
.orbit-core svg { width: 62%; overflow: visible; filter: drop-shadow(0 0 14px rgba(255,122,69,.55)); }
.orbit:not(.is-in) .ring, .orbit:not(.is-in) .sat span { animation-play-state: paused; }

.companies { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.co { display: flex; flex-direction: column; padding: 28px 26px; text-decoration: none; transform-style: preserve-3d; transition: transform 0.5s var(--ease), border-color 0.3s, opacity 1s var(--ease); will-change: transform; }
.co:hover { border-color: var(--line-2); }
.co-tags { font-family: var(--f-brand); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.co h3 { font-size: 21px; margin-bottom: 12px; }
.co p { color: var(--mist-2); font-size: 15px; flex: 1; }
.co-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; color: var(--white); font-weight: 600; }
.co-link svg { width: 14px; height: 14px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease); }
.co:hover .co-link svg { transform: translate(3px, -3px); }
.co-next { background: transparent; border-style: dashed; border-color: rgba(255,122,69,.4); }
.co-next:hover .co-link svg { transform: translateX(4px); }

/* Película */
.film-head { margin-inline: auto; text-align: center; }
.film-head .sec-lead { margin-inline: auto; }
.film {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(60% 70% at 50% 60%, rgba(255,122,69,.16), transparent 70%), #04050a;
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 140px -50px rgba(255,122,69,.45), 0 0 0 1px rgba(255,255,255,.03);
  isolation: isolate;
}
.film::after { /* borde que brilla al pasar el ratón */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,122,69,0); transition: box-shadow 0.4s;
}
.film:hover::after { box-shadow: inset 0 0 0 1px rgba(255,122,69,.45); }
.film-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.film-poster { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity 0.6s; pointer-events: none; }
.film-poster svg { width: 18%; filter: drop-shadow(0 0 30px rgba(255,122,69,.5)); }
.film.is-ready .film-poster { opacity: 0; }
.film:not(.is-started)::before { /* oscurece la esquina del título en la portada */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(55% 60% at 0% 100%, rgba(4,5,10,.85), transparent 70%);
}
.film-big {
  position: absolute; left: 5%; bottom: 9%; z-index: 2;
  display: flex; align-items: center; gap: 22px; text-align: left;
  background: none; border: 0; color: var(--white); cursor: pointer;
  transition: opacity 0.35s, scale 0.35s var(--ease);
}
.film-big svg {
  box-sizing: content-box; width: 34px; height: 34px; padding: 30px 28px 30px 32px;
  fill: var(--orange-ink); background: var(--orange); border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(255,122,69,.16), 0 20px 60px -10px rgba(255,122,69,.8);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.film-big::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 94px; height: 94px; translate: 0 -50%;
  border-radius: 50%; border: 1px solid var(--orange); animation: ping 2.4s var(--ease) infinite; pointer-events: none;
}
.film-big:hover svg { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(255,122,69,.2), 0 24px 70px -10px rgba(255,122,69,.9); }
.film-big-text { display: grid; gap: 4px; text-shadow: 0 2px 14px rgba(0,0,0,.9); }
.film-big-text b { font-family: var(--f-brand); font-weight: 500; font-size: clamp(22px, 2.6vw, 34px); letter-spacing: 0.08em; text-transform: uppercase; }
.film-big-text span { font-size: 14px; color: var(--mist-2); }
.film.is-playing .film-big { opacity: 0; scale: 0.92; pointer-events: none; }
.film-chapter {
  position: absolute; left: 22px; top: 18px; z-index: 2; margin: 0;
  font-family: var(--f-brand); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--orange-soft);
  opacity: 0; pointer-events: none;
}
.film-chapter.show { animation: chapter 3.2s ease both; }
@keyframes chapter { 0% { opacity: 0; transform: translateY(-6px); } 12%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.film-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; align-items: center; gap: 14px;
  padding: 40px 18px 14px;
  background: linear-gradient(180deg, transparent, rgba(3,4,8,.85));
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.film.is-started:hover .film-bar, .film.is-started:focus-within .film-bar, .film.is-started:not(.is-playing) .film-bar { opacity: 1; transform: none; }
@media (hover: none) { .film.is-started .film-bar { opacity: 1; transform: none; } }
.film-btn { display: grid; place-items: center; width: 40px; height: 40px; flex: none; background: none; border: 0; border-radius: 50%; color: var(--white); cursor: pointer; transition: background 0.2s; }
.film-btn:hover { background: rgba(255,255,255,.1); }
.film-btn svg { width: 20px; height: 20px; fill: currentColor; }
#film-fs svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.film-btn .i-pause, .film.is-playing .film-btn .i-play { display: none; }
#film-sound .w { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
#film-sound .i-off, .film.is-muted #film-sound .i-on { display: none; }
.film.is-muted #film-sound .i-off { display: block; }
.film.is-playing .film-btn .i-pause { display: block; }
.film-track { position: relative; flex: 1; height: 24px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.film-rail { position: relative; width: 100%; height: 4px; border-radius: 4px; background: rgba(255,255,255,.18); overflow: hidden; transition: height 0.2s; }
.film-track:hover .film-rail, .film-track:focus-visible .film-rail { height: 6px; }
.film-fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--orange), #ffd0bb); transform-origin: left; transform: scaleX(0); }
.film-marks i { position: absolute; top: 50%; width: 2px; height: 8px; translate: -1px -50%; background: rgba(7,8,12,.9); pointer-events: none; }
.film-time { flex: none; font: 600 13px var(--f-body); font-variant-numeric: tabular-nums; color: var(--mist-2); }
.film.is-fs { border-radius: 0; border: 0; aspect-ratio: auto; width: 100vw; height: 100vh; background: #000; }
.film-transcript { margin-top: 22px; color: var(--mist-2); font-size: 15px; }
.film-transcript summary { cursor: pointer; color: var(--mist); font-size: 14px; width: max-content; max-width: 100%; }
.film-transcript summary:hover { color: var(--white); }
.film-transcript ol { list-style: decimal; padding-left: 22px; margin-top: 14px; display: grid; gap: 6px; max-width: 760px; }
@media (max-width: 640px) {
  .film { border-radius: 14px; }
  .film-big svg { width: 22px; height: 22px; padding: 20px 18px 20px 22px; }
  .film-big::before { width: 62px; height: 62px; }
  .film-big { gap: 12px; left: 4%; bottom: 7%; }
  .film-big-text b { font-size: 16px; }
  .film-big-text span { font-size: 11px; }
  .film-bar { padding: 24px 8px 6px; gap: 6px; }
  .film-time { font-size: 11px; }
  .film-chapter { left: 12px; top: 10px; font-size: 9px; }
}

/* Programa de incubación */
.launch { position: relative; }
.launch-path { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 0; }
.lp-base { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.lp-fill { fill: none; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255,122,69,.7)); }
.lp-head { fill: #fff; filter: drop-shadow(0 0 8px #ff7a45) drop-shadow(0 0 18px rgba(255,122,69,.8)); }
.phases { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: start; counter-reset: ph; }
.phase { position: relative; padding-top: 42px; }
.phase:nth-child(1) { margin-top: 210px; }
.phase:nth-child(2) { margin-top: 140px; }
.phase:nth-child(3) { margin-top: 70px; }
.dot { position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 1.5px solid var(--graphite-2); transition: border-color 0.5s, box-shadow 0.5s, background 0.5s; }
.dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--graphite-2); transition: background 0.5s; }
.phase.on .dot { border-color: var(--orange); box-shadow: 0 0 0 6px rgba(255,122,69,.12), 0 0 24px rgba(255,122,69,.7); }
.phase.on .dot::after { background: #fff; }
.ph-n { display: block; font-family: var(--f-brand); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mist); margin-bottom: 10px; transition: color 0.5s; }
.phase.on .ph-n { color: var(--orange); }
.phase h3 { font-size: 24px; margin-bottom: 10px; }
.phase p { color: var(--mist-2); font-size: 15.5px; }
.js .phase h3, .js .phase p { opacity: 0.35; transition: opacity 0.7s; }
.js .phase.on h3, .js .phase.on p { opacity: 1; }
.perks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(56px, 7vw, 90px); }
.perks li { font-size: 14px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--mist-2); background: rgba(255,255,255,.02); transition: border-color 0.3s, color 0.3s; }
.perks li:hover { border-color: var(--orange); color: var(--white); }

/* Visión */
.manifesto {
  font-family: var(--f-brand);
  font-size: clamp(28px, 4.6vw, 60px);
  line-height: 1.16;
  letter-spacing: -0.005em;
  max-width: 1080px;
  text-wrap: balance;
}
.manifesto .mw { color: rgba(255,255,255,.36); transition: color 0.5s ease, text-shadow 0.5s; }
.manifesto .mw.lit { color: var(--white); }
.manifesto .mw.lit.acc { color: var(--orange); text-shadow: 0 0 30px rgba(255,122,69,.4); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(64px, 8vw, 110px); }
.value { padding: 28px 24px; background: transparent; border: 0; border-top: 1px solid var(--line-2); border-radius: 0; }
.value span { font-family: var(--f-brand); font-size: 12px; color: var(--orange); letter-spacing: 0.2em; }
.value h3 { font-size: 20px; margin: 14px 0 10px; }
.value p { color: var(--mist-2); font-size: 15px; }

/* Contacto */
.contact { overflow: hidden; padding-bottom: clamp(120px, 16vw, 220px); }
.contact-horizon { position: absolute; left: 50%; bottom: -1px; width: max(1800px, 160vw); aspect-ratio: 1; transform: translate(-50%, 86%); border-radius: 50%; background: radial-gradient(circle at 50% 50%, #07080c 69%, transparent 70%); pointer-events: none; z-index: -1; }
.contact-horizon::before { content: ""; position: absolute; inset: -0.6%; border-radius: 50%; background: radial-gradient(circle, transparent 69.4%, rgba(255,190,150,.85) 69.9%, rgba(255,122,69,.3) 70.4%, transparent 73%); }
.contact-horizon::after { content: ""; position: absolute; left: 50%; top: 0; width: 60%; height: 22%; transform: translate(-50%, -55%); background: radial-gradient(50% 50% at 50% 60%, rgba(255,122,69,.28), transparent 70%); }
.contact-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-data { margin-top: 40px; display: grid; gap: 18px; }
.contact-data li { display: grid; gap: 2px; }
.contact-data span { font-family: var(--f-brand); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mist); }
.contact-data a, .contact-data b { font-size: 20px; font-weight: 500; text-decoration: none; justify-self: start; }
.contact-data a:hover { color: var(--orange); }

.form { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: grid; gap: 18px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 13px; color: var(--mist-2); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 16px; color: var(--white);
  background: rgba(7, 8, 12, 0.6);
  border: 1px solid var(--graphite);
  border-radius: 10px;
  padding: 13px 14px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mist) 50%), linear-gradient(-45deg, transparent 50%, var(--mist) 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: var(--surface); }
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--graphite-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,122,69,.15); background: rgba(7,8,12,.85); }
.field.bad input, .field.bad textarea { border-color: #ff6b6b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--mist-2); cursor: pointer; }
.check input { appearance: none; flex: none; width: 20px; height: 20px; margin: 2px 0 0; border-radius: 6px; border: 1px solid var(--graphite-2); background: rgba(7,8,12,.6); display: grid; place-content: center; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.check input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--orange-ink); border-bottom: 2px solid var(--orange-ink); transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform 0.2s var(--ease); }
.check input:checked { background: var(--orange); border-color: var(--orange); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check.bad input { border-color: #ff6b6b; }
.check a, .f-legal a { color: var(--white); text-decoration-color: rgba(255,122,69,.6); text-underline-offset: 3px; }
.f-legal { font-size: 12px; line-height: 1.6; color: var(--mist); }
.f-legal b { color: var(--mist-2); font-weight: 600; }
.f-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 4px; }
.f-status { font-size: 14.5px; color: var(--mist-2); flex: 1 1 220px; }
.f-status.ok { color: #4ad295; }
.f-status.err { color: #ff8b8b; }
.f-status a { color: var(--white); }
.form.sending button { opacity: 0.6; pointer-events: none; }

/* Pie */
.foot { position: relative; background: #050609; border-top: 1px solid var(--line); padding-top: 72px; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.foot-brand img { width: 120px; height: auto; margin-bottom: 20px; }
.foot-brand p { color: var(--mist); font-size: 14.5px; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; align-content: start; }
.foot-nav a, .foot-bar a { color: var(--mist-2); text-decoration: none; font-size: 14.5px; transition: color 0.2s; }
.foot-nav a:hover, .foot-bar a:hover { color: var(--orange); }
.foot-legal { font-size: 13.5px; color: var(--mist); display: grid; gap: 6px; align-self: start; justify-self: start; }
.foot-legal b { color: var(--mist-2); font-weight: 600; }
.foot-bar { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px 32px; font-size: 13.5px; color: var(--mist); }
.foot-bar::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--line); }
.foot-bar nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-bar a { font-size: 13.5px; }

/* ---------- Adaptación ---------- */
@media (max-width: 1080px) {
  .group { grid-template-columns: 1fr; }
  .orbit { max-width: 440px; }
  .values { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .duo, .contact-in { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr 1fr; }
  .phases { grid-template-columns: 1fr; gap: 44px; padding-left: 44px; }
  .phase, .phase:nth-child(n) { margin-top: 0; padding-top: 0; }
  .dot { left: -44px; top: 4px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-legal { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .areas, .companies, .f-row, .values { grid-template-columns: 1fr; }
  .orbit { max-width: 270px; }
  .sat span { font-size: 9px; letter-spacing: 0.1em; }
  .card-top { margin-bottom: 28px; }
  .foot-in { grid-template-columns: 1fr; }
}

/* ---------- Páginas legales ---------- */
.legal-page .nav { background: rgba(7, 8, 12, 0.85); border-bottom-color: var(--line); }
.legal { padding: calc(var(--nav-h) + 64px) 0 110px; }
.legal .wrap { max-width: calc(820px + var(--gutter) * 2); }
.legal h1 { font-family: var(--f-brand); font-weight: 500; font-size: clamp(32px, 5vw, 52px); line-height: 1.1; margin-bottom: 14px; }
.legal .updated { color: var(--mist); font-size: 14px; margin-bottom: 48px; }
.legal h2 { font-size: clamp(20px, 2.4vw, 24px); margin: 44px 0 14px; }
.legal p, .legal li { color: var(--mist-2); }
.legal p + p { margin-top: 14px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 12px 0; display: grid; gap: 6px; }
.legal a { color: var(--white); text-decoration-color: rgba(255,122,69,.6); text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--mist-2); vertical-align: top; }
.legal th { color: var(--white); font-weight: 600; width: 34%; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--mist-2); text-decoration: none; font-size: 14px; margin-bottom: 36px; }
.back:hover { color: var(--orange); }
.notfound { min-height: 100svh; display: grid; place-content: center; text-align: center; padding: var(--gutter); }
.notfound h1 { font-family: var(--f-brand); font-weight: 500; font-size: clamp(72px, 16vw, 160px); line-height: 1; }
.notfound p { color: var(--mist-2); margin: 16px 0 32px; }

/* ---------- Contenido provisional (solo con <html data-draft>) ---------- */
.draft-on [data-prov] { outline: 1px dashed var(--warn); outline-offset: 3px; background-color: rgba(245, 196, 81, 0.1); border-radius: 4px; }
.draft-pill { position: fixed; left: 16px; bottom: 16px; z-index: 60; }
.draft-pill button { font: 600 12px/1 var(--f-body); color: #1a1405; background: var(--warn); border: 0; border-radius: 999px; padding: 10px 14px; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.draft-pill button[aria-pressed="false"] { background: var(--surface-2); color: var(--warn); }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .marquee-track { transform: none !important; }
}
