/* ==========================================================================
   EduTrust Quality — web pública
   Hoja de estilos única. Sin dependencias. Tokens arriba, componentes abajo.
   ========================================================================== */

/* ---------- Fuentes (autoalojadas, sin Google Fonts) ---------- */
@font-face { font-family: "Lexend"; src: url("/static/fonts/lexend-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lexend"; src: url("/static/fonts/lexend-var-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; src: url("/static/fonts/plex-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/static/fonts/plex-sans-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/static/fonts/plex-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/static/fonts/plex-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/static/fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  /* Marca */
  --ink: #0a1f4d;          /* azul tinta: texto y secciones oscuras */
  --blue: #1748c4;         /* azul registro: acción principal */
  --blue-deep: #0e2f86;
  --cyan: #19c3d3;         /* cian señal: lo verificado */
  --cyan-ink: #0a7d8a;     /* cian legible sobre blanco (AA) */
  --silver: #c7d0dc;
  --steel: #56657c;        /* texto secundario (AA sobre blanco y paper) */
  --paper: #f4f7fb;
  --white: #ffffff;
  --line: #dde4ee;
  --night: #00122c;        /* fondo de la ilustración del carné */
  --night-2: #00265a;

  /* Estados del registro */
  --ok: #0a7d8a;
  --ok-bg: #e3f7f9;
  --no: #b3261e;
  --no-bg: #fdeceb;
  --na: #5b6474;
  --na-bg: #eef1f5;

  /* Tipografía */
  --f-display: "Lexend", "Segoe UI", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --f-code: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --t-hero: clamp(2.5rem, 1.4rem + 4.6vw, 4.75rem);
  --t-h1: clamp(2.2rem, 1.4rem + 3.2vw, 3.6rem);
  --t-h2: clamp(1.85rem, 1.25rem + 2.2vw, 2.9rem);
  --t-h3: clamp(1.2rem, 1.05rem + .5vw, 1.45rem);
  --t-lede: clamp(1.08rem, 1rem + .35vw, 1.3rem);
  --t-body: 1.0625rem;
  --t-small: .9rem;
  --t-tiny: .8rem;

  /* Espacio y forma */
  --wrap: 1200px;
  --gutter: clamp(1rem, .5rem + 2.5vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --r-panel: 32px;
  --r-card: 18px;
  --r-field: 14px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(10, 31, 77, .06), 0 8px 24px -12px rgba(10, 31, 77, .18);
  --shadow-2: 0 2px 6px rgba(10, 31, 77, .06), 0 30px 60px -28px rgba(14, 47, 134, .38);
  --glow: 0 0 0 1px rgba(25, 195, 211, .35), 0 18px 50px -18px rgba(25, 195, 211, .55);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.62;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-deep); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 640;
  line-height: 1.06;
  letter-spacing: -0.028em;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.2; letter-spacing: -0.015em; font-weight: 600; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; font-weight: 600; line-height: 1.3; }
p, li { text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
strong { font-weight: 600; }
code, .code { font-family: var(--f-code); font-weight: 500; letter-spacing: .02em; }
::selection { background: rgba(25, 195, 211, .28); }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 10px; }
.skip:focus { top: 1rem; color: #fff; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 780px); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--paper { background: var(--paper); }
.section--tight { padding-block: calc(var(--section) * .6); }

.lede { font-size: var(--t-lede); line-height: 1.5; color: var(--steel); max-width: 38em; }
.muted { color: var(--steel); }
.small { font-size: var(--t-small); }
.measure { max-width: 40em; }

/* Encabezado de sección: título + texto a la izquierda */
.head { display: grid; gap: 1rem 4rem; grid-template-columns: minmax(0, 1fr); margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.head p { margin: 0; color: var(--steel); font-size: 1.1rem; max-width: 34em; }
.head h2 { margin: 0; max-width: 16em; }
@media (min-width: 900px) {
  .head--split { grid-template-columns: 1.1fr .9fr; align-items: end; }
}

/* ---------- Botones ---------- */
.btn {
  --bg: var(--blue); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .8rem 1.5rem;
  font: 600 1rem/1 var(--f-body); letter-spacing: .005em;
  color: var(--fg); background: var(--bg);
  border: 0; border-radius: var(--r-pill);
  text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;
  box-shadow: 0 10px 24px -12px rgba(23, 72, 196, .7);
}
.btn::after { /* brillo plateado que cruza al pasar */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.38) 48%, transparent 66%);
  transform: translateX(-120%); transition: transform .7s var(--ease-out);
}
.btn:hover { color: var(--fg); transform: translateY(-1px); background: var(--blue-deep); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { --fg: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--silver); }
.btn--light { --bg: #fff; --fg: var(--ink); box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); }
.btn--light:hover { background: #fff; --fg: var(--blue-deep); }
.btn--sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .93rem; }

.link-strong { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.link-strong:hover { border-bottom-color: var(--cyan); }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), transform .35s var(--ease);
}
.site-header__bar { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; }
.site-header.is-solid {
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 196px; height: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem;
  padding: .55rem .8rem; border-radius: 10px; position: relative;
}
.nav a:hover { background: rgba(23, 72, 196, .07); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--blue); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.nav .btn { margin-left: .6rem; color: #fff; }
.nav .btn:hover { color: #fff; background: var(--blue-deep); }
.nav-toggle { display: none; }

@media (max-width: 1040px) {
  .brand img { width: 170px; }
  .nav-toggle {
    display: inline-grid; place-items: center; margin-left: auto;
    width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
    transition: transform .3s var(--ease), opacity .2s;
  }
  .nav-toggle span::before { position: absolute; top: -6px; }
  .nav-toggle span::after { position: absolute; top: 6px; }
  .nav-open .nav-toggle span { background: transparent; }
  .nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 78px 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: .2rem;
    padding: 1rem var(--gutter) 1.5rem; background: #fff;
    box-shadow: 0 30px 40px -30px rgba(10,31,77,.35);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .45s var(--ease-out), visibility 0s .45s;
  }
  .nav a { font-size: 1.15rem; padding: .85rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin: 1rem 0 0; border-bottom: 0; border-radius: var(--r-pill); }
  .nav-open .nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .45s var(--ease-out); }
  .nav-open .site-header { background: #fff; }
}

/* ---------- Pantalla de carga ---------- */
.loader { display: none; }
.js-loading .loader {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 1000;
  background: radial-gradient(120% 90% at 50% 40%, #ffffff 0%, var(--paper) 55%, #e6edf7 100%);
  /* salvavidas: si el JS falla, se retira solo a los 3,2 s */
  animation: loader-failsafe .01s linear 3.2s forwards;
}
.loader__mark { position: relative; width: 132px; aspect-ratio: 1; }
.loader__ring { position: absolute; inset: -34px; width: calc(100% + 68px); height: calc(100% + 68px); transform: rotate(-90deg); }
.loader__ring circle { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.loader__ring .track { stroke: var(--line); }
.loader__ring .arc { stroke: url(#loaderGrad); stroke-dasharray: 534; stroke-dashoffset: 534; animation: ring 1.25s var(--ease-out) .1s forwards; }
.loader__shield {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  clip-path: inset(100% 0 0 0);
  animation: rise .8s var(--ease-out) .15s forwards;
}
.loader__sheen {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url("/static/img/icon-shield.webp") center/contain no-repeat; mask: url("/static/img/icon-shield.webp") center/contain no-repeat;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.95) 50%, transparent 65%) no-repeat;
  background-size: 250% 100%; background-position: 130% 0;
  animation: sheen 1s var(--ease) .75s forwards;
}
.loader__word {
  position: absolute; left: 50%; top: calc(100% + 54px); transform: translateX(-50%);
  font: 600 1.05rem/1 var(--f-display); letter-spacing: -.01em; white-space: nowrap; color: var(--ink);
  opacity: 0; animation: fade-up .6s var(--ease-out) .55s forwards;
}
.loader__word span { color: var(--cyan-ink); }
.loader.is-done { animation: loader-out .7s var(--ease-out) forwards; pointer-events: none; }
@keyframes ring { to { stroke-dashoffset: 0; } }
@keyframes rise { to { clip-path: inset(0 0 0 0); } }
@keyframes sheen { to { background-position: -130% 0; } }
@keyframes fade-up { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes loader-out { to { clip-path: circle(0% at 50% 45%); opacity: .4; visibility: hidden; } }
@keyframes loader-failsafe { to { visibility: hidden; opacity: 0; } }

/* ---------- Hero (inicio) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 920px);
  display: flex; align-items: center;
  padding: calc(78px + 3rem) 0 4.5rem;
  background: var(--paper);
}
.hero__art {
  position: absolute; inset: 0; z-index: -2;
  background: url("/static/img/hero-plataforma.webp") 62% 50% / cover no-repeat;
  transform: scale(1.04);
}
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(246,249,253,.97) 0%, rgba(246,249,253,.92) 34%, rgba(246,249,253,.35) 58%, rgba(246,249,253,0) 74%);
}
.hero__inner { position: relative; }
.hero__copy { max-width: 620px; }
.hero h1 { font-size: var(--t-hero); line-height: .98; letter-spacing: -0.04em; font-weight: 660; margin-bottom: 1.4rem; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.hero .lede { color: #3d4c63; max-width: 31em; margin-bottom: 2.2rem; }
.hero__alt { margin-top: 1.4rem; font-size: .98rem; color: var(--steel); }
.hero__ribbon { position: absolute; z-index: -1; left: -5%; bottom: -2%; width: 70%; pointer-events: none; opacity: .6; }
@media (min-width: 821px) {
  .hero__art { left: 34%; background-size: 118% auto; background-position: 100% 62%; background-color: #f6f9fd; }
  .hero__veil { background: linear-gradient(90deg, rgba(246,249,253,1) 0%, rgba(246,249,253,1) 34%, rgba(246,249,253,.75) 42%, rgba(246,249,253,0) 56%); }
}
.hero__ribbon path { fill: none; stroke-width: 2; stroke-linecap: round; }

@media (max-width: 820px) {
  .hero { align-items: flex-start; padding-top: calc(78px + 2rem); min-height: 0; }
  .hero__art { background-image: url("/static/img/hero-plataforma-sm.webp"); background-position: 70% 100%; background-size: 160% auto; }
  .hero__veil { background: linear-gradient(180deg, rgba(246,249,253,.98) 0%, rgba(246,249,253,.94) 55%, rgba(246,249,253,.55) 78%, rgba(246,249,253,.1) 100%); }
  .hero__inner { padding-bottom: 42vw; }
}

/* Orquestación de entrada del hero (solo con JS y sin reduced motion) */
.motion .hero h1 .line > span { transform: translateY(105%); }
.motion .hero .lede, .motion .hero .lookup, .motion .hero__alt { opacity: 0; transform: translateY(14px); }
.motion .hero__art { opacity: 0; transform: scale(1.1); }
.motion.is-ready .hero h1 .line > span { transform: none; transition: transform 1s var(--ease-out); }
.motion.is-ready .hero h1 .line:nth-child(2) > span { transition-delay: .08s; }
.motion.is-ready .hero h1 .line:nth-child(3) > span { transition-delay: .16s; }
.motion.is-ready .hero .lede { opacity: 1; transform: none; transition: opacity .8s .3s, transform .8s .3s var(--ease-out); }
.motion.is-ready .hero .lookup { opacity: 1; transform: none; transition: opacity .8s .42s, transform .8s .42s var(--ease-out); }
.motion.is-ready .hero__alt { opacity: 1; transform: none; transition: opacity .8s .55s, transform .8s .55s var(--ease-out); }
.motion.is-ready .hero__art { opacity: 1; transform: scale(1.04); transition: opacity 1.2s var(--ease), transform 2.4s var(--ease-out); }
.motion .hero__ribbon path { stroke-dasharray: 1600; stroke-dashoffset: 1600; }
.motion.is-ready .hero__ribbon path { stroke-dashoffset: 0; transition: stroke-dashoffset 2.6s var(--ease-out) .2s; }

/* ---------- Consulta de código ---------- */
.lookup {
  display: flex; gap: .5rem; padding: .5rem;
  background: #fff; border-radius: calc(var(--r-field) + 8px);
  box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line);
  max-width: 560px;
  transition: box-shadow .3s var(--ease);
}
.lookup:focus-within { box-shadow: var(--shadow-2), var(--glow); }
.lookup__field { flex: 1; min-width: 0; display: flex; align-items: center; gap: .7rem; padding-left: .9rem; }
.lookup__field svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--cyan-ink); }
.lookup input {
  width: 100%; min-width: 0; border: 0; outline: 0; background: transparent;
  font: 500 1.08rem/1.2 var(--f-code); letter-spacing: .04em; color: var(--ink);
  padding: .85rem 0; text-transform: uppercase;
}
.lookup input::placeholder { font-family: var(--f-body); letter-spacing: 0; text-transform: none; color: #7c889b; font-weight: 400; }
.lookup .btn { flex-shrink: 0; border-radius: var(--r-field); }
.lookup-msg { min-height: 0; margin: .6rem 0 0; font-size: .93rem; color: var(--steel); }
.lookup-msg.is-error { color: var(--no); }
@media (max-width: 520px) {
  .lookup { flex-direction: column; }
  .lookup__field { padding: .2rem .6rem; }
  .lookup .btn { width: 100%; }
}

/* ---------- Registros (tres puertas) ---------- */
.registries { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.registry {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--r-panel); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none; color: var(--ink);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.registry:hover { color: var(--ink); transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--silver), var(--shadow-2); }
.registry__img { aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.registry__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.registry:hover .registry__img img { transform: scale(1.05); }
.registry--dark .registry__img { background: var(--night); }
.registry__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.registry__body h3 { margin: 0; }
.registry__body p { margin: 0; color: var(--steel); }
.registry__go { margin-top: auto; padding-top: .9rem; font-weight: 600; color: var(--blue); }
.registry__go code { font-size: .86em; color: var(--steel); font-weight: 500; }
@media (max-width: 900px) { .registries { grid-template-columns: 1fr; } .registry { flex-direction: row; } .registry__img { width: 38%; aspect-ratio: auto; flex-shrink: 0; } }
@media (max-width: 560px) { .registry { flex-direction: column; } .registry__img { width: 100%; aspect-ratio: 16/10; } }

/* ---------- El acta (componente firma) ---------- */
.answers { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; }
@media (max-width: 900px) { .answers { grid-template-columns: 1fr; } }
.answer-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .6rem; }
.answer-list button {
  width: 100%; text-align: left; display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; align-items: start;
  padding: 1rem 1.1rem; border-radius: var(--r-card); border: 0; background: transparent; cursor: pointer;
  font: inherit; color: var(--ink);
  box-shadow: inset 0 0 0 1px transparent; transition: background-color .25s, box-shadow .25s;
}
.answer-list button:hover { background: rgba(255,255,255,.7); }
.answer-list button[aria-pressed="true"] { background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); }
.answer-list .dot { grid-row: span 2; width: 14px; height: 14px; border-radius: 50%; margin-top: .35rem; }
.answer-list strong { font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; }
.answer-list span.txt { color: var(--steel); font-size: .97rem; }
.dot--ok { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); }
.dot--no { background: var(--no); box-shadow: 0 0 0 4px var(--no-bg); }
.dot--na { background: var(--na); box-shadow: 0 0 0 4px var(--na-bg); }

.acta {
  --state: var(--ok); --state-bg: var(--ok-bg);
  position: relative; background: #fff; border-radius: var(--r-panel);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.acta::before { /* guilloché sutil, como un papel de seguridad */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    repeating-radial-gradient(circle at 100% 0%, transparent 0 14px, rgba(23,72,196,.045) 14px 15px),
    repeating-radial-gradient(circle at 0% 100%, transparent 0 18px, rgba(25,195,211,.05) 18px 19px);
}
.acta[data-state="no"] { --state: var(--no); --state-bg: var(--no-bg); }
.acta[data-state="na"] { --state: var(--na); --state-bg: var(--na-bg); }
.acta > * { position: relative; }
.acta__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem 1rem; margin-bottom: 1.6rem; }
.acta__top img { width: 150px; }
@media (max-width: 520px) { .acta dl { grid-template-columns: 1fr; gap: .1rem; } .acta dd { margin-bottom: .6rem; } }
.acta__sample { font-size: .78rem; font-weight: 600; color: var(--steel); background: var(--paper); padding: .35rem .7rem; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.acta__status {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: var(--r-card);
  background: var(--state-bg); color: var(--state); margin-bottom: 1.4rem;
  transition: background-color .4s, color .4s;
}
.acta__stamp {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--state); color: #fff;
  transition: background-color .4s;
}
.acta__stamp svg { width: 26px; height: 26px; }
.acta__stamp .i { display: none; }
.acta[data-state="ok"] .i-ok, .acta[data-state="no"] .i-no, .acta[data-state="na"] .i-na { display: block; }
.acta.is-stamping .acta__stamp { animation: stamp .55s var(--ease-out); }
@keyframes stamp { 0% { transform: scale(1.7) rotate(-12deg); opacity: 0; } 60% { transform: scale(.92) rotate(2deg); opacity: 1; } 100% { transform: none; } }
.acta__verdict { font: 650 1.45rem/1.1 var(--f-display); letter-spacing: -.02em; }
.acta__why { font-size: .92rem; color: var(--ink); opacity: .8; margin-top: .2rem; }
.acta dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .75rem 1.5rem; font-size: .97rem; }
.acta dt { color: var(--steel); }
.acta dd { margin: 0; font-weight: 500; }
.acta dd.code { font-family: var(--f-code); letter-spacing: .05em; }
.acta [data-field] { transition: opacity .3s; }
.acta.is-swapping [data-field] { opacity: 0; }
.acta__foot { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px dashed var(--line); font-size: .85rem; color: var(--steel); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- Pasos (secuencia real) ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; position: relative; }
.steps__rail { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.steps__rail i { position: absolute; inset: 0; background: linear-gradient(var(--blue), var(--cyan)); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 1.5rem; padding-bottom: 2.6rem; position: relative; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: counter(step); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  font: 600 1.15rem/1 var(--f-display); color: var(--blue); background: #fff;
  box-shadow: inset 0 0 0 2px var(--line); position: relative; z-index: 1;
  transition: box-shadow .4s, color .4s, background-color .4s;
}
.step.is-lit::before { color: #fff; background: var(--blue); box-shadow: 0 0 0 6px rgba(23,72,196,.12); }
.step h3 { margin: .7rem 0 .45rem; }
.step p { margin: 0; color: var(--steel); max-width: 36em; }
.step .meta { margin-top: .6rem; font-size: .9rem; color: var(--cyan-ink); font-weight: 500; }

.split { display: grid; gap: clamp(2rem, 6vw, 6rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.split--top { align-items: start; }
.split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
@media (max-width: 900px) { .split, .split--wide-left { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 120px; }
@media (max-width: 900px) { .sticky { position: static; } }

.figure { position: relative; }
.figure img { width: 100%; border-radius: var(--r-panel); }
.figure--blend img { mix-blend-mode: multiply; } /* las ilustraciones tienen fondo blanco */
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Listas de valor ---------- */
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 1rem; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: .9rem; align-items: start; }
.ticks li::before {
  content: ""; width: 28px; height: 28px; border-radius: 50%; margin-top: .05rem;
  background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a7d8a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/16px no-repeat;
}
.ticks strong { display: block; font-family: var(--f-display); font-weight: 600; letter-spacing: -.01em; }
.ticks span { color: var(--steel); }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.facts > div { background: #fff; padding: 1.6rem 1.6rem 1.8rem; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }
.facts h4 { margin-bottom: .35rem; }
.facts p { margin: 0; color: var(--steel); font-size: .97rem; }

/* ---------- Sello ---------- */
.seal-band { position: relative; overflow: hidden; background: linear-gradient(160deg, #ffffff 0%, var(--paper) 60%, #e7eef8 100%); }
.seal-stage { position: relative; width: min(100%, 460px); margin-inline: auto; aspect-ratio: 1; perspective: 900px; }
.seal-stage__orbit { position: absolute; inset: -6%; border-radius: 50%; border: 1.5px dashed rgba(23,72,196,.22); animation: spin 60s linear infinite; }
.seal-stage__orbit::after { content: ""; position: absolute; top: 50%; left: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 6px rgba(25,195,211,.18), 0 0 24px var(--cyan); }
.seal-stage__img { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s var(--ease-out); filter: drop-shadow(0 30px 40px rgba(14,47,134,.3)); }
.seal-stage__img img { width: 100%; height: 100%; object-fit: contain; }
.seal-stage__shine { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; mix-blend-mode: soft-light; background: radial-gradient(circle at var(--mx, 30%) var(--my, 25%), rgba(255,255,255,.9), transparent 45%); }
@keyframes spin { to { transform: rotate(360deg); } }

.kit { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .kit { grid-template-columns: 1fr; } }
.kit figure { margin: 0; background: #fff; border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--line); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.kit .swatch { aspect-ratio: 16/10; display: grid; place-items: center; border-radius: 12px; background: var(--paper); padding: 1.5rem; }
.kit .swatch--dark { background: linear-gradient(140deg, var(--night), var(--night-2)); }
.kit .swatch img { max-height: 100%; width: auto; max-width: 85%; object-fit: contain; }
.kit figcaption h4 { margin-bottom: .25rem; }
.kit figcaption p { margin: 0; color: var(--steel); font-size: .95rem; }

.do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 760px) { .do-dont { grid-template-columns: 1fr; } }
.do-dont > div { border-radius: var(--r-card); padding: 1.6rem; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.do-dont h3 { display: flex; align-items: center; gap: .6rem; }
.do-dont ul { margin: 0; padding-left: 1.1em; color: var(--steel); display: grid; gap: .5rem; }
.do-dont .yes h3::before, .do-dont .no h3::before { content: ""; width: 12px; height: 12px; border-radius: 50%; }
.do-dont .yes h3::before { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); }
.do-dont .no h3::before { background: var(--no); box-shadow: 0 0 0 4px var(--no-bg); }

.palette { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .75rem; }
.palette div { border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: #fff; font-size: .88rem; }
.palette span { display: block; height: 76px; }
.palette p { margin: 0; padding: .6rem .8rem; }
.palette code { color: var(--steel); font-size: .82rem; }

/* ---------- Sección oscura (carné / profesionales) ---------- */
.night {
  position: relative; overflow: hidden; isolation: isolate; color: #dbe6f7;
  background: radial-gradient(90% 120% at 85% 50%, var(--night-2) 0%, var(--night) 60%);
}
.night h2, .night h3, .night h1 { color: #fff; }
.night .lede, .night p { color: #b9c8df; }
.night a:not(.btn) { color: #7fe6f0; }
.night .ticks span { color: #b9c8df; }
.night .ticks li::before { background-color: rgba(25,195,211,.16); }
.night__art img { width: 100%; border-radius: var(--r-panel); }
.night__grid { position: absolute; inset: 0; z-index: -1; opacity: .35; background-image: radial-gradient(rgba(127,230,240,.5) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask: radial-gradient(60% 70% at 80% 40%, #000, transparent 70%); mask: radial-gradient(60% 70% at 80% 40%, #000, transparent 70%); }

/* ---------- Página interior: cabecera ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(78px + clamp(3rem, 7vw, 6rem)) 0 clamp(3rem, 6vw, 5rem); background: var(--paper); }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--line); }
.page-hero h1 { max-width: 15em; }
.page-hero .lede { margin: 0; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-items: center; }
.page-hero__art { position: relative; }
.page-hero__art img { width: 100%; mix-blend-mode: multiply; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero__art { max-width: 460px; } }
.page-hero__ribbon { position: absolute; z-index: -1; right: -10%; top: 10%; width: 70%; opacity: .7; pointer-events: none; }
.page-hero__ribbon path { fill: none; stroke-width: 1.5; }
.crumbs { font-size: .9rem; margin-bottom: 1.4rem; color: var(--steel); }
.crumbs a { color: var(--steel); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }

/* ---------- Tarjetas de verificación (hub) ---------- */
.verify-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .verify-grid { grid-template-columns: 1fr; } }
.verify-card { background: #fff; border-radius: var(--r-panel); padding: 1.8rem; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: .8rem; }
.verify-card h3 { margin: 0; }
.verify-card p { margin: 0; color: var(--steel); }
.verify-card form { margin-top: auto; padding-top: 1rem; display: grid; gap: .6rem; }
.verify-card label { font-size: .9rem; font-weight: 600; }
.verify-card input {
  width: 100%; border-radius: var(--r-field); border: 1.5px solid var(--line); background: var(--paper);
  font: 500 1rem/1.2 var(--f-code); letter-spacing: .04em; text-transform: uppercase; padding: .9rem 1rem; color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.verify-card input::placeholder { text-transform: none; letter-spacing: 0; font-family: var(--f-body); color: #7c889b; }
.verify-card input:focus { outline: 0; border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 4px rgba(25,195,211,.18); }
.verify-card .hint { font-size: .85rem; color: var(--steel); }
.verify-card__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(140deg, var(--blue), var(--cyan)); color: #fff; box-shadow: 0 12px 24px -12px rgba(23,72,196,.8); }
.verify-card__icon svg { width: 26px; height: 26px; }

/* ---------- Diploma de ejemplo: dónde está el código ---------- */
.diploma {
  position: relative; background: #fff; border-radius: 10px; padding: 2.2rem 2rem 1.6rem; aspect-ratio: 1.414;
  box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column; justify-content: space-between;
}
.diploma::before { content: ""; position: absolute; inset: 10px; border: 1.5px solid var(--silver); border-radius: 4px; pointer-events: none; }
.diploma__title { font: 600 clamp(1.1rem, 2.4vw, 1.5rem)/1.1 var(--f-display); text-align: center; }
.diploma__lines { display: grid; gap: .55rem; justify-items: center; }
.diploma__lines i { display: block; height: 8px; border-radius: 4px; background: var(--line); }
.diploma__foot { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.diploma__seal { width: 64px; }
.diploma__code {
  position: relative; font: 500 .85rem/1.2 var(--f-code); letter-spacing: .06em; padding: .45rem .7rem; border-radius: 8px;
  background: var(--ok-bg); color: var(--cyan-ink);
}
.diploma__code::after { content: ""; position: absolute; inset: -8px; border-radius: 12px; border: 2px solid var(--cyan); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { opacity: 1; transform: scale(.94); } 70%, 100% { opacity: 0; transform: scale(1.12); } }
.diploma__note { position: absolute; right: -6px; bottom: calc(100% - 8px); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .6rem; }
.faq details { background: #fff; border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.faq details[open] { box-shadow: inset 0 0 0 1px var(--silver), var(--shadow-1); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.25rem 3.5rem 1.25rem 1.4rem; position: relative;
  font: 600 1.08rem/1.35 var(--f-display); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.4rem; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .faq__a { padding: 0 1.4rem 1.4rem; color: var(--steel); max-width: 46em; }
.faq .faq__a p:last-child { margin: 0; }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group > h2 { font-size: var(--t-h3); margin-bottom: 1rem; }

/* ---------- Formularios ---------- */
.form { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.field { display: grid; gap: .45rem; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--steel); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--f-body); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--r-field); background: #fff; padding: .85rem 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(25,195,211,.18); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .4rem; }
.choices label { font-weight: 500; display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: box-shadow .2s, background-color .2s; }
.choices input { accent-color: var(--blue); width: auto; }
.choices label:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--blue); background: rgba(23,72,196,.05); }
.check { display: flex; gap: .7rem; align-items: start; font-size: .93rem; color: var(--steel); }
.check input { margin-top: .25rem; accent-color: var(--blue); width: 18px; height: 18px; flex-shrink: 0; }
.hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.4em; font-size: .95rem; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-error { color: var(--no); }
.panel { background: #fff; border-radius: var(--r-panel); padding: clamp(1.5rem, 4vw, 2.8rem); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line); }

/* ---------- Contenido largo (legales) ---------- */
.prose { max-width: 44em; }
.prose h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); margin: 2.6rem 0 .8rem; scroll-margin-top: 110px; }
.prose h3 { font-size: 1.12rem; margin: 1.8rem 0 .5rem; }
.prose p, .prose li { color: #33425a; }
.prose ul { display: grid; gap: .35rem; margin: 0 0 1.2em; }
.prose .updated { color: var(--steel); font-size: .95rem; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 4rem; align-items: start; }
.toc { position: sticky; top: 110px; font-size: .92rem; }
.toc p { font-weight: 600; margin-bottom: .6rem; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; border-left: 1.5px solid var(--line); }
.toc a { display: block; padding: .3rem 0 .3rem 1rem; color: var(--steel); text-decoration: none; margin-left: -1.5px; border-left: 1.5px solid transparent; }
.toc a:hover, .toc a.is-active { color: var(--blue); border-left-color: var(--blue); }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; gap: 1rem; } .toc { position: static; } }
.data-card { background: var(--paper); border-radius: var(--r-card); padding: 1.3rem 1.5rem; margin: 1rem 0 1.5rem; }
.data-card dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.2rem; }
.data-card dt { color: var(--steel); }
.data-card dd { margin: 0; font-weight: 500; }

/* ---------- Llamada final ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-panel);
  padding: clamp(2.2rem, 6vw, 4.5rem);
  background: linear-gradient(125deg, var(--blue-deep) 0%, var(--blue) 55%, #1f7fd8 100%);
  color: #fff;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center;
}
.cta h2 { color: #fff; margin-bottom: .6rem; max-width: 18em; }
.cta p { color: rgba(255,255,255,.82); margin: 0; max-width: 34em; }
.cta__actions { display: flex; flex-direction: column; gap: .7rem; align-items: stretch; }
.cta__actions .btn--ghost { --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.cta__actions .btn--ghost:hover { background: rgba(255,255,255,.1); --fg: #fff; }
.cta__seal { position: absolute; z-index: -1; right: -60px; bottom: -90px; width: 340px; opacity: .14; animation: spin 90s linear infinite; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } .cta__actions { flex-direction: row; flex-wrap: wrap; } }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: #b9c6dc; padding: 5rem 0 2rem; margin-top: 0; font-size: .95rem; position: relative; overflow: hidden; }
.site-footer--flush { margin-top: 0; }
.site-footer a { color: #e3ebf8; text-decoration: none; }
.site-footer a:hover { color: #7fe6f0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; }
.footer-grid h2 { font: 600 .95rem/1.3 var(--f-display); color: #fff; letter-spacing: 0; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-brand img { width: 210px; margin-bottom: 1.2rem; }
.footer-brand p { max-width: 26em; }
.footer-base { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .86rem; color: #8fa0bd; }
.footer-base p { margin: 0; max-width: 60em; }
.footer-shield { position: absolute; right: -60px; top: -40px; width: 300px; opacity: .06; pointer-events: none; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Banner de cookies (solo si se activa analítica) ---------- */
.consent { position: fixed; z-index: 90; left: 1rem; right: 1rem; bottom: 1rem; max-width: 520px; background: #fff; border-radius: var(--r-card); padding: 1.2rem 1.3rem; box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line); font-size: .93rem; }
.consent p { margin: 0 0 .9rem; color: var(--steel); }
.consent div { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ---------- Revelado al hacer scroll (con moderación) ---------- */
.motion [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.motion [data-reveal].is-in { opacity: 1; transform: none; }
.motion [data-reveal="scale"] { transform: scale(.94); }
.motion [data-reveal="scale"].is-in { transform: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 80svh; display: grid; place-items: center; text-align: center; padding: calc(78px + 3rem) var(--gutter) 4rem; background: var(--paper); }
.notfound img { width: 120px; margin: 0 auto 2rem; }
.notfound .lede { margin-inline: auto; }
.notfound .actions { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- Utilidades ---------- */
.actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.note { font-size: .92rem; color: var(--steel); border-left: 3px solid var(--cyan); padding: .2rem 0 .2rem 1rem; }

/* ---------- Transiciones entre páginas (navegadores compatibles) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .45s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js-loading .loader { display: none; }
}

@media print {
  .site-header, .site-footer, .loader, .cta, .consent { display: none !important; }
  body { color: #000; }
}

/* Puntos de estado dentro de títulos */
.facts h4 .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: .6rem; vertical-align: .08em; }
