/* =====================================================================================
   Seguridad en internet · Jóvenes Caficultores
   Todas las medidas van en rem: el modo presentación solo cambia el tamaño de la raíz.
   Sin estilos en línea (la política de seguridad los bloquea).
   ===================================================================================== */

@font-face {
  font-family: 'Nunito'; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url('../fonts/nunito-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito'; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url('../fonts/nunito-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --verde-prof: #0B3D1F;
  --verde-noche: #072A15;
  --verde: #008030;
  --verde-losa: #14522C;
  --lima: #8CD00A;
  --crema: #FBF7F0;
  --papel: #FFFDF9;
  --arena: #EFE6D8;
  --borde: #EADFD0;
  --cafe: #2B1A14;
  --cafe-suave: #4A3A33;
  --amarillo: #F0B309;
  --rojo: #A8160E;
  --rojo-suave: #FDE7E5;
  --verde-suave: #E4F3E8;
  --menta: #D5E6D8;
  --suave: cubic-bezier(.2, .7, .2, 1);
  font-size: clamp(15px, 0.45vw + 11.5px, 20px);
}
html.presentando { font-size: min(1.62vw, 2.88vh); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--crema); color: var(--cafe);
  font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif; font-size: 1.2rem; font-weight: 500; line-height: 1.45;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: .2rem solid var(--amarillo); outline-offset: .2rem; border-radius: .4rem; }
.oculto-visual { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.salto { position: fixed; left: 1rem; top: -5rem; z-index: 90; background: var(--amarillo); color: var(--cafe); padding: .6rem 1rem; border-radius: .6rem; font-weight: 800; }
.salto:focus { top: 1rem; }

/* ── Barra de avance y cabecera ─────────────────────────────────────────────────── */
.progreso { position: fixed; inset: 0 0 auto 0; height: .3rem; z-index: 60; background: rgba(11, 61, 31, .12); }
.progreso span { display: block; height: 100%; background: var(--lima); transform: scaleX(0); transform-origin: left center; }

.cabecera {
  position: fixed; top: 1rem; left: 50%; transform: translateX(-50%); z-index: 50;
  display: flex; align-items: center; gap: 1rem; width: min(calc(100% - 1.5rem), 62rem);
  padding: .5rem .6rem .5rem 1.1rem; border-radius: 999px;
  background: rgba(7, 42, 21, .92); color: var(--crema); box-shadow: 0 .6rem 1.6rem rgba(7, 42, 21, .25);
}
.marca { display: flex; align-items: center; flex-shrink: 0; }
.marca img { height: 1.9rem; width: auto; }
.cabecera-cap { flex: 1; min-width: 0; font-size: .95rem; font-weight: 700; color: var(--menta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cabecera-acc { display: none; gap: .4rem; }
html.js .cabecera-acc { display: flex; }
.btn-chip {
  display: inline-flex; align-items: center; gap: .45rem; border: 0; border-radius: 999px; cursor: pointer;
  min-height: 44px; min-width: 44px; justify-content: center; padding: .55rem 1rem; font-size: .95rem; font-weight: 800; background: rgba(251, 247, 240, .12); color: var(--crema);
  transition: background-color .2s, transform .2s;
}
.btn-chip:hover { background: rgba(251, 247, 240, .22); }
.btn-chip:active { transform: scale(.96); }
.btn-chip-am { background: var(--amarillo); color: var(--cafe); }
.btn-chip-am:hover { background: #FFC62B; }

/* ── Hojas ──────────────────────────────────────────────────────────────────────── */
.hoja { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; padding: 6.5rem 1.5rem 4.5rem; overflow: hidden; }
.hoja-in { position: relative; min-width: 0; width: min(100%, 60rem); margin-inline: auto; display: flex; flex-direction: column; gap: 1.5rem; }
html.js:not(.listo) .hoja-in { opacity: 0; }
.hoja:nth-of-type(even):not(.oscura):not(.acento) { background: var(--papel); }
.oscura { background: var(--verde-prof); color: var(--crema); }
.acento { background: var(--amarillo); color: var(--cafe); }

.capitulo { display: inline-flex; align-items: center; gap: .55rem; font-size: 1rem; font-weight: 800; color: var(--verde); }
.capitulo::before { content: ''; width: 1.6rem; height: .28rem; border-radius: 1rem; background: currentColor; }
.oscura .capitulo { color: var(--amarillo); }
h1 { font-size: min(6rem, 15.5vw); font-weight: 900; line-height: .98; letter-spacing: -.02em; }
h2 { font-size: min(3rem, 8.6vw); font-weight: 900; line-height: 1.08; letter-spacing: -.012em; color: var(--verde-prof); }
.oscura h2 { color: var(--crema); }
h3 { font-size: 1.45rem; font-weight: 800; line-height: 1.2; color: var(--verde-prof); }
.oscura h3 { color: var(--crema); }
.cab { display: flex; flex-direction: column; gap: .7rem; }
.bajada { font-size: 1.35rem; font-weight: 600; line-height: 1.4; color: var(--cafe-suave); max-width: 38rem; }
.oscura .bajada { color: var(--menta); }
.tx { font-size: 1.12rem; line-height: 1.4; color: var(--cafe-suave); }
.oscura .tx { color: var(--menta); }
.am { color: var(--amarillo); }

.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.dos-ancha { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.con-tel { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: 3.5rem; align-items: center; }
.col { display: flex; flex-direction: column; gap: 1.2rem; min-width: 0; }
.rej-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.pila { display: flex; flex-direction: column; gap: .9rem; }
.rej-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.rej-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }

.lista { display: flex; flex-direction: column; gap: .7rem; font-size: 1.15rem; color: var(--cafe-suave); }
.lista li { position: relative; padding-left: 1.6rem; }
.lista li::before { content: ''; position: absolute; left: .2rem; top: .6em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--verde); }
.oscura .lista { color: var(--menta); }
.lista-num { counter-reset: n; }
.lista-num li { counter-increment: n; padding-left: 2.3rem; }
.lista-num li::before { content: counter(n); top: .05em; left: 0; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; background: var(--verde); color: var(--crema); font-size: .9rem; font-weight: 900; }

.regla { padding: 1.1rem 1.5rem; border-radius: 1.2rem; background: var(--verde-prof); color: var(--crema); font-size: 1.3rem; font-weight: 800; line-height: 1.3; }
.regla-roja { background: var(--rojo); }
.oscura .regla { background: var(--verde-losa); }

.tarjeta { display: flex; flex-direction: column; gap: .7rem; padding: 1.5rem; border-radius: 1.4rem; background: var(--papel); border: .12rem solid var(--borde); }
.hoja:nth-of-type(even) .tarjeta { background: var(--crema); }
.tarjeta .bi { font-size: 2.1rem; color: var(--verde); line-height: 1; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; border: 0; border-radius: 999px; padding: .95rem 1.7rem; font-size: 1.15rem; font-weight: 900; cursor: pointer; text-decoration: none; transition: transform .2s var(--suave), box-shadow .2s, background-color .2s; }
.btn:active { transform: scale(.96); }
.btn-lima { background: var(--lima); color: var(--verde-noche); box-shadow: 0 .5rem 1.4rem rgba(140, 208, 10, .28); }
.btn-lima:hover { background: #A3E326; }
.btn-linea { background: transparent; color: var(--crema); box-shadow: inset 0 0 0 .14rem rgba(251, 247, 240, .55); }
.btn-linea:hover { background: rgba(251, 247, 240, .12); }
.solo-presenta { display: none; }
html.presentando .solo-presenta { display: block; }
html.presentando .solo-lectura { display: none; }

/* ── Teléfono y conversación ────────────────────────────────────────────────────── */
.tel { width: 18rem; max-width: 100%; margin-inline: auto; padding: .65rem; border-radius: 2.4rem; background: #1E1410; box-shadow: 0 1.6rem 3rem rgba(43, 26, 20, .28), inset 0 0 0 .12rem #3A2A22; }
.tel-pantalla { display: flex; flex-direction: column; height: 26rem; border-radius: 1.8rem; overflow: hidden; background: var(--arena); }
.tel-barra { display: flex; align-items: center; gap: .65rem; padding: .8rem .9rem; background: var(--verde-prof); color: var(--crema); }
.tel-avatar { width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--amarillo); color: var(--cafe); font-weight: 900; font-size: 1.05rem; }
.tel-nombre { font-size: .98rem; font-weight: 800; line-height: 1.15; }
.tel-estado { font-size: .78rem; color: var(--menta); line-height: 1.2; }
.tel-chat { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: .55rem; padding: .9rem; }
.burbuja { flex-shrink: 0; align-self: flex-start; max-width: 90%; padding: .65rem .85rem; border-radius: 1.1rem; border-bottom-left-radius: .3rem; background: var(--papel); color: var(--cafe); font-size: 1rem; font-weight: 600; line-height: 1.35; box-shadow: 0 .1rem .2rem rgba(43, 26, 20, .12); transform-origin: left bottom; }
.burbuja.mia { align-self: flex-end; background: #DDF3C4; border-bottom-left-radius: 1.1rem; border-bottom-right-radius: .3rem; transform-origin: right bottom; }
.burbuja.aviso { align-self: stretch; max-width: none; background: var(--cafe); color: var(--crema); border-radius: .9rem; font-size: .9rem; }
.burbuja.aviso .bi { margin-right: .35rem; color: var(--amarillo); }
.burbuja.sello-ok { align-self: center; background: var(--lima); color: var(--verde-noche); font-weight: 900; border-radius: 999px; padding: .5rem 1rem; }
.escribiendo { align-self: flex-start; display: inline-flex; gap: .3rem; padding: .8rem .9rem; border-radius: 1.1rem; background: var(--papel); }
.escribiendo.mia { align-self: flex-end; background: #DDF3C4; }
.escribiendo i { width: .5rem; height: .5rem; border-radius: 50%; background: #9A8A80; animation: punto 1s infinite ease-in-out; }
.escribiendo i:nth-child(2) { animation-delay: .15s; }
.escribiendo i:nth-child(3) { animation-delay: .3s; }
@keyframes punto { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-.3rem); opacity: 1; } }
.pista { background: transparent; color: inherit; border-radius: .3rem; transition: background-color .5s, box-shadow .5s; }
.resuelto .pista { background: #FFE08A; box-shadow: 0 0 0 .15rem #FFE08A; }
.resuelto.es-real .pista { background: #CDEFA0; box-shadow: 0 0 0 .15rem #CDEFA0; }

.chips-senal { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips-senal li { padding: .35rem .85rem; border-radius: 999px; font-size: .92rem; font-weight: 800; color: #8A7B72; box-shadow: inset 0 0 0 .1rem var(--borde); }
.chips-senal .on { background: var(--amarillo); color: var(--cafe); box-shadow: none; }

/* ── Portada ────────────────────────────────────────────────────────────────────── */
.portada { background: radial-gradient(60rem 40rem at 78% 30%, #14602F 0%, var(--verde-prof) 55%, var(--verde-noche) 100%); padding-bottom: 0; }
.portada .hoja-in { width: min(100%, 66rem); gap: 2.2rem; }
.portada-cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 3rem; align-items: center; }
.portada h1 { color: var(--crema); }
.portada-sub { font-size: 1.6rem; font-weight: 700; color: var(--menta); line-height: 1.25; }
.portada-acc { display: flex; flex-wrap: wrap; gap: .9rem; }
.portada-tel { position: relative; }
.portada-tel .tel-pantalla { height: 27.5rem; }
.ondas { position: absolute; inset: 50% auto auto 50%; width: 0; height: 0; }
.ondas i { position: absolute; left: 50%; top: 50%; width: 22rem; height: 22rem; margin: -11rem 0 0 -11rem; border-radius: 50%; border: .12rem solid rgba(140, 208, 10, .35); animation: onda 4.5s infinite linear; opacity: 0; }
.ondas i:nth-child(2) { animation-delay: 1.5s; }
.ondas i:nth-child(3) { animation-delay: 3s; }
@keyframes onda { 0% { transform: scale(.55); opacity: 0; } 20% { opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
.aliados { width: min(100%, 34rem); }
.portada-pie { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cinta { margin: 1rem -1.5rem 0; padding: .85rem 0; overflow: hidden; background: var(--verde-noche); white-space: nowrap; }
.cinta-pista { display: inline-flex; gap: 2.5rem; padding-right: 2.5rem; animation: cinta 38s linear infinite; }
.cinta span { font-size: 1.05rem; font-weight: 800; color: rgba(213, 230, 216, .75); }
.cinta span::before { content: '«'; color: var(--amarillo); }
.cinta span::after { content: '»'; color: var(--amarillo); }
@keyframes cinta { to { transform: translateX(-50%); } }
.baja { align-self: center; display: inline-flex; flex-direction: column; align-items: center; gap: .2rem; color: var(--menta); font-size: .9rem; font-weight: 700; text-decoration: none; }
.baja .bi { font-size: 1.3rem; animation: baja 1.6s infinite; }
@keyframes baja { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(.35rem); } }

/* ── Tres logros ────────────────────────────────────────────────────────────────── */
.verbos li { display: grid; grid-template-columns: 17rem 1fr; gap: 2rem; align-items: baseline; padding: 1.25rem 0; border-top: .14rem solid var(--borde); }
.verbos li:last-child { border-bottom: .14rem solid var(--borde); }
.verbo { font-size: 3rem; font-weight: 900; line-height: 1; color: var(--verde); letter-spacing: -.015em; }
.verbo-tx { font-size: 1.3rem; font-weight: 600; color: var(--cafe-suave); }

/* ── Sondeo ─────────────────────────────────────────────────────────────────────── */
.opcion { display: flex; flex-direction: column; gap: .8rem; }
.opcion-btn { display: flex; flex-direction: column; gap: .7rem; width: 100%; height: 100%; text-align: left; padding: 1.5rem; border-radius: 1.4rem; cursor: pointer; background: var(--crema); border: .14rem solid var(--borde); transition: transform .25s var(--suave), border-color .25s, background-color .25s; }
.opcion-btn:hover { transform: translateY(-.25rem); border-color: var(--verde); }
.opcion-btn[aria-pressed="true"] { background: var(--verde-suave); border-color: var(--verde); }
.opcion-n { width: 3.4rem; height: 3.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--verde); color: var(--crema); font-size: 1.8rem; font-weight: 900; }
.opcion-btn[aria-pressed="true"] .opcion-n { background: var(--amarillo); color: var(--cafe); }
.opcion-resp { font-size: 1rem; font-weight: 700; color: var(--verde-prof); padding-left: .4rem; }
.opcion-resp a { font-weight: 900; color: var(--verde); }

/* ── Finca digital ──────────────────────────────────────────────────────────────── */
.ficha { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem; border-radius: 1.4rem; background: var(--papel); border: .12rem solid var(--borde); }
.hoja:nth-of-type(even) .ficha { background: var(--crema); }
.ficha > .bi { flex-shrink: 0; width: 3.2rem; height: 3.2rem; border-radius: 1rem; display: grid; place-items: center; background: var(--verde-suave); color: var(--verde); font-size: 1.6rem; }
.ficha-c { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }

/* ── Escenas 3D (se activan solo si Three.js cargó) ─────────────────────────────── */
.lienzo { position: relative; }
.lienzo canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.lienzo canvas:active { cursor: grabbing; }
.lienzo canvas.sobre-zona { cursor: pointer; }
.zoom-3d { position: absolute; right: .4rem; bottom: .4rem; display: flex; gap: .4rem; }
.zoom-3d button { width: 44px; height: 44px; border-radius: 50%; border: .12rem solid var(--borde); background: rgba(255, 253, 249, .92); color: var(--verde-prof); font-size: 1.15rem; cursor: pointer; display: grid; place-items: center; transition: background-color .2s, transform .2s; }
.zoom-3d button:hover { background: var(--verde-suave); }
.zoom-3d button:active { transform: scale(.92); }
.lienzo-finca { width: 100%; height: min(23rem, 80vw); }
.lienzo-escudo { width: 19rem; max-width: 100%; height: 20rem; }
.escudo-fig.con-3d .escudo-svg { display: none; }
button.ficha { width: 100%; text-align: left; cursor: default; font: inherit; color: inherit; transition: border-color .25s, background-color .25s; }
.ficha-t { display: block; font-size: 1.45rem; font-weight: 800; line-height: 1.2; color: var(--verde-prof); }
button.ficha .tx { display: block; }
.finca-lado { gap: .8rem; }
.con-3d .pila { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.con-3d button.ficha { flex-direction: column; align-items: center; text-align: center; gap: .35rem; padding: .7rem .3rem; cursor: pointer; }
.con-3d button.ficha .tx { display: none; }
.con-3d button.ficha > .bi { width: 2.4rem; height: 2.4rem; font-size: 1.2rem; border-radius: .8rem; }
.con-3d .ficha-t { font-size: 1rem; }
.con-3d button.ficha[aria-pressed="true"] { border-color: var(--verde-prof); background: var(--amarillo); box-shadow: 0 .5rem 1.2rem rgba(240, 179, 9, .45); transform: translateY(-.2rem); }
.con-3d button.ficha[aria-pressed="true"] .ficha-t { color: var(--cafe); }
.con-3d button.ficha[aria-pressed="true"] > .bi { background: var(--verde-prof); color: var(--amarillo); }
.finca-leyenda { min-height: 3.1em; font-size: 1.12rem; font-weight: 700; line-height: 1.35; color: var(--cafe); text-align: center; }
html.presentando .lienzo-finca { height: 19.5rem; }

/* ── La puerta ──────────────────────────────────────────────────────────────────── */
.acento .hoja-in { width: min(100%, 62rem); }
.acento-cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; gap: 3.5rem; align-items: center; }
.frase { font-size: min(4.6rem, 11vw); font-weight: 900; line-height: 1.02; letter-spacing: -.02em; color: var(--cafe); }
.frase-sub { font-size: 1.5rem; font-weight: 700; line-height: 1.3; color: #3C1E14; max-width: 34rem; }
.puerta { position: relative; width: 13rem; height: 21rem; margin-inline: auto; perspective: 55rem; }
.puerta-hueco { position: absolute; inset: 0; border-radius: .5rem .5rem 0 0; background: var(--cafe); box-shadow: 0 0 0 .7rem #5A3524; display: grid; align-items: center; justify-items: end; padding: 1rem .7rem 1rem 5.6rem; }
.puerta-hueco p { background: var(--papel); color: var(--cafe); font-size: .88rem; font-weight: 800; line-height: 1.25; padding: .6rem .8rem; border-radius: 1rem; border-bottom-left-radius: .25rem; }
.puerta-hoja { position: absolute; inset: 0; border-radius: .4rem .4rem 0 0; background: linear-gradient(90deg, #7A4A2C, #94603A); transform-origin: left center; box-shadow: inset 0 0 0 .5rem rgba(43, 26, 20, .18), inset 0 0 0 1.4rem rgba(43, 26, 20, .06); }
.puerta-hoja::after { content: ''; position: absolute; right: 1rem; top: 52%; width: 1rem; height: 1rem; border-radius: 50%; background: var(--amarillo); box-shadow: 0 .15rem .3rem rgba(43, 26, 20, .4); }

/* ── Señales ────────────────────────────────────────────────────────────────────── */
.senal { position: relative; display: flex; flex-direction: column; gap: .7rem; padding: 1.5rem; border-radius: 1.4rem; background: var(--crema); border: .12rem solid var(--borde); }
.senal .bi { width: 3.4rem; height: 3.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--amarillo); color: var(--cafe); font-size: 1.7rem; }
.senal q { quotes: '«' '»'; font-size: 1.1rem; font-weight: 600; color: var(--cafe-suave); line-height: 1.35; }

/* ── ¿Real o estafa? ────────────────────────────────────────────────────────────── */
.pide { font-size: 1.4rem; font-weight: 800; color: var(--verde-prof); }
.caso-botones { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-real { background: var(--verde-suave); color: #005F24; box-shadow: inset 0 0 0 .14rem #7FC295; }
.btn-estafa { background: var(--rojo-suave); color: var(--rojo); box-shadow: inset 0 0 0 .14rem #E49B94; }
.btn-real:hover, .btn-estafa:hover { transform: translateY(-.15rem); }
.resuelto .caso-botones { display: none; }
.veredicto { display: flex; flex-direction: column; gap: 1rem; }
html:not(.js) .veredicto[hidden] { display: flex !important; }
.sello { align-self: flex-start; padding: .55rem 1.4rem; border-radius: 999px; font-size: 1.7rem; font-weight: 900; letter-spacing: .02em; }
.sello-estafa { background: var(--rojo); color: var(--crema); }
.sello-real { background: var(--lima); color: var(--verde-noche); }
.eco { font-size: 1.15rem; font-weight: 800; color: var(--verde-prof); }
.que-hacer { font-size: 1.1rem; font-weight: 700; color: var(--cafe); padding: .8rem 1rem; border-radius: 1rem; background: var(--arena); }

/* ── Escudo ─────────────────────────────────────────────────────────────────────── */
.escudo-cuerpo { display: grid; grid-template-columns: 19rem minmax(0, 1fr); gap: 3rem; align-items: center; }
.escudo-fig { position: relative; display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.escudo-svg { width: 13rem; height: auto; overflow: visible; }
.escudo-svg .banda { fill: rgba(213, 230, 216, .14); transition: fill .5s var(--suave); }
.escudo-svg .banda.llena { fill: var(--lima); }
.escudo-svg .borde { fill: none; stroke: var(--crema); stroke-width: 4; stroke-linejoin: round; }
.escudo-svg .palomita { fill: none; stroke: var(--verde-noche); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .4s; }
.escudo-svg.completo .palomita { opacity: 1; }
.escudo-cuenta { font-size: 1.15rem; font-weight: 800; color: var(--menta); text-align: center; }
.escudo-pasos { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.paso-e { display: flex; align-items: flex-start; gap: .8rem; padding: .95rem 1rem; border-radius: 1.1rem; background: var(--verde-losa); cursor: pointer; transition: background-color .25s, transform .2s; }
.paso-e:hover { transform: translateY(-.12rem); }
.paso-e input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.paso-e .caja { flex-shrink: 0; width: 2rem; height: 2rem; border-radius: .6rem; display: grid; place-items: center; box-shadow: inset 0 0 0 .14rem var(--menta); color: transparent; font-size: 1.2rem; transition: background-color .25s, color .25s, box-shadow .25s; }
.paso-e input:checked + .caja { background: var(--lima); color: var(--verde-noche); box-shadow: none; }
.paso-e input:focus-visible + .caja { outline: .2rem solid var(--amarillo); outline-offset: .15rem; }
.paso-e-c { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.paso-e-t { font-size: 1.18rem; font-weight: 900; line-height: 1.2; color: var(--crema); }
.paso-e-p { font-size: .98rem; line-height: 1.3; color: var(--menta); }
.confeti { position: absolute; left: 50%; top: 40%; width: .6rem; height: .9rem; border-radius: .15rem; pointer-events: none; }

/* ── Paso a paso de WhatsApp ────────────────────────────────────────────────────── */
.wa-pasos { display: flex; flex-direction: column; gap: .7rem; }
.wa-paso { display: flex; gap: 1rem; align-items: center; width: 100%; text-align: left; padding: .85rem 1.1rem; border-radius: 1.1rem; cursor: pointer; background: transparent; border: .14rem solid var(--borde); transition: background-color .3s, border-color .3s, transform .3s var(--suave); }
.wa-paso .n { flex-shrink: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--arena); color: var(--cafe); font-weight: 900; font-size: 1.15rem; transition: background-color .3s, color .3s; }
.wa-paso-c { display: flex; flex-direction: column; }
.wa-paso-t { font-size: 1.2rem; font-weight: 900; color: var(--verde-prof); line-height: 1.2; }
.wa-paso-p { font-size: 1rem; color: var(--cafe-suave); line-height: 1.3; }
.wa-paso.activo { background: var(--verde-suave); border-color: var(--verde); transform: translateX(.4rem); }
.wa-paso.activo .n { background: var(--verde); color: var(--crema); }
.wa-pant { flex: 1; display: flex; flex-direction: column; padding: .6rem; gap: .25rem; background: var(--papel); }
.wa-fila { display: flex; align-items: center; gap: .7rem; padding: .7rem .75rem; border-radius: .8rem; font-size: .98rem; font-weight: 700; color: var(--cafe-suave); }
.wa-fila .bi { font-size: 1.15rem; color: #8A7B72; }
.wa-fila.toca { background: var(--amarillo); color: var(--cafe); font-weight: 900; animation: toca 1.4s infinite; }
.wa-fila.toca .bi { color: var(--cafe); }
@keyframes toca { 0%, 100% { box-shadow: 0 0 0 0 rgba(240, 179, 9, .55); } 50% { box-shadow: 0 0 0 .5rem rgba(240, 179, 9, 0); } }
.wa-pin { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem; background: var(--papel); padding: 1rem; text-align: center; }
.wa-pin p { font-size: 1rem; font-weight: 800; color: var(--cafe); }
.wa-puntos { display: flex; gap: .55rem; }
.wa-puntos i { width: 1.3rem; height: 1.3rem; border-radius: 50%; box-shadow: inset 0 0 0 .13rem #B9A99E; animation: pin 3.2s infinite; }
.wa-puntos i:nth-child(2) { animation-delay: .3s; } .wa-puntos i:nth-child(3) { animation-delay: .6s; }
.wa-puntos i:nth-child(4) { animation-delay: .9s; } .wa-puntos i:nth-child(5) { animation-delay: 1.2s; }
.wa-puntos i:nth-child(6) { animation-delay: 1.5s; }
@keyframes pin { 0%, 8% { background: transparent; } 14%, 80% { background: var(--verde); box-shadow: none; } 100% { background: transparent; } }
.wa-ok { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border-radius: 999px; background: var(--verde-suave); color: #005F24; font-size: .92rem; font-weight: 900; }

/* ── Tabla de cuentas ───────────────────────────────────────────────────────────── */
.tabla { width: 100%; border-collapse: collapse; font-size: 1.12rem; }
.tabla th { text-align: left; padding: .8rem 1rem; background: var(--verde-prof); color: var(--crema); font-weight: 800; }
.tabla th:first-child { border-radius: 1rem 0 0 0; } .tabla th:last-child { border-radius: 0 1rem 0 0; }
.tabla td { padding: .8rem 1rem; border-bottom: .12rem solid var(--borde); color: var(--cafe-suave); vertical-align: top; }
.tabla td:first-child { font-weight: 800; color: var(--cafe); white-space: nowrap; }
.tabla td .bi { margin-right: .5rem; color: var(--verde); }

/* ── Claves ─────────────────────────────────────────────────────────────────────── */
.panel { display: flex; flex-direction: column; gap: .5rem; padding: 1.3rem 1.5rem; border-radius: 1.4rem; }
.panel-debil { background: var(--rojo-suave); box-shadow: inset 0 0 0 .12rem #E9B9B4; }
.panel-fuerte { background: var(--verde-suave); box-shadow: inset 0 0 0 .12rem #A9D4B5; }
.etq { font-size: 1rem; font-weight: 900; }
.panel-debil .etq { color: var(--rojo); } .panel-fuerte .etq { color: #005F24; }
.clave { font-size: 1.55rem; font-weight: 800; line-height: 1.3; color: var(--cafe); overflow-wrap: anywhere; }
.probador { display: flex; flex-direction: column; gap: .6rem; padding: 1.2rem 1.4rem; border-radius: 1.4rem; background: var(--crema); border: .12rem solid var(--borde); }
.probador label { font-size: 1.1rem; font-weight: 900; color: var(--verde-prof); }
.probador input { width: 100%; padding: .8rem 1rem; border-radius: .9rem; border: .14rem solid var(--borde); background: var(--papel); font-size: 1.2rem; font-weight: 700; }
.probador input:focus { outline: none; border-color: var(--verde); }
.medidor { height: .7rem; border-radius: 1rem; background: var(--arena); overflow: hidden; }
.medidor span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left center; background: var(--rojo); transition: transform .4s var(--suave), background-color .4s; }
.medidor[data-nivel="1"] span { transform: scaleX(.2); } .medidor[data-nivel="2"] span { transform: scaleX(.4); background: #D9730D; }
.medidor[data-nivel="3"] span { transform: scaleX(.6); background: var(--amarillo); } .medidor[data-nivel="4"] span { transform: scaleX(.8); background: var(--verde); }
.medidor[data-nivel="5"] span { transform: scaleX(1); background: var(--lima); }
.medidor-tx { font-size: 1rem; font-weight: 700; color: var(--cafe-suave); min-height: 1.5em; }
.nota-chica { font-size: .9rem; color: #736359; }

/* ── Primera hora ───────────────────────────────────────────────────────────────── */
.tiempo { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; padding-top: 2.6rem; }
.tiempo li { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.3rem; border-radius: 1.4rem; background: var(--crema); border: .12rem solid var(--borde); }
.tiempo > .tiempo-linea { position: absolute; display: block; left: 1.4rem; right: 1.4rem; top: 1.25rem; height: .3rem; padding: 0; border: 0; border-radius: 1rem; background: var(--verde); transform-origin: left center; }
.tiempo .n { position: absolute; top: -2.6rem; left: 1.1rem; width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--verde); color: var(--crema); font-size: 1.3rem; font-weight: 900; box-shadow: 0 0 0 .4rem var(--papel); }

/* ── Reto y cierre ──────────────────────────────────────────────────────────────── */
.losa { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; border-radius: 1.4rem; background: var(--verde-losa); }
.losa-cuando { align-self: flex-start; padding: .3rem .9rem; border-radius: 999px; background: var(--amarillo); color: var(--cafe); font-size: .95rem; font-weight: 900; }
.losa-t { font-size: 1.35rem; font-weight: 800; line-height: 1.25; color: var(--crema); }
.lema { font-size: min(4rem, 10vw); font-weight: 900; line-height: 1.1; letter-spacing: -.015em; color: var(--crema); }
.lema span { display: block; }
.cierre .hoja-in { gap: 2.4rem; }

/* ── Títulos: sitio para las letras que bajan (g, p, j) dentro de la máscara ────── */
.pal-mask { padding-bottom: .17em; margin-bottom: -.17em; }
h1, h2 { text-wrap: balance; }

/* ── Marca y autor en cada hoja ─────────────────────────────────────────────────── */
.portada-autor { font-size: 1.15rem; font-weight: 800; color: var(--amarillo); }
.firma { position: absolute; left: max(1.5rem, calc(50% - 30rem)); right: max(1.5rem, calc(50% - 30rem)); bottom: 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; pointer-events: none; }
.firma img { height: 1.5rem; width: auto; opacity: .92; }
.firma span { font-size: .85rem; font-weight: 800; color: #736359; white-space: nowrap; }
.oscura .firma span { color: var(--menta); }
.acento .firma span { color: #3C1E14; }
html.presentando .firma { top: .8rem; bottom: auto; left: 1.4rem; right: 1.4rem; }

/* ── Quién te acompaña ──────────────────────────────────────────────────────────── */
.dos-quien { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.quien-foto { position: relative; isolation: isolate; width: 9.5rem; height: 9.5rem; border-radius: 50%; }
.quien-foto::before { content: ''; position: absolute; inset: -.5rem; z-index: -1; border-radius: 50%; background: var(--verde-prof); }
.quien-foto::after { content: ''; position: absolute; inset: -.5rem; z-index: -2; border-radius: 50%; box-shadow: 0 1rem 2.2rem rgba(11, 61, 31, .22); }
.quien-foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: .3rem solid var(--papel); background: var(--verde-suave); }
@keyframes aro { to { transform: rotate(360deg); } }
.quien-cargo { font-size: 1.3rem; font-weight: 800; line-height: 1.3; color: var(--verde); }
.por-llenar { outline: .12rem dashed #C9A227; outline-offset: .22rem; border-radius: .3rem; }
.recorrido { display: flex; flex-direction: column; gap: .9rem; }
.recorrido li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 1rem; align-items: start; padding: 1rem 1.2rem; border-radius: 1.2rem; background: var(--papel); border: .12rem solid var(--borde); }
.recorrido-n { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--verde); color: var(--crema); font-size: 1.2rem; font-weight: 900; }
.recorrido-c { display: flex; flex-direction: column; gap: .3rem; }
.recorrido li { transition: transform .3s var(--suave), border-color .3s, box-shadow .3s; }
.recorrido li:hover { transform: translateX(.35rem); border-color: var(--verde); box-shadow: 0 .8rem 1.6rem rgba(11, 61, 31, .1); }
.recorrido li:last-child { border-color: var(--verde); background: var(--verde-suave); }
.recorrido li:last-child .recorrido-n { background: var(--amarillo); color: var(--cafe); }
.cifras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; padding: 1.2rem 1.6rem; border-radius: 1.4rem; background: var(--verde-prof); }
.cifras li { display: flex; align-items: center; gap: .9rem; }
.cifra { font-size: 3.2rem; font-weight: 900; line-height: 1; color: var(--lima); font-variant-numeric: tabular-nums; }
.cifra-tx { font-size: 1.05rem; font-weight: 700; line-height: 1.3; color: var(--crema); }
html.presentando #quien .hoja-in { gap: 1.1rem; }
html.presentando .quien-foto { width: 8rem; height: 8rem; }
html.presentando #quien .col { gap: .8rem; }
html.presentando .recorrido { gap: .65rem; }
html.presentando .recorrido li { padding: .75rem 1.1rem; }
html.presentando .cifras { padding: .8rem 1.4rem; }

/* ── De qué va esta clase ───────────────────────────────────────────────────────── */
.ruta { display: grid; grid-template-columns: repeat(5, 1fr); gap: .9rem; }
.ruta a { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: 1.1rem; border-radius: 1.3rem; background: var(--crema); border: .12rem solid var(--borde); text-decoration: none; transition: transform .25s var(--suave), border-color .25s; }
.ruta a:hover { transform: translateY(-.25rem); border-color: var(--verde); }
.ruta .n { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--verde); color: var(--crema); font-weight: 900; font-size: 1.15rem; }
.ruta-t { font-size: 1.2rem; font-weight: 900; color: var(--verde-prof); line-height: 1.2; }
.ruta-p { font-size: .98rem; color: var(--cafe-suave); line-height: 1.3; }
.avisos { display: flex; flex-wrap: wrap; gap: .6rem; }
.avisos li { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: 999px; background: var(--verde-suave); color: #005F24; font-size: 1rem; font-weight: 800; }

/* ── Palancas de la ingeniería social ───────────────────────────────────────────── */
.palanca { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem; border-radius: 1.3rem; background: var(--crema); border: .12rem solid var(--borde); }
.palanca .bi { flex-shrink: 0; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--amarillo); color: var(--cafe); font-size: 1.4rem; }
.palanca q { quotes: '«' '»'; font-size: 1.05rem; font-weight: 600; color: var(--cafe-suave); line-height: 1.35; }

/* ── Anzuelos y correo falso ────────────────────────────────────────────────────── */
.lienzo-canales { width: 100%; height: min(17rem, 64vw); }
html.presentando .lienzo-canales { height: 14.5rem; }
.dos-correo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; }
.correo { border-radius: 1.3rem; overflow: hidden; background: var(--papel); border: .12rem solid var(--borde); box-shadow: 0 1.2rem 2.4rem rgba(43, 26, 20, .14); }
.correo-barra { display: flex; align-items: center; gap: .6rem; padding: .7rem 1.1rem; background: var(--verde-prof); color: var(--crema); font-size: .95rem; font-weight: 800; }
.correo-cab { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.2rem .8rem; border-bottom: .12rem solid var(--borde); }
.correo-asunto { font-size: 1.25rem; font-weight: 900; line-height: 1.25; color: var(--cafe); }
.correo-de { font-size: .98rem; color: var(--cafe-suave); overflow-wrap: anywhere; }
.correo-cuerpo { display: flex; flex-direction: column; gap: .8rem; padding: 1rem 1.2rem 1.2rem; font-size: 1.08rem; color: var(--cafe); }
.pista-c { border-radius: .3rem; cursor: pointer; transition: background-color .3s, box-shadow .3s; }
html.js .pista-c:hover { background: rgba(240, 179, 9, .2); }
.pista-c.hallada { background: #FFE08A; box-shadow: 0 0 0 .14rem #F0B309; }
.correo-enlace { display: inline-block; padding: .55rem 1.1rem; border-radius: .6rem; background: #1A5FB4; color: #FFFFFF; font-weight: 800; }
html.js .correo-enlace:hover, .correo-enlace.hallada { background: #1A5FB4; }
.correo-enlace.hallada { box-shadow: 0 0 0 .24rem #F0B309; }
.correo-destino { display: none; margin-top: .45rem; font-size: .92rem; font-weight: 800; color: var(--rojo); }
.correo-enlace.hallada + .correo-destino { display: block; }
.correo-adj .pista-c { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border-radius: .6rem; background: var(--arena); font-weight: 800; }
.correo-adj .pista-c.hallada { background: #FFE08A; }
.pistas-cuenta { font-size: 1.05rem; font-weight: 900; color: var(--verde); }
.pistas-lista b { color: var(--cafe); }
html:not(.js) .pistas-lista li[hidden], html:not(.js) #pistas-final[hidden] { display: block !important; }

/* ── Índice, ayuda y cortina ────────────────────────────────────────────────────── */
dialog { border: 0; padding: 0; border-radius: 1.6rem; background: var(--papel); color: var(--cafe); width: min(92vw, 44rem); max-height: 86vh; box-shadow: 0 2rem 5rem rgba(7, 42, 21, .4); }
dialog::backdrop { background: rgba(7, 42, 21, .6); backdrop-filter: blur(.25rem); }
.dlg-cab { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.5rem; background: var(--papel); border-bottom: .12rem solid var(--borde); }
.dlg-cab h2 { font-size: 1.6rem; }
.dlg-x { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 0; cursor: pointer; background: var(--arena); font-size: 1.1rem; }
.dlg-cuerpo { padding: 1.2rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 1.2rem; }
.ind-cap { font-size: .95rem; font-weight: 900; color: var(--verde); margin-bottom: .4rem; }
.ind-lista { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.ind-item { display: flex; gap: .7rem; align-items: baseline; width: 100%; text-align: left; padding: .6rem .8rem; border: 0; border-radius: .8rem; cursor: pointer; background: transparent; font-size: 1.02rem; font-weight: 700; }
.ind-item:hover { background: var(--arena); }
.ind-item[aria-current="true"] { background: var(--verde-suave); color: var(--verde-prof); }
.ind-n { flex-shrink: 0; width: 1.6rem; font-weight: 900; color: var(--verde); font-variant-numeric: tabular-nums; }
.teclas { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.2rem; font-size: 1.05rem; align-items: center; }
kbd { display: inline-block; min-width: 2rem; text-align: center; padding: .15rem .55rem; border-radius: .5rem; background: var(--cafe); color: var(--crema); font: inherit; font-weight: 800; font-size: .95rem; }
.cortina { position: fixed; inset: 0; z-index: 70; background: var(--verde); transform: scaleX(0); pointer-events: none; }

/* ── Modo presentación ──────────────────────────────────────────────────────────── */
html.presentando, html.presentando body { overflow: hidden; height: 100%; scroll-behavior: auto; }
html.presentando .cabecera, html.presentando .cinta, html.presentando .baja { display: none; }
html.presentando .hoja { position: fixed; inset: 0; min-height: 0; padding: 2.7rem 3rem 3.95rem; display: none; }
html.presentando.con-notas .hoja { padding-right: 19rem; }
html.presentando .hoja.actual { display: grid; }
html.presentando .hoja-in { width: 55.5rem; max-width: none; justify-self: center; transform-origin: center top; }
html.presentando .hoja-in.encogida { align-self: start; }
html.presentando .ficha { padding: 1rem 1.2rem; }
html.presentando .pila { gap: .7rem; }
html.presentando .cierre .hoja-in { gap: 1.6rem; }
html.presentando .portada-tel .tel-pantalla { height: 25.5rem; }
html.presentando .wa-paso { padding: .7rem 1rem; }
html.presentando .wa-paso:not(.activo) .wa-paso-p { display: none; }
html.presentando .verbos li { padding: 1.1rem 0; }
html.presentando .portada .hoja-in, html.presentando .acento .hoja-in { width: 55.5rem; }
html.presentando .progreso { z-index: 80; }

.hud { position: fixed; left: 50%; bottom: .7rem; transform: translateX(-50%); z-index: 75; display: flex; align-items: center; gap: .9rem; padding: .4rem .55rem; border-radius: 999px; background: rgba(7, 42, 21, .94); color: var(--crema); box-shadow: 0 .5rem 1.4rem rgba(7, 42, 21, .35); transition: opacity .5s; }
.hud.dormido { opacity: .12; }
.hud:hover, .hud:focus-within { opacity: 1; }
.hud-grupo { display: flex; align-items: center; gap: .25rem; }
.hud-b { width: 2.3rem; height: 2.3rem; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: transparent; color: var(--crema); font-size: 1.05rem; transition: background-color .2s; }
.hud-b:hover { background: rgba(251, 247, 240, .18); }
.hud-b[aria-pressed="true"] { background: var(--amarillo); color: var(--cafe); }
.hud-cuenta { min-width: 4.2rem; text-align: center; font-size: .95rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.hud-reloj { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .8rem; border: 0; border-radius: 999px; cursor: pointer; background: rgba(251, 247, 240, .12); color: var(--crema); font-size: .95rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.hud-plan { font-size: .85rem; font-weight: 700; color: var(--menta); padding-right: .4rem; white-space: nowrap; }
.hud-plan.tarde { color: var(--amarillo); }

.notas-panel { position: fixed; right: .8rem; top: 1.2rem; bottom: 4.2rem; width: 17rem; z-index: 74; display: flex; flex-direction: column; gap: .6rem; padding: 1.1rem 1.2rem; border-radius: 1.2rem; background: rgba(43, 26, 20, .95); color: var(--crema); overflow: auto; }
.notas-panel h2 { font-size: 1rem; color: var(--amarillo); }
.notas-panel p { font-size: .88rem; line-height: 1.45; font-weight: 500; }
.puntero { position: fixed; inset: 0; z-index: 72; pointer-events: none; background: radial-gradient(circle 9rem at var(--px, 50%) var(--py, 50%), transparent 0, transparent 60%, rgba(7, 42, 21, .72) 100%); }

/* ── Ventana de notas ───────────────────────────────────────────────────────────── */
html.vista-notas body > *:not(#vista-notas):not(script) { display: none !important; }
html.vista-notas body { background: var(--cafe); color: var(--crema); }
#vista-notas { min-height: 100vh; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.1rem; font-size: 18px; }
.vn-cab { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.vn-reloj { font-size: 2.4em; font-weight: 900; font-variant-numeric: tabular-nums; color: var(--lima); }
.vn-pos { font-size: 1em; font-weight: 800; color: var(--menta); }
.vn-tit { font-size: 1.7em; font-weight: 900; line-height: 1.15; color: var(--crema); }
.vn-nota { font-size: 1.15em; line-height: 1.5; flex: 1; }
.vn-sigue { font-size: 1em; font-weight: 700; color: var(--amarillo); }
.vn-bot { display: flex; gap: .8rem; }
.vn-bot .btn { flex: 1; font-size: 1em; }
.vn-aviso { padding: .8em 1em; border-radius: .8em; background: var(--rojo); font-weight: 800; }

/* ── Pantallas pequeñas (solo en modo lectura) ──────────────────────────────────── */
@media (max-width: 860px) {
  html:not(.presentando) .con-tel, html:not(.presentando) .dos, html:not(.presentando) .portada-cuerpo,
  html:not(.presentando) .acento-cuerpo, html:not(.presentando) .escudo-cuerpo { grid-template-columns: 1fr; gap: 2rem; }
  html:not(.presentando) .rej-4 { grid-template-columns: 1fr 1fr; }
  html:not(.presentando) .rej-3 { grid-template-columns: 1fr; }
  html:not(.presentando) .tiempo { grid-template-columns: 1fr 1fr; row-gap: 3.4rem; }
  html:not(.presentando) .tiempo-linea { display: none; }
  html:not(.presentando) .verbos li { grid-template-columns: 1fr; gap: .4rem; }
  html:not(.presentando) .hoja { padding: 5.5rem 1.2rem 3.5rem; }
  html:not(.presentando) .cinta { margin-inline: -1.2rem; }
  .cabecera-cap { display: none; }
  .cabecera { justify-content: space-between; }
  .ind-lista { grid-template-columns: 1fr; }
  html:not(.presentando) .tabla, html:not(.presentando) .tabla tbody, html:not(.presentando) .tabla tr, html:not(.presentando) .tabla td { display: block; }
  html:not(.presentando) .tabla thead { display: none; }
  html:not(.presentando) .tabla tr { padding: .9rem 0; border-bottom: .12rem solid var(--borde); }
  html:not(.presentando) .tabla td { border: 0; padding: .1rem 0; white-space: normal; }
}
@media (max-width: 560px) {
  html:not(.presentando) .rej-4, html:not(.presentando) .rej-2, html:not(.presentando) .escudo-pasos, html:not(.presentando) .tiempo { grid-template-columns: 1fr; }
  .btn-chip span { display: none; }
  .btn-chip { padding: .6rem .75rem; }
  .verbo { font-size: 2.4rem; }
}
@media (max-width: 860px) { #entrar-presentar { display: none; } }

@media (max-width: 860px) {
  html:not(.presentando) .ruta { grid-template-columns: 1fr 1fr; }
  .marca img { height: 1.3rem; }
  .firma img { height: 1.05rem; }
  .firma span { font-size: .8rem; }
}
@media (max-width: 560px) {
  html:not(.presentando) .cifras { grid-template-columns: 1fr; }
  html:not(.presentando) .ruta { grid-template-columns: 1fr; }
  html:not(.presentando) .recorrido li { grid-template-columns: 1fr; gap: .3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .cinta-pista { animation: none; }
}
@media print {
  .cabecera, .progreso, .hud, .cinta, .baja, .cortina { display: none !important; }
  .hoja { min-height: 0; page-break-inside: avoid; padding: 1.5rem; }
  html.js:not(.listo) .hoja-in { opacity: 1; }
}

/* ── Ajustes del modo presentación para las hojas más cargadas ──────────────────── */
html.presentando #canales .hoja-in { gap: 1rem; }
html.presentando #canales .bajada { max-width: none; }
html.presentando .lienzo-canales { height: 12.5rem; }
html.presentando #canales.con-3d button.ficha { flex-direction: row; justify-content: center; gap: .6rem; padding: .5rem .6rem; }
html.presentando #canales .finca-leyenda { min-height: 1.5em; }
html.presentando #e-correo .pistas-cuenta { display: none; }
html.presentando #e-correo .col { gap: .9rem; }
html.presentando .lema { font-size: 3.4rem; }
html.presentando .portada-tel .tel-pantalla { height: 24.2rem; }

/* ── «Quién te acompaña»: foto junto al nombre y etiquetas compactas al presentar ─ */
.quien-nombre { display: flex; flex-direction: column; gap: .7rem; }
html.presentando #quien .col { display: grid; grid-template-columns: 7.6rem minmax(0, 1fr); column-gap: 1.3rem; row-gap: .8rem; align-items: center; }
html.presentando #quien .col > .capitulo, html.presentando #quien .col > .tx, html.presentando #quien .col > .avisos { grid-column: 1 / -1; }
html.presentando .quien-foto { width: 7.6rem; height: 7.6rem; }
html.presentando .quien-nombre { gap: .4rem; }
html.presentando #quien h2 { font-size: 2.6rem; }
html.presentando .quien-cargo { font-size: 1.1rem; }
html.presentando #quien .avisos li { padding: .35rem .8rem; font-size: .88rem; }
html.presentando .dos-quien { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2.2rem; }
html.presentando .recorrido h3 { font-size: 1.2rem; }
html.presentando .recorrido .tx { font-size: 1rem; }
html.presentando .recorrido li { padding: .6rem 1rem; }
html.presentando .cifra { font-size: 2.6rem; }

/* ── Más movimiento: fondo vivo, trazo del capítulo y microinteracciones ────────── */
.hoja::after { content: ''; position: absolute; z-index: 0; width: 40rem; height: 40rem; right: -14rem; top: -16rem; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(0, 128, 48, .07), rgba(0, 128, 48, 0) 66%); animation: deriva 18s ease-in-out infinite alternate; }
.oscura::after { background: radial-gradient(circle, rgba(140, 208, 10, .17), rgba(140, 208, 10, 0) 66%); }
.acento::after { background: radial-gradient(circle, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 66%); }
.hoja:nth-of-type(even)::after { right: auto; left: -14rem; top: auto; bottom: -18rem; animation-duration: 22s; }
@keyframes deriva { to { transform: translate(-7rem, 6rem) scale(1.18); } }
.hoja-in, .firma { z-index: 1; }

.capitulo::before { transform-origin: left center; }
.entro .capitulo::before { animation: trazo .7s var(--suave) both; }
@keyframes trazo { from { transform: scaleX(0); } }

/* Usan «translate» y «rotate» sueltos para no pisar las transformaciones de GSAP. */
.tarjeta, .senal, .palanca, div.ficha, .losa, .panel, .correo, .tiempo li { transition: translate .3s var(--suave), box-shadow .3s, border-color .3s; }
.tarjeta:hover, .senal:hover, .palanca:hover, div.ficha:hover, .losa:hover, .tiempo li:hover { translate: 0 -.3rem; box-shadow: 0 1rem 2rem rgba(11, 61, 31, .13); border-color: var(--verde); }
.senal:hover > .bi, .palanca:hover > .bi, .tarjeta:hover > .bi, .ficha:hover > .bi { animation: meneo .6s var(--suave); }
@keyframes meneo { 30% { rotate: -14deg; scale: 1.14; } 60% { rotate: 10deg; scale: 1.14; } }
.btn-lima { position: relative; overflow: hidden; }
.btn-lima::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); animation: destello 3.6s ease-in-out infinite; }
@keyframes destello { 0%, 62% { left: -60%; } 100% { left: 130%; } }
.progreso span { box-shadow: 0 0 .7rem rgba(140, 208, 10, .8); }
.opcion-btn[aria-pressed="true"] .opcion-n { animation: latido .5s var(--suave); }
.paso-e input:checked + .caja { animation: latido .45s var(--suave); }
@keyframes latido { 40% { scale: 1.25; } }
.avisos li { transition: translate .25s var(--suave), background-color .25s; }
.avisos li:hover { translate: 0 -.15rem; background: #D3EDDA; }

/* ── Recorrido: ícono a la derecha de cada tarjeta; la gerencia lleva los logos reales ─ */
.recorrido li { grid-template-columns: 2.6rem minmax(0, 1fr) auto; align-items: center; }
html.presentando .recorrido li { grid-template-columns: 2.6rem minmax(0, 1fr) auto; }
.recorrido-ico { font-size: 2rem; line-height: 1; color: var(--verde); opacity: .85; }
.recorrido-logos { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: .5rem .7rem; border-radius: .9rem; background: var(--papel); }
.recorrido-logos img { width: auto; }
.recorrido-logos img:first-child { height: 1.9rem; }
.recorrido-logos img:last-child { height: 3.1rem; }
@media (max-width: 560px) {
  html:not(.presentando) .recorrido li { grid-template-columns: 2.6rem minmax(0, 1fr); }
  html:not(.presentando) .recorrido-ico { display: none; }
  html:not(.presentando) .recorrido-logos { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: 1.2rem; }
}
html.presentando .recorrido-logos { padding: .35rem .5rem; gap: .35rem; }
html.presentando .recorrido-logos img:first-child { height: 1.35rem; }
html.presentando .recorrido-logos img:last-child { height: 2.3rem; }
html.presentando #quien .col > .tx { font-size: 1rem; }
html.presentando #quien .avisos { gap: .4rem; }
html.presentando .cifras { padding: .6rem 1.4rem; }

/* ── Íconos del recorrido: cada uno con su propio gesto ─────────────────────────── */
.recorrido-ico { position: relative; isolation: isolate; width: 3.3rem; height: 3.3rem; display: grid; place-items: center; border-radius: 50%; background: var(--verde-suave); font-size: 1.6rem; opacity: 1; }
.recorrido-ico::before { display: inline-block; }
.recorrido-ico::after { content: ''; position: absolute; inset: -.15rem; z-index: -1; border-radius: 50%; border: .14rem solid var(--verde); opacity: 0; animation: onda-ico 3s ease-out infinite; }
.recorrido li:nth-child(2) .recorrido-ico::after { animation-delay: .7s; }
.recorrido li:nth-child(3) .recorrido-ico::after { animation-delay: 1.4s; }
@keyframes onda-ico { 0% { transform: scale(.85); opacity: .75; } 100% { transform: scale(1.55); opacity: 0; } }
/* Agro: el árbol brota desde el suelo y se mece. */
.bi-tree.recorrido-ico::before { transform-origin: 50% 100%; animation: brote 4.2s ease-in-out infinite; }
@keyframes brote { 0% { transform: scale(.15); } 14% { transform: scale(1.14); } 22% { transform: scale(1); } 42% { transform: rotate(-8deg); } 60% { transform: rotate(7deg); } 76% { transform: rotate(-3deg); } 88%, 100% { transform: rotate(0deg) scale(1); } }
/* Banca: el edificio da dos saltos, como un sello que cae. */
.bi-bank.recorrido-ico::before { animation: boveda 3.6s cubic-bezier(.3, .7, .3, 1) infinite; }
@keyframes boveda { 0%, 46%, 100% { transform: translateY(0) scale(1); } 10% { transform: translateY(-.45rem) scale(1.08); } 20% { transform: translateY(0) scale(.96, 1.04); } 30% { transform: translateY(-.18rem); } 38% { transform: translateY(0); } }
/* Innovación: el engranaje gira sin parar y acelera al pasar el cursor. */
.bi-gear-wide-connected.recorrido-ico::before { animation: engrane 8s linear infinite; }
.recorrido li:hover .bi-gear-wide-connected.recorrido-ico::before { animation-duration: 1.8s; }
@keyframes engrane { to { transform: rotate(360deg); } }
/* Gerencia: los logos flotan y un destello los recorre. */
.recorrido-logos { position: relative; overflow: hidden; }
.recorrido-logos img { animation: flota-logo 4.5s ease-in-out infinite alternate; }
.recorrido-logos img:last-child { animation-delay: -2.2s; }
@keyframes flota-logo { from { transform: translateY(-.12rem); } to { transform: translateY(.14rem); } }
.recorrido-logos::after { content: ''; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .85), rgba(255, 255, 255, 0)); animation: destello 4.2s ease-in-out infinite; }
html.presentando .recorrido-ico { width: 2.8rem; height: 2.8rem; font-size: 1.35rem; }

/* ── Franja personal: tres verbos y una frase ───────────────────────────────────── */
.franja { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2rem; align-items: center; padding: 1.2rem 1.8rem; border-radius: 1.4rem; background: var(--verde-prof); }
.franja-verbos { display: flex; gap: 1.8rem; }
.franja-verbos li { display: flex; flex-direction: column; gap: .15rem; }
.franja-v { font-size: 1.75rem; font-weight: 900; line-height: 1.05; color: var(--lima); letter-spacing: -.01em; }
.franja-tx { font-size: .92rem; font-weight: 700; color: var(--menta); }
.franja-frase { padding-left: 1.8rem; border-left: .2rem solid var(--amarillo); font-size: 1.15rem; font-weight: 700; font-style: italic; line-height: 1.4; color: var(--crema); }
html.presentando .franja { padding: .75rem 1.5rem; gap: 1.5rem; }
html.presentando .franja-v { font-size: 1.5rem; }
html.presentando .franja-frase { font-size: 1.02rem; }
@media (max-width: 860px) {
  html:not(.presentando) .franja { grid-template-columns: 1fr; gap: 1.1rem; }
  html:not(.presentando) .franja-verbos { flex-wrap: wrap; gap: 1rem 1.6rem; }
  html:not(.presentando) .franja-frase { padding-left: 1rem; }
}
