/* =========================================================
   GRUPO LEÓN — Portada del holding y páginas de marca
   ========================================================= */
:root {
  --gl-negro: #030a1a;
  --gl-navy: #061631;
  --gl-navy-2: #0b2556;
  --gl-azul: #1e4fa8;
  --gl-celeste: #6fb3ff;
  --gl-oro: #f5c66b;
  --gl-texto: rgba(255, 255, 255, .78);
  --gl-tenue: rgba(255, 255, 255, .55);
  --gl-linea: rgba(255, 255, 255, .12);

  /* Color de cada marca */
  --m-leon: #2d7ff9;
  --m-estelar: #8fb8ff;
  --m-khant: #ff2b2b;
  --m-oikos: #c4283d;

  --f-titulo: 'Outfit', system-ui, sans-serif;
  --f-texto: 'DM Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: 1rem;
  line-height: 1.6;
  color: #fff;
  background: var(--gl-negro);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.intro-activa { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-titulo); line-height: 1.05; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--gl-oro); color: var(--gl-negro); }

.gl-contenedor { width: min(1240px, 100% - 32px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--gl-navy); padding: .6rem 1rem; border-radius: 8px; z-index: 300; }
.skip-link:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--gl-oro); outline-offset: 3px; }

/* Grano sutil sobre todo el sitio */
.gl-grano {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Barra de progreso del scroll */
.gl-progreso {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120;
  background: linear-gradient(90deg, var(--m-leon), var(--m-estelar), var(--m-khant), var(--m-oikos));
  transform-origin: left; transform: scaleX(var(--p, 0));
}

/* =========================================================
   INTRO — el león ruge
   ========================================================= */
.gl-intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; cursor: pointer; }
.no-js .gl-intro { display: none; }
.gl-intro__mitad {
  position: absolute; left: 0; right: 0; height: 50.5%;
  background: radial-gradient(120% 120% at 50% 100%, #0b2556 0%, var(--gl-negro) 60%);
  transition: transform 1.05s var(--ease-in-out);
}
.gl-intro__mitad--a { top: 0; }
.gl-intro__mitad--b { bottom: 0; background: radial-gradient(120% 120% at 50% 0%, #0b2556 0%, var(--gl-negro) 60%); }
.gl-intro.is-salida .gl-intro__mitad--a { transform: translateY(-101%); }
.gl-intro.is-salida .gl-intro__mitad--b { transform: translateY(101%); }

.gl-intro__centro { position: relative; display: grid; justify-items: center; gap: 1.6rem; transition: opacity .5s, transform .9s var(--ease-in-out), filter .5s; }
.gl-intro.is-salida .gl-intro__centro { opacity: 0; transform: scale(1.5); filter: blur(10px); }

.gl-intro__leon-wrap { position: relative; width: clamp(150px, 26vw, 230px); aspect-ratio: 3555 / 3395; }
.gl-intro__leon {
  width: 100%; height: 100%;
  clip-path: circle(0% at 50% 50%);
  animation: gl-revelar 1.1s var(--ease) .25s forwards, gl-rugido .5s ease-out 1.25s;
  filter: drop-shadow(0 0 40px rgba(111, 179, 255, .55));
}
@keyframes gl-revelar { to { clip-path: circle(75% at 50% 50%); } }
@keyframes gl-rugido { 0% { transform: scale(1); } 35% { transform: scale(1.12) rotate(-2deg); } 100% { transform: scale(1); } }
.gl-intro__ondas span {
  position: absolute; inset: 0; margin: auto; width: 100%; aspect-ratio: 1;
  border-radius: 50%; border: 2px solid var(--gl-celeste); opacity: 0;
  animation: gl-onda 1.4s var(--ease) forwards;
}
.gl-intro__ondas span:nth-child(1) { animation-delay: 1.25s; }
.gl-intro__ondas span:nth-child(2) { animation-delay: 1.4s; border-color: var(--gl-oro); }
.gl-intro__ondas span:nth-child(3) { animation-delay: 1.55s; }
@keyframes gl-onda { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }

.gl-intro__nombre { display: flex; gap: .06em; font-family: var(--f-titulo); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.6rem); letter-spacing: .14em; overflow: hidden; padding: .1em 0; }
.gl-intro__nombre span { display: inline-block; transform: translateY(110%); animation: gl-subir .7s var(--ease) forwards; animation-delay: calc(1.1s + var(--i) * 45ms); }
.gl-intro__nombre .esp { width: .45em; }
@keyframes gl-subir { to { transform: none; } }
.gl-intro__barra { width: 160px; height: 2px; background: var(--gl-linea); overflow: hidden; border-radius: 2px; }
.gl-intro__barra::after { content: ''; display: block; height: 100%; background: linear-gradient(90deg, var(--m-leon), var(--gl-oro)); transform: scaleX(0); transform-origin: left; animation: gl-cargar 2s var(--ease) .2s forwards; }
@keyframes gl-cargar { to { transform: scaleX(1); } }

/* =========================================================
   HEADER
   ========================================================= */
.gl-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s, border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.gl-header.is-scrolled { background: rgba(3, 10, 26, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--gl-linea); }
.gl-header.is-oculto { transform: translateY(-100%); }
.gl-header .gl-contenedor { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 1rem; }
.gl-logo { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.gl-logo img { width: 46px; height: auto; transition: transform .6s var(--ease); }
.gl-logo:hover img { transform: rotate(-12deg) scale(1.08); }
.gl-logo > span { font-family: var(--f-titulo); font-weight: 800; font-size: 1.12rem; line-height: 1; letter-spacing: .06em; }
.gl-logo small { display: block; font-size: .58rem; font-weight: 600; letter-spacing: .24em; color: var(--gl-tenue); margin-top: .35rem; }
.gl-nav { display: flex; align-items: center; gap: 1.8rem; }
.gl-nav > a:not(.gl-btn) { position: relative; text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--gl-texto); transition: color .2s; }
.gl-nav > a:not(.gl-btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.gl-nav > a:not(.gl-btn):hover { color: #fff; }
.gl-nav > a:not(.gl-btn):hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 760px) { .gl-nav > a:not(.gl-btn) { display: none; } }

/* ---------- Botones ---------- */
.gl-btn {
  --bg: #fff; --fg: var(--gl-negro);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-titulo); font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), color .35s, border-color .35s, box-shadow .35s;
}
.gl-btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--hover, var(--gl-oro));
  transform: translateY(101%); transition: transform .45s var(--ease);
}
@media (hover: hover) { .gl-btn:hover::before { transform: none; } .gl-btn:hover { color: var(--fg-hover, var(--gl-negro)); } }
.gl-btn:active { transform: scale(.96); }
.gl-btn i { transition: transform .35s var(--ease); }
.gl-btn:hover i.fa-arrow-right { transform: translateX(3px); }
.gl-btn:hover i.fa-arrow-down { transform: translateY(3px); }
.gl-btn--borde { --bg: transparent; --fg: #fff; --hover: #fff; border-color: rgba(255, 255, 255, .35); }
.gl-btn--sm { padding: .6rem 1.1rem; font-size: .86rem; }
.gl-btn--acento { --bg: var(--acento); --fg: #fff; --hover: #fff; --fg-hover: var(--gl-negro); }

/* =========================================================
   HERO
   ========================================================= */
.gl-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; align-items: center;
  padding: 110px 0 120px;
  background: var(--gl-negro);
}
/* Auroras de color de las marcas */
.gl-aurora { position: absolute; inset: -20%; z-index: -3; filter: blur(90px); opacity: .55; }
.gl-aurora span { position: absolute; width: 42vmax; height: 42vmax; border-radius: 50%; animation: gl-flotar 22s ease-in-out infinite alternate; }
.gl-aurora span:nth-child(1) { background: var(--m-leon); top: 5%; left: 55%; }
.gl-aurora span:nth-child(2) { background: #1b3c8f; top: 45%; left: 10%; animation-duration: 26s; animation-delay: -6s; }
.gl-aurora span:nth-child(3) { background: var(--m-oikos); top: 60%; left: 70%; width: 26vmax; height: 26vmax; opacity: .55; animation-duration: 30s; }
.gl-aurora span:nth-child(4) { background: var(--gl-oro); top: 20%; left: 78%; width: 16vmax; height: 16vmax; opacity: .35; animation-duration: 18s; animation-delay: -3s; }
@keyframes gl-flotar {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-8vw, 6vh) scale(1.15); }
  100% { transform: translate(5vw, -5vh) scale(.9); }
}
/* Rejilla técnica */
.gl-rejilla {
  position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 45%, #000 20%, transparent 75%);
}
.gl-chispas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

.gl-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center; }
.gl-eyebrow { display: inline-flex; align-items: center; gap: .7rem; font-size: .78rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gl-oro); }
.gl-eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; }
.gl-hero h1 { font-size: clamp(2.8rem, 7.2vw, 6.4rem); font-weight: 800; margin: 1.3rem 0 1.6rem; letter-spacing: -.035em; }
.gl-linea { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.gl-linea > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.listo .gl-linea > span { transform: none; }

/* Palabra que rota */
.gl-rota { display: inline-grid; vertical-align: top; overflow: hidden; padding-bottom: .08em; }
.gl-rota > span {
  grid-area: 1 / 1; transform: translateY(105%); opacity: 0;
  transition: transform .8s var(--ease), opacity .5s;
  background: linear-gradient(90deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gl-rota > span.is-activa { transform: none; opacity: 1; }
.gl-rota > span.is-sale { transform: translateY(-105%); opacity: 0; }

.gl-hero__texto { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--gl-texto); max-width: 52ch; }
.gl-hero__acciones { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.4rem; }

.gl-entra { opacity: 0; transform: translateY(30px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.listo .gl-entra { opacity: 1; transform: none; filter: none; }

/* León del hero */
.gl-fiera { position: relative; justify-self: center; width: min(470px, 80vw); aspect-ratio: 1; display: grid; place-items: center; }
.gl-fiera__rayos {
  position: absolute; inset: -30%;
  background: repeating-conic-gradient(from 0deg, rgba(245, 198, 107, .16) 0deg 4deg, transparent 4deg 18deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 62%);
  mask-image: radial-gradient(circle, #000 0%, transparent 62%);
  animation: gl-girar 60s linear infinite;
}
.gl-fiera__anillo { position: absolute; inset: 4%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .18); animation: gl-girar 40s linear infinite reverse; }
.gl-fiera__anillo::before, .gl-fiera__anillo::after { content: ''; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--gl-oro); box-shadow: 0 0 18px var(--gl-oro); top: -5px; left: calc(50% - 5px); }
.gl-fiera__anillo::after { top: auto; bottom: -5px; background: var(--m-leon); box-shadow: 0 0 18px var(--m-leon); }
.gl-fiera__aura { position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(45, 127, 249, .55), transparent 70%); animation: gl-latir 4s ease-in-out infinite; }
.gl-fiera__leon {
  position: relative; width: 66%;
  transform: translate3d(calc(var(--mx, 0) * -22px), calc(var(--my, 0) * -22px), 0);
  transition: transform .4s var(--ease);
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .5)) drop-shadow(0 0 30px rgba(111, 179, 255, .35));
}
.gl-fiera__leon img { width: 100%; animation: gl-respirar 6s ease-in-out infinite; }
.gl-fiera__rayos, .gl-fiera__anillo { translate: calc(var(--mx, 0) * 14px) calc(var(--my, 0) * 14px); transition: translate .6s var(--ease); }
@keyframes gl-girar { to { rotate: 360deg; } }
@keyframes gl-latir { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.15); opacity: 1; } }
@keyframes gl-respirar { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-10px) scale(1.02); } }

.gl-scroll { position: absolute; left: 50%; bottom: 92px; translate: -50% 0; display: grid; justify-items: center; gap: .5rem; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gl-tenue); text-decoration: none; }
.gl-scroll i { width: 22px; height: 36px; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 12px; position: relative; }
.gl-scroll i::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: gl-rueda 1.8s var(--ease) infinite; }
@keyframes gl-rueda { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }

/* Cinta de marcas */
.gl-cinta { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--gl-linea); background: rgba(3, 10, 26, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow: hidden; padding: 1.05rem 0; }
.gl-cinta__pista { display: flex; width: max-content; animation: gl-cinta 32s linear infinite; }
.gl-cinta:hover .gl-cinta__pista { animation-play-state: paused; }
.gl-cinta__grupo { display: flex; align-items: center; gap: 2.6rem; padding-right: 2.6rem; }
.gl-cinta__item { display: inline-flex; align-items: center; gap: .8rem; font-family: var(--f-titulo); font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; white-space: nowrap; }
.gl-cinta__item img { width: 34px; height: 34px; border-radius: 50%; }
.gl-cinta__sep { color: var(--gl-oro); font-size: .9rem; }
@keyframes gl-cinta { to { transform: translateX(-50%); } }

@media (max-width: 900px) {
  .gl-hero { padding-top: 100px; }
  .gl-hero__grid { grid-template-columns: 1fr; }
  .gl-fiera { order: -1; width: min(300px, 70vw); margin-bottom: -1rem; }
  .gl-scroll { display: none; }
}

/* =========================================================
   SECCIONES GENERALES
   ========================================================= */
.gl-seccion { position: relative; padding: clamp(5rem, 10vw, 8.5rem) 0; }
.gl-cabecera { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 3.2rem; }
.gl-cabecera h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; max-width: 16ch; margin-top: 1rem; }
.gl-cabecera h2 em { font-style: normal; color: var(--gl-oro); }
.gl-cabecera > p { max-width: 40ch; color: var(--gl-texto); }

.gl-reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.gl-reveal.is-visible { opacity: 1; transform: none; }
.no-js .gl-reveal, .no-js .gl-entra { opacity: 1; transform: none; filter: none; }
.no-js .gl-linea > span { transform: none; }

/* =========================================================
   MUNDOS — panel expandible de las 4 marcas
   ========================================================= */
.gl-mundos { display: flex; gap: 14px; height: min(660px, 80vh); min-height: 520px; }
.gl-mundo {
  --acento: var(--gl-celeste);
  position: relative; isolation: isolate; overflow: hidden;
  flex: 1 1 0; min-width: 0;
  border-radius: 30px; border: 1px solid var(--gl-linea);
  color: #fff; text-decoration: none; cursor: pointer;
  background: var(--gl-navy);
  transition: flex-grow .85s var(--ease), border-color .5s, box-shadow .6s;
}
.gl-mundo.is-open { flex-grow: 3.4; border-color: color-mix(in srgb, var(--acento) 60%, transparent); box-shadow: 0 40px 80px -30px color-mix(in srgb, var(--acento) 55%, transparent); }
.gl-mundo__img { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); filter: saturate(.6) brightness(.7); transition: transform 1.4s var(--ease), filter .8s; }
.gl-mundo.is-open .gl-mundo__img { transform: scale(1.02); filter: saturate(1) brightness(.85); }
.gl-mundo::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(to top, color-mix(in srgb, var(--acento) 55%, #02060f) 0%, rgba(2, 6, 15, .75) 40%, rgba(2, 6, 15, .25) 100%);
}
/* Brillo que sigue al mouse */
.gl-mundo::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(500px circle at var(--sx, 50%) var(--sy, 50%), color-mix(in srgb, var(--acento) 35%, transparent), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.gl-mundo:hover::after { opacity: 1; }
.gl-mundo__marca-agua { position: absolute; z-index: -1; right: -18%; top: -14%; width: 75%; opacity: .07; border-radius: 50%; transform: rotate(-12deg); transition: transform 1.2s var(--ease), opacity .6s; }
.gl-mundo.is-open .gl-mundo__marca-agua { transform: rotate(0); opacity: .12; }

/* Estado cerrado: nombre vertical */
.gl-mundo__mini { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 1.8rem 0; transition: opacity .4s; }
.gl-mundo.is-open .gl-mundo__mini { opacity: 0; pointer-events: none; }
.gl-mundo__mini img { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.gl-mundo__mini span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--f-titulo); font-weight: 800; font-size: 1.7rem; letter-spacing: .04em; white-space: nowrap; }
.gl-mundo__num { font-family: var(--f-titulo); font-size: .8rem; font-weight: 700; letter-spacing: .2em; color: var(--acento); filter: brightness(1.35); }

/* Estado abierto */
.gl-mundo__info {
  position: absolute; left: 2.6rem; bottom: 2.6rem; width: min(520px, calc(100% - 5.2rem));
  opacity: 0; transform: translateY(30px); transition: opacity .3s, transform .3s;
}
.gl-mundo.is-open .gl-mundo__info { opacity: 1; transform: none; transition: opacity .7s .35s, transform .9s var(--ease) .3s; }
.gl-mundo__logo { width: 104px; height: 104px; border-radius: 50%; margin-bottom: 1.4rem; box-shadow: 0 0 0 6px rgba(255, 255, 255, .08), 0 20px 50px rgba(0, 0, 0, .5); }
.gl-mundo__rubro { display: inline-flex; align-items: center; gap: .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--acento); filter: brightness(1.35); }
.gl-mundo__rubro::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
.gl-mundo h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 800; margin: .5rem 0 .8rem; }
.gl-mundo__info p { color: var(--gl-texto); max-width: 46ch; }
.gl-mundo__tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.2rem 0 1.6rem; }
.gl-mundo__tags span { font-size: .8rem; padding: .32rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px); }
.gl-mundo__entrar { display: inline-flex; align-items: center; gap: .8rem; font-family: var(--f-titulo); font-weight: 700; font-size: 1.05rem; }
.gl-mundo__entrar b { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--acento); color: #fff; transition: transform .5s var(--ease); box-shadow: 0 10px 30px color-mix(in srgb, var(--acento) 60%, transparent); }
.gl-mundo:hover .gl-mundo__entrar b { transform: rotate(-45deg) scale(1.08); }

@media (max-width: 900px) {
  .gl-mundos { flex-direction: column; height: auto; min-height: 0; }
  .gl-mundo, .gl-mundo.is-open { flex: none; min-height: 470px; }
  .gl-mundo__mini { display: none; }
  .gl-mundo__info { opacity: 1; transform: none; left: 1.5rem; bottom: 1.5rem; width: calc(100% - 3rem); }
  .gl-mundo__img { transform: scale(1.02); filter: saturate(1) brightness(.8); }
  .gl-mundo__logo { width: 84px; height: 84px; }
}

/* =========================================================
   ECOSISTEMA — órbita de marcas
   ========================================================= */
.gl-eco { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.gl-eco h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; margin: 1rem 0 1.2rem; }
.gl-eco h2 em { font-style: normal; color: var(--gl-oro); }
.gl-eco > div > p { color: var(--gl-texto); }
.gl-eco__lista { display: grid; gap: .4rem; margin-top: 2rem; }
.gl-eco__item { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 18px; border: 1px solid transparent; text-decoration: none; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.gl-eco__item:hover, .gl-eco__item.is-activo { background: rgba(255, 255, 255, .04); border-color: var(--gl-linea); transform: translateX(6px); }
.gl-eco__item img { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.gl-eco__item h3 { font-size: 1.05rem; }
.gl-eco__item p { color: var(--gl-texto); font-size: .94rem; margin-top: .15rem; }

.gl-orbita { --r: min(210px, 36vw); position: relative; width: min(540px, 92vw); aspect-ratio: 1; justify-self: center; }
.gl-orbita__aro { position: absolute; inset: 50% auto auto 50%; width: calc(var(--r) * 2); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .2); }
.gl-orbita__aro--2 { width: calc(var(--r) * 1.3); border-style: solid; border-color: rgba(255, 255, 255, .07); }
.gl-orbita__centro { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; width: calc(var(--r) * .9); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(45, 127, 249, .45), transparent 70%); }
.gl-orbita__centro img { width: 72%; animation: gl-respirar 6s ease-in-out infinite; }
.gl-orbita__centro::before, .gl-orbita__centro::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gl-celeste); opacity: 0; animation: gl-pulso 3.2s var(--ease) infinite; }
.gl-orbita__centro::after { animation-delay: 1.6s; border-color: var(--gl-oro); }
@keyframes gl-pulso { 0% { transform: scale(.8); opacity: .7; } 100% { transform: scale(2.1); opacity: 0; } }
.gl-orbita__giro { position: absolute; inset: 0; animation: gl-girar 48s linear infinite; }
.gl-orbita:hover .gl-orbita__giro, .gl-orbita:hover .gl-orbita__planeta a { animation-play-state: paused; }
.gl-orbita__planeta {
  position: absolute; top: 50%; left: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px;
  transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(var(--a) * -1));
}
.gl-orbita__planeta a { display: block; width: 100%; height: 100%; border-radius: 50%; animation: gl-girar 48s linear infinite reverse; transition: box-shadow .4s, scale .4s var(--ease); box-shadow: 0 0 0 5px rgba(255, 255, 255, .06), 0 16px 40px rgba(0, 0, 0, .5); }
.gl-orbita__planeta a:hover, .gl-orbita__planeta a.is-activo { scale: 1.15; box-shadow: 0 0 0 5px var(--c), 0 0 50px var(--c); }
.gl-orbita__planeta img { width: 100%; height: 100%; border-radius: 50%; }
@media (max-width: 900px) { .gl-eco { grid-template-columns: 1fr; } .gl-orbita { --r: 34vw; } .gl-orbita__planeta { width: 72px; height: 72px; margin: -36px 0 0 -36px; } }

/* =========================================================
   CIFRAS
   ========================================================= */
.gl-cifras { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--gl-linea); border-bottom: 1px solid var(--gl-linea); }
.gl-cifra { padding: 2.6rem 1.6rem; border-left: 1px solid var(--gl-linea); }
.gl-cifra:first-child { border-left: 0; }
.gl-cifra strong { display: block; font-family: var(--f-titulo); font-weight: 800; font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, .45)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gl-cifra span { display: block; margin-top: .7rem; color: var(--gl-texto); font-size: .95rem; }
@media (max-width: 760px) { .gl-cifras { grid-template-columns: 1fr 1fr; } .gl-cifra { padding: 1.8rem 1rem; } .gl-cifra:nth-child(3) { border-left: 0; } .gl-cifra:nth-child(n+3) { border-top: 1px solid var(--gl-linea); } }

/* =========================================================
   CONTACTO
   ========================================================= */
.gl-cta {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 36px; padding: clamp(2.2rem, 6vw, 5rem);
  background: linear-gradient(135deg, #0f3a8a 0%, var(--gl-navy-2) 45%, #2a0c1a 100%);
  text-align: center;
}
.gl-cta::before { content: ''; position: absolute; z-index: -1; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(245, 198, 107, .18), transparent 30%); animation: gl-girar 14s linear infinite; }
.gl-cta__leon { position: absolute; z-index: -1; width: 520px; left: 50%; top: 50%; translate: -50% -50%; opacity: .06; }
.gl-cta h2 { font-size: clamp(2.3rem, 5.6vw, 4.6rem); font-weight: 800; max-width: 14ch; margin: 1rem auto 1rem; }
.gl-cta > p { color: var(--gl-texto); max-width: 52ch; margin: 0 auto; }
.gl-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 2.2rem 0; }
.gl-chip { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem .45rem .45rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .05); cursor: pointer; font-weight: 600; font-size: .92rem; transition: background .3s, border-color .3s, transform .3s var(--ease), color .3s; }
.gl-chip img { width: 32px; height: 32px; border-radius: 50%; }
.gl-chip:hover { transform: translateY(-2px); }
.gl-chip[aria-pressed="true"] { background: #fff; color: var(--gl-negro); border-color: #fff; }
.gl-cta__datos { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2rem; margin-top: 2rem; color: var(--gl-texto); font-size: .92rem; }
.gl-cta__datos a { text-decoration: none; }
.gl-cta__datos a:hover { color: #fff; }
.gl-cta__datos i { color: var(--gl-oro); margin-right: .4rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.gl-footer { padding: 4rem 0 2rem; border-top: 1px solid var(--gl-linea); }
.gl-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.gl-footer h4 { font-family: var(--f-titulo); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gl-tenue); margin: 0 0 1rem; }
.gl-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.gl-footer a { text-decoration: none; color: var(--gl-texto); transition: color .2s; }
.gl-footer a:hover { color: #fff; }
.gl-footer__marca { display: inline-flex; align-items: center; gap: .6rem; }
.gl-footer__marca img { width: 26px; height: 26px; border-radius: 50%; }
.gl-footer__texto { color: var(--gl-tenue); margin-top: 1rem; max-width: 36ch; font-size: .94rem; }
.gl-footer__gigante { font-family: var(--f-titulo); font-weight: 800; font-size: clamp(3.5rem, 15vw, 13rem); line-height: .85; letter-spacing: -.04em; text-align: center; margin: 3rem 0 1.5rem; white-space: nowrap; background: linear-gradient(180deg, rgba(255, 255, 255, .14), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.gl-footer__legal { padding-top: 1.5rem; border-top: 1px solid var(--gl-linea); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; color: var(--gl-tenue); }
@media (max-width: 760px) { .gl-footer__grid { grid-template-columns: 1fr; } }

.gl-wsp { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 1.7rem; text-decoration: none; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); transition: transform .3s var(--ease); }
.gl-wsp::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: gl-pulso 2.4s var(--ease) infinite; }
.gl-wsp:hover { transform: scale(1.08); }

/* =========================================================
   PÁGINA DE MARCA (Khant Digital, Oikos)
   ========================================================= */
.gl-marca-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: 120px 0 80px; }
.gl-marca-hero .gl-aurora span:nth-child(1) { background: var(--acento); }
.gl-marca-hero .gl-aurora span:nth-child(3) { background: var(--acento-2, var(--acento)); }
.gl-marca-hero h1 { font-size: clamp(2.7rem, 6.6vw, 5.6rem); font-weight: 800; margin: 1.2rem 0 1.5rem; letter-spacing: -.035em; }
.gl-marca-hero h1 em { font-style: normal; color: var(--acento); filter: brightness(1.25); }
.gl-marca-hero .gl-eyebrow { color: var(--acento); filter: brightness(1.3); }
.gl-medallon { position: relative; justify-self: center; width: min(400px, 72vw); aspect-ratio: 1; display: grid; place-items: center; }
.gl-medallon img { position: relative; width: 82%; border-radius: 50%; box-shadow: 0 0 0 10px rgba(255, 255, 255, .06), 0 40px 90px -20px color-mix(in srgb, var(--acento) 70%, transparent); animation: gl-respirar 6s ease-in-out infinite; }
.gl-medallon::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .25); animation: gl-girar 30s linear infinite; }
.gl-medallon::after { content: ''; position: absolute; inset: 8%; border-radius: 50%; border: 2px solid var(--acento); opacity: 0; animation: gl-pulso 3s var(--ease) infinite; }

.gl-servicios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gl-servicio { position: relative; isolation: isolate; overflow: hidden; padding: 2rem; border-radius: 24px; background: rgba(255, 255, 255, .03); border: 1px solid var(--gl-linea); transition: border-color .4s, transform .5s var(--ease); }
.gl-servicio::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(400px circle at var(--sx, 50%) var(--sy, 50%), color-mix(in srgb, var(--acento) 22%, transparent), transparent 50%); opacity: 0; transition: opacity .4s; }
.gl-servicio:hover { border-color: color-mix(in srgb, var(--acento) 55%, transparent); transform: translateY(-6px); }
.gl-servicio:hover::before { opacity: 1; }
.gl-servicio i { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.3rem; color: #fff; background: var(--acento); box-shadow: 0 12px 30px -8px var(--acento); }
.gl-servicio h3 { font-size: 1.25rem; margin: 1.2rem 0 .45rem; }
.gl-servicio p { color: var(--gl-texto); font-size: .95rem; }
@media (max-width: 900px) { .gl-servicios { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .gl-servicios { grid-template-columns: 1fr; } }

.gl-contacto { border-radius: 32px; padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; background: linear-gradient(135deg, color-mix(in srgb, var(--acento) 35%, #050b18), var(--gl-navy)); border: 1px solid var(--gl-linea); }
.gl-contacto h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin: .9rem 0 1rem; }
.gl-contacto > div > p { color: var(--gl-texto); }
@media (max-width: 860px) { .gl-contacto { grid-template-columns: 1fr; } }

.gl-form { background: #fff; color: #0d1b33; border-radius: 24px; padding: 2rem; }
.gl-form h3 { font-size: 1.4rem; }
.gl-form > p { color: #4a5872; margin: .4rem 0 1.3rem; font-size: .94rem; }
.gl-campo { display: grid; gap: .35rem; margin-bottom: 1rem; }
.gl-campo label { font-size: .86rem; font-weight: 600; }
.gl-campo input, .gl-campo select, .gl-campo textarea { font: inherit; padding: .8rem 1rem; border-radius: 12px; border: 1px solid #d6deea; background: #f8fafd; color: inherit; width: 100%; }
.gl-campo input:focus, .gl-campo select:focus, .gl-campo textarea:focus { outline: 2px solid var(--acento, var(--gl-azul)); outline-offset: 1px; background: #fff; }
.gl-form .gl-btn { width: 100%; --bg: var(--gl-negro); --fg: #fff; --hover: var(--acento); --fg-hover: #fff; }

/* =========================================================
   Movimiento reducido
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .gl-intro { display: none; }
  .gl-entra, .gl-reveal { opacity: 1; transform: none; filter: none; }
  .gl-linea > span { transform: none; }
}

/* =========================================================
   MUNDOS con video + escena de Khant
   ========================================================= */
.gl-mundo:not(.is-open) .gl-mundo__img { filter: grayscale(.35) brightness(.45); }
.gl-mundo.is-open::before { background: linear-gradient(to top, color-mix(in srgb, var(--acento) 55%, #02060f) 0%, rgba(2, 6, 15, .82) 36%, rgba(2, 6, 15, .05) 68%); }
.gl-mundo__logo { display: none; }

/* León: video horizontal sobre fondo blanco, ocupa la parte superior */
.gl-mundo--claro { background: #fff; }
.gl-mundo--claro .gl-mundo__img { height: 70%; inset: 0 0 auto 0; }
.gl-mundo--claro:not(.is-open) .gl-mundo__img { height: 100%; }

/* Barra de progreso del video del panel abierto */
.gl-mundo__barra {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 3px;
  background: var(--acento); box-shadow: 0 0 14px var(--acento);
  transform: scaleX(var(--prog, 0)); transform-origin: left; transition: transform .25s linear, opacity .3s;
  opacity: 0;
}
.gl-mundo.is-open .gl-mundo__barra { opacity: 1; }

/* Escena de Khant: solo imágenes, animadas */
.gl-khant { position: absolute; inset: 0; z-index: -3; overflow: hidden; background: radial-gradient(circle at 50% 32%, #4a0707 0%, #140000 55%, #050000 100%); }
.gl-khant__rayas { position: absolute; inset: -50%; background: repeating-linear-gradient(-45deg, rgba(255, 43, 43, .09) 0 14px, transparent 14px 48px); animation: gl-rayas 3.5s linear infinite; }
@keyframes gl-rayas { to { transform: translateX(67.88px); } }
.gl-khant__halo { position: absolute; left: 50%; top: 30%; width: 70%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 43, 43, .55), transparent 65%); animation: gl-latir 2.6s ease-in-out infinite; }
.gl-khant__logo { position: absolute; left: 50%; top: 30%; width: min(50%, 290px); translate: -50% -50%; transition: opacity .6s, scale .9s var(--ease); }
.gl-khant__logo img { width: 100%; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .6)) drop-shadow(0 0 24px rgba(255, 43, 43, .45)); animation: gl-respirar 5s ease-in-out infinite; }
.gl-khant__logo .gl-khant__glitch { position: absolute; inset: 0; opacity: 0; filter: none; animation: gl-glitch 3.2s steps(1) infinite; }
.gl-khant__glitch--a { mix-blend-mode: screen; filter: drop-shadow(-4px 0 0 #00f0ff) !important; }
.gl-khant__glitch--b { mix-blend-mode: screen; filter: drop-shadow(4px 0 0 #ff2b2b) !important; animation-delay: .08s !important; }
@keyframes gl-glitch {
  0%, 84%, 100% { opacity: 0; transform: none; clip-path: inset(0); }
  86% { opacity: .9; transform: translateX(-9px); clip-path: inset(18% 0 58% 0); }
  88% { opacity: .9; transform: translateX(7px); clip-path: inset(62% 0 12% 0); }
  90% { opacity: .9; transform: translateX(-4px); clip-path: inset(38% 0 40% 0); }
  92% { opacity: .9; transform: translateX(5px); clip-path: inset(80% 0 4% 0); }
  94% { opacity: 0; }
}
.gl-khant__scan { position: absolute; left: 0; right: 0; height: 120px; top: -120px; background: linear-gradient(to bottom, transparent, rgba(255, 60, 60, .22) 85%, rgba(255, 140, 140, .7)); animation: gl-scan 3.2s cubic-bezier(.5, 0, .5, 1) infinite; }
@keyframes gl-scan { to { transform: translateY(calc(660px + 120px)); } }
.gl-khant__palabras { position: absolute; top: 1.6rem; left: 2.6rem; display: flex; gap: 1.2rem; font-family: var(--f-titulo); font-weight: 700; font-size: .7rem; letter-spacing: .22em; transition: opacity .5s; }
.gl-khant__palabras span { opacity: .25; animation: gl-palabra 4s infinite; }
.gl-khant__palabras span:nth-child(2) { animation-delay: 1s; }
.gl-khant__palabras span:nth-child(3) { animation-delay: 2s; }
.gl-khant__palabras span:nth-child(4) { animation-delay: 3s; }
@keyframes gl-palabra { 0%, 30%, 100% { opacity: .25; color: #fff; } 8%, 22% { opacity: 1; color: var(--m-khant); text-shadow: 0 0 14px var(--m-khant); } }
.gl-mundo--khant:not(.is-open) .gl-khant__logo { opacity: 0; scale: .7; }
.gl-mundo--khant:not(.is-open) .gl-khant__palabras { opacity: 0; }

@media (max-width: 900px) {
  .gl-mundo .gl-mundo__img { filter: none; }
  .gl-mundo::before { background: linear-gradient(to top, color-mix(in srgb, var(--acento) 55%, #02060f) 0%, rgba(2, 6, 15, .82) 40%, rgba(2, 6, 15, .05) 72%) !important; }
  .gl-mundo--claro .gl-mundo__img { height: 55%; }
  .gl-mundo, .gl-mundo.is-open { min-height: 620px; }
  .gl-mundo__barra { opacity: 1; }
  .gl-khant__logo { top: 26%; width: min(62%, 260px); }
  .gl-khant__palabras { left: 1.5rem; gap: .8rem; font-size: .6rem; }
}

/* Ajustes de encuadre de videos */
.gl-mundo.is-open video.gl-mundo__img { filter: none; }
.gl-mundo[data-marca="estelar"] .gl-mundo__img,
.gl-mundo[data-marca="oikos"] .gl-mundo__img { object-position: 50% 72%; }
@media (max-width: 900px) {
  .gl-mundo[data-marca="estelar"] .gl-mundo__img,
  .gl-mundo[data-marca="oikos"] .gl-mundo__img {
    height: 60%; inset: 0 0 auto 0; object-position: 50% 70%;
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
    mask-image: linear-gradient(to bottom, #000 70%, transparent);
  }
}
.gl-mundo[data-marca="estelar"] .gl-mundo__img { object-position: 50% 64%; }

/* Evitar scroll horizontal (la órbita gira y su caja ocupa la diagonal) */
html { overflow-x: clip; }
#ecosistema { overflow-x: clip; }
