/* CHC INTEGRA v3 — pagina oficial (2026-09-27). Reglas medibles de 06_v2/v3/DIRECCION-CREATIVA.md (tamanos,
   anchos en ch, cabecera >= 150 px de tinta, foco que pasa 3:1) y animacion de 06_v2/v3/GUION-ANIMACION.md
   (cero opacidad animada en los rotulos: clip-path, trazos, transformaciones). */
@font-face { font-family: 'Bitter'; src: url('../medios/fuentes/bitter.woff2') format('woff2-variations'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'Plex'; src: url('../medios/fuentes/plex.woff2') format('woff2-variations'); font-weight: 300 600; font-display: swap; }

:root {
  --tinta: #0B1F3A; --acero: #4E6E96; --claro: #9DB4CF; --papel: #F3F1EC; --naranja: #FF6B35;
  --t72: rgba(11, 31, 58, .72);
  --rejilla-a: .045; --rejilla: rgba(78, 110, 150, var(--rejilla-a)); --paso: 31.5px; --rejilla-x: 0px; --rejilla-y: 0px;
  --marca: 'Bitter', Georgia, serif; --texto: 'Plex', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --t-h1: min(clamp(2.25rem, 1.4rem + 4.25vw, 6.5rem), 11svh);
  --t-num: min(clamp(2.75rem, 1.8rem + 4.75vw, 7.5rem), 12svh);
  --t-h2-rot: min(clamp(1.75rem, 1.2rem + 2.75vw, 4.5rem), 9svh);
  --t-h3-rot: min(clamp(1.375rem, 1.1rem + 1.375vw, 2.75rem), 7svh);
  --t-h2: clamp(1.875rem, 1.25rem + 3.125vw, 5rem);
  --t-detalle: clamp(1rem, .9rem + .5vw, 1.375rem);
  --t-cuerpo: clamp(1rem, .95rem + .25vw, 1.25rem);
  --t-nota: clamp(.8125rem, .7875rem + .125vw, .9375rem);
  --logo-h: 44px; --cab-pad: 13px;
  color-scheme: light;
}
@media (min-width: 480px) { :root { --logo-h: 48px; } }
@media (min-width: 1024px) { :root { --logo-h: 56px; --cab-pad: 16px; } }
@media (min-width: 1440px) { :root { --logo-h: 64px; --cab-pad: 18px; } }
@media (min-width: 1920px) { :root { --logo-h: 72px; --cab-pad: 21px; } }

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
html, body { margin: 0; background: var(--papel); color: var(--tinta); font-family: var(--texto); font-size: 100%; }
body {
  background-image: linear-gradient(var(--rejilla) 1px, transparent 1px), linear-gradient(90deg, var(--rejilla) 1px, transparent 1px);
  background-size: var(--paso) var(--paso); background-position: var(--rejilla-x) var(--rejilla-y);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--marca); font-weight: 800; letter-spacing: -.02em; margin: 0; line-height: 1.02; }
:focus-visible { outline: 3px solid var(--tinta); outline-offset: 2px; box-shadow: 0 0 0 6px var(--naranja); border-radius: 2px; }
.saltar { position: absolute; left: -9999px; }
.saltar:focus { left: 16px; top: 16px; z-index: 200; background: var(--tinta); color: var(--papel); padding: 12px 16px; }
.nota { display: inline-block; position: relative; margin: 0 0 18px; font: 500 var(--t-nota)/1.2 var(--texto); letter-spacing: .22em; text-transform: uppercase; color: var(--acero); }
.nota::after { content: ''; position: absolute; left: -4px; right: -4px; bottom: -8px; height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C 50 3, 120 13, 218 5' fill='none' stroke='%23FF6B35' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.nota--plana::after { display: none; }

/* ---------------- cargador ---------------- */
.cargador { position: fixed; inset: 0; z-index: 300; display: grid; place-content: center; justify-items: center; gap: 22px; background: var(--papel);
  background-image: linear-gradient(var(--rejilla) 1px, transparent 1px), linear-gradient(90deg, var(--rejilla) 1px, transparent 1px); background-size: var(--paso) var(--paso);
  transition: opacity .7s ease, visibility 0s linear .7s; }
.cargador.listo { opacity: 0; visibility: hidden; }
html:not(.js) .cargador { display: none; }
.cargador-iso { width: 96px; height: auto; overflow: visible; }
.cargador-iso polygon { fill-opacity: 0; stroke: var(--tinta); stroke-width: 2.4; stroke-linejoin: round; stroke-dasharray: 360; stroke-dashoffset: 360; animation: trazo 2.4s cubic-bezier(.6,.05,.3,1) infinite; }
.cargador-iso .c1 { fill: #0B1F3A; } .cargador-iso .c2 { fill: #4E6E96; animation-delay: .18s; } .cargador-iso .c3 { fill: #9DB4CF; animation-delay: .36s; }
@keyframes trazo { 0% { stroke-dashoffset: 360; fill-opacity: 0; } 45% { stroke-dashoffset: 0; fill-opacity: 0; } 60% { fill-opacity: 1; } 85% { fill-opacity: 1; opacity: 1; } 100% { stroke-dashoffset: 0; fill-opacity: 1; opacity: 0; } }
.cargador-texto { margin: 0; font: 500 13px/1 var(--texto); letter-spacing: .22em; text-transform: uppercase; color: var(--acero); }
.cargador-texto b { color: var(--tinta); font-weight: 600; font-variant-numeric: tabular-nums; display: inline-block; min-width: 3ch; text-align: right; }
.cargador-barra { width: 180px; height: 2px; background: rgba(11,31,58,.12); }
.cargador-barra span { display: block; height: 100%; width: 0; background: var(--naranja); transition: width .25s ease; }
html.cargando, html.cargando body { overflow: hidden; }

/* ---------------- cabecera ---------------- */
.cab { position: fixed; top: 12px; left: 0; right: 0; margin: 0 auto; z-index: 100; width: min(1180px, calc(100% - 24px)); /* sin transform: un transform encierra la hoja fija del menu movil */
  background: rgba(243, 241, 236, .94); border: 1px solid rgba(11, 31, 58, .14); }
.cab::before { content: ''; position: absolute; inset: 0; z-index: -2; backdrop-filter: blur(6px); }
@media (min-width: 1920px) { .cab { width: min(1440px, calc(100% - 64px)); } }
.cab-fila { display: flex; align-items: center; gap: 12px; padding: var(--cab-pad) var(--cab-pad) calc(var(--cab-pad) - 2px); min-height: calc(var(--logo-h) + 2 * var(--cab-pad)); transition: min-height .24s ease, padding .24s ease; }
.cab-marca { display: flex; align-items: center; min-height: 44px; flex: none; }
.cab-logo { height: var(--logo-h); width: auto; transition: height .24s ease; }
.cab-iso { display: none; height: 30px; width: auto; }
.cab.compacta { --logo-h: 44px; }
@media (min-width: 1024px) { .cab.compacta { --logo-h: 46px; } }
@media (min-width: 1440px) { .cab.compacta { --logo-h: 50px; } }
@media (min-width: 1920px) { .cab.compacta { --logo-h: 54px; } }
@media (max-width: 479px) { .cab.compacta { --logo-h: 44px; } }
.cab-nav { display: none; align-items: center; gap: 4px; margin-left: auto; }
.cab-nav a, .cab-servicios { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; font: 500 var(--t-cuerpo)/1 var(--texto); text-decoration: none; color: var(--tinta); }
.cab-servicios svg { width: 12px; height: 8px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.cab-servicios[aria-expanded="true"] svg { transform: rotate(180deg); }
.cab-codigo { font: 500 13px/1 var(--texto); font-variant-numeric: tabular-nums; color: var(--acero); display: none; }
.cab-der { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lector { display: none; align-items: baseline; gap: 8px; font: 500 13px/1 var(--texto); font-variant-numeric: tabular-nums; color: var(--acero); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 24ch; min-width: 0; flex: 0 1 auto; }
.btn-wa, .btn-menu { flex: none; }
.cab-nav { flex: none; }
.lector-cod { color: var(--tinta); font-weight: 600; }
.btn-wa { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 12px; background: var(--tinta); color: var(--papel); text-decoration: none; font: 600 15px/1 var(--texto); }
.btn-wa svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn-wa:hover { background: var(--acero); }
.btn-wa > span { display: none; }
.btn-menu { min-height: 44px; min-width: 44px; padding: 0 12px; border: 1.5px solid var(--tinta); font: 600 15px/1 var(--texto); }
@media (min-width: 375px) { .lector { display: inline-flex; } .lector-nom { display: none; } }
@media (min-width: 480px) { .btn-wa > span { display: inline; } }
@media (min-width: 1024px) {
  .cab-nav { display: flex; } .btn-menu { display: none; } .cab-der { margin-left: 8px; }
  .lector { display: none; } .cab-codigo { display: inline; }
  .btn-wa > span { display: none; }
}
@media (min-width: 1280px) { .lector { display: inline-flex; } .lector-nom { display: inline; } .cab-codigo { display: none; } .btn-wa > span { display: inline; } }
@media (max-width: 374px) { .lector { display: none; } }
@media (max-height: 500px) and (orientation: landscape) {
  .cab-logo { display: none; } .cab-iso { display: block; }
  .cab-fila { min-height: 52px; padding-top: 4px; padding-bottom: 4px; }
}
/* escala grafica: borde inferior de la cabecera */
.escala { position: relative; height: 8px; margin: 0 var(--cab-pad); border-top: 2px solid rgba(11,31,58,.2); }
.escala-marcas i { position: absolute; top: -2px; width: 1px; height: 3px; background: var(--tinta); }
.escala-marcas i.p { height: 6px; }
.escala-cursor { position: absolute; top: -3px; left: 0; width: 8px; height: 4px; background: var(--naranja); transform: translateX(-4px); }

/* indice de laminas */
.indice { border-top: 1px solid rgba(11,31,58,.12); padding: 20px var(--cab-pad) 16px; max-height: calc(100svh - 120px); overflow-y: auto; }
.indice-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.indice-pilar { margin: 0; }
.indice-pilar > a { display: flex; align-items: baseline; gap: 10px; min-height: 44px; text-decoration: none; padding-bottom: 8px; }
.indice-pilar > a b { font: 800 28px/1 var(--marca); color: var(--naranja); }
.indice-pilar > a span { font: 700 20px/1.15 var(--marca); }
.indice-pilar ul { list-style: none; margin: 0; padding: 0; border-left: 3px solid transparent; }
.indice-pilar.activo ul { border-left-color: var(--tinta); }
.indice-pilar li a { display: flex; gap: 12px; align-items: center; min-height: 44px; padding: 10px 12px; text-decoration: none; border-top: 1px solid rgba(11,31,58,.12); font: 400 var(--t-cuerpo)/1.25 var(--texto); }
.indice-pilar li a i { font-style: normal; font: 500 14px/1 var(--texto); font-variant-numeric: tabular-nums; color: var(--acero); min-width: 2.4em; }
.indice-pilar li a[aria-current] i { color: var(--naranja); }
.indice-pilar li a[aria-current] span { font-weight: 600; background: linear-gradient(var(--naranja), var(--naranja)) 0 100% / 100% 2px no-repeat; }
.indice-pie { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(11,31,58,.12); }
.indice-pie a:not(.btn-wa) { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font: 500 var(--t-cuerpo)/1 var(--texto); }
.indice-pie .btn-wa { margin-left: auto; }
.indice-pie .btn-wa > span { display: inline; }
.acordeon { display: none; }
@media (max-width: 1023px) {
  .indice { position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: -1; margin-top: 0; padding: calc(var(--logo-h) + 2 * var(--cab-pad) + 24px) 16px 88px; max-height: none;
    background: var(--papel); background-image: linear-gradient(var(--rejilla) 1px, transparent 1px), linear-gradient(90deg, var(--rejilla) 1px, transparent 1px); background-size: var(--paso) var(--paso); }
  .indice-cols { grid-template-columns: 1fr; gap: 0; }
  .indice-pilar > a { display: none; }
  .acordeon { display: flex; width: 100%; align-items: center; gap: 12px; min-height: 56px; border-top: 1.5px solid var(--tinta); text-align: left; }
  .acordeon b { font: 800 26px/1 var(--marca); color: var(--naranja); }
  .acordeon span { font: 700 19px/1.15 var(--marca); flex: 1; }
  .acordeon small { font: 500 12px/1 var(--texto); letter-spacing: .12em; text-transform: uppercase; color: var(--acero); }
  .indice-pilar ul[hidden] { display: none; }
  .indice-pilar li a { min-height: 48px; }
  .indice-pie { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--papel); }
  .indice-pie .btn-wa { width: 100%; min-height: 56px; margin: 0; }
}
@media (max-height: 500px) and (orientation: landscape) and (max-width: 1023px) { .indice-cols { grid-template-columns: 1fr 1fr; column-gap: 24px; } }

/* ---------------- recorrido ---------------- */
.recorrido { position: relative; }
html.js .recorrido { height: calc(var(--vh-total, 5000) * 1vh); }
.escena { position: relative; }
html.js .escena { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.lienzo, .llave-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.llave-img { object-fit: none; visibility: hidden; }
.fuente { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.uniones { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.uniones path, .uniones line { fill: none; stroke: var(--acero); stroke-width: 1.2; }
html:not(.js) .escena canvas, html:not(.js) .fuente, html:not(.js) .uniones, html:not(.js) .cajetin, html:not(.js) .rots { display: none; }

/* rotulos: columna izquierda en escritorio (x 6-38 %), banda inferior en vertical */
.rot { position: absolute; z-index: 5; left: clamp(20px, 5vw, 96px); top: 50%; transform: translateY(-50%); width: min(34rem, 38vw);
  visibility: hidden; padding: 22px 26px 24px; background: rgba(243,241,236,.9);
  box-shadow: 0 0 0 1px rgba(11,31,58,.1), 0 18px 40px -24px rgba(11,31,58,.35); }
.rot.vivo { visibility: visible; }
.rot-portada { left: 50%; transform: translate(-50%, -50%); width: min(1040px, calc(100% - 32px)); text-align: center; background: radial-gradient(closest-side, rgba(243,241,236,.92), rgba(243,241,236,.72) 60%, rgba(243,241,236,0)); box-shadow: none; }
.rot-portada.vivo { visibility: visible; }
.rot-portada h1 { font-size: var(--t-h1); max-width: 18ch; margin: 0 auto; line-height: 1; }
.rot-portada h1 em { font-style: normal; color: var(--acero); }
.bajada { font-size: var(--t-cuerpo); line-height: 1.5; color: var(--t72); max-width: 44ch; margin: 20px auto 0; }
.deslice { margin-top: 28px; font: 500 12px/1 var(--texto); letter-spacing: .18em; text-transform: uppercase; color: var(--acero); }
.rot-cod { font: 500 13px/1 var(--texto); font-variant-numeric: tabular-nums; letter-spacing: .12em; color: var(--acero); margin: 0 0 10px; }
.rot h3 { font-size: var(--t-h3-rot); max-width: 16ch; line-height: 1.05; overflow-wrap: normal; word-break: keep-all; hyphens: manual; }
.rot h2 { overflow-wrap: normal; word-break: keep-all; hyphens: manual; }
.rot .sub { font-size: var(--t-cuerpo); line-height: 1.45; color: var(--t72); margin: 14px 0 0; max-width: 36ch; }
.rot--pilar { background: rgba(243,241,236,.92); }
.rot--pilar .num { font: 800 var(--t-num)/.85 var(--marca); color: var(--naranja); letter-spacing: -.03em; }
.rot--pilar h2 { font-size: min(var(--t-h2-rot), calc((min(34rem, 38vw) - 52px) / 7.4)); max-width: 16ch; margin-top: 12px; }
@media (max-width: 1023px), (max-aspect-ratio: 6/5) { .rot--pilar h2 { font-size: min(var(--t-h2-rot), calc((100vw - 68px) / 7.4)); } }
.rot .masc { overflow: hidden; }
.rot .pieza { display: block; }
@media (max-width: 1023px), (max-aspect-ratio: 6/5) {
  .rot { left: 16px; right: 16px; width: auto; top: auto; bottom: max(9svh, calc(env(safe-area-inset-bottom) + 16px)); transform: none; max-height: 46svh; padding: 16px 18px; }
  .rot-portada { left: 16px; right: 16px; width: auto; top: auto; bottom: max(7svh, calc(env(safe-area-inset-bottom) + 16px)); transform: none; max-height: none; background: rgba(243,241,236,.92); box-shadow: 0 0 0 1px rgba(11,31,58,.1); padding: 20px 18px; }
}
@media (min-width: 480px) and (max-width: 1023px) { .rot { left: 24px; right: 24px; } }
@media (max-height: 500px) and (orientation: landscape) {
  .rot { left: 16px; right: auto; width: 46vw; top: 84px; bottom: auto; transform: none; max-height: calc(100svh - 84px - 10px); padding: 14px 18px; }  /* la cabecera baja hasta 74 px */
}

/* cajetin de lamina (escritorio) */
.cajetin { position: absolute; right: clamp(16px, 3vw, 48px); bottom: clamp(16px, 4svh, 40px); z-index: 6; width: 300px; border: 1.5px solid var(--tinta); background: rgba(243,241,236,.94); font: 400 13px/1.3 var(--texto); display: none; }
@media (min-width: 1024px) and (min-height: 680px) and (min-aspect-ratio: 6/5) { html.js .cajetin { display: block; } }
.cajetin-cab { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 12px; border-bottom: 1px solid var(--tinta); }
.cajetin-cab b { font: 800 15px/1 var(--marca); }
.cajetin-lam { font: 500 12px/1 var(--texto); letter-spacing: .12em; font-variant-numeric: tabular-nums; color: var(--acero); overflow: hidden; height: 1em; display: inline-block; }
.cajetin ol { list-style: none; margin: 0; padding: 6px 0; }
.cajetin li a { display: flex; gap: 10px; align-items: center; min-height: 26px; padding: 2px 12px; text-decoration: none; color: var(--t72); }
.cajetin li a::before { content: ''; width: 8px; height: 8px; border: 1px solid var(--tinta); flex: none; }
.cajetin li.en-curso a { color: var(--tinta); font-weight: 600; }
.cajetin li.en-curso a::before { background: var(--naranja); border-color: var(--naranja); }
.cajetin li.visto a::before { background: linear-gradient(135deg, transparent 45%, var(--tinta) 45%, var(--tinta) 55%, transparent 55%); }

/* ---------------- piezas de animacion de texto ---------------- */
.anim-svg { display: block; overflow: visible; }
.cota { position: relative; height: 18px; margin-bottom: 10px; }
.cota svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cota line, .cota path { stroke: var(--acero); stroke-width: 1.5; fill: none; }
.mina { position: absolute; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--naranja); }
.lista-piezas { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.lista-piezas li { font: 500 var(--t-cuerpo)/1.3 var(--texto); color: var(--t72); display: flex; align-items: center; gap: 10px; }
.lista-piezas li svg { width: 18px; height: 18px; flex: none; overflow: visible; }
.lista-piezas li svg path, .lista-piezas li svg rect, .lista-piezas li svg line, .lista-piezas li svg circle { fill: none; stroke: var(--tinta); stroke-width: 1.6; }
.tren { position: relative; margin-top: 14px; }
.tren svg { width: 100%; height: 24px; display: block; overflow: visible; }
.tren svg line { stroke: var(--tinta); stroke-width: 1.5; }
.tren svg circle.est { fill: var(--papel); stroke: var(--tinta); stroke-width: 1.5; }
.tren svg circle.gota { fill: var(--naranja); stroke: none; }
.tren ol { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 8px; font: 500 clamp(.75rem, .7rem + .2vw, .875rem)/1.2 var(--texto); color: var(--t72); }
.tren ol li { min-width: 0; overflow-wrap: normal; hyphens: manual; }
/* clip-path sobre un inline de dos renglones recorta el segundo en Chrome: los rotulos que se revelan son cajas */
.rot li > span { display: inline-block; max-width: 100%; }
.tren ol li:last-child { text-align: right; } .tren ol li:nth-child(2), .tren ol li:nth-child(3) { text-align: center; }
.baldosa { display: inline-block; padding: 0 .06em; margin: 0 1px 2px 0; box-shadow: inset 0 0 0 2px var(--claro); background: rgba(157,180,207,.12); }
.riel { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.riel span { font: 500 clamp(.8125rem, .78rem + .2vw, .9375rem)/1 var(--texto); padding: 8px 10px; border: 1.5px solid var(--tinta); background: var(--papel); }
.titulo-svg { width: 100%; height: auto; display: block; overflow: visible; }
.titulo-svg text { font-family: var(--marca); font-weight: 800; letter-spacing: -.02em; }
.sello { display: inline-block; padding: 10px 14px; border: 3px double var(--tinta); transform-origin: 50% 50%; }
.manometro { width: 44px; height: 44px; flex: none; }
.lupa { position: absolute; width: 48px; height: 48px; border: 3px solid var(--tinta); border-radius: 50%; right: -10px; background: rgba(243,241,236,.35); pointer-events: none; }
.libro { position: relative; margin-top: 12px; border-top: 1.5px solid var(--tinta); }
.libro div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--claro); font: 500 var(--t-cuerpo)/1.2 var(--texto); }
.grafico { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: end; height: 110px; margin-top: 14px; border-bottom: 1.5px solid var(--tinta); }
.grafico i { display: block; background: var(--acero); transform-origin: 50% 100%; }
.grafico i:last-child { background: var(--tinta); }
.grafico-eje { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 6px; font: 500 clamp(.6875rem, .66rem + .15vw, .8125rem)/1.2 var(--texto); color: var(--t72); }
.ranura { height: 2px; background: var(--tinta); margin-bottom: 0; }
.hoja { overflow: hidden; }
.hoja-in { padding-top: 10px; }
.renglon { display: flex; align-items: baseline; gap: 6px; font: 500 var(--t-cuerpo)/1.4 var(--texto); color: var(--t72); }
.renglon .puntos { flex: 1; border-bottom: 2px dotted var(--claro); transform: translateY(-4px); }
.guias { position: absolute; inset: 0; pointer-events: none; }

/* ---------------- servicios en estatico (sin JS / movimiento reducido) ---------------- */
.servicios-estatico { display: none; }
html:not(.js) .servicios-estatico { display: block; max-width: 1200px; margin: 0 auto; padding: 120px 20px 40px; }
.servicios-estatico h2 { font-size: var(--t-h2); margin: 60px 0 10px; }
.servicios-estatico h3 { font-size: var(--t-h3-rot); margin: 28px 0 6px; }
.servicios-estatico p { font-size: var(--t-cuerpo); line-height: 1.5; color: var(--t72); max-width: 58ch; }

/* ---------------- lamina final: quienes somos + contacto ---------------- */
.lamina { position: relative; padding: 12vh 16px 10vh; }
.lamina-rejilla { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 48px; }
.lamina-izq h2 { font-size: var(--t-h2); max-width: 16ch; }
.lamina-texto { font-size: var(--t-cuerpo); line-height: 1.5; color: var(--t72); max-width: 58ch; margin: 24px 0 48px; }
.detalle { margin: 0 0 40px; }
.detalle-marco { border: 1px solid var(--tinta); padding: 8px; background: var(--papel); position: relative; overflow: hidden; }
.detalle-marco img { width: 100%; height: auto; }
.detalle-marco::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--naranja); transform: translateY(var(--plotter, -4px)); }
.detalle figcaption { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.llamada { width: 36px; height: 36px; flex: none; border: 1.5px solid var(--tinta); border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--texto); font-variant-numeric: tabular-nums; background: var(--papel); }
.detalle.activo .llamada { background: var(--naranja); }
.detalle-nom { font: 700 var(--t-detalle)/1.2 var(--marca); flex: 1 1 12ch; border-bottom: 1px solid var(--tinta); padding-bottom: 4px; }
.detalle-esc { font: 500 13px/1 var(--texto); font-variant-numeric: tabular-nums; letter-spacing: .12em; color: var(--acero); }
.detalle--general { margin-bottom: 36px; }
.notas-generales { max-width: 52ch; margin-bottom: 44px; }
.notas-generales ol { margin: 0; padding-left: 1.4em; font-size: var(--t-cuerpo); line-height: 1.5; color: var(--t72); }
.notas-generales li { padding: 4px 0; }
.detalles { display: grid; grid-template-columns: 1fr; gap: 8px 24px; }
@media (min-width: 768px) { .detalles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .detalle--general { margin-left: -16px; margin-right: -16px; } .detalle--general .detalle-marco { border-left: 0; border-right: 0; } .detalle--general figcaption { padding: 0 16px; } }

.llave { position: relative; margin-bottom: 24px; }
.llave-lienzo { position: relative; aspect-ratio: 16 / 9; max-height: 38svh; margin: 0 auto; background-size: contain; background-repeat: no-repeat; background-position: center; }
.llave-lienzo .llamada { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; font-size: 12px; }
.llave-lienzo .llamada.activo { background: var(--naranja); }

.rotulacion { border: 1.5px solid var(--tinta); background: var(--papel); }
.rot-celda { padding: 18px 20px; }
.rot-celda--cab h2 { font-size: clamp(1.625rem, 1.2rem + 1.5vw, 2.75rem); max-width: 16ch; }
.rot-celda--cab p:not(.nota) { font-size: var(--t-cuerpo); line-height: 1.5; color: var(--t72); max-width: 40ch; margin: 14px 0 20px; }
.btn-principal { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 20px; background: var(--tinta); color: var(--papel); text-decoration: none; font: 600 17px/1 var(--texto); }
.btn-principal:hover { background: var(--acero); }
.rot-fila { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--tinta); }
.rot-fila .rot-celda + .rot-celda { border-top: 1px solid var(--tinta); }
@media (min-width: 480px) { .rot-fila { grid-template-columns: 1fr 1fr; } .rot-fila .rot-celda + .rot-celda { border-top: 0; border-left: 1px solid var(--tinta); } }
.rot-etq { margin: 0 0 8px; font: 500 12px/1 var(--texto); letter-spacing: .16em; text-transform: uppercase; color: var(--acero); }
.rot-dato { display: inline-flex; align-items: center; min-height: 44px; font: 600 clamp(1.0625rem, 1rem + .3vw, 1.25rem)/1.2 var(--texto); text-decoration: none; }
.rot-correo { overflow-wrap: anywhere; }
.btn-copiar { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; margin-top: 4px; border: 1.5px solid var(--tinta); font: 500 14px/1 var(--texto); }
.copiado { display: block; min-height: 1.2em; font: 500 13px/1.2 var(--texto); color: var(--acero); margin-top: 6px; }
.pie { max-width: 1440px; margin: 0 auto; padding: 24px 16px 40px; font: 400 13px/1.4 var(--texto); color: var(--t72); border-top: 1px solid rgba(11,31,58,.12); }

@media (min-width: 1024px) {
  .lamina { padding: 14vh clamp(20px, 4vw, 64px) 12vh; }
  .lamina-rejilla { grid-template-columns: repeat(12, 1fr); gap: 0 32px; }
  .lamina-izq { grid-column: 1 / span 8; }
  .lamina-der { grid-column: 9 / span 4; position: sticky; top: 120px; align-self: start; }
  .rot-fila { grid-template-columns: 1fr; } .rot-fila .rot-celda + .rot-celda { border-left: 0; border-top: 1px solid var(--tinta); }
}

@media (min-width: 1024px) and (max-height: 760px) { .lamina-der { position: static; } }

@media (prefers-reduced-motion: reduce) {
  .cargador { display: none; }
  html .recorrido { height: auto; }
  .escena { position: relative; height: auto; }
  .lienzo, .fuente, .uniones, .cajetin, .rots, .llave-img { display: none; }
  .rot-portada { position: static; visibility: visible; transform: none; width: auto; margin: 140px 20px 40px; }
  .servicios-estatico { display: block; max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
}

.filtro { position: relative; margin-top: 8px; }
.filtro p { margin: 0 !important; }
.filtro .filtro-b { position: absolute; inset: 0; }
.unifilar-eti { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 4px; font: 500 clamp(.75rem, .7rem + .2vw, .875rem)/1.2 var(--texto); color: var(--t72); }

.rot svg rect:not([fill]), .rot svg path.v { fill: none; stroke: var(--tinta); stroke-width: 1.6; }
.rot .libro svg, .rot .renglon svg { overflow: visible; }

@media (max-width: 599px) {
  .tren ol { grid-template-columns: 1fr 1fr; }
  .tren ol li, .tren ol li:nth-child(2), .tren ol li:nth-child(3), .tren ol li:last-child { text-align: left; }
  .unifilar-eti { grid-template-columns: 1fr 1fr; }
  .grafico { height: 80px; }
}
