/*
 * Landing Habitus. Usa solo las variables de marca.css.
 * Un solo eje central: títulos y frases cortas centrados; textos largos alineados
 * a la izquierda dentro de un ancho de lectura. Líneas finas como estructura,
 * sin sombras, degradados ni transparencias.
 */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--blanco-hueso);
  color: var(--negro-suave);
  font-family: var(--fuente);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern", "calt", "ss01", "cv11";
  text-rendering: optimizeLegibility;
}
::selection { background: var(--arena-calida); color: var(--verde-profundo); }
h1, h2, h3, h4, .titulo, .cita { text-wrap: balance; }
p { text-wrap: pretty; }
img, svg, video { display: block; max-width: 100%; }
a { color: var(--verde-profundo); }
a:hover { color: var(--negro-suave); }
:focus-visible { outline: 2px solid var(--verde-bruma); outline-offset: 3px; }
[hidden] { display: none !important; }

.saltar { position: absolute; left: -9999px; }
.saltar:focus { left: 16px; top: 16px; z-index: 50; padding: 10px 14px; background: var(--blanco-hueso); color: var(--verde-profundo); }
.contenedor { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 72px); }
.etiqueta { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--verde-profundo); }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px;
  border: 1px solid transparent; border-radius: 2px;
  font: inherit; font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.boton--claro { background: var(--blanco-hueso); color: var(--verde-profundo); }
.boton--claro:hover { background: var(--arena-calida); color: var(--verde-profundo); }
.boton--oscuro { background: var(--verde-profundo); color: var(--blanco-hueso); }
.boton--oscuro:hover { background: var(--negro-suave); color: var(--blanco-hueso); }
.boton:disabled { cursor: default; background: var(--verde-bruma); }

/* ---------- Cabecera fija ---------- */
.cabecera { position: sticky; top: 0; z-index: 20; background: var(--verde-profundo); color: var(--blanco-hueso); border-bottom: 1px solid var(--verde-bruma); }
.cabecera__fila { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; padding-block: 12px; }
.cabecera__logo img { height: 40px; width: auto; }
.cabecera__nav { display: flex; align-items: center; gap: 28px; }
.menu { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; font-size: 13px; letter-spacing: 0.04em; }
.menu a, .idiomas a { position: relative; text-decoration: none; padding: 8px 0; transition: color 0.3s ease; }
.menu a { color: var(--arena-calida); }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--blanco-hueso); transform: scaleX(0); transform-origin: left; transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.menu a:hover { color: var(--blanco-hueso); }
.menu a:hover::after { transform: scaleX(1); }
.idiomas { display: flex; gap: 14px; padding-left: 24px; border-left: 1px solid var(--verde-bruma); font-size: 13px; letter-spacing: 0.06em; }
.idiomas a { color: var(--verde-bruma); }
.idiomas a:hover, .idiomas a[aria-current] { color: var(--blanco-hueso); }
.idiomas a[aria-current] { font-weight: 600; }
@media (max-width: 900px) {
  .menu { display: none; }
  .idiomas { padding-left: 0; border-left: 0; }
}

/* ---------- Inicio: el logo imponente ocupa la pantalla y luego se minimiza ---------- */
.inicio { display: none; }
.js .inicio {
  position: fixed; inset: 0; z-index: 40; display: grid; place-items: center;
  background: var(--verde-profundo);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.8s cubic-bezier(0.65, 0, 0.35, 1);
}
.inicio__logo { width: min(58vh, 72vw); height: auto; transform-origin: center; animation: inicio-aparecer 2.6s cubic-bezier(0.25, 0.6, 0.25, 1) both; transition: transform 1.8s cubic-bezier(0.65, 0, 0.35, 1); }
.inicio--minimizado { clip-path: inset(0 0 calc(100% - 72px) 0) !important; }
.inicio--fin { display: none !important; }
body.en-inicio { overflow: hidden; }
body.en-inicio .cabecera__logo { visibility: hidden; }
@keyframes inicio-aparecer { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .inicio__logo { animation: none; } .js .inicio { transition: none; } }

/* ---------- Portada: después del verde, Blanco Hueso ---------- */
.portada { background: var(--blanco-hueso); color: var(--verde-profundo); text-align: center; }
.portada__grid { padding-block: clamp(104px, 15vw, 200px) clamp(88px, 12vw, 160px); }
.portada__etiqueta { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 0 40px; }
.portada__etiqueta::before, .portada__etiqueta::after { content: ""; width: 48px; height: 1px; background: var(--verde-profundo); }
.portada__titulo { margin: 0 auto; max-width: 14ch; font-size: clamp(50px, 8.6vw, 124px); line-height: 0.96; letter-spacing: -0.048em; font-weight: 600; }
.portada__entrada { margin: 40px auto 0; max-width: 36ch; font-size: clamp(18px, 1.9vw, 23px); line-height: 1.5; color: var(--negro-suave); }
.acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 52px; }

/* ---------- Secciones ---------- */
.bloque { padding-block: clamp(96px, 12vw, 168px); border-top: 1px solid var(--arena-calida); }
.bloque__indice { display: flex; justify-content: center; align-items: baseline; gap: 14px; margin: 0 0 36px; }
.bloque__numero { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--verde-profundo); }
.bloque__cuerpo { max-width: 1040px; margin: 0 auto; text-align: center; }
.titulo { margin: 0 auto; max-width: 18ch; font-size: clamp(36px, 5.2vw, 70px); line-height: 1.02; letter-spacing: -0.042em; font-weight: 600; color: var(--verde-profundo); }
.subtitulo { margin: clamp(96px, 10vw, 140px) 0 0; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--verde-profundo); }
.entrada { margin: 28px auto 0; max-width: 52ch; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; }
.cita { margin: 72px auto 0; max-width: 32ch; font-size: clamp(22px, 2.5vw, 32px); line-height: 1.3; font-weight: 500; letter-spacing: -0.018em; color: var(--verde-profundo); }
.nota, .ayuda { margin: 28px auto 0; max-width: 56ch; font-size: 15px; }

/* Textos largos: alineados a la izquierda, ancho de lectura cómodo */
.lectura { max-width: 62ch; margin-left: auto; margin-right: auto; text-align: left; }

/* ---------- Manifiesto: cinco líneas esenciales ---------- */
.extracto { margin: 0 auto; padding: 0; list-style: none; max-width: 980px; }
.extracto li { margin-left: auto; margin-right: auto; max-width: 26ch; }
.extracto li:first-child { max-width: 17ch; }
.extracto li { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.25; letter-spacing: -0.022em; font-weight: 500; color: var(--verde-profundo); }
.extracto li:first-child { font-size: clamp(32px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 600; }
.extracto li + li { margin-top: 40px; padding-top: 40px; position: relative; }
.extracto li + li::before { content: ""; position: absolute; top: 0; left: 50%; width: 32px; height: 1px; background: var(--arena-calida); transform: translateX(-50%); }

/* Texto completo (manifiesto y trailer) en un desplegable sobrio */
.guion { margin-top: 56px; }
.guion summary { display: inline-block; cursor: pointer; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--verde-profundo); list-style: none; }
.guion summary::-webkit-details-marker { display: none; }
.guion__texto { margin: 40px auto 0; max-width: 62ch; text-align: left; }
.guion__texto p { margin: 0 0 18px; }
.guion__texto .guion__destacado { font-size: 21px; line-height: 1.35; font-weight: 500; color: var(--verde-profundo); }

/* ---------- El nombre y las tres leyes ---------- */
.linaje, .leyes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin: 64px 0 0; padding: 0; list-style: none; text-align: left; }
.linaje__hito { padding-top: 28px; border-top: 1px solid var(--verde-profundo); }
.linaje__concepto { display: block; font-size: clamp(36px, 4.2vw, 56px); font-weight: 500; font-style: italic; letter-spacing: -0.035em; line-height: 1; color: var(--verde-profundo); }
.linaje__autor { display: block; margin-top: 16px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--verde-profundo); }
.linaje__autor em { font-style: normal; font-weight: 500; letter-spacing: 0.06em; text-transform: none; }
.linaje__hito p { margin: 14px 0 0; }
.leyes { margin-top: 40px; }
.ley { padding-top: 24px; border-top: 2px solid var(--color); }
.ley__numero { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; color: var(--verde-profundo); }
.ley h4 { margin: 12px 0 0; font-size: 22px; letter-spacing: -0.012em; color: var(--verde-profundo); }
.ley p { margin: 8px 0 0; }
.ley__raiz { margin-top: 14px !important; font-size: 14px; font-style: italic; color: var(--verde-profundo); }
@media (max-width: 860px) { .linaje, .leyes { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Ocho preguntas ---------- */
.preguntas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 64px 0 0; padding: 0; list-style: none; background: var(--arena-calida); border: 1px solid var(--arena-calida); }
.pregunta { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 36px 22px; background: var(--blanco-hueso); }
.pregunta__pilar { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--verde-profundo); }
.pregunta__texto { margin: 0; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.3; letter-spacing: -0.012em; font-weight: 500; color: var(--verde-profundo); }
.pregunta__autor { margin-top: auto; font-size: 13px; font-style: italic; }
@media (max-width: 1000px) { .preguntas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .preguntas { grid-template-columns: 1fr; } }

/* ---------- Ecosistema: origen, presente y rumbo ---------- */
.revela { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 64px 0 0; padding: 0; list-style: none; }
.revela::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--verde-profundo); }
.revela__tiempo { position: relative; padding-top: 34px; }
.revela__marca { position: absolute; left: 50%; top: 0; width: 13px; height: 13px; background: var(--verde-profundo); transform: translateX(-50%); }
.revela__tiempo:nth-child(2) .revela__marca { background: var(--verde-bruma); }
.revela__tiempo:nth-child(3) .revela__marca { background: var(--arena-calida); }
.revela__numero { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--verde-profundo); }
.revela__tiempo h3 { margin: 10px 0 0; font-size: 22px; letter-spacing: -0.012em; color: var(--verde-profundo); }
.revela__tiempo p { margin: 8px auto 0; max-width: 30ch; }
@media (max-width: 860px) {
  .revela { grid-template-columns: 1fr; gap: 0; }
  .revela::before { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .revela__tiempo { padding: 34px 0 28px; background: var(--blanco-hueso); }
}

/* ---------- Constelación: los 18 módulos alrededor de Habitus ---------- */
.ecosistema__invitacion { margin-top: 96px; }
.constelacion { position: relative; max-width: 980px; aspect-ratio: 16 / 11; margin: 40px auto 0; }
.constelacion__lineas { position: absolute; inset: 0; width: 100%; height: 100%; }
.constelacion__lineas line { stroke: var(--verde-bruma); stroke-width: 1; vector-effect: non-scaling-stroke; }
.constelacion__lineas line.constelacion__anillo { stroke: var(--arena-calida); }
.constelacion__centro { position: absolute; left: 50%; top: 50%; width: clamp(80px, 11vw, 124px); height: auto; padding: 14px; background: var(--blanco-hueso); transform: translate(-50%, -50%); }
.constelacion__estrellas { margin: 0; padding: 0; list-style: none; }
.constelacion__estrellas li { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.estrella {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border: 1px solid var(--verde-profundo); border-radius: 2px;
  background: var(--blanco-hueso); color: var(--verde-profundo);
  font: inherit; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
  cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease;
}
.estrella::before { content: ""; width: 6px; height: 6px; background: var(--arena-calida); }
.estrella:hover, .estrella[aria-expanded="true"] { background: var(--verde-profundo); color: var(--blanco-hueso); }
@media (max-width: 760px) {
  .constelacion { aspect-ratio: auto; }
  .constelacion__lineas { display: none; }
  .constelacion__centro { position: static; margin: 0 auto 28px; transform: none; padding: 0; }
  .constelacion__estrellas { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .constelacion__estrellas li { position: static; transform: none; }
}

/* Panel de cada módulo: encabezado centrado, contenido alineado a la izquierda */
.paneles { max-width: 820px; margin: 0 auto; }
.panel { margin-top: 72px; padding-top: 48px; border-top: 2px solid var(--verde-profundo); scroll-margin-top: 96px; }
.panel__dimension { color: var(--verde-profundo); }
.panel__titulo { margin: 16px 0 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 600; color: var(--verde-profundo); }
.panel__etiqueta { display: inline-block; margin-left: 14px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; vertical-align: middle; }
.panel__lema { margin: 12px auto 0; font-size: 19px; color: var(--negro-suave); }
.panel .trailer--mini { margin-top: 40px; }
.modulo__detalle { display: grid; gap: 28px; max-width: 62ch; margin: 48px auto 0; text-align: left; }
.modulo__detalle dt { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--verde-profundo); }
.modulo__detalle dd { margin: 8px 0 0; font-size: 17px; }
.modulo__fuentes { display: block; margin-top: 10px; font-size: 13px; font-style: italic; color: var(--verde-profundo); }
.panel__cerrar { margin-top: 48px; padding: 0 0 4px; border: 0; border-bottom: 1px solid var(--verde-profundo); background: none; color: var(--verde-profundo); font: inherit; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; cursor: pointer; }
.panel__cerrar:hover { color: var(--negro-suave); border-color: var(--negro-suave); }

/* Finance: emociones y Cocodrilo dentro de su panel */
.panel__extra { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--arena-calida); }
.panel__frase { margin: 0 auto; max-width: 24ch; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 600; color: var(--verde-profundo); }
.emociones { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin: 40px 0 0; padding: 0; list-style: none; }
.emocion { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; padding: 6px; border: 2px solid var(--borde); background: var(--fondo); color: var(--texto); font-size: 12px; font-weight: 600; text-align: center; }
@media (max-width: 760px) { .emociones { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cocodrilo { margin-top: 48px; padding: clamp(28px, 4vw, 52px); border: 1px solid var(--arena-calida); }
.cocodrilo svg { width: 100%; max-width: 560px; height: auto; margin: 0 auto 36px; }
.cocodrilo h4 { margin: 0; font-size: 24px; letter-spacing: -0.012em; color: var(--verde-profundo); }
.cocodrilo p { margin: 12px auto 0; max-width: 46ch; }
.cocodrilo__pregunta { font-size: 20px; font-style: italic; color: var(--verde-profundo); }
.simula { margin-top: 48px; padding: clamp(28px, 4vw, 52px); background: var(--verde-profundo); color: var(--blanco-hueso); }
.simula h4 { margin: 0; font-size: clamp(24px, 2.8vw, 36px); letter-spacing: -0.03em; color: var(--arena-calida); }
.simula p { margin: 12px auto 0; max-width: 46ch; }
.simula ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 32px 0 0; padding: 0; list-style: none; }
.simula li { padding: 10px 16px; border: 1px solid var(--verde-bruma); font-size: 14px; color: var(--blanco-hueso); }

/* ---------- Acceso anticipado ---------- */
.formulario { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 560px; margin: 44px auto 0; }
.campo { flex: 1 1 260px; min-width: 0; height: 52px; padding: 0 16px; border: 1px solid var(--negro-suave); border-radius: 2px; background: var(--blanco-hueso); color: var(--negro-suave); font: inherit; font-size: 16px; }
.campo::placeholder { color: var(--verde-bruma); }
.campo:focus { outline: 2px solid var(--verde-bruma); outline-offset: 1px; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; }
.mensaje { margin: 16px 0 0; font-size: 15px; }
.gracias { margin: 32px 0 0; font-size: 20px; font-weight: 500; color: var(--verde-profundo); }
.legal { margin: 20px auto 0; max-width: 54ch; font-size: 14px; }

/* ---------- Firma y pie ---------- */
.firma { background: var(--verde-profundo); color: var(--blanco-hueso); padding-block: clamp(112px, 15vw, 200px); text-align: center; }
.firma img { width: clamp(72px, 9vw, 112px); height: auto; margin: 0 auto 44px; }
.firma p { margin: 0 auto; max-width: 18ch; font-size: clamp(32px, 5vw, 68px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 600; text-wrap: balance; }
.pie { padding-block: 64px; text-align: center; }
.pie__grid { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pie__logo img { width: 80px; height: auto; }
.pie__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 14px; }
.pie__legal a { text-decoration: none; }
.pie__texto { margin: 0; max-width: 64ch; font-size: 13px; }
.pie__privacidad { color: var(--verde-profundo); font-weight: 500; }

/* ---------- Aparición sutil al entrar en pantalla ---------- */
.js .revelar { opacity: 0; translate: 0 24px; transition: opacity 2s cubic-bezier(0.16, 1, 0.3, 1), translate 2s cubic-bezier(0.16, 1, 0.3, 1); }
.js .revelar.visible { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .js .revelar { opacity: 1; translate: none; transition: none; } }

/* ---------- Trailers ---------- */
.trailer-seccion { background: var(--verde-profundo); color: var(--blanco-hueso); padding-bottom: 32px; text-align: center; }
.trailer-seccion .guion summary { color: var(--arena-calida); }
.trailer-seccion .guion__texto { color: var(--blanco-hueso); }
.trailer-seccion .guion__texto .guion__destacado { color: var(--arena-calida); }
.trailer { background: var(--verde-profundo); color: var(--blanco-hueso); }
.trailer--portada { border-top: 1px solid var(--verde-bruma); }
.trailer__pantalla { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 86vh; overflow: hidden; background: var(--verde-profundo); color: var(--blanco-hueso); transition: background-color 2s cubic-bezier(0.16, 1, 0.3, 1), color 2s cubic-bezier(0.16, 1, 0.3, 1); }
.trailer__pantalla[data-fondo="negro"] { background: var(--negro-suave); color: var(--blanco-hueso); }
.trailer__pantalla[data-fondo="hueso"] { background: var(--blanco-hueso); color: var(--verde-profundo); }
.trailer__pantalla[data-fondo="verde"] { background: var(--verde-profundo); color: var(--blanco-hueso); }
.trailer__capa { position: absolute; inset: 0; }
.trailer__texto {
  position: absolute; left: 8%; right: 8%; top: 50%; margin: 0; transform: translateY(-50%);
  font-size: clamp(18px, 3.2vw, 46px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; text-align: center; white-space: pre-line;
}
.trailer__texto--entra { animation: trailer-entrar 1.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
.trailer__pantalla[data-estilo="pregunta"] .trailer__texto { color: var(--arena-calida); font-weight: 600; font-size: clamp(22px, 4vw, 58px); }
.trailer__pantalla[data-estilo="susurro"] .trailer__texto { font-weight: 400; font-size: clamp(16px, 2.4vw, 32px); color: var(--arena-calida); }
.trailer__pantalla[data-visual="piezas"] .trailer__texto,
.trailer__pantalla[data-visual="convergencia"] .trailer__texto,
.trailer__pantalla[data-visual="constelacion"] .trailer__texto,
.trailer__pantalla[data-visual="logo"] .trailer__texto,
.trailer__pantalla[data-visual="final"] .trailer__texto,
.trailer__pantalla[data-visual="galaxia"] .trailer__texto,
.trailer__pantalla[data-visual="tiempo"] .trailer__texto,
.trailer__pantalla[data-visual="familia"] .trailer__texto { top: auto; bottom: 6%; transform: none; font-size: clamp(14px, 2.2vw, 30px); }
.trailer__pantalla[data-visual="cine"] .trailer__texto { top: auto; bottom: 0; left: 0; right: 0; transform: none; padding: 2.2% 8%; background: var(--verde-profundo); color: var(--blanco-hueso); font-size: clamp(14px, 2.2vw, 30px); }
.trailer__pantalla[data-visual="final"] .trailer__texto, .trailer__pantalla[data-visual="enlace"] .trailer__texto { color: var(--arena-calida); }
.trailer__pantalla[data-visual="paisaje"] .trailer__texto { top: 12%; transform: none; color: var(--verde-profundo); }
.trailer__pantalla[data-visual="cielo"] .trailer__texto { top: 40%; }
.trailer__pantalla[data-visual="enlace"] .trailer__texto { top: auto; bottom: 12%; transform: none; }
.trailer__pantalla[data-visual="ruido"] .trailer__texto { padding: 0.4em 0; background: var(--negro-suave); }
.trailer__pantalla[data-visual="portada"] .trailer__texto { top: 40%; color: var(--arena-calida); font-size: clamp(18px, 3vw, 40px); }

.trailer__fragmento { position: absolute; transform: translate(-50%, -50%); font-size: clamp(9px, 1.2vw, 16px); font-weight: 500; font-variant-numeric: tabular-nums; opacity: 0; animation: trailer-flotar 5s cubic-bezier(0.45, 0, 0.55, 1) infinite both; }
.trailer__fragmento--0 { color: var(--verde-bruma); }
.trailer__fragmento--1 { color: var(--arena-calida); }
.trailer__fragmento--2 { color: var(--blanco-hueso); }
.trailer__pieza { position: absolute; transform: translate(-50%, -50%); padding: 0.6em 1.1em; border: 1px solid var(--verde-profundo); background: var(--blanco-hueso); color: var(--verde-profundo); font-size: clamp(8px, 1.3vw, 16px); font-weight: 600; letter-spacing: 0.16em; white-space: nowrap; transition: left 4s cubic-bezier(0.16, 1, 0.3, 1), top 4s cubic-bezier(0.16, 1, 0.3, 1); animation: trailer-aparecer 2.2s cubic-bezier(0.16, 1, 0.3, 1) both; }
.trailer__lineas { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.trailer__lineas line { stroke: var(--verde-bruma); stroke-width: 1.2; vector-effect: non-scaling-stroke; animation: trailer-aparecer 3s cubic-bezier(0.16, 1, 0.3, 1) both; }
.trailer__lineas line.trailer__anillo { stroke: var(--arena-calida); }
.trailer__isotipo { position: absolute; left: 50%; top: 44%; width: clamp(48px, 10vw, 128px); height: auto; transform: translate(-50%, -50%); fill: currentColor; animation: trailer-aparecer 2.6s ease-out both; }
.trailer__pantalla[data-visual="logo"] .trailer__isotipo { width: clamp(72px, 16vw, 200px); top: 42%; fill: var(--arena-calida); animation-duration: 3.2s; }
.trailer__pantalla[data-visual="convergencia"] .trailer__isotipo { fill: var(--verde-profundo); animation-delay: 2.2s; }
.trailer__cielo { position: absolute; inset: 0; animation: trailer-acercar 14s cubic-bezier(0.16, 1, 0.3, 1) both; }
.trailer__estrella { position: absolute; transform: translate(-50%, -50%); padding: 0.3em 0.5em; background: var(--verde-profundo); color: var(--arena-calida); font-size: clamp(7px, 1.05vw, 14px); font-weight: 600; letter-spacing: 0.14em; white-space: nowrap; animation: trailer-aparecer 1.5s ease-out both; }
.trailer__estrella::before { content: ""; display: inline-block; width: 0.5em; height: 0.5em; margin-right: 0.6em; background: var(--blanco-hueso); vertical-align: 0.05em; }
.trailer__centro { position: absolute; left: 50%; top: 42%; width: clamp(64px, 11vw, 140px); height: auto; padding: 0.8%; background: var(--verde-profundo); transform: translate(-50%, -50%); animation: trailer-aparecer 2.4s ease-out 3.6s both; }
.trailer__meta { position: absolute; left: 80%; top: 42%; width: clamp(44px, 14%, 96px); height: auto; transform: translate(-50%, -50%); animation: trailer-aparecer 1.8s ease-out both; }
.trailer__cine { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: trailer-aparecer 2s ease-out both; }
.trailer__logo { position: absolute; left: 50%; top: 42%; width: clamp(110px, 22vw, 280px); height: auto; transform: translate(-50%, -50%); animation: trailer-aparecer 2.6s ease-out both; }
.trailer--fundido::after { content: ""; position: absolute; inset: 0; background: var(--negro-suave); animation: trailer-aparecer 2.4s ease-in both; }
.trailer__lienzo, .trailer__dibujo { position: absolute; inset: 0; width: 100%; height: 100%; }
.trailer__lienzo { animation: trailer-aparecer 2.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
.trailer__dibujo { height: 66%; top: 2%; }
.trailer__orbita { transform-box: view-box; transform-origin: 50% 50%; animation-name: trailer-girar; animation-timing-function: linear; animation-iteration-count: infinite; }
.trailer__persona, .trailer__union { animation: trailer-aparecer 1.6s ease-out both; }
.trailer__union { stroke: var(--verde-bruma); stroke-width: 0.3; }

.trailer__iniciar { position: absolute; left: 50%; top: 68%; transform: translate(-50%, -50%); }
.trailer--iniciado .trailer__iniciar { display: none; }
.trailer--pausado .trailer__capa * { animation-play-state: paused !important; }
.trailer--sin-movimiento .trailer__capa *, .trailer--sin-movimiento .trailer__texto--entra { animation: none !important; transition: none !important; }
.trailer__controles { display: flex; align-items: center; gap: 16px; padding: 14px clamp(16px, 3vw, 32px); border-top: 1px solid var(--verde-bruma); background: var(--verde-profundo); }
.trailer__reproducir { min-height: 36px; min-width: 112px; padding: 0 14px; border: 1px solid var(--verde-bruma); border-radius: 2px; background: var(--verde-profundo); color: var(--blanco-hueso); font: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; cursor: pointer; }
.trailer__reproducir:hover { border-color: var(--blanco-hueso); }
.trailer__pista { position: relative; flex: 1; height: 2px; background: var(--verde-bruma); }
.trailer__barra { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--arena-calida); }
.trailer__tiempo { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--arena-calida); white-space: nowrap; }

/* Video corto dentro de cada panel de módulo: sin controles, se reproduce solo */
.trailer--mini { max-width: 640px; margin-left: auto; margin-right: auto; }
.trailer--mini .trailer__iniciar, .trailer--mini .trailer__controles { display: none; }
.trailer--mini .trailer__texto { font-size: clamp(15px, 2vw, 26px); }
.trailer--mini .trailer__pantalla[data-visual] .trailer__texto { font-size: clamp(12px, 1.5vw, 18px); }
.trailer--mini .trailer__pantalla[data-visual="portada"] .trailer__texto { top: 50%; font-size: clamp(15px, 2vw, 26px); }
.trailer--mini .trailer__pieza { font-size: clamp(8px, 1vw, 12px); }

@keyframes trailer-aparecer { from { opacity: 0; } to { opacity: 1; } }
@keyframes trailer-entrar { from { opacity: 0; translate: 0 18px; filter: blur(10px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
@keyframes trailer-flotar { 0% { opacity: 0; translate: 0 12px; } 35%, 65% { opacity: 1; } 100% { opacity: 0; translate: 0 -18px; } }
@keyframes trailer-acercar { from { transform: scale(0.94); } to { transform: scale(1); } }
@keyframes trailer-girar { to { transform: rotate(360deg); } }

/* ---------- Ritmo de color: cada sección con su fondo de la paleta ---------- */
.bloque--arena { background: var(--arena-calida); border-top: 0; }
.bloque--arena .preguntas { gap: 12px; background: none; border: 0; }
.bloque--arena .pregunta { background: var(--blanco-hueso); }
.bloque--arena .pregunta__autor, .bloque--arena .nota { color: var(--verde-profundo); }
.bloque--bruma { background: var(--verde-bruma); border-top: 0; }
.bloque--bruma, .bloque--bruma .legal { color: var(--negro-suave); }
.bloque--bruma .campo { border-color: var(--verde-profundo); }
.bloque--bruma .campo::placeholder { color: var(--verde-profundo); }
.bloque--bruma + .firma { border-top: 0; }
