/* ══════════════════════════════════════════════════════════════════
   home-v16.css — SOLO para home-v16.php (página de prueba)
   Traslado de paquete-home-coloquialab/prototipo/home-v16.html.
   Todas las clases van prefijadas con h16- para no chocar con main.css.
   Se apoya en las variables y en nav, pie y cookies de main.css.

   MOVIMIENTO (v2, 4 nov 2026) — un solo lenguaje para toda la página:
   · Protagonista: el vídeo a pantalla completa; entra con un fundido que se asienta.
   · La entrada se cuenta con el scroll: el titular se retira y la información
     aparece paso a paso (frase → texto → botón), siempre con el mismo gesto.
   · Cada sección entra una vez al llegar: aparece y sube 24 px, 700 ms,
     escalonado de 90 ms (titular → texto → enlace). Sin desenfoques ni adornos.
   · Solo transform y opacity. Movimiento reducido: todo visible y quieto.
   ══════════════════════════════════════════════════════════════════ */

:root {
  --h16-mint-text: #0a7d68;   /* menta para texto pequeño sobre blanco (AA) */
  --h16-text: #3d5149;
  --h16-chip-line: #c9d6d1;
  --h16-soft-light: #d4e0db;
  --h16-soft-dark: #b9c9c3;
  --h16-soft-dark-2: #9fb2ab;
  --h16-ease: cubic-bezier(.16, 1, .3, 1);   /* desaceleración natural para entradas */
  --h16-ease-io: cubic-bezier(.65, 0, .35, 1); /* para lo que se mueve en pantalla */
  --h16-in: 700ms;                              /* duración de entrada de secciones */
  --h16-step: 90ms;                             /* escalonado entre piezas */
  --h16-rise: 24px;                             /* recorrido de entrada */
}

body.h16 { background: var(--dark); color: var(--white); }
.h16-wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

/* Accesibilidad */
.h16-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.h16-skip { position: absolute; left: 16px; top: -100px; z-index: 400; background: var(--ink); color: var(--white); font-weight: 700; padding: 12px 20px; border-radius: 50px; border: 2px solid var(--mint); }
.h16-skip:focus { top: 16px; }
.h16 a:focus-visible, .h16 button:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.h16-cierre a:focus-visible { outline-color: var(--ink); }

/* Nav: objetivos táctiles ≥ 44 px y flecha de enlace externo */
.h16-nav .nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
.h16-nav .nav-cta { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 1024px) { .h16-nav > .nav-cta { display: none; } }
.h16-nav .nav-hamburger { width: 44px; height: 44px; min-width: 44px; flex-shrink: 0; align-items: center; }
.h16 .nav-mobile-close { min-width: 44px; min-height: 44px; }
.h16-ext { color: var(--mint); }
@media (min-width: 1025px) and (max-width: 1240px) {
  .h16-nav .nav-links { gap: 20px; }
  .h16-nav .nav-links a { font-size: .74rem; }
}

/* Pie (solo esta página): contraste AA y objetivos táctiles ≥ 44 px.
   El pie compartido de main.css usa blancos al 16–38 %, que no pasan AA. */
.h16 .foot-desc { color: rgba(255,255,255,.66); max-width: 250px; }
.h16 .foot-mail a { display: inline-flex; align-items: center; min-height: 44px; }
.h16 .foot-social a { width: 44px; height: 44px; color: rgba(255,255,255,.72); border-color: rgba(255,255,255,.3); }
.h16 .foot-col h5 { color: rgba(255,255,255,.62); }
.h16 .foot-col ul { gap: 0; }
.h16 .foot-col ul a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: rgba(255,255,255,.72); }
.h16 .foot-bottom { color: rgba(255,255,255,.62); }
.h16 .foot-legal a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255,255,255,.62); }
.h16 .foot-legal a:hover, .h16 .foot-col ul a:hover { color: var(--mint); }

/* Etiqueta pequeña con raya */
.h16-ceja { display: inline-flex; align-items: center; gap: 10px; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); }
.h16-ceja::before { content: ""; width: 22px; height: 2px; background: currentColor; display: block; }

/* ── 1 · ENTRADA ─────────────────────────────────────────────────── */
.h16-escena { position: relative; height: 250vh; view-timeline-name: --h16escena; }
.h16-fijo { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--dark); }

/* Vídeo a sangre: entra con un fundido que se asienta */
.h16-video { position: absolute; inset: 0; background: var(--dark); }
.h16-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  animation: h16videoIn 1.8s var(--h16-ease) both; }
@keyframes h16videoIn { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }

/* Velo para la lectura: suave al principio, más denso cuando llega el texto */
.h16-velo { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(9,16,14,.9) 0%, rgba(9,16,14,.55) 50%, rgba(9,16,14,.45) 100%); }
.h16-velo-extra { position: absolute; inset: 0; pointer-events: none; background: rgba(9,16,14,.35); opacity: 0; }

/* Titular: centrado, entra por líneas al cargar */
.h16-titulo { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; pointer-events: none; }
.h16-titulo .h16-wrap { width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.h16-mega { margin: 0; font-size: 7.4rem; line-height: .92; font-weight: 800; letter-spacing: -.055em; color: var(--white); }
.h16-mega em { font-style: normal; color: var(--mint); }
.h16-linea { display: block; overflow: hidden; padding-bottom: .06em; }
.h16-linea > span { display: block; animation: h16linea .8s var(--h16-ease) both; animation-delay: .1s; }
.h16-l2 > span { animation-delay: .18s; }
@keyframes h16linea { from { transform: translateY(105%); } to { transform: none; } }
.h16-carga { animation: h16fundido .9s var(--h16-ease) both; animation-delay: .55s; }
@keyframes h16fundido { from { opacity: 0; } to { opacity: 1; } }

/* Mensaje: aparece paso a paso con el scroll */
.h16-mensaje { position: absolute; inset: 0; display: flex; align-items: flex-end; padding-bottom: 13vh; }
.h16-mensaje .h16-wrap { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; align-items: end; }
.h16-mensaje-grande { margin: 0; font-size: 2.6rem; line-height: 1.12; font-weight: 800; letter-spacing: -.028em; max-width: 640px; color: var(--white); }
.h16-mensaje-grande em { font-style: normal; color: var(--mint); }
.h16-mensaje-lado { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; justify-self: end; max-width: 400px; }
.h16-mensaje-lado p { margin: 0; font-size: 1.05rem; line-height: 1.65; color: var(--h16-soft-light); }

.h16-pista { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--h16-soft-dark-2); }
.h16-pista-barra { width: 1px; height: 34px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; display: block; }
.h16-pista-linea { position: absolute; inset: 0; background: var(--mint); display: block; animation: h16pista 2.4s 1.6s var(--h16-ease-io) infinite; }
@keyframes h16pista { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.h16-video-ctrl { position: absolute; left: 24px; bottom: 20px; z-index: 5; min-width: 44px; min-height: 44px; padding: 0 16px; border-radius: 50px; border: 1px solid rgba(255,255,255,.35); background: rgba(9,16,14,.55); color: var(--white); font: inherit; font-size: .75rem; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: border-color .2s ease, color .2s ease, transform .16s ease-out; }
.h16-video-ctrl:hover { border-color: var(--mint); color: var(--mint); }
.h16-video-ctrl:active { transform: scale(.97); }

/* Secuencia ligada al scroll de la entrada (0 % = arriba, 100 % = fin de la escena fija) */
@supports (animation-timeline: view()) {
  .h16-titulo, .h16-pista, .h16-velo-extra, .h16-paso {
    animation-timeline: --h16escena; animation-fill-mode: both; animation-timing-function: linear;
  }
  .h16-titulo     { animation-name: h16tituloSale; animation-range: contain 3% contain 30%; }
  .h16-pista      { animation-name: h16pistaSale;  animation-range: contain 0% contain 10%; }
  .h16-velo-extra { animation-name: h16veloSube;   animation-range: contain 10% contain 44%; }
  .h16-paso-1     { animation-name: h16pasoEntra;  animation-range: contain 28% contain 52%; }
  .h16-paso-2     { animation-name: h16pasoEntra;  animation-range: contain 40% contain 64%; }
  .h16-paso-3     { animation-name: h16pasoEntra;  animation-range: contain 52% contain 76%; }
  @keyframes h16tituloSale { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-48px); } }
  @keyframes h16pistaSale  { from { opacity: 1; } to { opacity: 0; } }
  @keyframes h16veloSube   { from { opacity: 0; } to { opacity: 1; } }
  @keyframes h16pasoEntra  { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
  /* Si alguien llega con el teclado, la información se muestra sin esperar al scroll */
  .h16-mensaje:focus-within .h16-paso { animation: none; opacity: 1; transform: none; }
  .h16-fijo:has(.h16-mensaje:focus-within) .h16-titulo { animation: none; opacity: 0; }
}
/* Versión estática: navegadores sin animation-timeline */
@supports not (animation-timeline: view()) {
  .h16-escena { height: auto; }
  .h16-fijo { position: relative; height: auto; min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 90px; }
  .h16-titulo, .h16-mensaje { position: relative; inset: auto; }
  .h16-titulo { padding-top: 22vh; }
  .h16-mensaje { padding: 8vh 0 0; }
  .h16-velo-extra { opacity: 1; }
}

/* ── Botones y enlaces ───────────────────────────────────────────── */
.h16-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 14px 26px; border-radius: 50px; font-weight: 700; font-size: .92rem; text-decoration: none; transition: background-color .2s ease, transform .16s ease-out; }
.h16-btn:active { transform: scale(.97); }
.h16-btn-mint { background: var(--mint); color: var(--ink) !important; }
.h16-btn-mint:hover { background: var(--mint-dim); }
.h16-btn-dark { background: var(--ink); color: var(--white) !important; padding: 17px 34px; font-size: 1rem; }
.h16-btn-dark:hover { background: var(--ink-soft); }
.h16-enlace { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: .95rem; text-decoration: none; border-bottom: 2px solid var(--mint); transition: color .2s ease; }
.h16-enlace:hover { color: var(--h16-mint-text); }

/* ── 2 · TRES FORMAS DE EMPEZAR ──────────────────────────────────── */
.h16-formas { background: var(--white); color: var(--ink); padding: 128px 0 128px; border-radius: 36px 36px 0 0; position: relative; z-index: 2; }
.h16-formas > .h16-wrap { display: flex; flex-direction: column; gap: 110px; }
.h16-cabecera { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.h16-label { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--h16-mint-text); }
.h16-h2 { margin: 0; font-size: 2.9rem; line-height: 1.04; font-weight: 800; letter-spacing: -.035em; }
.h16-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.h16-fila-inv .h16-foto { order: 2; }
.h16-foto { position: relative; padding-bottom: 66.67%; border-radius: 28px; overflow: hidden; background: var(--mint-pale); }
.h16-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h16-texto { display: flex; flex-direction: column; gap: 16px; max-width: 480px; }
.h16-num { font-size: 3.2rem; font-weight: 800; line-height: 1; color: var(--mint); letter-spacing: -.04em; }
.h16-h3 { margin: 0; font-size: 2.2rem; line-height: 1.08; font-weight: 800; letter-spacing: -.03em; }
.h16-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.h16-chip { font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 50px; border: 1px solid var(--h16-chip-line); color: var(--h16-text); }
.h16-chip-dark { font-weight: 700; background: var(--ink); color: var(--white); border-color: var(--ink); }
.h16-chip-mint { font-weight: 700; background: var(--mint); color: var(--ink); border-color: var(--mint); }
.h16-p { margin: 0; font-size: 1.05rem; line-height: 1.7; color: var(--h16-text); }
.h16-ejemplo { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--mid); border-left: 2px solid var(--mint); padding-left: 14px; }
.h16-pendiente { background: #fff4d6; color: #6b4e00; padding: 1px 6px; border-radius: 4px; font-weight: 700; }

/* ── 3 · LO ÚLTIMO ───────────────────────────────────────────────── */
.h16-ultimo { background: var(--off); color: var(--ink); padding: 112px 0 148px; }
.h16-ultimo > .h16-wrap { display: flex; flex-direction: column; gap: 40px; }
.h16-ultimo-cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.h16-ultimo-cab .h16-h2 { max-width: 560px; }
.h16-raya { display: block; height: 2px; background: var(--mint); transform-origin: left; }
.h16-pubs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; }
.h16-pub { text-decoration: none; display: flex; flex-direction: column; gap: 14px; height: 100%; transition: transform .25s ease-out; }
.h16-pub:hover { transform: translateY(-4px); }
.h16-pub-img { position: relative; padding-bottom: 56.25%; border-radius: 20px; overflow: hidden; display: block; background: #dceee8; }
.h16-pub-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--h16-ease); }
.h16-pub:hover .h16-pub-img img { transform: scale(1.03); }
.h16-pub-meta { font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mid); }
.h16-pub-titulo { font-size: 1.08rem; font-weight: 800; line-height: 1.35; }

/* ── 4 · LO QUE LLEVAMOS HECHO ───────────────────────────────────── */
/* Corte diagonal fijo (sin animar): un solo lenguaje de movimiento en la página */
.h16-hecho { background: var(--dark); color: var(--white); padding: 168px 0 112px; margin-top: -70px; position: relative; z-index: 3; clip-path: polygon(0 7%, 100% 0, 100% 100%, 0 100%); }
.h16-hecho > .h16-wrap { display: flex; flex-direction: column; gap: 40px; }
.h16-hecho-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.h16-hecho-cab > span { font-size: .95rem; color: var(--h16-soft-dark-2); }
.h16-creds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; }
.h16-cred { background: var(--ink-soft); border: 1px solid rgba(255,255,255,.08); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 18px; height: 100%; transition: transform .25s ease-out, border-color .25s ease; }
.h16-cred:hover { transform: translateY(-4px); border-color: rgba(18,227,188,.45); }
.h16-icono { width: 56px; height: 56px; border-radius: 16px; background: rgba(18,227,188,.12); display: flex; align-items: center; justify-content: center; }
.h16-cred-dato { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.h16-cred-dato-s { font-size: 1.25rem; font-weight: 800; line-height: 1.2; min-height: 3rem; display: flex; align-items: flex-end; }
.h16-cred-txt { font-size: .95rem; line-height: 1.5; color: var(--h16-soft-dark); }
.h16-socios { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; }
.h16-socios li { font-size: .78rem; font-weight: 600; padding: 5px 10px; border-radius: 50px; border: 1px solid rgba(255,255,255,.18); color: var(--white); }

/* ── 5 · CIERRE ──────────────────────────────────────────────────── */
.h16-cierre { background: var(--mint); color: var(--ink); padding: 188px 0 112px; position: relative; }
.h16-curva { position: absolute; top: -1px; left: 0; width: 100%; height: 140px; display: block; }
.h16-cierre .h16-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.h16-cierre .h16-h2 { font-size: 3.6rem; line-height: 1; letter-spacing: -.04em; max-width: 760px; }
.h16-cierre p { margin: 0; font-size: 1.05rem; line-height: 1.65; max-width: 460px; }
.h16-cierre-sec { display: inline-flex; align-items: center; min-height: 44px; font-size: .92rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* ── ENTRADA DE CADA SECCIÓN (una vez, al llegar) ────────────────── */
/* Solo con JS (clase h16-js en <html>): sin script, todo se ve desde el principio. */
.h16-js .h16-rv { opacity: 0; transform: translateY(var(--h16-rise));
  transition: opacity var(--h16-in) var(--h16-ease), transform var(--h16-in) var(--h16-ease); }
.h16-js .h16-rv.h16-e2 { transition-delay: calc(var(--h16-step) * 1); }
.h16-js .h16-rv.h16-e3 { transition-delay: calc(var(--h16-step) * 2); }
.h16-js .h16-rv.h16-e4 { transition-delay: calc(var(--h16-step) * 3); }
.h16-js .h16-rv.is-in { opacity: 1; transform: none; }

/* Fotos: aparecen y se asientan dentro de su marco */
.h16-js .h16-foto-rv { opacity: 0; transition: opacity 900ms var(--h16-ease); }
.h16-js .h16-foto-rv img { transform: scale(1.05); transition: transform 1400ms var(--h16-ease); }
.h16-js .h16-foto-rv.is-in { opacity: 1; }
.h16-js .h16-foto-rv.is-in img { transform: none; }

/* La raya de «Lo último» se dibuja de izquierda a derecha */
.h16-js .h16-raya { transform: scaleX(0); transition: transform 1000ms var(--h16-ease) 150ms; }
.h16-js .h16-raya.is-in { transform: scaleX(1); }

/* ── MOVIMIENTO REDUCIDO: todo visible y quieto ──────────────────── */
/* Salvo con ?ver-animaciones=1 (clase h16-forzar-anim en body), solo para revisar el diseño. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body:not(.h16-forzar-anim) .h16-linea > span,
  body:not(.h16-forzar-anim) .h16-carga,
  body:not(.h16-forzar-anim) .h16-pista-linea,
  body:not(.h16-forzar-anim) .h16-video video,
  body:not(.h16-forzar-anim) .h16-titulo,
  body:not(.h16-forzar-anim) .h16-pista,
  body:not(.h16-forzar-anim) .h16-velo-extra,
  body:not(.h16-forzar-anim) .h16-paso { animation: none !important; }
  body:not(.h16-forzar-anim) .h16-escena { height: auto; }
  body:not(.h16-forzar-anim) .h16-fijo { position: relative; height: auto; min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 90px; }
  body:not(.h16-forzar-anim) .h16-titulo, body:not(.h16-forzar-anim) .h16-mensaje { position: relative; inset: auto; }
  body:not(.h16-forzar-anim) .h16-titulo { padding-top: 22vh; }
  body:not(.h16-forzar-anim) .h16-mensaje { padding: 8vh 0 0; }
  body:not(.h16-forzar-anim) .h16-velo-extra { opacity: 1; }
  body:not(.h16-forzar-anim) .h16-rv, body:not(.h16-forzar-anim) .h16-foto-rv,
  body:not(.h16-forzar-anim) .h16-foto-rv img, body:not(.h16-forzar-anim) .h16-raya { opacity: 1 !important; transform: none !important; transition: none !important; }
  body:not(.h16-forzar-anim) .h16-pub, body:not(.h16-forzar-anim) .h16-pub:hover, body:not(.h16-forzar-anim) .h16-cred, body:not(.h16-forzar-anim) .h16-cred:hover,
  body:not(.h16-forzar-anim) .h16-btn, body:not(.h16-forzar-anim) .h16-btn:active, body:not(.h16-forzar-anim) .h16-pub-img img, body:not(.h16-forzar-anim) .h16-pub:hover .h16-pub-img img { transition: none; transform: none; }
  body.h16:not(.h16-forzar-anim) .nav-cta, body.h16:not(.h16-forzar-anim) .nav-cta::after { animation: none; }
}

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .h16-pubs, .h16-creds { grid-template-columns: repeat(2, 1fr); }
  .h16-mega { font-size: 5.6rem; }
}
@media (max-width: 860px) {
  .h16-fila { grid-template-columns: 1fr; gap: 32px; }
  .h16-fila-inv .h16-foto { order: 0; }
  .h16-texto { max-width: none; }
  .h16-formas > .h16-wrap { gap: 80px; }
  .h16-mensaje-lado { justify-self: start; }
}
@media (max-width: 720px) {
  .h16-wrap { padding: 0 20px; }
  .h16-mega { font-size: 3.8rem; }
  .h16-h2, .h16-cierre .h16-h2 { font-size: 2.05rem; }
  .h16-h3 { font-size: 1.8rem; }
  .h16-num { font-size: 3.2rem; }
  .h16-mensaje-grande { font-size: 1.8rem; }
  .h16-mensaje { padding-bottom: 11vh; }
  .h16-mensaje .h16-wrap { grid-template-columns: 1fr; gap: 18px; }
  .h16-formas { padding: 90px 0 80px; }
  .h16-ultimo { padding: 80px 0 120px; }
  .h16-hecho { padding: 140px 0 110px; }
  .h16-cierre { padding: 160px 0 80px; }
  .h16-video-ctrl { left: 16px; bottom: 16px; }
}
@media (max-width: 560px) {
  .h16-pubs, .h16-creds { grid-template-columns: 1fr; }
}

/* «Desliza»: fundido al cargar (interior) y retirada con el scroll (exterior) */
.h16-pista-in { display: flex; flex-direction: column; align-items: center; gap: 8px; }

/* ── TITULARES LÍNEA A LÍNEA (como en la referencia del PTS) ─────── */
/* El script parte los titulares en líneas; cada línea sube desde su máscara. */
.h16-js .h16-rv.h16-lineas { opacity: 1; transform: none; }
.h16-ln { display: block; overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }
.h16-ln > span { display: block; }
.h16-js .h16-lineas .h16-ln > span { transform: translateY(110%);
  transition: transform 1000ms var(--h16-ease); transition-delay: calc(var(--h16-d, 0ms) + var(--i, 0) * 80ms); }
.h16-js .h16-lineas.is-in .h16-ln > span { transform: none; }
.h16-js .h16-e2.h16-lineas { --h16-d: var(--h16-step); transition-delay: 0ms; }
.h16-js .h16-e3.h16-lineas { --h16-d: calc(var(--h16-step) * 2); transition-delay: 0ms; }

@media (prefers-reduced-motion: reduce) {
  body:not(.h16-forzar-anim) .h16-lineas .h16-ln > span { transform: none !important; transition: none !important; }
}

/* Teclado: lo que recibe el foco se muestra al momento, sin esperar a su entrada */
.h16-js .h16-rv:focus-within, .h16-js .h16-rv:focus-visible { opacity: 1; transform: none; transition-duration: 120ms; transition-delay: 0ms; }

/* ── Cierre: línea previa y caras del equipo ─────────────────────── */
.h16-cierre-pre { font-size: .78rem !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; max-width: none !important; }
.h16-leemos { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.h16-leemos p { margin: 0; }
.h16-caras { display: inline-flex; }
.h16-caras img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top center;
  filter: grayscale(1); border: 3px solid var(--ink); background: var(--mint-pale); }
.h16-caras img + img { margin-left: -10px; }


/* ── Pulido del equipo (4 nov 2026): dirección de arte y UX ──────── */
.h16-cabecera + .h16-fila { margin-top: -30px; }
.h16-fila-inv .h16-foto img { object-position: 55% 50%; }
.h16-pub-img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(9,16,14,.08); pointer-events: none; }
.h16-label.h16-ceja { color: var(--h16-mint-text); }
.h16-cierre .h16-h2 { margin-bottom: 8px; }
.h16-nav.scrolled { border-bottom-color: rgba(255,255,255,.06); }
/* Sin JS el botón de vídeo no hace nada: solo se muestra con JS */
.h16-video-ctrl { display: none; }
.h16-js .h16-video-ctrl { display: inline-flex; }
@media (min-width: 1025px) { .h16-creds { grid-template-columns: 1fr 1fr 1.3fr 1fr; } }
@media (max-width: 720px) {
  .h16-formas { padding: 88px 0 80px; }
  .h16-ultimo { padding: 88px 0 112px; }
  .h16-hecho { padding: 120px 0 88px; clip-path: polygon(0 3%, 100% 0, 100% 100%, 0 100%); }
  .h16-cierre { padding: 112px 0 80px; }
  .h16-curva { height: 72px; }
  .h16-h2, .h16-cierre .h16-h2 { font-size: 2.2rem; }
  .h16-h3 { font-size: 1.6rem; }
  .h16-num { font-size: 2.6rem; }
  .h16-cred { padding: 24px; gap: 12px; }
  .h16-cred-dato { font-size: 2.4rem; }
  /* Entrada: botón de vídeo solo con icono y ceja en una línea, sin raya */
  .h16-video-ctrl { width: 44px; padding: 0; justify-content: center; }
  #h16-video-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .h16-titulo .h16-ceja { font-size: .62rem; letter-spacing: .12em; max-width: 300px; text-align: center; }
  .h16-titulo .h16-ceja::before { display: none; }
}

/* Nav: también los enlaces cortos («Blog») con 44 px de ancho mínimo */
.h16-nav .nav-links a { min-width: 44px; justify-content: center; }

/* ── «Lo último»: IA de olla destacada + 2 piezas del blog ───────── */
.h16-pubs--destacada { grid-template-columns: 2fr 1fr 1fr; }
.h16-olla-card { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.h16-olla-img { position: relative; display: block; }
.h16-olla-play { position: absolute; left: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: var(--mint); color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px -10px rgba(9,16,14,.5); transition: transform .2s ease-out; }
.h16-olla-img:hover .h16-olla-play { transform: scale(1.06); }
.h16-olla-titulo { font-size: 1.45rem !important; letter-spacing: -.02em; text-decoration: none; color: inherit; }
.h16-olla-titulo:hover { color: var(--h16-mint-text); }
.h16-olla .p16-enlaces a { color: var(--ink); }

/* ── «Lo que llevamos hecho»: hitos + 3 tarjetas con enlace ──────── */
.h16-hitos { margin-bottom: 8px; }
.h16-creds.h16-creds--3 { grid-template-columns: repeat(3, 1fr); }
a.h16-cred-link { text-decoration: none; color: var(--white); }
a.h16-cred-link:hover { transform: translateY(-4px); border-color: rgba(18,227,188,.45); }
.h16-cred-mas { margin-top: auto; padding-top: 6px; font-size: .88rem; font-weight: 700; color: var(--mint); }
.h16-socios a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 50px; border: 1px solid rgba(255,255,255,.22); color: var(--white); font-size: .8rem; font-weight: 600; text-decoration: none; transition: border-color .2s ease, color .2s ease; }
.h16-socios a:hover { border-color: var(--mint); color: var(--mint); }
.h16-socios li { padding: 0; border: 0; }

@media (max-width: 1024px) {
  .h16-pubs--destacada { grid-template-columns: 1fr 1fr; }
  .h16-pubs--destacada .h16-olla { grid-column: 1 / -1; }
  .h16-creds.h16-creds--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .h16-pubs--destacada, .h16-creds.h16-creds--3 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  body:not(.h16-forzar-anim) a.h16-cred-link:hover, body:not(.h16-forzar-anim) .h16-olla-img:hover .h16-olla-play { transform: none; }
}

/* ── «Tres formas de empezar»: fondo vivo muy sutil + hilo que une 01 → 02 → 03 ── */
.h16-formas { isolation: isolate; overflow: hidden; }
.h16-formas::before { content: ""; position: absolute; inset: -20% -12%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 26% at 18% 22%, rgba(18,227,188,.16), transparent 70%),
    radial-gradient(34% 24% at 86% 55%, rgba(18,227,188,.12), transparent 70%),
    radial-gradient(30% 22% at 28% 88%, rgba(13,196,162,.10), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 18%, var(--mint-bg) 100%);
  animation: h16deriva 24s ease-in-out infinite alternate; }
@keyframes h16deriva { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(3%, -4%, 0) scale(1.06); } }
.h16-filas { position: relative; display: flex; flex-direction: column; gap: 110px; }
.h16-hilo { position: absolute; left: 50%; top: 6%; bottom: 6%; width: 2px; margin-left: -1px; border-radius: 2px;
  background: linear-gradient(to bottom, var(--mint), rgba(18,227,188,.25)); transform-origin: top center; }
@supports (animation-timeline: view()) {
  .h16-hilo { animation: h16hilo linear both; animation-timeline: view(); animation-range: entry 15% exit 45%; }
  @keyframes h16hilo { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}
.h16-filas .h16-fila { position: relative; }
.h16-filas .h16-fila::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--mint); box-shadow: 0 0 0 6px rgba(18,227,188,.18); transform: scale(0); transition: transform .6s var(--h16-ease) .25s; pointer-events: none; }
.h16-filas .h16-fila:has(.h16-foto-rv.is-in)::after { transform: scale(1); }
@media (max-width: 860px) {
  .h16-hilo, .h16-filas .h16-fila::after { display: none; }
  .h16-filas { gap: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  body:not(.h16-forzar-anim) .h16-formas::before, body:not(.h16-forzar-anim) .h16-hilo { animation: none !important; transform: none !important; }
  body:not(.h16-forzar-anim) .h16-filas .h16-fila::after { transform: scale(1); transition: none; }
}

/* Menú: ningún ítem se parte en dos líneas; en escritorio medio, letra y huecos algo menores */
.h16-nav .nav-links a, .nav16-desp-btn { white-space: nowrap; }
@media (min-width: 1025px) and (max-width: 1240px) {
  .h16-nav .nav-links { gap: 20px; }
  .h16-nav .nav-links a, .h16-nav .nav16-desp-btn { font-size: .74rem; }
}

/* ── «Comunidad»: desplegable (Skool · Recursos · Diseña tu producto IA) ── */
.nav16-desp { position: relative; }
.nav16-desp-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.7); transition: color .2s; }
.nav16-desp-btn:hover, .nav16-desp-btn.active, .nav16-desp-btn[aria-expanded="true"] { color: var(--mint); }
.nav16-flecha { width: 12px; height: 12px; transition: transform .35s var(--h16-ease); }
.nav16-desp-btn[aria-expanded="true"] .nav16-flecha { transform: rotate(180deg); }
.nav16-panel { position: absolute; top: calc(100% + 12px); left: 50%; width: 360px; padding: 8px; border-radius: 20px;
  background: var(--dark); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 24px 60px -20px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden; transform: translate(-50%, -8px); transition: opacity .25s ease, transform .4s var(--h16-ease), visibility 0s linear .4s; z-index: 300; }
.nav16-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* puente para el ratón */
.nav16-desp.is-open .nav16-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.nav16-panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.h16-nav .nav16-panel a { white-space: normal; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; border-radius: 14px; text-transform: none; letter-spacing: 0;
  color: var(--white) !important; text-decoration: none; transition: background-color .2s ease; }
.h16-nav .nav16-panel a:hover, .h16-nav .nav16-panel a:focus-visible, .h16-nav .nav16-panel a[aria-current="page"] { background: rgba(18,227,188,.08); }
.h16-nav .nav16-panel a b { font-size: .95rem; font-weight: 700; letter-spacing: -.005em; }
.h16-nav .nav16-panel a[aria-current="page"] b { color: var(--mint); }
.h16-nav .nav16-panel a > span:not(.h16-sr):not(.nav16-sello) { font-size: .82rem; line-height: 1.5; font-weight: 400; color: var(--h16-soft-dark); }
.h16-nav .nav16-panel a b span { color: var(--mint); }
.nav16-sello { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 4px 10px; border-radius: 50px; background: rgba(18,227,188,.14);
  color: var(--mint); font-size: .7rem; font-weight: 700; letter-spacing: 0; }
.nav16-sello svg { width: 12px; height: 12px; }
.nav16-panel li + li { border-top: 1px solid rgba(255,255,255,.06); padding-top: 4px; }

/* Menú móvil: «Comunidad» como grupo con sus tres enlaces */
.h16 .nav-mobile { overflow-y: auto; justify-content: safe center; padding: 96px 0 40px; }
.nav16-m-grupo { display: flex; flex-direction: column; align-items: center; gap: 0; margin: 8px 0; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.nav16-m-tit { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); padding: 4px 0 6px; }
.nav16-m-tit.active { color: var(--mint); }
.nav16-m-grupo ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; }
.nav16-m-grupo a { font-size: .95rem !important; text-transform: none !important; letter-spacing: 0 !important; padding: 8px 0 !important; display: inline-flex !important; align-items: center; gap: 8px; min-height: 44px; }
.nav16-sello--mini { margin: 0; padding: 4px 6px; }
@media (min-width: 1025px) and (max-width: 1120px) {
  .h16-nav { padding-left: 24px; padding-right: 24px; }
  .h16-nav .nav-links { gap: 14px; }
  .h16-nav > .nav-cta { padding-left: 16px; padding-right: 16px; }
}
