/* ==========================================================================
   Tokens · Dirección C "Universo del adversario" (PLAN.md §4)
   Fondo #000 en todas las capas. Ámbar solo en: cifra del 30×, chips de
   función NIST y capa activa. Resplandor blanco solo en botones.
   ========================================================================== */
:root {
  /* Color (contrastes WCAG en PLAN.md §4) */
  --fondo: #000000;
  --superficie: #16181C;
  --texto: #E7E9EA;        /* 17,2:1 sobre negro · 14,6:1 sobre superficie */
  --texto-2: #71767B;      /* 4,58:1 · solo sobre negro */
  --texto-2-sup: #8B9096;  /* 5,5:1 sobre superficie */
  --linea: #2F3336;        /* bordes y reglas, decorativos */
  --ambar: #F2A33A;        /* 10,1:1 · solo datos clave */
  --sobre-ambar: #000000;  /* 10,1:1 */
  --blanco: #FFFFFF;

  /* Colores oficiales NIST CSF 2.0: solo en la sección 04 */
  --nist-gv: #F9F49D;      /* Govern */
  --nist-id: #4BB2E0;      /* Identify */
  --nist-pr: #9292EA;      /* Protect */
  --nist-de: #FAB746;      /* Detect */
  --nist-rs: #F97367;      /* Respond */
  --nist-rc: #7DF49F;      /* Recover */

  /* Tipografía */
  --f-titular: "Newsreader", Georgia, serif;
  --f-texto: "Public Sans", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  /* Grilla y zona de cámara (1920×1080: esquina inferior derecha libre) */
  --margen: 6vw;
  --margen-izq: 8vw;       /* deja sitio al indicador lateral de capa */
  --gutter: clamp(1rem, 1.6vw, 2rem);
  --alto-util: 70vh;       /* las tarjetas terminan aquí */
  --camara-ancho: 22vw;
  --camara-alto: 30vh;

  /* Movimiento (skill emil-design-eng) */
  --ease-salida: cubic-bezier(0.23, 1, 0.32, 1);   /* animaciones por tiempo */
  --ease-scroll: cubic-bezier(0.25, 0.46, 0.45, 0.94);  /* ligadas al scroll: ease-out suave */
  --dur-corta: 160ms;
  --dur-media: 200ms;
}

/* Propiedades registradas para el contador del 30× (Bloque 5) */
@property --n { syntax: "<integer>"; inherits: true; initial-value: 30; }
@property --b { syntax: "<color>"; inherits: true; initial-value: #71767B; }
/* ---------- Fuentes autoalojadas (Fontsource 5.3.0, latin, OFL 1.1) ---------- */
@font-face {
  font-family: "Newsreader";
  src: url("/fuentes/newsreader-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/fuentes/public-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fuentes/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800; font-style: normal; font-display: swap;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font-family: var(--f-texto);
  font-size: clamp(1rem, 0.9rem + 0.35vw, 1.3rem);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol, ul, figure, blockquote, pre { margin: 0; padding: 0; }
ol, ul { list-style: none; }

h1, h2, h3 {
  font-family: var(--f-titular);
  font-optical-sizing: auto;
  font-weight: 500;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 1rem + 5vw, 7.4rem); line-height: 0.98; }
h2 { font-size: clamp(2rem, 1rem + 2.4vw, 3.7rem); line-height: 1.05; }

code, pre { font-family: var(--f-mono); }

:focus-visible { outline: 2px solid var(--texto); outline-offset: 3px; }

.solo-lector {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Diapositiva: base quieta (una pantalla por tema) ----------
   El estado animado (sticky, zoom, carril) se agrega en movimiento.css solo con
   soporte de scroll-driven y sin preferencia de movimiento reducido. */
.diapositiva {
  position: relative;
  min-height: 100vh;
  padding: 13vh var(--margen) 8vh var(--margen-izq);
  border-top: 1px solid var(--linea);
}
.diapositiva:first-child { border-top: 0; }
.diapositiva > .contenido { max-width: calc(100vw - var(--margen-izq) - var(--margen)); }
.diapositiva h1, .diapositiva h2 { margin-top: 1.1rem; max-width: 22ch; }

/* ---------- A1 · celular: una sola columna, márgenes iguales (sin indicador lateral) ---------- */
@media (max-width: 760px) {
  :root { --margen: 6vw; --margen-izq: 6vw; }
  .diapositiva { padding-top: 12vh; }
  .diapositiva h1, .diapositiva h2 { max-width: none; }
}
/* ==========================================================================
   Piezas reutilizables: eyebrow, píldora, chip, tarjeta, bloque de código,
   presentador, indicador de capa, notas y zona de cámara.
   ========================================================================== */

.eyebrow {
  font-family: var(--f-mono);
  font-size: clamp(0.875rem, 0.62rem + 0.3vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c2, var(--texto-2));
}

.marcador {
  margin-top: 2rem;
  font-family: var(--f-mono);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: var(--texto-2);
}

/* ---------- Píldoras blancas (único lugar con resplandor) ---------- */
.pildora {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.7rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--blanco);
  color: #000000;
  font: 600 0.95rem/1 var(--f-texto);
  text-decoration: none;
  cursor: pointer;
}
.pildora::after {              /* el resplandor vive en su propia capa: solo cambia la opacidad */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 28px 6px rgb(255 255 255 / 0.32);
  opacity: 0.45;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .pildora:hover::after { opacity: 1; }
}
.pildora:focus-visible::after { opacity: 1; }
.pildora:focus-visible { outline: 2px solid var(--texto); outline-offset: 3px; }
.pildora-chica { padding: 0.55rem 1.05rem; font-size: 0.875rem; }

/* ---------- Chips ---------- */
.chip {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--texto-2-sup);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 0.875rem;   /* B1: rótulos de 14 px o más */
  font-weight: 500;
  letter-spacing: 0.06em;
}
.chip-nist { background: var(--ambar); border-color: var(--ambar); color: var(--sobre-ambar); }

/* ---------- Tarjeta (fichas OWASP) ---------- */
.tarjeta {
  --c2: var(--texto-2-sup);
  padding: 4vh 2.6vw;
  background: var(--superficie);
  border: 1px solid var(--linea);
  border-radius: 16px;
}
.clave {
  font-family: var(--f-titular);
  font-weight: 500;
  font-size: clamp(3rem, 1rem + 4.4vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
}
.nombre-en { margin-top: 0.7rem; font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.45rem); }
.tarjeta .marcador { color: var(--texto-2-sup); }

/* ---------- Carril de fichas: en la base quieta va en columna ---------- */
.carril { display: grid; }   /* cada .panel es una parada de pantalla completa */
.panel { min-height: 0; }

/* ---------- Modo presentador ---------- */
.presentador {
  position: fixed;
  top: 3vh;
  right: var(--margen);
  z-index: 30;
  display: flex;
  gap: 0.7rem;
}

.progreso {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 31;
  height: 2px;
  background: var(--linea);
  pointer-events: none;
}
.progreso-barra {
  height: 100%;
  background: var(--texto);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------- Indicador lateral de capa ---------- */
.profundidad {
  position: fixed;
  left: 2.2vw;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
}
.profundidad ol { display: grid; gap: 0.35rem; border-left: 1px solid var(--linea); }
.tic a {
  position: relative;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  margin-left: -1px;
  font-family: var(--f-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--texto-2);
  text-decoration: none;
}
/* La capa activa es una capa superpuesta que solo cambia de opacidad */
.tic a::after {
  content: attr(data-n);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--ambar);
  color: var(--sobre-ambar);
  opacity: 0;
}
.tic a[aria-current="true"]::after { opacity: 1; }

/* ---------- Notas del orador (solo existen en `npm run dev`) ---------- */
.notas {
  position: fixed;
  top: calc(3vh + 56px);
  right: var(--margen);
  z-index: 30;
  width: min(30rem, 34vw);
  max-height: calc(100vh - 3vh - 56px - var(--camara-alto) - 2vh);
  overflow: auto;
  padding: 1rem 1.2rem;
  background: var(--superficie);
  border: 1px solid var(--linea);
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
}
.notas[hidden], .nota-orador { display: none; }
.notas .eyebrow { --c2: var(--texto-2-sup); margin-bottom: 0.6rem; }
.notas li { margin-top: 0.35rem; }
.notas li.sub { padding-left: 1rem; color: var(--texto-2-sup); }

/* ---------- Zona segura de cámara (tecla C, solo para ensayar) ---------- */
html.ver-camara::after {
  content: "Zona de cámara · 22 % × 30 %";
  position: fixed;
  right: 0;
  bottom: 0;
  width: var(--camara-ancho);
  height: var(--camara-alto);
  z-index: 99;
  display: grid;
  place-items: center;
  font: 600 14px/1 system-ui, sans-serif;
  color: #fff;
  background: rgb(220 40 60 / 0.28);
  outline: 3px dashed rgb(220 40 60);
  outline-offset: -3px;
  pointer-events: none;
}

/* ==========================================================================
   Bloque 4 · piezas compartidas por las secciones
   ========================================================================== */

/* ---------- Fuente en pantalla (al pie, lejos de la zona de cámara) ---------- */
.fuente-pie {
  position: absolute;
  left: var(--margen-izq);
  bottom: 5vh;
  max-width: calc(100vw - var(--margen-izq) - var(--camara-ancho) - 2vw);
  font-family: var(--f-mono);
  font-size: clamp(0.875rem, 0.7rem + 0.2vw, 0.95rem);
  letter-spacing: 0.04em;
  color: var(--texto-2);
}

/* ---------- Distribución en dos columnas: titular a la izquierda, gráfico a la derecha ---------- */
.a-dos > .contenido {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: auto auto 1fr;
  grid-template-areas: "eyebrow der" "titulo der" "izq der";
  column-gap: 5vw;
  align-items: start;
}
.a-dos > .contenido > .eyebrow { grid-area: eyebrow; }
.a-dos > .contenido > h2 { grid-area: titulo; }
.a-dos .izq { grid-area: izq; margin-top: 2.4rem; }
.a-dos .der { grid-area: der; }

/* Texto corriente de diapositiva */
.texto { display: grid; gap: 0.9rem; max-width: 34em; font-size: clamp(1.05rem, 0.9rem + 0.45vw, 1.45rem); line-height: 1.4; }
.texto b { font-weight: 700; }

/* Lista con reglas finas (evita tarjetas idénticas) */
.reglas { display: grid; border-top: 1px solid var(--linea); }
.reglas > li { padding: 0.85rem 0; border-bottom: 1px solid var(--linea); }

.nota-chica { font-size: max(0.875rem, 0.82em); color: var(--texto-2); }
.etiqueta {
  font-family: var(--f-mono);
  font-size: 0.875rem;   /* B1 */
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c2, var(--texto-2));
}
.mono { font-family: var(--f-mono); }

/* ---------- Bloques de código (fichas OWASP) ---------- */
.bloque {
  padding: 0.7rem 0.9rem 0.8rem;
  background: var(--fondo);
  border: 1px solid var(--linea);
  border-radius: 10px;
}
.bloque-vulnerable { border-left: 3px solid var(--texto-2-sup); }
.bloque-seguro     { border-left: 3px dashed var(--texto-2-sup); }
.rotulo {
  margin-bottom: 0.45rem;
  font-family: var(--f-mono);
  font-size: 0.875rem;   /* B1 */
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.rotulo .marca { margin-right: 0.3rem; color: var(--texto-2-sup); }
.rotulo .origen { font-weight: 400; letter-spacing: 0.06em; text-transform: none; color: var(--texto-2-sup); }
.bloque pre {
  /* M1: 14 px a 1366, 14,4 a 1440, ≈ 16,8 a 1920. Con 16 px fijos el código se salía de la
     tarjeta por debajo de 1920 de ancho. */
  font-size: clamp(0.875rem, 0.44rem + 0.505vw, 1.1rem);
  line-height: 1.55;
  white-space: pre;
  overflow-x: auto;
  font-variant-ligatures: none;   /* "=>" se ve como se escribe, no como ⇒ */
}
.com { color: var(--texto-2-sup); white-space: pre-wrap; }   /* respaldo: el comentario parte línea */

/* ---------- Ilustración 4:5 (inicial del nombre en clave mientras no exista la imagen) ---------- */
.ilustracion {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  overflow: hidden;
  background: var(--fondo);
  border-radius: 10px;
}
.ilustracion img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ilustracion-vacia { border: 1px solid var(--linea); }
.ilus-glifo { display: block; width: 100%; height: 100%; }
.ilus-glifo text {
  fill: none;
  stroke: var(--texto-2);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;   /* 1,5 px en la miniatura y en el tiempo 1 (escala 2,8) */
  font-family: var(--f-titular);
  font-size: 380px;
  font-weight: 400;
  text-anchor: middle;
  dominant-baseline: central;
}

/* ==========================================================================
   A1 · celular (≤ 760 px): una columna, sin indicador de capa (la barra de
   progreso sigue arriba). El movimiento ligado al scroll ya está apagado en
   movimiento.css, así que las fichas van en columna como con movimiento reducido.
   ========================================================================== */
@media (max-width: 760px) {
  .profundidad { display: none; }
  .presentador { top: 2vh; }

  .a-dos > .contenido {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: "eyebrow" "titulo" "izq" "der";
  }
  .a-dos .izq { margin-top: 1.8rem; }
  .a-dos .der { margin-top: 1.8rem; }
  .a-dos .izq + .der { margin-top: 2.4rem; }

  .fuente-pie { position: static; max-width: none; margin-top: 2.4rem; }

  .tarjeta { padding: 5vw; }
  .bloque pre { white-space: pre-wrap; overflow-wrap: anywhere; }
}
/* ==========================================================================
   Movimiento · Bloque 5 (skill emil-design-eng)
   Regla: la base (base.css, piezas.css y los <style> de cada sección) es el diseño
   quieto. Todo lo animado vive SOLO dentro de estos bloques, así que sin soporte de
   scroll-driven o con movimiento reducido no hay nada que deshacer.
   Solo se animan transform y opacity; excepciones: stroke-dashoffset de los cometas
   y --n (propiedad registrada en tokens.css) del contador del 30×.
   Sin ease-in en entradas. Curvas (tokens.css):
     --ease-salida  cubic-bezier(0.23, 1, 0.32, 1)        entradas por tiempo (botones, CIA, rueda)
     --ease-scroll  cubic-bezier(0.25, 0.46, 0.45, 0.94)  entradas ligadas al scroll (la curva fuerte
                    completaría ≈ 75 % en el primer clic de rueda y se leería como un salto)
   ========================================================================== */

/* Interacciones cortas (sin scroll): botones */
@media (prefers-reduced-motion: no-preference) {
  .pildora { transition: transform var(--dur-corta) var(--ease-salida); }
  .pildora::after { transition: opacity var(--dur-media) var(--ease-salida); }
  .pildora:active { transform: scale(0.97); }
}

/* A1: en celular (≤ 760 px) no hay carril, sticky ni zoom: queda el estado quieto, como con
   movimiento reducido. presentador.js lo nota porque --carril queda vacío. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 761px) {
    /* ---------- Envolturas con recorrido (presentador.js lee --carril: 1) ----------
       contain 0 % = la envoltura toca el borde superior; contain 100 % = su borde inferior
       toca el inferior de la ventana. Recorrido = alto − 100vh. */
    [data-carril] { --carril: 1; position: relative; }
    .largo-hero  { height: 300vh; view-timeline-name: --hero; }    /* recorrido 200vh */
    .largo-costo { height: 400vh; view-timeline-name: --costo; }   /* recorrido 300vh */
    .largo-owasp { height: 650vh; view-timeline-name: --owasp; }   /* recorrido 550vh */

    .largo-hero > .hero,
    .largo-costo > .costo { position: sticky; top: 0; height: 100vh; min-height: 0; }
    .largo-hero > .hero { overflow: clip; }

    /* =====================================================================
       00 · Hero: zoom 3D ligado al scroll + cometa en bucle
       ===================================================================== */
    /* Texto: sale en el primer 20 % para dejar la escena limpia */
    .hero > .contenido > :not(.escena) {
      animation: salir-arriba linear both;
      animation-timeline: --hero;
      animation-range: contain 0% contain 20%;
    }

    /* Cámara: la pila avanza 1600 px en Z. La lámina i está en z = T − 260·i: la capa 5
       termina en z = 300 (≈ 1,4×) y las capas 0–4 se apagan entre z = 250 y z = 550
       (antes de crecer más del doble). Tramo de la lámina i: (250 + 260i) / 1600 →
       (550 + 260i) / 1600. */
    .pila {
      animation: zoom linear both;
      animation-timeline: --hero;
      animation-range: contain 0% contain 100%;
    }
    .lamina { animation: apagar linear both; animation-timeline: --hero; }
    .lamina.l0 { animation-range: contain 15.6% contain 34.4%; }
    .lamina.l1 { animation-range: contain 31.9% contain 50.6%; }
    .lamina.l2 { animation-range: contain 48.1% contain 66.9%; }
    .lamina.l3 { animation-range: contain 64.4% contain 83.1%; }
    .lamina.l4 { animation-range: contain 80.6% contain 99.4%; }
    .lamina.l5 { animation: none; }

    /* Cometa: 2 s por capa, de la 0 a la 5, ciclo de 12 s (retardo por clase, sin --i en línea) */
    .contorno .luz    { animation: luz-capa 12s linear infinite; }
    .contorno .cola-1 { animation: cola1-capa 12s linear infinite; }
    .contorno .cola-2 { animation: cola2-capa 12s linear infinite; }
    .l1 .contorno :is(.luz, .cola-1, .cola-2) { animation-delay: 2s; }
    .l2 .contorno :is(.luz, .cola-1, .cola-2) { animation-delay: 4s; }
    .l3 .contorno :is(.luz, .cola-1, .cola-2) { animation-delay: 6s; }
    .l4 .contorno :is(.luz, .cola-1, .cola-2) { animation-delay: 8s; }
    .l5 .contorno :is(.luz, .cola-1, .cola-2) { animation-delay: 10s; }

    /* =====================================================================
       03.2 · 30×: cuenta de 1 a 30 en el 0–90 % del recorrido; meseta final
       Valor n en el tramo t: n = 1 + 29 · t / 0,9  →  5× en 12,4 %, 10× en 27,9 %,
       15× en 43,4 %, 30× en 90 %. Cada etapa se enciende ±1,5 % alrededor de su valor.
       ===================================================================== */
    .costo .cifra {
      animation: contar linear both;
      animation-timeline: --costo;
      animation-range: contain 0% contain 90%;
    }
    .costo .et {
      animation: encender-etapa both;
      animation-timing-function: var(--ease-salida);
      animation-timeline: --costo;
    }
    .costo .et:nth-child(1) { animation: none; }                               /* 1×: desde el inicio */
    .costo .et:nth-child(2) { animation-range: contain 10.9% contain 13.9%; } /* 5×  */
    .costo .et:nth-child(3) { animation-range: contain 26.4% contain 29.4%; } /* 10× */
    .costo .et:nth-child(4) { animation-range: contain 41.9% contain 44.9%; } /* 15× */
    .costo .et:nth-child(5) { animation-range: contain 88.5% contain 91.5%; } /* 30× */

    /* Cometa del ×: aparece al llegar a 30 y da vueltas cada 3 s */
    .costo .eq-luces {
      animation: aparecer-luz linear both;
      animation-timeline: --costo;
      animation-range: contain 92% contain 96%;
    }
    .eq-luces .luz    { animation: luz-vuelta 3s linear infinite; }
    .eq-luces .cola-1 { animation: cola1-vuelta 3s linear infinite; }
    .eq-luces .cola-2 { animation: cola2-vuelta 3s linear infinite; }

    /* Cometas en pausa fuera de pantalla (data-en-vista, presentador.js). Sin JS (.con-js
       ausente) siguen corriendo. Va después de los abreviados, que reinician el play-state. */
    .con-js :is(.contorno, .eq-luces) :is(.luz, .cola-1, .cola-2) { animation-play-state: paused; }
    .con-js :is(#inicio, #costo)[data-en-vista] :is(.contorno, .eq-luces) :is(.luz, .cola-1, .cola-2) {
      animation-play-state: running;
    }

    /* =====================================================================
       05 · Carril OWASP: 5 fichas, cada una ocupa el 20 % del recorrido
         120vh por ficha (recorrido 550vh = 4 × 120 + 70). Desde el inicio de la ficha i (120i vh):
           meseta 0 → 70vh · traslado 70 → 120vh (la última ficha no tiene traslado)
           paradas: tiempo 1 en +5, tiempo 2 en +55 (S05Owasp.astro)
           tiempo 1 → 2, ligado al scroll en +5 → +55 (50vh):
             ilustración  +5 → +35   (0–60 %, lineal)
             vulnerable   +30 → +38, seguro +38 → +46, salvaguarda +46 → +54 (50–98 %, ease-out)
         En % del recorrido: x / 550.
       ===================================================================== */
    .largo-owasp .escenario { position: sticky; top: 0; height: 100vh; overflow: clip; }
    .largo-owasp .carril {
      display: flex;
      width: 500vw;
      height: 100%;
      animation: carril linear both;
      animation-timeline: --owasp;
      animation-range: contain 0% contain 100%;
    }
    .largo-owasp .panel { flex: 0 0 100vw; height: 100%; min-height: 0; }

    /* Tiempo 1 → 2 ligado al scroll (FLIP). El estado real es la miniatura (8vw en x = 2vw);
       el tiempo 1 es translateX(50,3vw − 2vw = 48,3vw) scale(22,4 / 8 = 2,8): 22,4vw centrada en
       la columna del código. Avance lineal: si el scroll se detiene, queda a mitad del camino.
       Pasa por detrás de la columna de texto (z-index). */
    .largo-owasp .f-texto { position: relative; z-index: 1; }
    .largo-owasp .f-ilus {
      transform-origin: 0 0;
      animation: ilus-a-miniatura linear both;
      animation-timeline: --owasp;
    }
    .largo-owasp .f-codigo > * {
      animation: aparecer-abajo linear both;
      animation-timing-function: var(--ease-scroll);
      animation-timeline: --owasp;
    }
    /* ficha 1 · inicio 0vh */
    .largo-owasp .panel:nth-child(1) .f-ilus { animation-range: contain 0.9091% contain 6.3636%; }
    .largo-owasp .panel:nth-child(1) .f-codigo > :nth-child(1) { animation-range: contain 5.4545% contain 6.9091%; }
    .largo-owasp .panel:nth-child(1) .f-codigo > :nth-child(2) { animation-range: contain 6.9091% contain 8.3636%; }
    .largo-owasp .panel:nth-child(1) .f-codigo > :nth-child(n+3) { animation-range: contain 8.3636% contain 9.8182%; }
    /* ficha 2 · inicio 120vh */
    .largo-owasp .panel:nth-child(2) .f-ilus { animation-range: contain 22.7273% contain 28.1818%; }
    .largo-owasp .panel:nth-child(2) .f-codigo > :nth-child(1) { animation-range: contain 27.2727% contain 28.7273%; }
    .largo-owasp .panel:nth-child(2) .f-codigo > :nth-child(2) { animation-range: contain 28.7273% contain 30.1818%; }
    .largo-owasp .panel:nth-child(2) .f-codigo > :nth-child(n+3) { animation-range: contain 30.1818% contain 31.6364%; }
    /* ficha 3 · inicio 240vh */
    .largo-owasp .panel:nth-child(3) .f-ilus { animation-range: contain 44.5455% contain 50%; }
    .largo-owasp .panel:nth-child(3) .f-codigo > :nth-child(1) { animation-range: contain 49.0909% contain 50.5455%; }
    .largo-owasp .panel:nth-child(3) .f-codigo > :nth-child(2) { animation-range: contain 50.5455% contain 52%; }
    .largo-owasp .panel:nth-child(3) .f-codigo > :nth-child(n+3) { animation-range: contain 52% contain 53.4545%; }
    /* ficha 4 · inicio 360vh */
    .largo-owasp .panel:nth-child(4) .f-ilus { animation-range: contain 66.3636% contain 71.8182%; }
    .largo-owasp .panel:nth-child(4) .f-codigo > :nth-child(1) { animation-range: contain 70.9091% contain 72.3636%; }
    .largo-owasp .panel:nth-child(4) .f-codigo > :nth-child(2) { animation-range: contain 72.3636% contain 73.8182%; }
    .largo-owasp .panel:nth-child(4) .f-codigo > :nth-child(n+3) { animation-range: contain 73.8182% contain 75.2727%; }
    /* ficha 5 · inicio 480vh */
    .largo-owasp .panel:nth-child(5) .f-ilus { animation-range: contain 88.1818% contain 93.6364%; }
    .largo-owasp .panel:nth-child(5) .f-codigo > :nth-child(1) { animation-range: contain 92.7273% contain 94.1818%; }
    .largo-owasp .panel:nth-child(5) .f-codigo > :nth-child(2) { animation-range: contain 94.1818% contain 95.6364%; }
    .largo-owasp .panel:nth-child(5) .f-codigo > :nth-child(n+3) { animation-range: contain 95.6364% contain 97.0909%; }

    /* =====================================================================
       Revelados de entrada en el resto de las paradas (solo entrada).
       Todo cabe en 100vh: al quedar alineada la parada ya terminaron (estado quieto).
       ===================================================================== */
    .diapositiva:not(.hero, .costo) > .contenido > :not(.triangulo),
    .diapositiva:not(.hero, .costo) > .fuente-pie {
      animation: aparecer-abajo linear both;
      animation-timing-function: var(--ease-scroll);
      animation-timeline: view();
      animation-range: entry 10% entry 70%;
    }
  }
}

/* Secuencias por tiempo al llegar (CIA y rueda NIST): no dependen de animation-timeline,
   así que van solo bajo prefers-reduced-motion (también sin soporte de scroll-driven). */
@media (prefers-reduced-motion: no-preference) {
  /* =====================================================================
     02.2 · Triángulo CIA: C → I → D, una vez al llegar (data-en-vista, presentador.js).
     .con-js: sin JS no se oculta nada.
     ===================================================================== */
  .con-js #cia .vertice,
  .con-js #cia .tri circle { opacity: 0; }
  .con-js #cia[data-en-vista] .vertice { animation: aparecer-abajo 450ms var(--ease-salida) both; }
  .con-js #cia[data-en-vista] .tri circle { animation: aparecer-luz 450ms var(--ease-salida) both; }
  .con-js #cia[data-en-vista] :is(.v-i, .tri circle:nth-of-type(2)) { animation-delay: 350ms; }
  .con-js #cia[data-en-vista] :is(.v-d, .tri circle:nth-of-type(3)) { animation-delay: 700ms; }

  /* =====================================================================
     04.2 y 04.3 · Rueda NIST: una pasada, 2,4 s por función, y quedan todas encendidas.
     Se reinicia al volver (data-en-vista se quita cuando la diapositiva sale).
     ===================================================================== */
  :is(#nist-juntas, #nist-escenario)[data-en-vista] .encendido {
    animation: aparecer-luz 200ms var(--ease-salida) both;
  }
  /* 04.2: el ciclo ID → PR → DE → RS → RC y al final GOVERN (como la lista de relaciones) */
  #nist-juntas[data-en-vista] .fn-id .encendido { animation-delay: 0.3s; }
  #nist-juntas[data-en-vista] .fn-pr .encendido { animation-delay: 2.7s; }
  #nist-juntas[data-en-vista] .fn-de .encendido { animation-delay: 5.1s; }
  #nist-juntas[data-en-vista] .fn-rs .encendido { animation-delay: 7.5s; }
  #nist-juntas[data-en-vista] .fn-rc .encendido { animation-delay: 9.9s; }
  #nist-juntas[data-en-vista] .fn-gv .encendido { animation-delay: 12.3s; }
  /* 04.3: el orden de la tabla, GV → ID → PR → DE → RS → RC */
  #nist-escenario[data-en-vista] .fn-gv .encendido { animation-delay: 0.3s; }
  #nist-escenario[data-en-vista] .fn-id .encendido { animation-delay: 2.7s; }
  #nist-escenario[data-en-vista] .fn-pr .encendido { animation-delay: 5.1s; }
  #nist-escenario[data-en-vista] .fn-de .encendido { animation-delay: 7.5s; }
  #nist-escenario[data-en-vista] .fn-rs .encendido { animation-delay: 9.9s; }
  #nist-escenario[data-en-vista] .fn-rc .encendido { animation-delay: 12.3s; }
}

/* ---------- Keyframes (inertes si nadie los usa) ---------- */
@keyframes salir-arriba { to { opacity: 0; transform: translateY(-4vh); } }
@keyframes zoom   { from { transform: translateZ(0); } to { transform: translateZ(1600px); } }
@keyframes apagar { from { opacity: 1; } to { opacity: 0; } }

@keyframes luz-capa   { 0% { stroke-dashoffset: 0;  opacity: 1; } 16.6% { stroke-dashoffset: -100; opacity: 1; } 16.7%, 100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes cola1-capa { 0% { stroke-dashoffset: 8;  opacity: 1; } 16.6% { stroke-dashoffset: -92;  opacity: 1; } 16.7%, 100% { stroke-dashoffset: -92;  opacity: 0; } }
@keyframes cola2-capa { 0% { stroke-dashoffset: 20; opacity: 1; } 16.6% { stroke-dashoffset: -80;  opacity: 1; } 16.7%, 100% { stroke-dashoffset: -80;  opacity: 0; } }
@keyframes luz-vuelta   { from { stroke-dashoffset: 0; }  to { stroke-dashoffset: -100; } }
@keyframes cola1-vuelta { from { stroke-dashoffset: 8; }  to { stroke-dashoffset: -92; } }
@keyframes cola2-vuelta { from { stroke-dashoffset: 20; } to { stroke-dashoffset: -80; } }

@keyframes contar { from { --n: 1; transform: scale(0.12); } to { --n: 30; transform: scale(1); } }
@keyframes encender-etapa { from { opacity: 0.6; } to { opacity: 1; } }   /* 0,6: ≈ 6:1 apagada (0,45 daba 3,8:1) */
@keyframes aparecer-luz { from { opacity: 0; } to { opacity: 1; } }

/* Mesetas de 70vh y traslados de 50vh (x / 550vh). La curva del traslado la da el keyframe
   que lo empieza: ease-out suave (easeOutQuad), responde desde el primer clic de la rueda. */
@keyframes carril {
  0%, 12.7273% { transform: translateX(0); animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); }
  21.8182%, 34.5455% { transform: translateX(-100vw); animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); }
  43.6364%, 56.3636% { transform: translateX(-200vw); animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); }
  65.4545%, 78.1818% { transform: translateX(-300vw); animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); }
  87.2727%, 100% { transform: translateX(-400vw); }
}
@keyframes ilus-a-miniatura { from { transform: translateX(48.3vw) scale(2.8); } to { transform: none; } }
/* Entrada corta única: revelados, código de las fichas y vértices del CIA */
@keyframes aparecer-abajo   { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.h1-a[data-astro-cid-wmu3k7zt], .h1-b[data-astro-cid-wmu3k7zt] {
  display: block;
}

.h1-b[data-astro-cid-wmu3k7zt] {
  font-weight: 300;
  color: var(--texto-2);
}

.subtitulo[data-astro-cid-wmu3k7zt] {
  margin-top: 2.2rem;
  padding-top: 1rem;
  max-width: 44vw;
  border-top: 1px solid var(--linea);
  font-family: var(--f-mono);
  font-size: clamp(.875rem, .7rem + .35vw, 1.1rem);
  letter-spacing: .06em;
}

.lema[data-astro-cid-wmu3k7zt] {
  margin-top: 1.4rem;
  max-width: 30em;
  font-size: clamp(1.1rem, .95rem + .5vw, 1.55rem);
  line-height: 1.4;
}

.pildora-bajar[data-astro-cid-wmu3k7zt] {
  margin-top: 2.6rem;
}

.hero > .contenido {
  max-width: 44vw;
}

.hero .eyebrow, .hero h1, .subtitulo[data-astro-cid-wmu3k7zt], .lema[data-astro-cid-wmu3k7zt], .pildora-bajar[data-astro-cid-wmu3k7zt] {
  position: relative;
  z-index: 2;
}

.escena[data-astro-cid-wmu3k7zt] {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  perspective: 1100px;
  perspective-origin: 72% 40%;
  pointer-events: none;
}

.pila[data-astro-cid-wmu3k7zt] {
  position: absolute;
  left: 72%;
  top: 40%;
  transform-style: preserve-3d;
}

.lamina[data-astro-cid-wmu3k7zt] {
  position: absolute;
  width: 36vw;
  height: 21.6vw;
  left: -18vw;
  top: -10.8vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.2rem 1.4rem;
  background: #0000008c;
  font-size: clamp(.9rem, .7rem + .35vw, 1.15rem);
}

.l0[data-astro-cid-wmu3k7zt] {
  transform: translate3d(0, 0, 0);
}

.l1[data-astro-cid-wmu3k7zt] {
  transform: translate3d(1.6vw, -1vw, -260px);
}

.l2[data-astro-cid-wmu3k7zt] {
  transform: translate3d(3.2vw, -2vw, -520px);
}

.l3[data-astro-cid-wmu3k7zt] {
  transform: translate3d(4.8vw, -3vw, -780px);
}

.l4[data-astro-cid-wmu3k7zt] {
  transform: translate3d(6.4vw, -4vw, -1040px);
}

.l5[data-astro-cid-wmu3k7zt] {
  transform: translate3d(8vw, -5vw, -1300px);
}

.lamina[data-astro-cid-wmu3k7zt] b[data-astro-cid-wmu3k7zt] {
  position: relative;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: max(.875rem, .8em);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--texto-2);
}

.lamina[data-astro-cid-wmu3k7zt] span[data-astro-cid-wmu3k7zt] {
  position: relative;
}

.contorno[data-astro-cid-wmu3k7zt] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.contorno[data-astro-cid-wmu3k7zt] rect[data-astro-cid-wmu3k7zt] {
  fill: none;
}

.contorno[data-astro-cid-wmu3k7zt] .base[data-astro-cid-wmu3k7zt] {
  stroke: #575b5f;
}

.l0[data-astro-cid-wmu3k7zt] .contorno[data-astro-cid-wmu3k7zt] .base[data-astro-cid-wmu3k7zt] {
  stroke: var(--texto-2);
  stroke-width: 1.45px;
}

.l1[data-astro-cid-wmu3k7zt] .contorno[data-astro-cid-wmu3k7zt] .base[data-astro-cid-wmu3k7zt] {
  stroke-width: 1.34px;
}

.l2[data-astro-cid-wmu3k7zt] .contorno[data-astro-cid-wmu3k7zt] .base[data-astro-cid-wmu3k7zt] {
  stroke-width: 1.6px;
}

.l3[data-astro-cid-wmu3k7zt] .contorno[data-astro-cid-wmu3k7zt] .base[data-astro-cid-wmu3k7zt] {
  stroke-width: 1.85px;
}

.l4[data-astro-cid-wmu3k7zt] .contorno[data-astro-cid-wmu3k7zt] .base[data-astro-cid-wmu3k7zt] {
  stroke-width: 2.11px;
}

.l5[data-astro-cid-wmu3k7zt] .contorno[data-astro-cid-wmu3k7zt] .base[data-astro-cid-wmu3k7zt] {
  stroke-width: 2.37px;
}

.contorno[data-astro-cid-wmu3k7zt] .luz[data-astro-cid-wmu3k7zt], .contorno[data-astro-cid-wmu3k7zt] .cola-1[data-astro-cid-wmu3k7zt], .contorno[data-astro-cid-wmu3k7zt] .cola-2[data-astro-cid-wmu3k7zt] {
  stroke: var(--blanco);
  stroke-width: 1.6px;
  stroke-linecap: round;
  opacity: 0;
}

.contorno[data-astro-cid-wmu3k7zt] .luz[data-astro-cid-wmu3k7zt] {
  stroke-dasharray: 6 94;
}

.contorno[data-astro-cid-wmu3k7zt] .cola-1[data-astro-cid-wmu3k7zt] {
  stroke-dasharray: 14 86;
  stroke-opacity: .4;
}

.contorno[data-astro-cid-wmu3k7zt] .cola-2[data-astro-cid-wmu3k7zt] {
  stroke-dasharray: 26 74;
  stroke-opacity: .15;
}

.pie-pila[data-astro-cid-wmu3k7zt] {
  position: absolute;
  left: 54vw;
  top: 62vh;
  z-index: 2;
  font-family: var(--f-mono);
  font-size: .875rem;
  letter-spacing: .08em;
  color: var(--texto-2);
}

@media (width <= 760px) {
  .hero > .contenido {
    max-width: none;
  }

  .subtitulo[data-astro-cid-wmu3k7zt] {
    max-width: none;
  }

  .escena[data-astro-cid-wmu3k7zt] {
    position: relative;
    inset: auto;
    height: 72vw;
    margin-top: 3rem;
    perspective-origin: 50% 45%;
  }

  .pila[data-astro-cid-wmu3k7zt] {
    left: 46%;
    top: 55%;
  }

  .lamina[data-astro-cid-wmu3k7zt] {
    width: 70vw;
    height: 42vw;
    left: -35vw;
    top: -21vw;
    padding: .8rem 1rem;
  }

  .pie-pila[data-astro-cid-wmu3k7zt] {
    position: static;
    margin-top: 1rem;
  }
}
.tarea[data-astro-cid-3knnnq6w] {
  margin-top: 2.6rem;
  font-family: var(--f-mono);
  font-size: clamp(.95rem, .8rem + .4vw, 1.25rem);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--texto);
}

.datos[data-astro-cid-3knnnq6w] {
  margin-top: 1.2rem;
  max-width: 52vw;
  font-size: clamp(1.05rem, .9rem + .45vw, 1.45rem);
}

@media (width <= 760px) {
  .datos[data-astro-cid-3knnnq6w] {
    max-width: none;
  }
}
.cifras[data-astro-cid-la4hopei] {
  margin-top: .6rem;
}

.cifras[data-astro-cid-la4hopei] li[data-astro-cid-la4hopei] {
  display: grid;
  gap: .2rem;
  padding: 1.3rem 0;
  font-size: clamp(1.05rem, .9rem + .45vw, 1.45rem);
  line-height: 1.35;
}

.cifra-txt[data-astro-cid-la4hopei] {
  font-family: var(--f-titular);
  font-weight: 500;
  font-size: clamp(2.4rem, 1rem + 2.6vw, 4.2rem);
  line-height: 1;
  letter-spacing: -.01em;
}

.cifras[data-astro-cid-la4hopei] .sub[data-astro-cid-la4hopei] {
  color: var(--texto-2);
}

.triangulo[data-astro-cid-la4hopei] {
  --base: 22vw;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--base) minmax(0, 1fr);
  grid-template-areas: "c c c"
                       "i tri d";
  font-size: clamp(.88rem, .72rem + .32vw, 1.12rem);
  line-height: 1.35;
}

.v-c[data-astro-cid-la4hopei] {
  grid-area: c;
  justify-self: center;
  max-width: 26vw;
  padding-bottom: 1rem;
  text-align: center;
}

.v-i[data-astro-cid-la4hopei] {
  grid-area: i;
  align-self: end;
  padding-right: 1.4vw;
  text-align: right;
}

.v-d[data-astro-cid-la4hopei] {
  grid-area: d;
  align-self: end;
  padding-left: 1.4vw;
  text-align: left;
}

.v-i[data-astro-cid-la4hopei], .v-d[data-astro-cid-la4hopei] {
  margin-bottom: -1.2rem;
}

.tri[data-astro-cid-la4hopei] {
  grid-area: tri;
  width: calc(var(--base) * 212 / 200);
  height: auto;
  margin: 0 calc(var(--base) * -6 / 200);
  overflow: visible;
}

.tri[data-astro-cid-la4hopei] polygon[data-astro-cid-la4hopei] {
  fill: none;
  stroke: var(--texto-2);
  stroke-width: .8px;
}

.tri[data-astro-cid-la4hopei] circle[data-astro-cid-la4hopei] {
  fill: var(--fondo);
  stroke: var(--texto);
  stroke-width: .8px;
}

.vertice[data-astro-cid-la4hopei] {
  display: grid;
  gap: .35rem;
}

.v-nombre[data-astro-cid-la4hopei] {
  font-family: var(--f-titular);
  font-size: 1.45em;
  line-height: 1.1;
}

.v-nombre[data-astro-cid-la4hopei] i[data-astro-cid-la4hopei] {
  font-size: max(.875rem, .62em);
  font-family: var(--f-texto);
  color: var(--texto-2);
}

.v-almacen[data-astro-cid-la4hopei] {
  color: var(--texto-2);
}

.v-almacen[data-astro-cid-la4hopei] .etiqueta[data-astro-cid-la4hopei] {
  display: block;
}

.v-controles[data-astro-cid-la4hopei] {
  display: grid;
  gap: .15rem;
}

.v-controles[data-astro-cid-la4hopei] .mono[data-astro-cid-la4hopei] {
  font-size: .92em;
}

.nota-tri[data-astro-cid-la4hopei] {
  margin-top: 2.4rem;
  max-width: 30em;
}

.cia > .contenido {
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  column-gap: 4vw;
}

.texto-reglas[data-astro-cid-la4hopei] {
  font-size: clamp(1.05rem, .9rem + .45vw, 1.45rem);
  line-height: 1.35;
}

.texto-reglas[data-astro-cid-la4hopei] li[data-astro-cid-la4hopei] {
  padding: 1.1rem 0;
}

.puente[data-astro-cid-la4hopei] {
  margin-top: 3rem;
  padding-left: 1.2rem;
  border-left: 1px solid var(--texto-2);
}

.puente-control[data-astro-cid-la4hopei] {
  font-size: clamp(.85rem, .7rem + .35vw, 1.1rem);
  letter-spacing: .04em;
  color: var(--texto-2);
}

@media (width <= 760px) {
  .cia > .contenido {
    grid-template-columns: minmax(0, 1fr);
  }

  .triangulo[data-astro-cid-la4hopei] {
    --base: min(60vw, 260px);
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "tri"
                         "c"
                         "i"
                         "d";
    row-gap: 1.6rem;
  }

  .v-c[data-astro-cid-la4hopei], .v-i[data-astro-cid-la4hopei], .v-d[data-astro-cid-la4hopei] {
    justify-self: start;
    max-width: none;
    margin: 0;
    padding: 0;
    text-align: left;
    align-self: start;
  }

  .tri[data-astro-cid-la4hopei] {
    justify-self: center;
    margin-bottom: .4rem;
  }
}

.puente-texto[data-astro-cid-la4hopei] {
  margin-top: .5rem;
  font-family: var(--f-titular);
  font-size: clamp(1.3rem, .9rem + .9vw, 1.9rem);
  line-height: 1.2;
}
.riel[data-astro-cid-5ipa5zrr] {
  --gap: .6rem;
  --h: calc((100% - 5 * var(--gap)) / 6);
  position: relative;
  padding-left: 2.6rem;
}

.fases[data-astro-cid-5ipa5zrr] {
  position: relative;
  display: grid;
  grid-auto-rows: 1fr;
  gap: var(--gap);
  font-size: clamp(.95rem, .8rem + .4vw, 1.3rem);
  line-height: 1.3;
}

.fases[data-astro-cid-5ipa5zrr]:before {
  content: "";
  position: absolute;
  left: .6em;
  top: calc(var(--h) / 2);
  bottom: calc(var(--h) / 2);
  border-left: 1px solid var(--texto-2);
}

.fases[data-astro-cid-5ipa5zrr] li[data-astro-cid-5ipa5zrr] {
  position: relative;
  display: grid;
  grid-template-columns: 1.2em 2.6em 9.5em 1fr;
  column-gap: .9rem;
  align-items: center;
  padding: .55rem 0;
}

.nodo[data-astro-cid-5ipa5zrr] {
  width: 1.2em;
  height: 1.2em;
}

.nodo[data-astro-cid-5ipa5zrr] circle[data-astro-cid-5ipa5zrr] {
  fill: var(--fondo);
  stroke: var(--texto);
  stroke-width: 1.5px;
}

.n[data-astro-cid-5ipa5zrr] {
  font-size: max(.875rem, .8em);
  color: var(--texto-2);
}

.fase[data-astro-cid-5ipa5zrr] {
  font-family: var(--f-titular);
  font-weight: 500;
  font-size: 1.2em;
}

.actividad[data-astro-cid-5ipa5zrr] {
  color: var(--texto);
}

.retorno[data-astro-cid-5ipa5zrr] {
  position: absolute;
  left: .9rem;
  width: 1.7rem;
  top: calc(var(--h) / 2);
  bottom: calc(var(--h) / 2);
  border: 1px solid var(--linea);
  border-right: 0;
  border-radius: 10px 0 0 10px;
}

.punta[data-astro-cid-5ipa5zrr] {
  position: absolute;
  right: -.35rem;
  top: -.4rem;
  width: .75rem;
  height: .75rem;
  overflow: visible;
}

.punta[data-astro-cid-5ipa5zrr] path[data-astro-cid-5ipa5zrr] {
  fill: none;
  stroke: var(--texto-2);
  stroke-width: 1.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.costo {
  height: 100vh;
  min-height: 0;
  overflow: hidden;
}

.largo-costo > .diapositiva.costo {
  border-top: 1px solid var(--linea);
}

.costo > .contenido {
  max-width: 50vw;
}

.costo h2 {
  max-width: 18ch;
}

.cita[data-astro-cid-5ipa5zrr] {
  position: absolute;
  left: 64vw;
  right: var(--margen);
  top: 13vh;
  padding-top: .9rem;
  border-top: 1px solid var(--linea);
}

.cita[data-astro-cid-5ipa5zrr] p[data-astro-cid-5ipa5zrr] {
  font-family: var(--f-titular);
  font-size: clamp(1.1rem, .8rem + .8vw, 1.6rem);
  line-height: 1.28;
  text-indent: -.4em;
}

.cita[data-astro-cid-5ipa5zrr] footer[data-astro-cid-5ipa5zrr] {
  margin-top: .7rem;
  font-family: var(--f-mono);
  font-size: .875rem;
  color: var(--texto-2);
}

.etapas[data-astro-cid-5ipa5zrr] {
  position: absolute;
  left: var(--margen-izq);
  right: var(--margen);
  top: 35vh;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gutter);
  padding-top: .9rem;
  border-top: 1px solid var(--linea);
}

.et[data-astro-cid-5ipa5zrr] {
  display: grid;
  gap: .2rem;
  color: var(--texto);
}

.et[data-astro-cid-5ipa5zrr] b[data-astro-cid-5ipa5zrr] {
  font-family: var(--f-mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--texto);
}

.et[data-astro-cid-5ipa5zrr] span[data-astro-cid-5ipa5zrr] {
  font-size: .88em;
  line-height: 1.25;
}

.cifra[data-astro-cid-5ipa5zrr] {
  position: absolute;
  left: var(--margen-izq);
  bottom: 4vh;
  display: flex;
  align-items: flex-end;
  font-family: var(--f-titular);
  font-weight: 400;
  font-size: min(36vw, 54vh);
  line-height: .78;
  letter-spacing: -.04em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--ambar);
  transform-origin: 0 100%;
}

.digitos[data-astro-cid-5ipa5zrr]:before {
  counter-reset: n var(--n);
  content: counter(n);
}

.equis[data-astro-cid-5ipa5zrr] {
  width: .5em;
  height: .5em;
  margin: 0 0 .04em .08em;
  overflow: visible;
}

.equis[data-astro-cid-5ipa5zrr] polygon[data-astro-cid-5ipa5zrr] {
  fill: none;
}

.eq-base[data-astro-cid-5ipa5zrr] {
  stroke: var(--ambar);
  stroke-width: .75px;
}

.eq-luces[data-astro-cid-5ipa5zrr] polygon[data-astro-cid-5ipa5zrr] {
  stroke: var(--blanco);
  stroke-width: .95px;
  stroke-linecap: round;
}

.eq-luces[data-astro-cid-5ipa5zrr] {
  opacity: 0;
}

.eq-luces[data-astro-cid-5ipa5zrr] .luz[data-astro-cid-5ipa5zrr] {
  stroke-dasharray: 6 94;
}

.eq-luces[data-astro-cid-5ipa5zrr] .cola-1[data-astro-cid-5ipa5zrr] {
  stroke-dasharray: 14 86;
  stroke-opacity: .4;
}

.eq-luces[data-astro-cid-5ipa5zrr] .cola-2[data-astro-cid-5ipa5zrr] {
  stroke-dasharray: 26 74;
  stroke-opacity: .15;
}

.nota[data-astro-cid-5ipa5zrr] {
  position: absolute;
  left: 64vw;
  right: var(--margen);
  top: 52vh;
  max-width: 26vw;
  font-size: max(.875rem, .82em);
  color: var(--texto-2);
}

.hechos[data-astro-cid-5ipa5zrr], .grupos[data-astro-cid-5ipa5zrr] {
  font-size: clamp(1.05rem, .9rem + .45vw, 1.45rem);
  line-height: 1.35;
}

.hechos[data-astro-cid-5ipa5zrr] .peso[data-astro-cid-5ipa5zrr] {
  font-family: var(--f-titular);
  font-size: 1.25em;
}

.grupos[data-astro-cid-5ipa5zrr] li[data-astro-cid-5ipa5zrr] {
  display: grid;
  grid-template-columns: 3.2em 1fr;
  column-gap: 1rem;
  align-items: baseline;
  padding: 1.2rem 0;
}

.sigla[data-astro-cid-5ipa5zrr] {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 1.5em;
  letter-spacing: .04em;
}

@media (width <= 760px) {
  .fases[data-astro-cid-5ipa5zrr] li[data-astro-cid-5ipa5zrr] {
    grid-template-columns: 1.2em 2.2em minmax(0, 1fr);
    row-gap: .15rem;
  }

  .fase[data-astro-cid-5ipa5zrr] {
    grid-column: 3;
  }

  .actividad[data-astro-cid-5ipa5zrr] {
    grid-column: 3;
  }

  .costo {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .costo > .contenido {
    max-width: none;
  }

  .cita[data-astro-cid-5ipa5zrr], .etapas[data-astro-cid-5ipa5zrr], .nota[data-astro-cid-5ipa5zrr], .cifra[data-astro-cid-5ipa5zrr] {
    position: static;
    max-width: none;
  }

  .cita[data-astro-cid-5ipa5zrr] {
    margin-top: 2rem;
  }

  .etapas[data-astro-cid-5ipa5zrr] {
    margin-top: 2rem;
    grid-template-columns: minmax(0, 1fr);
    gap: .5rem;
  }

  .et[data-astro-cid-5ipa5zrr] {
    grid-template-columns: 3.4em minmax(0, 1fr);
    align-items: baseline;
  }

  .cifra[data-astro-cid-5ipa5zrr] {
    margin-top: 2rem;
    font-size: 36vw;
  }

  .nota[data-astro-cid-5ipa5zrr] {
    margin-top: 1.2rem;
  }
}
.rueda[data-astro-cid-43zaw7wa] {
  display: block;
  overflow: visible;
}

.rueda-grande[data-astro-cid-43zaw7wa] {
  width: min(52vh, 36vw);
  height: auto;
}

.rueda-chica[data-astro-cid-43zaw7wa] {
  width: min(38vh, 24vw);
  height: auto;
}

@media (width <= 760px) {
  .rueda-grande[data-astro-cid-43zaw7wa] {
    width: min(84vw, 52vh);
  }

  .rueda-chica[data-astro-cid-43zaw7wa] {
    width: min(84vw, 52vh);
  }

  .rueda[data-astro-cid-43zaw7wa] .fn[data-astro-cid-43zaw7wa] text[data-astro-cid-43zaw7wa], .rueda[data-astro-cid-43zaw7wa].rueda-chica .fn[data-astro-cid-43zaw7wa] text[data-astro-cid-43zaw7wa] {
    font-size: 21px;
  }

  .rueda[data-astro-cid-43zaw7wa] .fn-gv[data-astro-cid-43zaw7wa] text[data-astro-cid-43zaw7wa], .rueda[data-astro-cid-43zaw7wa].rueda-chica .fn-gv[data-astro-cid-43zaw7wa] text[data-astro-cid-43zaw7wa] {
    font-size: 23px;
  }
}

.fn[data-astro-cid-43zaw7wa] path[data-astro-cid-43zaw7wa], .fn[data-astro-cid-43zaw7wa] circle[data-astro-cid-43zaw7wa] {
  fill: var(--superficie);
  stroke-width: 2px;
}

.fn-gv[data-astro-cid-43zaw7wa] {
  --c: var(--nist-gv);
}

.fn-id[data-astro-cid-43zaw7wa] {
  --c: var(--nist-id);
}

.fn-pr[data-astro-cid-43zaw7wa] {
  --c: var(--nist-pr);
}

.fn-de[data-astro-cid-43zaw7wa] {
  --c: var(--nist-de);
}

.fn-rs[data-astro-cid-43zaw7wa] {
  --c: var(--nist-rs);
}

.fn-rc[data-astro-cid-43zaw7wa] {
  --c: var(--nist-rc);
}

.fn[data-astro-cid-43zaw7wa] path[data-astro-cid-43zaw7wa], .fn[data-astro-cid-43zaw7wa] circle[data-astro-cid-43zaw7wa] {
  stroke: var(--c);
}

.fn[data-astro-cid-43zaw7wa] text[data-astro-cid-43zaw7wa] {
  fill: var(--c);
  font-family: var(--f-mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .06em;
  text-anchor: middle;
  dominant-baseline: central;
}

.fn-gv[data-astro-cid-43zaw7wa] text[data-astro-cid-43zaw7wa] {
  font-size: 19px;
}

.rueda-chica[data-astro-cid-43zaw7wa] .fn[data-astro-cid-43zaw7wa] text[data-astro-cid-43zaw7wa] {
  font-size: 19px;
}

.rueda-chica[data-astro-cid-43zaw7wa] .fn-gv[data-astro-cid-43zaw7wa] text[data-astro-cid-43zaw7wa] {
  font-size: 21px;
}

.encendido[data-astro-cid-43zaw7wa] {
  opacity: 0;
}

.fn[data-astro-cid-43zaw7wa] .encendido[data-astro-cid-43zaw7wa] path[data-astro-cid-43zaw7wa], .fn[data-astro-cid-43zaw7wa] .encendido[data-astro-cid-43zaw7wa] circle[data-astro-cid-43zaw7wa] {
  fill: var(--c);
}

.fn[data-astro-cid-43zaw7wa] .encendido[data-astro-cid-43zaw7wa] text[data-astro-cid-43zaw7wa] {
  fill: #000;
}

.flecha[data-astro-cid-43zaw7wa] {
  fill: none;
  stroke: var(--texto);
  stroke-width: 1.6px;
  stroke-linecap: round;
}

.punta[data-astro-cid-43zaw7wa] {
  fill: var(--texto);
}
.muestra[data-astro-cid-fqapdj7w] {
  display: inline-block;
  flex: none;
  width: .8em;
  height: .8em;
  margin-right: .6em;
  border-radius: 2px;
}

.m-gv[data-astro-cid-fqapdj7w] {
  background: var(--nist-gv);
}

.m-id[data-astro-cid-fqapdj7w] {
  background: var(--nist-id);
}

.m-pr[data-astro-cid-fqapdj7w] {
  background: var(--nist-pr);
}

.m-de[data-astro-cid-fqapdj7w] {
  background: var(--nist-de);
}

.m-rs[data-astro-cid-fqapdj7w] {
  background: var(--nist-rs);
}

.m-rc[data-astro-cid-fqapdj7w] {
  background: var(--nist-rc);
}

.figura-rueda[data-astro-cid-fqapdj7w] {
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.figura-rueda[data-astro-cid-fqapdj7w] figcaption[data-astro-cid-fqapdj7w] {
  font-family: var(--f-mono);
  font-size: .875rem;
  letter-spacing: .04em;
  color: var(--texto-2);
}

.izq[data-astro-cid-fqapdj7w].figura-rueda {
  justify-items: start;
}

.funciones[data-astro-cid-fqapdj7w] {
  display: grid;
  gap: .7rem;
  font-size: clamp(.98rem, .82rem + .4vw, 1.3rem);
  line-height: 1.35;
}

.funciones[data-astro-cid-fqapdj7w] li[data-astro-cid-fqapdj7w] {
  display: flex;
  align-items: baseline;
}

.funciones[data-astro-cid-fqapdj7w] b[data-astro-cid-fqapdj7w] {
  font-family: var(--f-mono);
  font-weight: 700;
  letter-spacing: .04em;
}

.cita-en[data-astro-cid-fqapdj7w] {
  padding-top: .9rem;
  border-top: 1px solid var(--linea);
}

.cita-en[data-astro-cid-fqapdj7w] p[data-astro-cid-fqapdj7w][lang="en"] {
  font-family: var(--f-titular);
  font-size: clamp(1.3rem, .9rem + .9vw, 1.9rem);
  line-height: 1.2;
  text-indent: -.4em;
}

.cita-en[data-astro-cid-fqapdj7w] footer[data-astro-cid-fqapdj7w] {
  margin-top: .4rem;
  font-family: var(--f-mono);
  font-size: .875rem;
  color: var(--texto-2);
}

.traduccion[data-astro-cid-fqapdj7w] {
  margin-top: .7rem;
  color: var(--texto-2);
}

.relaciones[data-astro-cid-fqapdj7w] {
  margin-top: 2rem;
  display: grid;
  gap: .55rem;
  font-size: clamp(.95rem, .8rem + .38vw, 1.25rem);
  line-height: 1.35;
}

.relaciones[data-astro-cid-fqapdj7w] b[data-astro-cid-fqapdj7w] {
  font-size: max(.875rem, .85em);
  font-weight: 700;
  letter-spacing: .03em;
}

.escenario[data-astro-cid-fqapdj7w] {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(.95rem, .8rem + .38vw, 1.25rem);
  line-height: 1.3;
}

.escenario[data-astro-cid-fqapdj7w] th[data-astro-cid-fqapdj7w], .escenario[data-astro-cid-fqapdj7w] td[data-astro-cid-fqapdj7w] {
  padding: .7rem .9rem .7rem 0;
  text-align: left;
  vertical-align: baseline;
  border-bottom: 1px solid var(--linea);
}

.escenario[data-astro-cid-fqapdj7w] thead[data-astro-cid-fqapdj7w] th[data-astro-cid-fqapdj7w] {
  font-family: var(--f-mono);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--texto-2);
}

.escenario[data-astro-cid-fqapdj7w] tbody[data-astro-cid-fqapdj7w] th[data-astro-cid-fqapdj7w] {
  width: 11em;
  white-space: nowrap;
  font-family: var(--f-mono);
  font-size: max(.875rem, .85em);
  font-weight: 700;
  letter-spacing: .04em;
}

.vinculos[data-astro-cid-fqapdj7w] {
  font-size: clamp(.98rem, .82rem + .4vw, 1.3rem);
  line-height: 1.35;
}

.mapa[data-astro-cid-fqapdj7w] {
  grid-column: 1 / -1;
  width: 100%;
  height: auto;
  max-height: 24vh;
  margin-top: 5vh;
  overflow: visible;
}

.nodo[data-astro-cid-fqapdj7w] rect[data-astro-cid-fqapdj7w] {
  fill: var(--fondo);
  stroke: var(--texto-2);
  stroke-width: 1.5px;
}

.nodo[data-astro-cid-fqapdj7w] text[data-astro-cid-fqapdj7w] {
  fill: var(--texto);
  font-family: var(--f-titular);
  font-size: 24px;
  font-weight: 500;
  text-anchor: middle;
  dominant-baseline: central;
}

.conexion[data-astro-cid-fqapdj7w] line[data-astro-cid-fqapdj7w] {
  stroke: var(--texto-2);
  stroke-width: 1.5px;
}

.conexion[data-astro-cid-fqapdj7w] text[data-astro-cid-fqapdj7w] {
  fill: var(--texto-2);
  font-family: var(--f-texto);
  font-size: 19px;
  text-anchor: middle;
}

.conexion[data-astro-cid-fqapdj7w] .r-abajo[data-astro-cid-fqapdj7w] {
  font-family: var(--f-mono);
  font-size: 19px;
  fill: var(--texto);
}

.punta[data-astro-cid-fqapdj7w] {
  fill: var(--texto-2);
}

@media (width <= 760px) {
  .mapa[data-astro-cid-fqapdj7w] {
    display: none;
  }

  .escenario[data-astro-cid-fqapdj7w] tbody[data-astro-cid-fqapdj7w] th[data-astro-cid-fqapdj7w] {
    width: auto;
  }

  .izq[data-astro-cid-fqapdj7w].figura-rueda {
    justify-items: center;
  }
}
.panel[data-astro-cid-czuddpg5] {
  min-height: 100vh;
  padding: 9vh var(--margen) 0 var(--margen-izq);
  border-top: 1px solid var(--linea);
}

.ficha[data-astro-cid-czuddpg5] {
  display: grid;
  grid-template-columns: 8vw minmax(0, 25vw) minmax(0, 1fr);
  column-gap: 2vw;
  align-items: start;
  padding: 3.6vh 2vw;
}

.f-texto[data-astro-cid-czuddpg5] .clave[data-astro-cid-czuddpg5] {
  margin-top: 1.15rem;
  font-size: clamp(2.4rem, .8rem + 3vw, 4.4rem);
}

.por-que[data-astro-cid-czuddpg5] {
  margin-top: .6rem;
  font-family: var(--f-mono);
  font-size: .875rem;
  color: var(--texto-2-sup);
}

.por-que[data-astro-cid-czuddpg5] code {
  color: var(--texto);
}

.nombre-en[data-astro-cid-czuddpg5] {
  margin-top: .8rem;
  font-size: clamp(1rem, .85rem + .4vw, 1.3rem);
  line-height: 1.3;
}

.etiqueta[data-astro-cid-czuddpg5] {
  margin-top: 1.2rem;
}

.intencion[data-astro-cid-czuddpg5] {
  margin-top: .3rem;
  font-family: var(--f-titular);
  font-size: clamp(1.2rem, .85rem + .8vw, 1.75rem);
  line-height: 1.2;
}

.dato[data-astro-cid-czuddpg5] {
  margin-top: .3rem;
  font-size: .92em;
  line-height: 1.35;
}

.dato[data-astro-cid-czuddpg5] b {
  font-family: var(--f-mono);
  font-weight: 700;
}

.chips[data-astro-cid-czuddpg5] {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}

.mas[data-astro-cid-czuddpg5] {
  font-family: var(--f-mono);
  color: var(--texto-2-sup);
}

.fuente[data-astro-cid-czuddpg5] {
  margin-top: .8rem;
  font-size: max(.875rem, .75em);
  line-height: 1.35;
  color: var(--texto-2-sup);
}

.f-codigo[data-astro-cid-czuddpg5] {
  display: grid;
  gap: .8rem;
}

.f-codigo[data-astro-cid-czuddpg5] .etiqueta[data-astro-cid-czuddpg5] {
  margin-top: .5rem;
}

.salvaguarda[data-astro-cid-czuddpg5] {
  display: grid;
  gap: .25rem;
  font-size: .92em;
  line-height: 1.35;
}

.salvaguarda[data-astro-cid-czuddpg5] li[data-astro-cid-czuddpg5] {
  position: relative;
  padding-left: 1.1rem;
}

.salvaguarda[data-astro-cid-czuddpg5] li[data-astro-cid-czuddpg5]:before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: .5rem;
  border-top: 1px solid var(--texto-2-sup);
}

.f-codigo[data-astro-cid-czuddpg5], .bloque[data-astro-cid-czuddpg5] {
  min-width: 0;
}

.f-codigo[data-astro-cid-czuddpg5] pre {
  white-space: pre-wrap;
}

@media (height <= 1000px) and (width >= 761px) {
  .panel[data-astro-cid-czuddpg5] {
    padding-top: 6vh;
  }

  .ficha[data-astro-cid-czuddpg5] {
    grid-template-columns: 8vw minmax(0, 28vw) minmax(0, 1fr);
    padding: 2.6vh 2vw;
  }

  .f-texto[data-astro-cid-czuddpg5] .clave[data-astro-cid-czuddpg5] {
    margin-top: .7rem;
    font-size: clamp(2.2rem, .6rem + 2.6vw, 3.4rem);
  }

  .por-que[data-astro-cid-czuddpg5] {
    margin-top: .4rem;
  }

  .nombre-en[data-astro-cid-czuddpg5] {
    margin-top: .5rem;
    font-size: 1.05rem;
  }

  .etiqueta[data-astro-cid-czuddpg5] {
    margin-top: .8rem;
  }

  .intencion[data-astro-cid-czuddpg5] {
    font-size: clamp(1.15rem, .7rem + .7vw, 1.5rem);
  }

  .dato[data-astro-cid-czuddpg5], .salvaguarda[data-astro-cid-czuddpg5] {
    line-height: 1.3;
  }

  .chips[data-astro-cid-czuddpg5] {
    margin-top: .9rem;
  }

  .fuente[data-astro-cid-czuddpg5] {
    margin-top: .5rem;
  }

  .f-codigo[data-astro-cid-czuddpg5] {
    gap: .6rem;
  }

  .f-codigo[data-astro-cid-czuddpg5] .etiqueta[data-astro-cid-czuddpg5] {
    margin-top: .2rem;
  }
}

@media (height <= 800px) and (width >= 761px) {
  .ficha[data-astro-cid-czuddpg5] {
    padding: 2vh 2vw;
  }

  .etiqueta[data-astro-cid-czuddpg5] {
    margin-top: .6rem;
  }

  .chips[data-astro-cid-czuddpg5] {
    margin-top: .7rem;
  }

  .f-codigo[data-astro-cid-czuddpg5] {
    gap: .45rem;
  }

  .f-codigo[data-astro-cid-czuddpg5] .bloque {
    padding: .5rem .8rem .55rem;
  }

  .f-codigo[data-astro-cid-czuddpg5] .rotulo {
    margin-bottom: .3rem;
  }

  .f-codigo[data-astro-cid-czuddpg5] pre {
    line-height: 1.4;
  }

  .salvaguarda[data-astro-cid-czuddpg5] {
    gap: .1rem;
  }
}

@media (width <= 760px) {
  .panel[data-astro-cid-czuddpg5] {
    min-height: 0;
    padding: 12vh var(--margen) 4vh;
  }

  .ficha[data-astro-cid-czuddpg5] {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1.6rem;
    padding: 6vw 5vw;
  }

  .f-ilus[data-astro-cid-czuddpg5] {
    width: 34vw;
  }

  .f-texto[data-astro-cid-czuddpg5] .clave[data-astro-cid-czuddpg5] {
    margin-top: .8rem;
  }
}
.intro[data-astro-cid-ao6b4y4k] {
  font-size: clamp(1.05rem, .9rem + .45vw, 1.45rem);
  line-height: 1.35;
}

.intro[data-astro-cid-ao6b4y4k] li[data-astro-cid-ao6b4y4k] {
  padding: 1.2rem 0;
}
.nota-refs[data-astro-cid-hce4olc6] {
  margin-top: .8rem;
  color: var(--texto-2);
}

.lista-refs[data-astro-cid-hce4olc6] {
  margin-top: 2.6vh;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 2.4vw;
  align-items: start;
  font-size: clamp(.875rem, .6rem + .3vw, .95rem);
  line-height: 1.38;
}

.lista-refs[data-astro-cid-hce4olc6] ul[data-astro-cid-hce4olc6] {
  display: grid;
  gap: .55em;
}

.lista-refs[data-astro-cid-hce4olc6] li[data-astro-cid-hce4olc6] {
  padding-left: 2em;
  text-indent: -2em;
}

.lista-refs[data-astro-cid-hce4olc6] a[data-astro-cid-hce4olc6] {
  color: var(--texto-2);
  overflow-wrap: anywhere;
  text-decoration: none;
}

.lista-refs[data-astro-cid-hce4olc6] a[data-astro-cid-hce4olc6]:hover {
  text-decoration: underline;
}

.referencias {
  padding-top: 9vh;
}

@media (width <= 760px) {
  .lista-refs[data-astro-cid-hce4olc6] {
    grid-template-columns: minmax(0, 1fr);
  }

  .lista-refs[data-astro-cid-hce4olc6] ul[data-astro-cid-hce4olc6] + ul[data-astro-cid-hce4olc6] {
    margin-top: .55em;
  }
}
.conclusiones[data-astro-cid-62z7hog3] {
  font-size: clamp(1.05rem, .9rem + .45vw, 1.45rem);
  line-height: 1.35;
}

.conclusiones[data-astro-cid-62z7hog3] li[data-astro-cid-62z7hog3] {
  display: grid;
  grid-template-columns: 2.6em 1fr;
  align-items: baseline;
  padding: 1.1rem 0;
}

.n[data-astro-cid-62z7hog3] {
  font-size: max(.875rem, .8em);
  color: var(--texto-2);
}

.reflexion[data-astro-cid-62z7hog3] {
  margin-top: 2.6rem;
  padding-left: 1.2rem;
  border-left: 1px solid var(--texto-2);
  max-width: 36em;
}

.reflexion[data-astro-cid-62z7hog3] p[data-astro-cid-62z7hog3]:last-child {
  margin-top: .4rem;
  color: var(--texto-2);
}

.gracias[data-astro-cid-62z7hog3] {
  font-family: var(--f-titular);
  font-weight: 300;
  font-size: clamp(3rem, 1rem + 5vw, 7rem);
  line-height: 1;
  color: var(--texto-2);
}

.enlace[data-astro-cid-62z7hog3] {
  margin-top: 1.6rem;
  font-size: 1rem;
}

.enlace[data-astro-cid-62z7hog3] a[data-astro-cid-62z7hog3] {
  color: var(--texto-2);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.enlace[data-astro-cid-62z7hog3] a[data-astro-cid-62z7hog3]:hover {
  text-decoration: underline;
}
