/* Crown Nifix — Crownrise
   Mezcla de dos referencias: la coreografía de scroll por capas de SELENE
   (polvo → ascenso → carrete → trayectoria) y la composición de héroe de
   FLUXORA (titular con una sola palabra en serif itálica, CTA en píldora con
   ficha de flecha, prueba social en puntos, tarjetas de vidrio).
   Paleta tomada del emblema: vacío casi negro, violeta eléctrico, cian. */

:root {
  --void: #04050d;
  --void-2: #0a0c1d;
  --ink: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.74);
  --ink-faint: rgba(255, 255, 255, 0.5);
  --regolith: #c9cde0;
  --dust: #8a90b4;
  --violet: #7b3cff;
  --violet-lit: #a855f7;
  --blue: #3d5bff;
  --cyan: #12e1ff;
  --magenta: #ff4fd8;
  --pink: #ff7ab6;
  --teal: #2ef2c9;
  --glass: rgba(26, 18, 70, 0.42);
  --hair: rgba(255, 255, 255, 0.14);
  --hair-soft: rgba(255, 255, 255, 0.08);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-reveal: cubic-bezier(0.2, 0.7, 0.1, 1);
  --gutter: clamp(16px, 3vw, 48px);

  --font-display: 'Michroma', 'Eurostile', 'Arial Black', sans-serif;
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --font-italic: 'Instrument Serif', Georgia, serif;

  --text-display: clamp(1.6rem, 3.6vw, 3.4rem);
  --text-body: clamp(0.9375rem, 1.05vw, 1.0625rem);
  --text-label: 0.6875rem;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  background: var(--void);
}
body {
  min-height: 100svh;
  background: var(--void);
  color: var(--regolith);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--violet); color: #fff; }
:focus-visible {
  outline: 1.5px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--void);
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus { left: 12px; }

/* ---------- tipografía compartida ---------- */
.mono {
  font-family: var(--font-mono);
  font-size: var(--text-label);
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.dim { color: rgba(201, 205, 224, 0.6); }
.accent { color: var(--cyan); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.display {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: #fff;
}
/* El único gesto tipográfico: una palabra por titular en serif itálica. */
.display em,
.hero__title em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  font-size: 1.22em;
  line-height: 0.8;
  background: linear-gradient(96deg, #d9c9ff 0%, var(--magenta) 30%, var(--violet-lit) 55%, var(--cyan) 85%, #d9c9ff 100%);
  background-size: 220% 100%;
  animation: text-flow 8s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
.body {
  font-size: var(--text-body);
  line-height: 1.65;
}

/* Esquinas de HUD. */
.brackets {
  background:
    linear-gradient(currentColor, currentColor) top left / 14px 1px,
    linear-gradient(currentColor, currentColor) top left / 1px 14px,
    linear-gradient(currentColor, currentColor) top right / 14px 1px,
    linear-gradient(currentColor, currentColor) top right / 1px 14px,
    linear-gradient(currentColor, currentColor) bottom left / 14px 1px,
    linear-gradient(currentColor, currentColor) bottom left / 1px 14px,
    linear-gradient(currentColor, currentColor) bottom right / 14px 1px,
    linear-gradient(currentColor, currentColor) bottom right / 1px 14px;
  background-repeat: no-repeat;
}

.bounce { display: inline-block; animation: bounce 1.6s ease-in-out infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ---------- botones (Fluxora) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-out), background-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}
.btn--light {
  padding: 0.72em 1.35em;
  background: #fff;
  color: var(--void);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}
.btn--light:hover { transform: translateY(-1px); background: #ece6ff; }
/* La "llama" de Fluxora, pasada a la corona: violeta → azul → cian. */
.btn--crown {
  padding: 0.5em 0.5em 0.5em 1.5em;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(96deg, var(--magenta) 0%, var(--violet) 30%, var(--blue) 65%, #1fb8ff 100%);
  background-size: 200% 100%;
  color: #fff;
  box-shadow: 0 14px 40px rgba(123, 60, 255, 0.45);
  animation: btn-flow 6s ease-in-out infinite alternate;
}
/* Destello que barre el botón cada pocos segundos. */
.btn--crown::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: shine 4.5s ease-in-out infinite;
}
.btn--crown:hover { transform: translateY(-2px); box-shadow: 0 20px 52px rgba(61, 91, 255, 0.55); }
.hero__go-dot {
  display: grid;
  place-items: center;
  width: 2.55em;
  height: 2.55em;
  border-radius: 999px;
  background: #fff;
  color: var(--void);
}
.hero__go-dot svg { width: 1.15em; height: 1.15em; }

/* =================================================================
   NAV
   ================================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(12px, 1.6vw, 20px) var(--gutter);
  transition: background-color 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out);
}
.nav.is-solid {
  background: rgba(4, 5, 13, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.22em;
  color: #fff;
}
.nav__brand img { width: 28px; height: auto; filter: drop-shadow(0 0 10px rgba(123, 60, 255, 0.6)); }
.nav__pill {
  display: none;
  padding: 5px;
  border: 1px solid var(--hair);
  border-radius: 12px;
  background: rgba(14, 10, 40, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav__pill ul { display: flex; gap: 3px; }
.nav__pill a {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.nav__pill a:hover,
.nav__pill a.is-active { background: rgba(255, 255, 255, 0.14); color: #fff; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__cta { font-size: 13.5px; }
.nav__burger {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--hair);
  border-radius: 10px;
  background: rgba(14, 10, 40, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav__burger svg { width: 20px; height: 20px; }
.nav__burger .i-close,
.nav__burger[aria-expanded='true'] .i-menu { display: none; }
.nav__burger[aria-expanded='true'] .i-close { display: block; }
.nav__sheet {
  position: fixed;
  inset: 68px 12px auto;
  padding: 18px;
  border: 1px solid var(--hair);
  border-radius: 18px;
  background: rgba(6, 6, 20, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav__sheet ul { margin-bottom: 14px; display: grid; gap: 2px; }
.nav__sheet a:not(.btn) {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 10px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.nav__sheet a:not(.btn) span { font-family: var(--font-mono); font-size: var(--text-label); color: var(--cyan); }
.nav__sheet a:not(.btn):hover { background: rgba(255, 255, 255, 0.07); }
.nav__sheet-cta { width: 100%; justify-content: center; padding: 0.95em 1.4em; }
@media (min-width: 1120px) {
  .nav__pill { display: block; }
  .nav__burger, .nav__sheet { display: none !important; }
}
@media (max-width: 480px) {
  .nav__cta { display: none; }
  .nav__brand { font-size: 0.75rem; letter-spacing: 0.18em; }
}

/* =================================================================
   CROWNRISE — escenario fijado
   ================================================================= */
.rise { position: relative; height: 400svh; }
.rise__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: var(--void);
}
.layer {
  position: absolute;
  inset: 0;
  will-change: transform;
}

/* Cielo: estrellas en canvas + nebulosa violeta. */
.rise__stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.rise__nebula {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(40% 30% at 50% 58%, rgba(123, 60, 255, 0.5), transparent 70%),
    radial-gradient(30% 24% at 74% 28%, rgba(255, 79, 216, 0.26), transparent 70%),
    radial-gradient(34% 30% at 20% 24%, rgba(18, 225, 255, 0.2), transparent 70%),
    radial-gradient(26% 22% at 86% 70%, rgba(61, 91, 255, 0.3), transparent 70%),
    radial-gradient(60% 40% at 50% 100%, rgba(46, 242, 201, 0.1), transparent 70%);
  animation: nebula 26s ease-in-out infinite alternate;
}

/* La corona. La capa sube; .crown se desplaza a la derecha al llegar el héroe. */
.crown {
  position: absolute;
  left: 50%;
  top: 27%;
  width: min(40vh, 60vw);
  translate: -50% 0;
  will-change: transform;
}
.crown__img {
  position: relative;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(123, 60, 255, 0.55)) drop-shadow(0 0 80px rgba(61, 91, 255, 0.35));
}
.crown__halo {
  position: absolute;
  left: 50%;
  top: 34%;
  width: 190%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.36) 0%, rgba(61, 91, 255, 0.14) 32%, transparent 62%);
}
.crown__beam {
  position: absolute;
  left: 50%;
  top: -60%;
  width: 2px;
  height: 120%;
  translate: -50% 0;
  background: linear-gradient(180deg, transparent, rgba(190, 200, 255, 0.5) 60%, transparent);
  opacity: 0.5;
}

/* Planeta: un horizonte enorme con borde de atmósfera violeta. */
.planet {
  position: absolute;
  left: 50%;
  top: 63%;
  width: max(250vw, 2000px);
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 0%, #17124a 0%, #0b0a26 5%, #05061a 14%, var(--void) 30%);
  box-shadow:
    0 -1px 0 rgba(200, 230, 255, 0.85),
    0 -14px 50px rgba(255, 79, 216, 0.35),
    0 -30px 90px rgba(123, 60, 255, 0.6),
    0 -80px 200px rgba(18, 225, 255, 0.25),
    inset 0 24px 60px rgba(123, 60, 255, 0.32);
}
.planet__rim {
  position: absolute;
  left: 50%;
  top: -2px;
  width: 30%;
  height: 4px;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(220, 230, 255, 0.9), transparent);
  filter: blur(2px);
}

/* Cristales del primer plano. */
.layer--shards svg {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: max(100vw, 160vh);
  height: auto;
  translate: -50% 0;
}
.layer__apron {
  position: absolute;
  inset: 100% 0 auto;
  height: 120vh;
  background: var(--void);
}
@media (max-width: 767px) {
  .layer--shards svg { width: 170vw; }
  .rise__title { inset: 19% 0 auto; }
  .rise__kicker { padding: 0 24px; line-height: 1.7; }
  .crown { top: 32%; }
}

/* Título entre el planeta y los cristales. */
.rise__title {
  position: absolute;
  inset: 16% 0 auto;
  text-align: center;
  pointer-events: none;
  opacity: 0;
}
.rise__wordmark {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5.2vw, 6.2rem);
  line-height: 1;
  letter-spacing: 0.24em;
  margin-right: -0.24em;
  color: #fff;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6), 0 0 60px rgba(123, 60, 255, 0.45);
  white-space: nowrap;
}
.rise__kicker {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: var(--text-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(201, 205, 224, 0.82);
}

/* Velo de polvo cósmico. */
.rise__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 30% 40%, rgba(150, 130, 230, 0.5), transparent 70%),
    radial-gradient(50% 60% at 75% 60%, rgba(90, 110, 220, 0.45), transparent 70%),
    radial-gradient(80% 80% at 50% 50%, rgba(16, 14, 44, 0.86), rgba(4, 5, 13, 0.96));
}
.rise__veil-copy {
  position: absolute;
  inset: 50% 0 auto;
  translate: 0 -50%;
  padding: 0 var(--gutter);
  text-align: center;
  color: rgba(201, 205, 224, 0.82);
}
.rise__veil-cta {
  margin: 14px 0 22px;
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 1.1vw, 0.85rem);
  letter-spacing: 0.5em;
  margin-right: -0.5em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}
.rise__dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }


/* ---------- HÉROE (Fluxora) dentro del escenario ---------- */
.hero {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 104px var(--gutter) 22px;
  pointer-events: none;
  visibility: hidden;
}
.hero.is-live { pointer-events: auto; }
/* Velo asimétrico: pesado bajo el texto, casi nada sobre la corona. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: var(--scrim, 0);
  background:
    linear-gradient(96deg, rgba(4, 5, 13, 0.88) 0%, rgba(4, 5, 13, 0.6) 34%, rgba(4, 5, 13, 0.1) 58%, transparent 70%),
    linear-gradient(0deg, rgba(4, 5, 13, 0.8) 0%, transparent 32%);
}
.hero [data-hero] { opacity: 0; will-change: transform, opacity; }
.hero__lead {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
}
.hero__note {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 320px;
  padding-top: 13px;
  border-top: 1px solid var(--hair-soft);
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-faint);
}
.hero__note svg { width: 20px; height: 20px; flex: none; }
.hero__title {
  margin-top: 24px;
  font-family: var(--font-sans);
  font-size: clamp(2.1rem, min(5.6vw, 8.6vh), 5.6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #fff;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.45);
}
.hero__sub {
  margin-top: 20px;
  max-width: 440px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.hero__cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 26px;
}
.hero__go { font-size: 15px; }
.hero__proof { display: flex; align-items: center; gap: 10px; }
.hero__faces { display: flex; }
.hero__faces i {
  width: 26px;
  height: 26px;
  margin-left: -9px;
  border-radius: 999px;
  border: 2px solid rgba(6, 6, 20, 0.9);
  background: linear-gradient(140deg, var(--a), var(--b));
}
.hero__faces i:first-child { margin-left: 0; }
.hero__proof-text {
  display: grid;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--ink-faint);
}
.hero__proof-text strong { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.9); }
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.stat {
  position: relative;
  display: grid;
  align-content: space-between;
  width: 210px;
  min-height: 128px;
  padding: 18px;
  border: 1px solid var(--hair);
  border-radius: 16px;
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}
.stat--lit { background: linear-gradient(150deg, rgba(123, 60, 255, 0.42), rgba(18, 40, 120, 0.4)); }
.stat__mark { position: absolute; top: 14px; right: 16px; font-size: 13px; color: var(--ink-faint); }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1;
  color: #fff;
}
.stat__label { font-size: 11.5px; color: var(--ink-faint); }
.stat__rule {
  position: absolute;
  right: 16px;
  bottom: 22px;
  width: 14px;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}
.hero__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
}
.hero__watermark {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.8;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.06);
  user-select: none;
}
.hero__divs { text-align: right; }
.hero__divs-label { display: block; margin-bottom: 12px; font-size: 11.5px; color: var(--ink-faint); }
.hero__divs ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px clamp(14px, 2vw, 28px); }
.hero__divs li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
}
.hero__divs li::before {
  content: '';
  width: 9px;
  height: 9px;
  rotate: 45deg;
  border-radius: 2px;
  background: var(--c);
  box-shadow: 0 0 10px var(--c);
}
@media (max-width: 860px) {
  .hero { padding-top: 92px; }
  .hero__foot { flex-direction: column; align-items: flex-start; }
  .hero__divs { text-align: left; }
  .hero__divs ul { justify-content: flex-start; }
  .hero__watermark { display: none; }
}
@media (max-width: 560px) {
  .hero__note { display: none; }
  .hero__title { font-size: clamp(2.1rem, 10.4vw, 2.8rem); margin-top: 0; }
  .hero__sub { font-size: 14px; }
  .stat { flex: 1 1 140px; width: auto; min-height: 96px; padding: 14px; }
  .hero__divs li { font-size: 12.5px; }
}
@media (max-height: 820px) and (min-width: 861px) {
  .hero { padding-top: 84px; }
  .hero__title { margin-top: 16px; }
  .hero__sub { margin-top: 14px; }
  .hero__cta { margin-top: 18px; }
  .hero__stats { margin-top: 18px; }
  .stat { min-height: 92px; padding: 14px 16px; }
  .hero__watermark { font-size: 4rem; }
}
@media (max-height: 700px) and (max-width: 860px) {
  .hero__stats { display: none; }
}

/* =================================================================
   DIVISIONES — carrete
   ================================================================= */
.reel { position: relative; height: 320svh; background: var(--void); }
.reel__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 64px;
}
.reel__intro { position: relative; z-index: 2; flex: none; padding: 0 var(--gutter); }
.reel__body { margin-top: 18px; max-width: 26rem; color: rgba(201, 205, 224, 0.7); }
.reel__meter {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: var(--text-label);
  letter-spacing: 0.16em;
  color: rgba(201, 205, 224, 0.6);
}
.reel__count { color: #fff; }
.reel__bar { position: relative; width: 128px; height: 1px; background: rgba(255, 255, 255, 0.15); }
.reel__bar span {
  position: absolute;
  inset: 0;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}
.reel__track {
  flex: none;
  display: flex;
  gap: 20px;
  margin-top: 32px;
  padding-left: var(--gutter);
  will-change: transform;
}
.frame { flex: none; width: 66vw; transform-origin: bottom; }
.frame__pic {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(70% 55% at 50% 45%, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%),
    linear-gradient(180deg, #0d0f24, #05060f);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.frame__pic::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(0deg, rgba(4, 5, 13, 0.7), transparent);
}
.frame--tint .frame__pic img { filter: var(--tint) drop-shadow(0 0 28px color-mix(in srgb, var(--c) 55%, transparent)); }
.frame__pic img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72%;
  height: auto;
  translate: -50% -50%;
  filter: drop-shadow(0 0 28px color-mix(in srgb, var(--c) 55%, transparent));
  will-change: transform;
}
.frame__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 4px 8px;
  border-radius: 3px;
  background: rgba(4, 5, 13, 0.7);
  backdrop-filter: blur(6px);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.frame figcaption { display: flex; gap: 16px; margin-top: 16px; }
.frame__n { font-family: var(--font-mono); font-size: var(--text-label); color: var(--c); }
.frame figcaption > span:last-child { font-size: 0.875rem; line-height: 1.6; color: rgba(201, 205, 224, 0.65); }
.frame figcaption strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
@media (min-width: 640px) {
  .frame { width: 42vw; }
}
@media (max-width: 767px) {
  .reel__body, .reel__meter { display: none; }
  .frame figcaption > span:last-child { font-size: 0.8125rem; }
}
@media (max-width: 767px) and (max-height: 760px) {
  .frame { width: 54vw; }
}
@media (min-width: 768px) {
  .reel__stage { flex-direction: row; justify-content: flex-start; align-items: center; padding-top: 0; }
  .reel__intro { width: 34vw; padding-left: 6vw; padding-right: 40px; }
  /* Los cuadros pasan por debajo del texto al salir por la izquierda. */
  .reel__intro::before {
    content: '';
    position: absolute;
    inset: -100vh -60px -100vh -6vw;
    z-index: -1;
    background: linear-gradient(90deg, var(--void) 78%, transparent);
  }
  .reel__track { margin-top: 0; padding-left: 0; gap: 28px; }
  .frame { width: clamp(15rem, 22vw, 22rem); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .reel__intro { width: 42vw; padding-left: var(--gutter); }
}

/* =================================================================
   TRAYECTORIA
   ================================================================= */
.path { position: relative; height: 300svh; background: var(--void); }
.path__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 84px var(--gutter) 28px;
}
.path__head { display: flex; flex-direction: column; gap: 10px; }
.path__head .display { max-width: 22ch; margin-top: 12px; }
.path__meter { color: rgba(201, 205, 224, 0.6); }
.path__pct { color: #fff; font-variant-numeric: tabular-nums; }
.path__map { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; }
.path__map svg { width: 100%; height: auto; max-height: 100%; }
.path__leg {
  display: grid;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.path__legtext h3 {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.path__legtext p { margin-top: 6px; max-width: 40rem; font-size: var(--text-body); line-height: 1.6; color: rgba(201, 205, 224, 0.72); }
.path__legtext.is-new { animation: leg-in 0.6s var(--ease-reveal); }
@keyframes leg-in { from { opacity: 0; transform: translate3d(0, 12px, 0); } }
.path__pips { display: flex; gap: 6px; }
.path__pips span { width: 32px; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.15); transition: background-color 0.5s; }
.path__pips span.is-on { background: linear-gradient(90deg, var(--violet), var(--cyan)); }
@media (min-width: 768px) {
  .path__stage { padding: 96px 6vw 32px; }
  .path__head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .path__leg { grid-template-columns: auto 1fr auto; align-items: end; gap: 40px; }
}
@media (max-width: 767px) {
  .path__map svg { width: 150%; max-width: none; margin-left: -12%; }
}

/* =================================================================
   CABECERA DE SECCIÓN compartida
   ================================================================= */
.sec-head { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 768px) {
  .sec-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; }
  .sec-head > p { max-width: 24rem; text-align: right; }
}

/* =================================================================
   NOSOTROS — mosaico asimétrico (una pieza grande, tres de apoyo)
   ================================================================= */
.about { position: relative; padding: 112px var(--gutter) 40px; background: var(--void); }
.about__head .display { max-width: 22ch; }
.about__grid { display: grid; gap: 14px; margin-top: 48px; }
.tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border-radius: 12px;
  background: rgba(10, 12, 29, 0.7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.tile__big { max-width: 30ch; font-size: clamp(1.25rem, 2.1vw, 1.75rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; color: #fff; }
.tile__h { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; color: #fff; }
.tile__text { max-width: 46ch; font-size: 0.9375rem; line-height: 1.65; color: rgba(201, 205, 224, 0.72); }
.tile__motto { font-family: var(--font-display); font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.35; color: #fff; }
.tile__motto em {
  font-family: var(--font-italic);
  font-size: 1.3em;
  color: var(--cyan);
}
.tile--vision { background: linear-gradient(150deg, rgba(123, 60, 255, 0.16), rgba(10, 12, 29, 0.85) 55%); }
.tile__net { width: 100%; max-width: 380px; margin-top: auto; color: rgba(185, 164, 255, 0.55); }
.tile--motto { box-shadow: inset 0 0 0 1px rgba(18, 225, 255, 0.25); }
@media (min-width: 768px) {
  .about { padding: 160px 6vw 60px; }
  .about__grid { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; margin-top: 72px; }
  .tile { padding: 32px; }
  .tile--vision { grid-row: span 2; }
  .tile--motto { grid-column: span 2; }
}

/* =================================================================
   SOLUCIONES — mosaico de problemas
   ================================================================= */
.sol { position: relative; padding: 112px var(--gutter); background: var(--void); }
.sol__grid { display: grid; gap: 14px; margin-top: 48px; }
.sol__item {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: 12px;
  background: rgba(10, 12, 29, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.sol__item:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.sol__item--accent { background: linear-gradient(140deg, rgba(18, 225, 255, 0.1), rgba(10, 12, 29, 0.85) 60%); box-shadow: inset 0 0 0 1px rgba(18, 225, 255, 0.28); }
.sol__q { font-family: var(--font-italic); font-style: italic; font-size: 1.3rem; line-height: 1.3; color: rgba(255, 255, 255, 0.9); }
.sol__item h3 { margin-top: 22px; font-family: var(--font-display); font-size: 0.875rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.sol__item h3 + p { margin-top: 10px; max-width: 44ch; font-size: 0.9375rem; line-height: 1.6; color: rgba(201, 205, 224, 0.72); }
.sol__divs { display: flex; gap: 8px; margin-top: 22px; }
.sol__divs i { width: 9px; height: 9px; rotate: 45deg; border-radius: 2px; background: var(--c); }
.sol__rings {
  position: absolute;
  top: -50px;
  right: -40px;
  width: 210px;
  height: 210px;
  color: rgba(255, 255, 255, 0.08);
  transition: transform 1.2s var(--ease-out);
}
.sol__item:hover .sol__rings { transform: rotate(40deg); }
@media (min-width: 768px) {
  .sol { padding: 140px 6vw; }
  .sol__grid { grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 72px; }
  .sol__item { padding: 30px; }
  .sol__item--wide { grid-column: span 2; }
  .sol__item--wide .sol__q { font-size: 1.75rem; max-width: 24ch; }
}

/* =================================================================
   PROYECTOS
   ================================================================= */
.proj { position: relative; padding: 40px var(--gutter) 112px; background: var(--void); }
.proj__grid { display: grid; gap: 14px; margin-top: 48px; }
.product {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  background: rgba(10, 12, 29, 0.7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.product__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 26px; }
.product h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; letter-spacing: 0.08em; color: #fff; }
.product p { max-width: 46ch; font-size: 0.9375rem; line-height: 1.65; color: rgba(201, 205, 224, 0.75); }
.product__visual {
  display: grid;
  place-items: center;
  min-height: 220px;
  background:
    radial-gradient(50% 60% at 50% 50%, rgba(18, 225, 255, 0.12), transparent 70%),
    linear-gradient(180deg, #0c0e26, #070816);
}
.product__visual svg { width: min(240px, 70%); height: auto; }
.nfc path { animation: nfc 2.4s ease-out infinite; opacity: 0; }
.nfc path:nth-child(2) { animation-delay: 0.3s; }
.nfc path:nth-child(3) { animation-delay: 0.6s; }
@keyframes nfc { 0% { opacity: 0; } 30% { opacity: 1; } 80%, 100% { opacity: 0; } }
.product--clients { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); border: 1px dashed rgba(255, 255, 255, 0.0); }
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.6); }
.status--dev::before { background: #E8B940; box-shadow: 0 0 8px #E8B940; }
.status--soon::before { background: var(--violet-lit); box-shadow: 0 0 8px var(--violet-lit); }
.link-arrow { margin-top: 6px; font-weight: 600; color: var(--cyan); }
.link-arrow:hover { color: #fff; }
@media (min-width: 768px) {
  .proj { padding: 60px 6vw 140px; }
  .proj__grid { grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 72px; }
  .product--scanme { grid-column: span 2; grid-row: span 2; flex-direction: row; }
  .product--scanme .product__visual { flex: 1; }
  .product--scanme .product__body { flex: 1; justify-content: center; padding: 40px; }
  .product--clients { grid-column: span 3; }
  .product--clients .product__body { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
  .product--clients p { flex: 1 1 360px; max-width: none; }
}

/* =================================================================
   EQUIPO
   ================================================================= */
.team { position: relative; padding: 40px var(--gutter) 112px; background: var(--void); }
.team__grid { display: grid; gap: 14px; margin-top: 48px; }
.person {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px;
  border-radius: 12px;
  background: rgba(10, 12, 29, 0.7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.person__mono {
  --c: #7b3cff;
  flex: none;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(140deg, color-mix(in srgb, var(--c) 45%, #0a0c1d), #0a0c1d);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 60%, transparent);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: #fff;
}
.person h3 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; color: #fff; }
.person .mono { margin-top: 6px; }
@media (min-width: 768px) {
  .team { padding: 60px 6vw 140px; }
  .team__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 72px; max-width: 980px; }
  .person { padding: 28px; }
}

/* =================================================================
   CONTACTO
   ================================================================= */
.contact { position: relative; overflow: hidden; padding: 0 var(--gutter) 112px; background: var(--void); }
/* Un borde de planeta asomando abajo: el ascenso, cerrado como un paréntesis. */
.contact__glow {
  position: absolute;
  left: 50%;
  bottom: -62vw;
  width: 90vw;
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 50% 30%, rgba(123, 60, 255, 0.4), rgba(61, 91, 255, 0.06) 55%, transparent 70%);
}
.contact__grid {
  position: relative;
  display: grid;
  gap: 48px;
  padding-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.contact__body { margin-top: 18px; max-width: 28rem; }
.clock { margin-top: 40px; display: grid; gap: 12px; }
.clock__status { color: var(--cyan); }
.clock__status.is-off { color: rgba(201, 205, 224, 0.75); }
.clock__units { display: flex; gap: 10px; }
.clock__units > div {
  min-width: 4.5rem;
  padding: 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.25);
}
.clock__units span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.clock__units small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(201, 205, 224, 0.6);
}
.contact__list { display: grid; gap: 14px; margin-top: 40px; }
.contact__list li { display: grid; gap: 4px; }
.contact__list a, .contact__list li > span:last-child { color: #fff; font-size: 1rem; }
.contact__list a:hover { color: var(--cyan); }
.form { display: grid; gap: 14px; align-content: start; }
.form label { display: grid; gap: 7px; }
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  font: inherit;
  font-size: var(--text-body);
  color: #fff;
  outline: none;
  transition: box-shadow 0.25s;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #c9cde0 50%), linear-gradient(135deg, #c9cde0 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form select option { background: var(--void); }
.form textarea { resize: vertical; min-height: 120px; }
.form ::placeholder { color: rgba(201, 205, 224, 0.4); }
.form input:focus, .form select:focus, .form textarea:focus { box-shadow: inset 0 0 0 1.5px var(--cyan); }
.form .is-invalid { box-shadow: inset 0 0 0 1.5px rgba(248, 113, 113, 0.75); }
.form__send { justify-self: start; margin-top: 6px; font-size: 15px; }
.form__send[disabled] { opacity: 0.6; pointer-events: none; }
.form__status { min-height: 1.4em; font-size: 0.875rem; color: rgba(201, 205, 224, 0.8); }
.form__status.is-error { color: #fca5a5; }
.form__status.is-ok { color: var(--cyan); }
@media (min-width: 768px) {
  .contact { padding: 0 6vw 160px; }
  .contact__grid { grid-template-columns: 1fr 1fr; gap: 64px; padding-top: 112px; }
}

/* =================================================================
   PIE
   ================================================================= */
.foot { position: relative; padding: 40px var(--gutter) 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); background: var(--void); }
.foot__mark { overflow: hidden; }
.foot__fit {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--font-display);
  line-height: 1;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
.foot__row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
  color: rgba(201, 205, 224, 0.55);
}
.foot__row a:hover { color: #fff; }
@media (min-width: 768px) {
  .foot { padding: 56px 6vw 32px; }
  .foot__row { flex-direction: row; justify-content: space-between; }
}

/* ---------- apariciones ---------- */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 1s var(--ease-reveal), transform 1s var(--ease-reveal);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .bounce { animation: none; }
  [data-reveal] { transform: none; }
  .path__legtext.is-new { animation: none; }
  .nfc path { animation: none; opacity: 1; }
}


/* =================================================================
   v2 — color y movimiento
   ================================================================= */
@keyframes nebula {
  0% { transform: translate3d(0, 0, 0) scale(1); filter: hue-rotate(0deg); }
  100% { transform: translate3d(-2%, 1.5%, 0) scale(1.06); filter: hue-rotate(-18deg); }
}
@keyframes btn-flow { to { background-position: 100% 0; } }
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@keyframes text-flow { to { background-position: 220% 0; } }

/* Video del banner: entra en fundido cuando carga; la escena en vivo queda debajo. */
.rise__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s var(--ease-out);
}
.rise__video.is-ready { opacity: 0.85; }
.rise__video.is-ready ~ .rise__nebula { opacity: 0.45; }

/* Auroras: cuatro cintas de color difuminadas que derivan lentamente. */
.rise__aurora { position: absolute; inset: -10%; mix-blend-mode: screen; pointer-events: none; }
.rise__aurora i {
  position: absolute;
  width: 60vmax;
  height: 18vmax;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: aurora 18s ease-in-out infinite alternate;
}
.rise__aurora i:nth-child(1) { left: -10%; top: 18%; background: linear-gradient(90deg, transparent, var(--cyan), transparent); rotate: -14deg; }
.rise__aurora i:nth-child(2) { right: -12%; top: 10%; background: linear-gradient(90deg, transparent, var(--magenta), transparent); rotate: 12deg; animation-duration: 23s; animation-delay: -6s; }
.rise__aurora i:nth-child(3) { left: 20%; top: 38%; background: linear-gradient(90deg, transparent, var(--violet), transparent); rotate: -4deg; animation-duration: 20s; animation-delay: -11s; opacity: 0.6; }
.rise__aurora i:nth-child(4) { left: 30%; bottom: 10%; background: linear-gradient(90deg, transparent, var(--teal), transparent); rotate: 8deg; animation-duration: 27s; opacity: 0.25; }
@keyframes aurora {
  0% { transform: translate3d(-6%, 0, 0) scaleX(0.9); }
  50% { transform: translate3d(4%, -6%, 0) scaleX(1.15); }
  100% { transform: translate3d(8%, 4%, 0) scaleX(1); }
}

/* Corona: flota, respira y la rodean dos órbitas. */
.crown__img { animation: crown-float 6s ease-in-out infinite; }
.crown__halo { animation: halo 4.5s ease-in-out infinite; }
@keyframes crown-float { 50% { transform: translateY(-2.2%); } }
@keyframes halo { 50% { opacity: 0.65; scale: 1.08; } }
.crown__orbits {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 150%;
  translate: -50% -50%;
  overflow: visible;
  pointer-events: none;
}
.orbit { transform-origin: 200px 200px; }
.orbit--a { animation: orbit-a 14s linear infinite; }
.orbit--b { animation: orbit-b 19s linear infinite reverse; }
@keyframes orbit-a { from { transform: rotate(-12deg) rotateZ(0); } to { transform: rotate(348deg); } }
@keyframes orbit-b { from { transform: rotate(16deg); } to { transform: rotate(376deg); } }
.planet__rim { background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 79, 216, 0.5) 50%, transparent); animation: rim 5s ease-in-out infinite; }
@keyframes rim { 50% { width: 42%; opacity: 0.7; } }

/* Barra de progreso de lectura y resplandor del cursor. */
.progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 2px; pointer-events: none; }
.progress span {
  display: block;
  height: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--magenta), var(--violet), var(--cyan));
  box-shadow: 0 0 12px rgba(18, 225, 255, 0.6);
}
.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(123, 60, 255, 0.14), rgba(18, 225, 255, 0.05) 40%, transparent 65%);
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.6s;
  will-change: transform;
}
.cursor-glow.is-on { opacity: 1; }
@media (hover: none) { .cursor-glow { display: none; } }

/* Fondos de sección con brillos de color y una retícula tenue (sistemas, datos). */
.about, .sol, .proj, .team, .news { isolation: isolate; }
.about::before, .sol::before, .proj::before, .team::before, .news::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40% 30% at 0% 0%, rgba(123, 60, 255, 0.16), transparent 70%),
    radial-gradient(35% 30% at 100% 100%, rgba(18, 225, 255, 0.1), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
}
.sol::before { background-position: 0 0, 0 0, 0 0, 0 0; background:
    radial-gradient(40% 30% at 100% 0%, rgba(255, 79, 216, 0.14), transparent 70%),
    radial-gradient(35% 30% at 0% 100%, rgba(61, 91, 255, 0.16), transparent 70%); }

/* Tarjetas: inclinación 3D + foco de luz que sigue al cursor + borde degradado. */
.tile, .sol__item, .product, .person, .news__card {
  --mx: 50%;
  --my: 50%;
  transform-style: preserve-3d;
}
.tile::after, .sol__item::after, .product::after, .person::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(168, 85, 247, 0.18), rgba(18, 225, 255, 0.06) 40%, transparent 60%);
}
.tile:hover::after, .sol__item:hover::after, .product:hover::after, .person:hover::after { opacity: 1; }
.person { position: relative; overflow: hidden; }
.tile, .product { transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out); }
.tile:hover, .product:hover, .person:hover { box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.45), 0 30px 60px -30px rgba(123, 60, 255, 0.5); }
.is-tilting { transition: transform 0.12s linear, box-shadow 0.5s var(--ease-out) !important; }

/* Títulos que se arman palabra por palabra. */
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span {
  display: inline-block;
  transform: translate3d(0, 110%, 0) rotate(4deg);
  transition: transform 0.9s var(--ease-out);
  transition-delay: calc(var(--i) * 55ms);
}
.split.is-in .w > span { transform: none; }

/* Divisiones en el carrete: borde de color y brillo. */
.frame__pic { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent), 0 30px 70px -40px var(--c); }
.frame__pic::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 0deg, transparent 0 70%, color-mix(in srgb, var(--c) 40%, transparent) 85%, transparent);
  animation: spin 9s linear infinite;
  opacity: 0.5;
}
@keyframes spin { to { rotate: 1turn; } }


/* =================================================================
   CINTA
   ================================================================= */
.marquee { position: relative; padding: 26px 0; overflow: hidden; background: var(--void); border-block: 1px solid rgba(255, 255, 255, 0.06); }
.marquee__row { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__row span {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.75rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(90deg, #fff 0%, var(--violet-lit) 30%, var(--cyan) 60%, var(--magenta) 85%, #fff 100%);
  background-size: 50% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.marquee__row--rev { margin-top: 10px; animation-direction: reverse; animation-duration: 60s; }
.marquee__row--rev span { font-family: var(--font-mono); font-size: clamp(0.75rem, 1.2vw, 0.95rem); letter-spacing: 0.2em; background: none; color: rgba(201, 205, 224, 0.45); }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .rise__nebula, .rise__aurora i, .crown__img, .crown__halo, .orbit, .planet__rim,
  .btn--crown, .btn--crown::after, .display em, .hero__title em, .frame__pic::before,
  .news__art--dots > span, .marquee__row { animation: none !important; }
  .split .w > span { transform: none; transition: none; }
}

/* =================================================================
   v3 — PRESTIGIO
   Un acento champán (oro) entra junto al violeta y el cian: filetes finos,
   etiquetas, firmas y cifras. Las secciones de contenido ocupan una
   pantalla cada una para leerse completas sin volver atrás.
   ================================================================= */
:root {
  --gold: #e6c682;
  --gold-lit: #f6e7c1;
  --gold-deep: #b8914a;
  --ivory: #f6efe0;
}
::selection { background: var(--gold); color: var(--void); }
.gold { color: var(--gold); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.display em,
.hero__title em {
  background-image: linear-gradient(96deg, var(--gold-lit) 0%, var(--gold) 22%, #f0a6e0 45%, var(--violet-lit) 62%, var(--cyan) 82%, var(--gold-lit) 100%);
}
.tile__motto em { color: var(--gold); }
.tile--motto { box-shadow: inset 0 0 0 1px rgba(230, 198, 130, 0.3); }
.stat__value { color: var(--gold-lit); }
.progress span { background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--violet-lit), var(--cyan)); box-shadow: 0 0 12px rgba(230, 198, 130, 0.5); }
.btn--light:hover { background: var(--gold-lit); }
.btn--crown { box-shadow: 0 14px 40px rgba(123, 60, 255, 0.45), inset 0 0 0 1px rgba(246, 231, 193, 0.35); }
.sec-head__aside { max-width: 26rem; font-size: var(--text-body); line-height: 1.6; color: rgba(201, 205, 224, 0.68); }
.sec-head .display { max-width: 22ch; }

/* El video del banner manda en el cielo; la escena en vivo queda encima, más tenue. */
.rise__video.is-ready { opacity: 1; }
.rise__video.is-ready ~ .rise__stars { opacity: 0.55; }
.rise__video.is-ready ~ .rise__nebula { opacity: 0.3; }
.rise__video.is-ready ~ .rise__aurora { opacity: 0.55; }

/* ---------- una pantalla por sección ---------- */
@media (min-width: 1024px) and (min-height: 640px) {
  .about, .sol, .proj, .ceo {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 104px 72px;
  }
  .about__grid, .sol__grid, .proj__grid { margin-top: 44px; }
  .tile { padding: 28px; }
  .sol__item { padding: 26px; }
  .sol__item--wide .sol__q { font-size: 1.55rem; }
}

/* =================================================================
   NOVEDADES — banner de anuncios
   ================================================================= */
.news { position: relative; padding: 96px 0 56px; background: var(--void); overflow: hidden; }
.news__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 0 var(--gutter); }
.news__count { color: rgba(201, 205, 224, 0.55); font-size: 0.75rem; }
.news__now { color: var(--gold); }
.news__stage {
  position: relative;
  margin: 28px var(--gutter) 0;
  height: clamp(540px, 80svh, 640px);
  border-radius: 20px;
  overflow: hidden;
  background: #060716;
  box-shadow: inset 0 0 0 1px rgba(230, 198, 130, 0.18), 0 40px 90px -50px rgba(123, 60, 255, 0.6);
  touch-action: pan-y;
  user-select: none;
}
.news__slides { position: absolute; inset: 0; }
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--ease-out), visibility 0s linear 0.9s;
  background:
    radial-gradient(70% 80% at 80% 30%, color-mix(in srgb, var(--a) 30%, transparent), transparent 70%),
    radial-gradient(60% 70% at 100% 100%, color-mix(in srgb, var(--b) 28%, transparent), transparent 70%),
    linear-gradient(180deg, #0a0b20, #05060f);
}
.slide.is-on { opacity: 1; visibility: visible; z-index: 1; transition: opacity 0.9s var(--ease-out); }
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(5, 6, 15, 0.95) 0%, rgba(5, 6, 15, 0.6) 38%, transparent 62%);
}
.slide__art {
  position: absolute;
  inset: 0 0 38%;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.slide__art > img:not(.slide__crown), .slide__art > svg { width: min(62%, 300px); height: auto; filter: drop-shadow(0 30px 60px color-mix(in srgb, var(--a) 50%, transparent)); }
.slide.is-on .slide__art > * { animation: kenburns 7.5s ease-out both; }
@keyframes kenburns { from { transform: scale(1) translate3d(0, 2%, 0); } to { transform: scale(1.12) translate3d(-2%, -2%, 0); } }
.slide__art--word, .slide__art--quote { grid-template-areas: 'a'; }
.slide__art--word > *, .slide__art--quote > * { grid-area: a; }
.slide__crown { width: min(38%, 200px); opacity: 0.9; filter: drop-shadow(0 0 40px rgba(168, 85, 247, 0.6)); }
.slide__crown--gold { filter: grayscale(1) sepia(1) saturate(2.4) hue-rotate(-6deg) brightness(1.1) drop-shadow(0 0 40px rgba(230, 198, 130, 0.5)); }
.slide__word {
  align-self: end;
  margin-bottom: 6%;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4.6rem);
  letter-spacing: 0.06em;
  background: linear-gradient(96deg, var(--gold-lit), var(--gold) 35%, #f0a6e0 65%, var(--violet-lit));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.slide__mark { font-family: var(--font-italic); font-size: clamp(12rem, 30vw, 22rem); line-height: 0.6; color: rgba(230, 198, 130, 0.16); transform: translate(-30%, 10%); }
.slide__art--dots { display: flex; gap: clamp(8px, 1.4vw, 18px); }
.slide__art--dots span {
  width: clamp(18px, 3vw, 34px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 24px var(--c);
  animation: dot-bob 2.6s ease-in-out infinite;
}
.slide__art--dots span:nth-child(2) { animation-delay: 0.15s; }
.slide__art--dots span:nth-child(3) { animation-delay: 0.3s; }
.slide__art--dots span:nth-child(4) { animation-delay: 0.45s; }
.slide__art--dots span:nth-child(5) { animation-delay: 0.6s; }
.slide__art--dots span:nth-child(6) { animation-delay: 0.75s; }
.slide__art--dots span:nth-child(7) { animation-delay: 0.9s; }
@keyframes dot-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.slide.is-on .slide__art--dots { animation: none; }
.slide__body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: 24px 22px 84px;
}
.slide__body > * { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out); }
.slide.is-on .slide__body > * { opacity: 1; transform: none; }
.slide.is-on .slide__body > :nth-child(2) { transition-delay: 0.12s; }
.slide.is-on .slide__body > :nth-child(3) { transition-delay: 0.22s; }
.slide.is-on .slide__body > :nth-child(4) { transition-delay: 0.32s; }
.slide__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(201, 205, 224, 0.7); }
.slide__chip { padding: 5px 10px; border-radius: 999px; color: var(--gold); box-shadow: inset 0 0 0 1px rgba(230, 198, 130, 0.45); background: rgba(230, 198, 130, 0.06); }
.slide h3 { max-width: 20ch; font-size: clamp(1.5rem, 3.2vw, 2.75rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; color: #fff; }
.slide__body p:not(.slide__meta) { max-width: 52ch; font-size: var(--text-body); line-height: 1.6; color: rgba(225, 228, 240, 0.78); }
.slide__link { justify-self: start; display: inline-flex; gap: 8px; margin-top: 6px; padding: 10px 18px; border-radius: 999px; font-weight: 600; color: var(--void); background: linear-gradient(96deg, var(--gold-lit), var(--gold)); transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out); }
.slide__link:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(230, 198, 130, 0.7); }
.news__nav { position: absolute; right: 16px; bottom: 16px; z-index: 3; display: flex; gap: 8px; }
.news__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  background: rgba(10, 12, 29, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}
.news__btn:hover { background: rgba(230, 198, 130, 0.18); box-shadow: inset 0 0 0 1px var(--gold); transform: translateY(-2px); }
.news__btn svg { width: 18px; height: 18px; }
.news__play .i-play, .news__play[aria-pressed='true'] .i-pause { display: none; }
.news__play[aria-pressed='true'] .i-play { display: block; }
.news__tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 16px var(--gutter) 0; }
.news__tabs button { display: grid; gap: 8px; padding: 6px 0; text-align: left; font-size: 0.8125rem; font-weight: 600; color: rgba(201, 205, 224, 0.5); transition: color 0.3s; }
.news__tabs button:hover, .news__tabs button.is-on { color: #fff; }
.news__bar { position: relative; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.news__bar i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--gold-lit)); }
.news__tab-k { display: none; }
.news__tabs button > :not(.news__bar) { display: none; }
.news__tabs button { font-size: 0; }
@media (min-width: 768px) {
  .news { padding: 100px 0 56px; }
  .news__head, .news__tabs { padding: 0; margin-inline: 6vw; }
  .news__stage { margin: 28px 6vw 0; height: clamp(400px, 58svh, 600px); }
  .slide { justify-content: center; }
  .slide::after { background: linear-gradient(90deg, rgba(5, 6, 15, 0.92) 0%, rgba(5, 6, 15, 0.55) 42%, transparent 66%); }
  .slide__art { inset: 0 0 0 42%; }
  .slide__body { width: min(56%, 620px); padding: 48px 0 48px clamp(32px, 4.5vw, 72px); }
  .news__nav { right: 24px; bottom: 24px; }
  .news__tabs { gap: 18px; margin-top: 20px; }
  .news__tabs button { font-size: 0.8125rem; }
  .news__tabs button > :not(.news__bar) { display: inline; }
  .news__tab-k { margin-right: 8px; font-family: var(--font-mono); font-size: 0.6875rem; color: var(--gold); }
}
@media (min-width: 768px) and (max-height: 760px) {
  .news { padding-top: 84px; }
  .news__stage { margin-top: 20px; }
  .news .display { font-size: clamp(1.4rem, 3vw, 2.4rem); }
}

/* =================================================================
   FOTOS — retrato con respaldo de monograma si el archivo no existe
   ================================================================= */
.photo {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(80% 70% at 30% 20%, color-mix(in srgb, var(--c, #7b3cff) 34%, transparent), transparent 70%),
    linear-gradient(160deg, #10122b, #070816);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, #7b3cff) 35%, transparent);
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; z-index: 1; transition: opacity 0.8s, transform 1.2s var(--ease-out); }
.js .photo img { opacity: 0; }
.js .photo.has-photo img { opacity: 1; }
.photo.is-missing img { display: none; }
.photo__mono {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--c, #7b3cff) 70%, #fff);
}
.photo.has-photo .photo__mono, .photo.has-photo .photo__empty { display: none; }

/* =================================================================
   CEO
   ================================================================= */
.ceo { position: relative; padding: 104px var(--gutter); background: var(--void); isolation: isolate; overflow: hidden; }
.ceo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40% 50% at 18% 50%, rgba(230, 198, 130, 0.14), transparent 70%),
    radial-gradient(40% 40% at 90% 10%, rgba(123, 60, 255, 0.16), transparent 70%);
}
.ceo__grid { display: grid; gap: 40px; align-items: center; }
.ceo__portrait { position: relative; max-width: 420px; }
.ceo__portrait::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 18px;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(230, 198, 130, 0.45);
  pointer-events: none;
}
.photo--ceo { aspect-ratio: 4 / 5; }
.photo--ceo .photo__mono { font-size: clamp(3rem, 8vw, 5.5rem); color: var(--gold); }
.ceo__portrait figcaption { display: grid; gap: 6px; margin-top: 30px; }
.ceo__name { font-weight: 700; color: #fff; }
.ceo__copy .display { max-width: 18ch; }
.ceo__quote { margin-top: 28px; padding-left: 22px; border-left: 1px solid rgba(230, 198, 130, 0.5); display: grid; gap: 16px; }
.ceo__quote p { max-width: 56ch; font-family: var(--font-italic); font-style: italic; font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.45; color: var(--ivory); }
.ceo__sign { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin-top: 28px; }
.ceo__signature {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1;
  rotate: -4deg;
  background: linear-gradient(96deg, var(--gold-lit), var(--gold) 60%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (min-width: 768px) {
  .ceo { padding: 120px 6vw; }
  .ceo__grid { grid-template-columns: minmax(260px, 0.8fr) 1.2fr; gap: clamp(48px, 7vw, 120px); }
}

/* =================================================================
   PRODUCTO — WeDoIt y sus componentes
   ================================================================= */
.product--flagship { background: linear-gradient(150deg, rgba(230, 198, 130, 0.1), rgba(10, 12, 29, 0.9) 55%); box-shadow: inset 0 0 0 1px rgba(230, 198, 130, 0.3); }
.product--flagship .product__visual {
  position: relative;
  display: grid;
  grid-template-areas: 'a';
  min-height: 240px;
  background:
    radial-gradient(50% 60% at 50% 45%, rgba(168, 85, 247, 0.28), transparent 70%),
    radial-gradient(40% 40% at 50% 90%, rgba(230, 198, 130, 0.2), transparent 70%),
    linear-gradient(180deg, #0d0e27, #06071a);
}
.product--flagship .product__visual > * { grid-area: a; }
.product__crown { width: min(150px, 40%); align-self: center; justify-self: center; filter: drop-shadow(0 0 40px rgba(168, 85, 247, 0.6)); animation: crown-float 6s ease-in-out infinite; }
@keyframes crown-float { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }
.product__word {
  align-self: end;
  justify-self: center;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  letter-spacing: 0.08em;
  background: linear-gradient(96deg, var(--gold-lit), var(--gold) 40%, #f0a6e0 75%, var(--violet-lit));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.product--flagship h3 { font-size: 1.75rem; }
.product__parts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: -4px; }
.product__parts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-weight: 600; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.product__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.product__visual--sm { min-height: 150px; }
.product__visual--img img { width: min(150px, 50%); height: auto; filter: drop-shadow(0 18px 40px rgba(168, 85, 247, 0.45)); }
.status--dev::before { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
@media (min-width: 768px) {
  .product--flagship { grid-column: 1 / -1; flex-direction: row; }
  .product--flagship .product__visual { flex: 1.1; min-height: 300px; }
  .product--flagship .product__body { flex: 1; justify-content: center; padding: 36px 40px; }
  .product--part .product__visual { min-height: 120px; }
  .product--part .product__visual svg { width: min(170px, 60%); }
  .product--part .product__body { padding: 22px 24px 26px; }
  .product--part p, .product--clients p { font-size: 0.875rem; }
  .proj .product--clients { grid-column: auto; }
  .proj .product--clients p { flex: none; }
  .proj .product--clients .product__body { flex-direction: column; align-items: flex-start; justify-content: center; height: 100%; }
}

/* =================================================================
   EQUIPO — liderazgo (un líder por división) y galería
   ================================================================= */
.team { padding-bottom: 96px; }
.team__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 40px; max-width: none; }
.leader {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: rgba(10, 12, 29, 0.7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.leader:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 60%, transparent), 0 30px 60px -30px color-mix(in srgb, var(--c) 60%, transparent); }
.leader .photo { aspect-ratio: 4 / 3; border-radius: 14px 14px 0 0; box-shadow: none; }
.leader:hover .photo img { transform: scale(1.05); }
.leader__body { display: grid; gap: 4px; padding: 14px 16px 18px; }
.leader__body .mono { color: var(--c); font-size: 0.625rem; }
.leader h3 { font-size: 0.9375rem; font-weight: 700; line-height: 1.3; color: #fff; }
.leader__role { font-size: 0.8125rem; color: rgba(201, 205, 224, 0.6); }
.leader.is-pending h3 { font-family: var(--font-italic); font-style: italic; font-weight: 400; font-size: 1.15rem; color: rgba(201, 205, 224, 0.55); }
.leader--ceo { box-shadow: inset 0 0 0 1px rgba(230, 198, 130, 0.4); background: linear-gradient(160deg, rgba(230, 198, 130, 0.1), rgba(10, 12, 29, 0.85) 60%); }
@media (min-width: 900px) {
  .team__grid { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; }
  .leader h3 { font-size: 1rem; }
}

.gallery { margin-top: 72px; }
.gallery__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(120px, 26vw, 200px); gap: 12px; margin-top: 20px; }
.gallery__item--wide { grid-column: span 2; }
.photo--wide { height: 100%; padding: 0; cursor: zoom-in; }
.photo--wide:disabled { cursor: default; }
.photo__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: var(--text-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(230, 198, 130, 0.6);
  background: url(../src/img/crownrise/crown-emblem.webp) center 38% / auto 34% no-repeat;
  background-blend-mode: luminosity;
  padding-top: 18%;
}
.photo__empty::before { content: ''; position: absolute; inset: 10px; border: 1px dashed rgba(230, 198, 130, 0.22); border-radius: 10px; }
.photo--wide:hover img { transform: scale(1.04); }
@media (min-width: 900px) {
  .gallery__grid { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: clamp(150px, 15vw, 230px); gap: 16px; }
  .gallery__item--wide { grid-column: auto; grid-row: span 2; }
  .gallery__item:last-child { grid-column: span 2; }
}

.lightbox { width: min(92vw, 1200px); max-height: 90vh; padding: 0; border: 0; border-radius: 14px; background: #05060f; color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(3, 4, 10, 0.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox img { width: 100%; max-height: 90vh; object-fit: contain; }
.lightbox__close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(10, 12, 29, 0.7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.lightbox__close svg { width: 20px; height: 20px; }

/* =================================================================
   PIE — mapa del sitio
   ================================================================= */
.foot__grid { display: grid; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 32px; }
.foot__brand .nav__brand { display: inline-flex; }
.foot__motto { margin-top: 20px; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.4; color: #fff; }
.foot__motto em { font-family: var(--font-italic); font-size: 1.3em; color: var(--gold); }
.foot__note { margin-top: 12px; max-width: 36ch; font-size: 0.875rem; line-height: 1.6; color: rgba(201, 205, 224, 0.6); }
.foot__col ul { display: grid; gap: 10px; margin-top: 16px; font-size: 0.9375rem; }
.foot__col a { color: rgba(225, 228, 240, 0.8); transition: color 0.25s; }
.foot__col a:hover { color: var(--gold-lit); }
.foot__col span { color: rgba(201, 205, 224, 0.6); }
.foot__divs li { display: flex; align-items: center; gap: 10px; color: rgba(225, 228, 240, 0.8); }
.foot__divs li::before { content: ''; width: 7px; height: 7px; rotate: 45deg; border-radius: 1px; background: var(--c); }
@media (min-width: 768px) {
  .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
}

/* =================================================================
   WHATSAPP y TELÓN DE ENTRADA
   ================================================================= */
.wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 54px;
  padding: 0 15px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(140deg, #1fb86a, #128c4f);
  box-shadow: 0 16px 40px -12px rgba(18, 140, 79, 0.8), inset 0 0 0 1px rgba(246, 231, 193, 0.35);
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), gap 0.4s var(--ease-out);
}
.wa.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wa svg { width: 24px; height: 24px; flex: none; }
.wa span { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; transition: max-width 0.5s var(--ease-out); }
.wa:hover, .wa:focus-visible { gap: 10px; }
.wa:hover span, .wa:focus-visible span { max-width: 140px; }
.nav.is-open ~ .wa { opacity: 0; pointer-events: none; }

.intro { display: none; }
.js .intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 22px;
  background: radial-gradient(50% 50% at 50% 45%, #140d33, var(--void) 70%);
  transition: opacity 0.8s var(--ease-out), visibility 0s linear 0.8s;
}
.intro img { width: 92px; opacity: 0; transform: translateY(16px) scale(0.92); filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.7)); animation: intro-crown 1.1s var(--ease-out) 0.1s forwards; }
.intro__word { font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.6em; color: #fff; opacity: 0; animation: intro-word 1.2s var(--ease-out) 0.35s forwards; padding-left: 0.6em; }
.intro__line { position: relative; width: 140px; height: 1px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.intro__line i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-deep), var(--gold-lit)); animation: intro-line 1.3s var(--ease-out) 0.3s forwards; }
.intro.is-out { opacity: 0; visibility: hidden; }
@keyframes intro-crown { to { opacity: 1; transform: none; } }
@keyframes intro-word { from { letter-spacing: 1.1em; } to { opacity: 1; letter-spacing: 0.6em; } }
@keyframes intro-line { to { transform: scaleX(1); } }

/* Tarjetas nuevas con el mismo foco de luz que el resto. */
.leader { --mx: 50%; --my: 50%; }
.leader::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(360px circle at var(--mx) var(--my), color-mix(in srgb, var(--c) 22%, transparent), transparent 60%);
}
.leader:hover::after { opacity: 1; }
.ceo, .proj, .team { isolation: isolate; }

@media (prefers-reduced-motion: reduce) {
  .slide.is-on .slide__art > *, .slide__art--dots span, .product__crown, .intro img, .intro__word, .intro__line i { animation: none !important; }
  .intro img, .intro__word { opacity: 1; }
  .slide__body > * { transition: none; }
}

/* v3 — ajustes finos */
@media (max-width: 767px) {
  .slide__word { display: none; }
  .slide__crown { width: min(46%, 200px); }
  .news__nav { top: 14px; bottom: auto; right: 14px; }
  .news__btn { width: 40px; height: 40px; }
  .slide__body { padding-bottom: 28px; }
  .ceo__portrait { max-width: 260px; }
  .wa { right: 14px; bottom: 14px; height: 50px; padding: 0 13px; }
}
@media (min-width: 768px) {
  .sol__item--accent { grid-column: 1 / -1; }
}

/* =================================================================
   FONDO DE LUJO — una sola capa fija para toda la página:
   sedas de color que derivan muy despacio, un brillo champán que cruza
   en diagonal y grano fino de película. Sin cuadrícula.
   ================================================================= */
.lux-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, #150c33 0%, #0a071d 42%, #040410 100%);
}
.lux-bg i {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  opacity: 0.68;
  mix-blend-mode: screen;
  will-change: transform;
  animation: silk 48s ease-in-out infinite alternate;
}
.lux-bg i:nth-child(1) { top: -30vmax; left: -20vmax; background: radial-gradient(closest-side, #8a2a9c, transparent); }
.lux-bg i:nth-child(2) { top: 20vh; right: -30vmax; background: radial-gradient(closest-side, #2a37a8, transparent); animation-duration: 62s; animation-delay: -12s; }
.lux-bg i:nth-child(3) { bottom: -35vmax; left: 10vw; background: radial-gradient(closest-side, rgba(230, 180, 110, 0.7), transparent); opacity: 0.45; animation-duration: 56s; animation-delay: -30s; }
.lux-bg i:nth-child(4) { top: 35vh; left: -25vmax; width: 50vmax; height: 50vmax; background: radial-gradient(closest-side, #0f7280, transparent); opacity: 0.55; animation-duration: 70s; animation-delay: -20s; }
@keyframes silk {
  0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  50% { transform: translate3d(8vw, 6vh, 0) scale(1.12) rotate(20deg); }
  100% { transform: translate3d(-6vw, -4vh, 0) scale(0.95) rotate(-12deg); }
}
/* Brillo champán: bandas diagonales muy suaves que se deslizan. */
.lux-bg::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: repeating-linear-gradient(118deg, transparent 0 14%, rgba(246, 231, 193, 0.035) 18%, rgba(246, 231, 193, 0.07) 19%, rgba(246, 231, 193, 0.035) 20%, transparent 24%);
  animation: sheen 38s linear infinite;
}
@keyframes sheen { to { transform: translate3d(24%, 0, 0); } }
/* Grano fino y viñeta. */
.lux-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.06;
}
.lux-bg b {
  position: absolute;
  inset: 0;
  background: radial-gradient(130% 100% at 50% 50%, transparent 60%, rgba(2, 2, 8, 0.55) 100%);
}
.about, .sol, .proj, .team, .contact, .foot, .marquee, .news, .ceo, .reel, .path { background: transparent; }
.foot { border-top-color: rgba(230, 198, 130, 0.18); }
.marquee { border-block-color: rgba(230, 198, 130, 0.14); }
@media (prefers-reduced-motion: reduce) {
  .lux-bg i, .lux-bg::before { animation: none; }
}
body { background: transparent; }

/* CEO destacado: ocupa 2×2 en la cuadrícula del equipo (9 tarjetas = 12 celdas). */
.leader--lead { grid-column: span 2; }
.leader--lead .photo { aspect-ratio: auto; flex: 1; min-height: 220px; }
.leader--lead .photo__mono { font-size: clamp(2.6rem, 6vw, 4.5rem); }
.leader--lead h3 { font-size: 1.25rem; }
@media (min-width: 900px) {
  .leader--lead { grid-row: span 2; }
}

/* Logo propio de una división (fondo negro): el negro se funde con el cuadro. */
.frame--logo .frame__pic img { mix-blend-mode: screen; filter: drop-shadow(0 0 26px rgba(230, 198, 130, 0.35)); }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gallery[hidden] { display: none; }
