/* OCA PMS · web de presentación. Adaptada de la de Cuaderno (~/Proyectos/cuaderno/app/web/inicio/inicio.css, la misma maquetación)
   con la marca de OCA PMS (packages/oca_ui · Marca y temaApp): turquesa #15B1C9 y su versión profunda para el texto, petróleo
   #0C4362 y su degradado, naranja #E67E3C de acento; Montserrat en los títulos e Inter en el texto. Claro por defecto; oscuro con
   prefers-color-scheme salvo data-theme="light", o con data-theme="dark". Contrastes AA comprobados en los dos temas. */

@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(fuentes/inter-400.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url(fuentes/inter-500.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url(fuentes/inter-600.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url(fuentes/inter-700.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 600; font-display: swap; src: url(fuentes/montserrat-600.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 700; font-display: swap; src: url(fuentes/montserrat-700.woff2) format('woff2'); }

:root {
  --fondo: #F3F7F9;
  --fondo-2: #EAF2F5;
  --superficie: #FFFFFF;
  --borde: #E1E9ED;
  --texto: #1B2A33;
  --suave: #55666F;                 /* 5,3:1 sobre fondo-2 */
  --primario: #0A7083;              /* turquesa profundo para texto y botones: 5,1:1 sobre fondo-2 */
  --primario-hover: #085F70;
  --primario-texto: #FFFFFF;
  --primario-suave: rgba(11, 122, 143, 0.10);
  --turquesa: #15B1C9;
  --estela: #8FE3F0;
  --petroleo: #0C4362;
  --naranja: #E67E3C;
  --naranja-texto: #2A1406;         /* sobre el naranja: 6,2:1 */
  --aviso: #B45309;
  --exito: #15803D;
  --peligro: #B91C1C;
  --gradiente: linear-gradient(135deg, #0A3550 0%, #0B5F78 60%, #0B6E85 100%);
  --heroe: linear-gradient(160deg, #051B2A 0%, #0A3550 38%, #0B5F78 74%, #0E8FA6 100%);
  --sombra-s: 0 1px 2px rgba(12, 40, 56, 0.05), 0 4px 14px rgba(12, 40, 56, 0.06);
  --sombra: 0 2px 6px rgba(12, 40, 56, 0.05), 0 22px 48px -18px rgba(12, 40, 56, 0.22);
  --sombra-l: 0 40px 90px -30px rgba(4, 20, 30, 0.55), 0 12px 30px -12px rgba(4, 20, 30, 0.3);
  --radio: 14px;
  --titulos: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --cab-alto: 68px;
  --facil: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fondo: #0A151B; --fondo-2: #0D1A21; --superficie: #101E26; --borde: #1D2F3A; --texto: #E4EEF2; --suave: #8FA5B1;
    --primario: #15B1C9; --primario-hover: #3CC3D8; --primario-texto: #04222B; --primario-suave: rgba(21, 177, 201, 0.15);
    --aviso: #FBBF24; --exito: #4ADE80; --peligro: #F87171;
    --heroe: linear-gradient(160deg, #030F17 0%, #06263A 40%, #0A4A5E 78%, #0B6E85 100%);
    --sombra-s: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 14px rgba(0, 0, 0, 0.25);
    --sombra: 0 2px 6px rgba(0, 0, 0, 0.3), 0 22px 48px -18px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --fondo: #0A151B; --fondo-2: #0D1A21; --superficie: #101E26; --borde: #1D2F3A; --texto: #E4EEF2; --suave: #8FA5B1;
  --primario: #15B1C9; --primario-hover: #3CC3D8; --primario-texto: #04222B; --primario-suave: rgba(21, 177, 201, 0.15);
  --aviso: #FBBF24; --exito: #4ADE80; --peligro: #F87171;
  --heroe: linear-gradient(160deg, #030F17 0%, #06263A 40%, #0A4A5E 78%, #0B6E85 100%);
  --sombra-s: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 14px rgba(0, 0, 0, 0.25);
  --sombra: 0 2px 6px rgba(0, 0, 0, 0.3), 0 22px 48px -18px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

/* ── base ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--cab-alto) + 16px); }
body { margin: 0; background: var(--fondo); color: var(--texto); font-family: var(--sans); font-size: 16.5px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--titulos); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
p { margin: 0; }
a { color: var(--primario); }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--primario); outline-offset: 3px; border-radius: 6px; }
/* sobre los fondos oscuros (portada, cabecera transparente, cumplimiento, cifras, la banda de la demo y el pie), el anillo claro */
.heroe :focus-visible, .cab:not(.solida) :focus-visible, .oscura :focus-visible, .cifras :focus-visible, .demo-caja :focus-visible,
.pie :focus-visible { outline-color: #8FE3F0; }
::selection { background: color-mix(in srgb, var(--turquesa) 30%, transparent); }

/* idioma: se ve solo lo del idioma de <html> (en la fuente con los cuatro; las páginas publicadas ya solo llevan el suyo) */
html:not([lang="es"]) [lang="es"], html:not([lang="gl"]) [lang="gl"], html:not([lang="en"]) [lang="en"], html:not([lang="pt"]) [lang="pt"] { display: none !important; }
html[lang="es"] [data-no-es] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.contenedor { width: min(1200px, 100% - 48px); margin-inline: auto; }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--superficie); color: var(--texto); padding: 10px 16px;
  border-radius: 10px; box-shadow: var(--sombra); text-decoration: none; font-weight: 600; }
.saltar:focus { top: 12px; }

/* aparición al desplazarse (inicio.js añade .visto) */
.js .rev { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--facil) var(--d, 0s), transform .9s var(--facil) var(--d, 0s); }
.js .rev.visto { opacity: 1; transform: none; }

/* ── marca: el logotipo de OCA Hotels (la máscara toma el color del texto) y la pastilla «PMS», como en la app ─────────────────── */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: none; }
.logo-oca { display: block; width: 124px; aspect-ratio: 704 / 106; background: currentColor;
  -webkit-mask: url(img/oca-hotels.png) center / contain no-repeat; mask: url(img/oca-hotels.png) center / contain no-repeat; }
.logo-pms { padding: 3px 7px; border-radius: 7px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; line-height: 1.2;
  background: color-mix(in srgb, currentColor 14%, transparent); }

/* ── botones ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 20px; border-radius: 11px;
  font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--facil), box-shadow .25s, background-color .2s, border-color .2s, color .2s; white-space: nowrap; }
.boton .ic { transition: transform .25s var(--facil); }
.boton:hover .ic:last-child { transform: translateX(3px); }
.boton.pequeno { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.boton.grande { padding: 15px 26px; font-size: 16px; border-radius: 13px; }
.boton.primario { background: var(--primario); color: var(--primario-texto); box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--primario) 80%, transparent); }
.boton.primario:hover { background: var(--primario-hover); transform: translateY(-1px); box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--primario) 90%, transparent); }
.boton.blanco { background: #fff; color: #0A3550; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.5); }
.boton.blanco:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.6); }
.icono-boton { display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 40px; min-width: 40px; padding: 0 9px;
  border-radius: 10px; border: 1px solid transparent; background: transparent; cursor: pointer; color: inherit; font-weight: 700;
  font-size: 12.5px; letter-spacing: .04em; transition: background-color .2s, border-color .2s; }
.icono-boton:hover { background: color-mix(in srgb, currentColor 10%, transparent); }

/* ── cabecera ─────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.cab { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--cab-alto); color: #fff;
  transition: background-color .35s, box-shadow .35s, color .35s, border-color .35s; border-bottom: 1px solid transparent; }
.cab.solida { color: var(--texto); background: color-mix(in srgb, var(--fondo) 86%, transparent); backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom-color: color-mix(in srgb, var(--borde) 80%, transparent); }
.cab-fila { height: 100%; display: flex; align-items: center; gap: 24px; }
.menu { display: flex; gap: 2px; margin-left: 6px; }
.menu a { position: relative; color: inherit; text-decoration: none; font-weight: 500; font-size: 14.5px; padding: 8px 11px; border-radius: 9px;
  opacity: .88; transition: opacity .2s, background-color .2s; white-space: nowrap; }
.menu a:hover { opacity: 1; background: color-mix(in srgb, currentColor 8%, transparent); }
.cab-acciones { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.menu .menu-demo { display: none; }
.cab-acciones .boton { margin-left: 8px; }
.cab:not(.solida) .boton.primario { background: var(--naranja); color: var(--naranja-texto); box-shadow: none; }
.cab:not(.solida) .boton.primario:hover { background: #F08D4F; }
.idiomas { position: relative; }
.menu-idiomas { position: absolute; top: calc(100% + 6px); right: 0; min-width: 160px; padding: 6px; border-radius: 12px; background: var(--superficie);
  border: 1px solid var(--borde); box-shadow: var(--sombra); z-index: 60; }
.menu-idiomas[hidden] { display: none; }
.menu-idiomas a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--texto); text-decoration: none; font-weight: 500; font-size: 15px; }
.menu-idiomas a:hover { background: var(--fondo-2); }
.menu-idiomas a[aria-current="true"] { color: var(--primario); font-weight: 700; }
.hamburguesa { display: none; }
.hamburguesa .cerrar, .cab.abierta .hamburguesa .abrir { display: none; }
.cab.abierta .hamburguesa .cerrar { display: block; }
.solo-oscuro { display: none; }
:root[data-theme="dark"] .solo-claro { display: none; }
:root[data-theme="dark"] .solo-oscuro { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .solo-claro { display: none; }
  :root:not([data-theme="light"]) .solo-oscuro { display: block; }
}

/* ── portada ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.heroe { position: relative; padding-top: calc(var(--cab-alto) + clamp(40px, 6.5vw, 84px)); color: #fff; isolation: isolate; }
.heroe-fondo { position: absolute; inset: 0 0 clamp(150px, 22vw, 330px) 0; z-index: -1; background: var(--heroe); overflow: hidden;
  border-bottom-left-radius: 50% 70px; border-bottom-right-radius: 50% 70px; }
.rejilla { position: absolute; inset: -32px; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 25%, transparent 78%); animation: rejilla 24s linear infinite; }
@keyframes rejilla { to { transform: translate(32px, 32px); } }
.brillo { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; pointer-events: none; }
.b1 { width: 560px; height: 560px; left: -140px; top: 120px; background: #0E8FA6; animation: deriva 22s ease-in-out infinite alternate; }
.b2 { width: 460px; height: 460px; right: -80px; top: -120px; background: #15B1C9; opacity: .28; animation: deriva 26s ease-in-out infinite alternate-reverse; }
@keyframes deriva { to { transform: translate(120px, 60px) scale(1.15); } }
/* los círculos del panel de marca de la pantalla de acceso */
.circulo-deco { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .06); pointer-events: none; }
.c1 { width: 420px; height: 420px; right: -120px; top: -150px; }
.c2 { width: 520px; height: 520px; left: -200px; bottom: -260px; background: rgba(255, 255, 255, .045); }
.c3 { width: 150px; height: 150px; right: 14%; bottom: 120px; background: rgba(255, 255, 255, .07); }
.plano { position: absolute; right: max(-160px, calc(50% - 880px)); top: 96px; width: clamp(300px, 34vw, 520px); opacity: .55; overflow: visible; }
.plano * { vector-effect: non-scaling-stroke; }
.plano .filas path, .plano .columnas path { stroke: rgba(255, 255, 255, .14); stroke-width: 1; fill: none; }
.plano .columnas path { stroke-dasharray: 4 6; }
.plano .estancias rect { fill: rgba(143, 227, 240, .22); stroke: rgba(143, 227, 240, .55); stroke-width: 1.2; transform-box: fill-box; transform-origin: left center;
  transform: scaleX(0); animation: estancia .9s var(--facil) forwards; animation-delay: calc(.6s + var(--i) * .12s); }
.plano .estancias rect.b { fill: rgba(255, 255, 255, .14); stroke: rgba(255, 255, 255, .42); }
.plano .estancias rect.n { fill: rgba(230, 126, 60, .45); stroke: rgba(240, 160, 110, .8); }
@keyframes estancia { to { transform: scaleX(1); } }
@keyframes aparecer { to { opacity: 1; } }

.heroe-texto { position: relative; text-align: center; max-width: 980px; }
.pastilla { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(6px); color: rgba(255, 255, 255, .94); }
.punto { width: 8px; height: 8px; border-radius: 50%; background: #F0A06E; box-shadow: 0 0 0 0 rgba(240, 160, 110, .6); animation: latido 2.2s infinite; }
@keyframes latido { 70% { box-shadow: 0 0 0 9px rgba(240, 160, 110, 0); } 100% { box-shadow: 0 0 0 0 rgba(240, 160, 110, 0); } }
.heroe h1 { margin-top: 26px; font-size: clamp(38px, 6.2vw, 84px); line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; }
.heroe h1 em { font-style: normal; background: linear-gradient(92deg, #E6FAFD 0%, #9BE7F2 35%, #4FD1E3 60%, #E6FAFD 100%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: brillo-texto 8s ease-in-out infinite; }
@keyframes brillo-texto { 50% { background-position: 100% 0; } }
.heroe-sub { margin: 24px auto 0; max-width: 780px; font-size: clamp(16px, 1.55vw, 18.5px); line-height: 1.6; color: rgba(255, 255, 255, .86); text-wrap: pretty; }
.heroe-sub strong { color: #fff; font-weight: 600; }
.heroe-botones { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.heroe-botones .boton.primario { background: linear-gradient(135deg, #F29A5E, #E67E3C); color: var(--naranja-texto);
  box-shadow: 0 16px 36px -14px rgba(230, 126, 60, .85), inset 0 1px 0 rgba(255, 255, 255, .3); }
.heroe-botones .boton.primario:hover { background: linear-gradient(135deg, #F5A76F, #EC8A4A); }
.enlace-video { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 12px 6px 6px; border-radius: 999px; }
.enlace-video .play { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28); transition: transform .25s var(--facil), background-color .2s; }
.enlace-video:hover .play { transform: scale(1.08); background: rgba(255, 255, 255, .24); }
.heroe-nota { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.heroe-nota .ic { color: var(--estela); }

.escena-caja { margin-top: clamp(44px, 6vw, 64px); padding-bottom: clamp(70px, 9vw, 120px); perspective: 2200px; }
.escena { position: relative; max-width: 1100px; margin: 0 auto; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 14deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)) scale(var(--es, .97));
  transition: transform .5s var(--facil); will-change: transform; }
.js .escena { opacity: 0; animation: escena 1.4s var(--facil) .35s forwards; }
@keyframes escena { from { opacity: 0; translate: 0 70px; } to { opacity: 1; translate: 0 0; } }

/* marcos de dispositivo: navegador, tableta y teléfono */
.marco { position: relative; background: var(--superficie); overflow: hidden; }
.marco img { width: 100%; height: auto; }
.marco.navegador { border-radius: 14px; box-shadow: var(--sombra-l), 0 0 0 1px color-mix(in srgb, var(--borde) 70%, transparent); }
.marco.navegador .barra { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--fondo-2);
  border-bottom: 1px solid var(--borde); }
.barra i { width: 11px; height: 11px; border-radius: 50%; background: #F87171; opacity: .85; }
.barra i:nth-child(2) { background: #FBBF24; }
.barra i:nth-child(3) { background: #34D399; }
.barra .url { margin: 0 auto; transform: translateX(-24px); display: inline-flex; align-items: center; gap: 6px; padding: 3px 14px; border-radius: 7px;
  background: var(--superficie); border: 1px solid var(--borde); font-size: 12px; color: var(--suave); }
.barra .url .ic { width: 12px; height: 12px; color: var(--exito); }
.marco.tableta, .marco.telefono { background: #0B1A22; box-shadow: var(--sombra-l), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.marco.tableta { padding: clamp(5px, .85vw, 12px); border-radius: clamp(14px, 2vw, 26px); }
.marco.tableta img { border-radius: clamp(6px, .9vw, 12px); }
.marco.telefono { padding: clamp(4px, .6vw, 8px); border-radius: clamp(16px, 2.4vw, 32px); }
.marco.telefono img { border-radius: clamp(12px, 1.9vw, 25px); }
.escena .navegador { transform: translateZ(0); }
.escena .tableta { position: absolute; left: -5%; bottom: -10%; width: 37%; transform: translateZ(70px); }
.escena .telefono { position: absolute; right: -3%; bottom: -14%; width: 16.5%; transform: translateZ(110px); }
.flotante { position: absolute; display: flex; align-items: center; gap: 11px; padding: 11px 16px 11px 11px; border-radius: 15px; color: var(--texto);
  background: color-mix(in srgb, var(--superficie) 94%, transparent); backdrop-filter: blur(10px); box-shadow: var(--sombra);
  border: 1px solid color-mix(in srgb, var(--borde) 70%, transparent); transform: translateZ(150px); animation: flota 7s ease-in-out infinite; }
.flotante .ic { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--primario-suave); color: var(--primario); }
.flotante b { display: block; font-size: 14px; font-family: var(--titulos); letter-spacing: -0.01em; }
.flotante small { display: block; font-size: 12.5px; color: var(--suave); }
.f1 { left: -7%; top: 16%; }
.f2 { right: -8%; top: 40%; animation-delay: -2.5s; }
.f3 { right: 16%; top: -5%; animation-delay: -4.5s; }
@keyframes flota { 50% { translate: 0 -10px; } }

/* ── normas y conexiones ──────────────────────────────────────────────────────────────────────────────────────────────── */
.normas { padding: 8px 0 24px; }
.normas-titulo { text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--suave);
  margin: 0 auto 18px; max-width: calc(100% - 32px); }
.cinta { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.cinta-pista { display: flex; flex: none; gap: 12px; padding-right: 12px; animation: cinta 46s linear infinite; }
.cinta:hover .cinta-pista { animation-play-state: paused; }
.cinta-pista span { flex: none; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--borde); background: var(--superficie);
  font-weight: 600; font-size: 14px; color: var(--texto); white-space: nowrap; font-variant-numeric: tabular-nums; }
@keyframes cinta { to { transform: translateX(-100%); } }

/* ── secciones ────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.seccion { position: relative; padding: clamp(80px, 11vw, 136px) 0; }
.titular { text-align: center; max-width: 860px; margin: 0 auto clamp(40px, 6vw, 64px); }
.titular.izquierda { text-align: left; margin-left: 0; margin-bottom: 32px; }
.antetitulo { display: inline-flex; align-items: center; gap: 10px; color: var(--primario); font-weight: 700; font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: 16px; }
.antetitulo::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--naranja); }
.titular h2 { font-size: clamp(28px, 3.9vw, 46px); text-wrap: balance; }
.titular .sub { margin-top: 20px; font-size: clamp(16px, 1.4vw, 18px); color: var(--suave); line-height: 1.65; text-wrap: pretty; }
.titular.izquierda .sub { max-width: 620px; }

.lista-ok { display: grid; gap: 10px; margin-top: 22px; }
.lista-ok li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.5; }
.lista-ok li::before { content: ''; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--primario-suave); }
.lista-ok li::after { content: ''; position: absolute; left: 5px; top: 6px; width: 10px; height: 10px; background: var(--primario);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.tile { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--primario-suave); color: var(--primario); }
.tile .ic { width: 22px; height: 22px; }

/* ── el hilo de la estancia: un paso tras otro ──────────────────────────────────────────────────────────────────────────── */
.hilo { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; --progreso: 0; }
.hilo::before, .hilo::after { content: ''; position: absolute; top: 31px; left: 6.25%; right: 6.25%; height: 2px; border-radius: 2px; background: var(--borde); }
.hilo::after { background: linear-gradient(90deg, var(--primario), var(--turquesa)); transform: scaleX(var(--progreso)); transform-origin: left; transition: transform .2s linear; }
.hilo li { position: relative; z-index: 1; text-align: center; }
.nodo { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--superficie);
  border: 2px solid var(--borde); color: var(--suave); transition: all .5s var(--facil); }
.nodo .ic { width: 26px; height: 26px; }
.hilo li.activo .nodo { border-color: transparent; color: #fff; background: var(--gradiente); transform: scale(1.06);
  box-shadow: 0 0 0 7px var(--primario-suave), 0 14px 28px -10px rgba(11, 95, 120, .6); }
.hilo h3 { font-size: 15.5px; margin-bottom: 6px; }
.hilo p { font-size: 13.5px; color: var(--suave); line-height: 1.5; }

/* ── recorrido por pestañas ───────────────────────────────────────────────────────────────────────────────────────────── */
.pestanas { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto clamp(32px, 5vw, 52px);
  padding: 5px; border-radius: 22px; border: 1px solid var(--borde); background: var(--superficie); box-shadow: var(--sombra-s); }
.pestanas [role="tab"] { position: relative; overflow: hidden; flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px;
  border-radius: 999px; border: 0; background: transparent; color: var(--suave); font-weight: 600; font-size: 14px;
  cursor: pointer; transition: color .25s, background-color .25s, box-shadow .25s; white-space: nowrap; }
.pestanas [role="tab"]:hover { color: var(--texto); background: var(--fondo-2); }
.pestanas [role="tab"][aria-selected="true"] { background: var(--texto); color: var(--fondo); box-shadow: var(--sombra-s); }
.pestanas .ic { width: 17px; height: 17px; }
.progreso { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--turquesa), var(--naranja));
  transform: scaleX(0); transform-origin: left; }
.pestanas .corriendo .progreso { animation: llenar var(--dur, 8s) linear forwards; }
.pestanas.pausa .corriendo .progreso { animation-play-state: paused; }
@keyframes llenar { to { transform: scaleX(1); } }
.paneles { position: relative; }
.panel-r { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.panel-r[hidden] { display: none; }
.panel-r.entrando .panel-texto { animation: entra-texto .7s var(--facil) both; }
.panel-r.entrando figure { animation: entra-figura .9s var(--facil) both; }
@keyframes entra-texto { from { opacity: 0; transform: translateX(-18px); } }
@keyframes entra-figura { from { opacity: 0; transform: translateY(18px) scale(.975); } }
.panel-texto h3 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 16px; text-wrap: balance; }
.panel-texto > p { color: var(--suave); font-size: 16px; line-height: 1.65; }
.miniaturas { display: flex; gap: 12px; margin-top: 26px; }
.mini { padding: 0; border: 1px solid var(--borde); border-radius: 10px; overflow: hidden; width: 170px; background: var(--superficie); cursor: zoom-in;
  box-shadow: var(--sombra-s); transition: transform .25s var(--facil), box-shadow .25s; }
.mini:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.ampliable { cursor: zoom-in; transition: transform .4s var(--facil); }
.ampliable:hover { transform: translateY(-4px); }

/* ── en cada puesto ───────────────────────────────────────────────────────────────────────────────────────────────────── */
.campo { background: var(--fondo-2); overflow: hidden; }
.campo::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(-24deg, color-mix(in srgb, var(--turquesa) 9%, transparent) 0 2px, transparent 2px 26px);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 80%); mask-image: linear-gradient(90deg, transparent 30%, #000 80%); }
.campo-rejilla { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(40px, 6vw, 72px); align-items: center; }
.rasgos { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.rasgos li { display: flex; gap: 14px; align-items: flex-start; }
.rasgos h3 { font-size: 16px; margin: 2px 0 4px; }
.rasgos p { font-size: 14.5px; color: var(--suave); line-height: 1.5; }
.campo-escena { position: relative; padding: 0 0 clamp(40px, 6vw, 70px) clamp(60px, 11vw, 150px); }
.campo-escena .tableta { width: 100%; }
.campo-escena .telefono { position: absolute; left: 0; bottom: 0; width: 25%; animation: flota 8s ease-in-out infinite; }
.campo-escena .telefono.rev { transition-property: opacity, transform; }

/* ── pensado para OCA Hotels ──────────────────────────────────────────────────────────────────────────────────────────── */
.dispositivos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dispositivo { padding: 26px 24px; border-radius: 18px; border: 1px solid var(--borde); background: var(--superficie); box-shadow: var(--sombra-s); }
.dispositivo > .ic { width: 30px; height: 30px; color: var(--primario); margin-bottom: 14px; }
.dispositivo h3 { font-size: 17px; margin-bottom: 6px; }
.dispositivo p { font-size: 14.5px; color: var(--suave); line-height: 1.55; }
.perfiles-titulo { max-width: 760px; margin: clamp(48px, 7vw, 72px) auto 22px; text-align: center; color: var(--suave); font-size: 15.5px; text-wrap: pretty; }
.perfiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; margin: 0 auto; }
.perfiles li { display: inline-flex; align-items: center; gap: 9px; padding: 10px 17px 10px 13px; border-radius: 999px; border: 1px solid var(--borde);
  background: var(--superficie); font-weight: 600; font-size: 14.5px; box-shadow: var(--sombra-s); transition: border-color .25s, translate .3s var(--facil); }
.perfiles li:hover { border-color: var(--primario); translate: 0 -2px; }
.perfiles .ic { color: var(--primario); width: 19px; height: 19px; }

/* ── cumplimiento (siempre oscura) ─────────────────────────────────────────────────────────────────────────────────────── */
.oscura { color: #E4EEF2; background: linear-gradient(180deg, #051B2A 0%, #071F2C 55%, #0A151B 100%); overflow: hidden;
  --texto: #E4EEF2; --suave: rgba(228, 238, 242, .74); --borde: #1D2F3A; --superficie: #101E26; --fondo-2: #0D1A21; --primario: #4FD1E3;
  --primario-suave: rgba(79, 209, 227, .14); --exito: #4ADE80; --aviso: #FBBF24; }
.cumpl-fondo { position: absolute; inset: 0; pointer-events: none; }
.cumpl-fondo .rejilla { -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, #000 20%, transparent 75%); }
.b3 { width: 700px; height: 500px; left: 50%; top: 20%; margin-left: -350px; background: #0B6E85; opacity: .32; animation: deriva 30s ease-in-out infinite alternate; }
.oscura .antetitulo { color: var(--estela); }
.cumpl-capturas { position: relative; max-width: 1080px; margin: 0 auto clamp(56px, 8vw, 96px); padding: 0 16% 7% 0; }
.cumpl-capturas .principal { width: 100%; }
.cumpl-capturas .lateral { position: absolute; width: 38%; box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); }
.cumpl-capturas .l1 { right: 0; top: 10%; translate: 0 var(--py, 0px); }
.cumpl-capturas .l2 { right: 7%; bottom: 0; translate: 0 calc(var(--py, 0px) * -0.6); }
.tarjetas-cumpl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tarjeta-c { position: relative; padding: 26px 24px 24px; border-radius: 18px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08);
  transition: background-color .3s, border-color .3s, transform .4s var(--facil); overflow: hidden; }
.tarjeta-c::before { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(79, 209, 227, .16), transparent 45%); }
.tarjeta-c:hover { border-color: rgba(79, 209, 227, .3); transform: translateY(-3px); }
.tarjeta-c:hover::before { opacity: 1; }
.tarjeta-c .tile { margin-bottom: 16px; }
.tarjeta-c h3 { font-size: 17px; color: #fff; margin-bottom: 8px; }
.tarjeta-c p { font-size: 14.5px; line-height: 1.55; color: var(--suave); }

/* ── vídeo ────────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.video-idioma { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
  color: var(--texto); background: var(--primario-suave); }
.video-idioma .ic { color: var(--primario); width: 18px; height: 18px; }
.video-marco { position: relative; max-width: 1020px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #051B2A;
  box-shadow: var(--sombra-l), 0 0 0 1px color-mix(in srgb, var(--borde) 60%, transparent); }
.video-portada { all: unset; display: block; position: absolute; inset: 0; cursor: pointer; }
.video-portada img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--facil), filter .5s; }
.video-portada:hover img { transform: scale(1.025); filter: brightness(.92); }
.video-portada:focus-visible { outline: 3px solid var(--turquesa); outline-offset: -3px; }
.video-boton { position: absolute; left: clamp(14px, 3vw, 30px); bottom: clamp(14px, 3vw, 28px); display: inline-flex; align-items: center; gap: 12px;
  padding: 7px 20px 7px 7px; border-radius: 999px; background: rgba(255, 255, 255, .96); color: #0A3550; font-weight: 600; font-size: 15px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .55); transition: transform .3s var(--facil); }
.circulo { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--naranja-texto);
  background: linear-gradient(135deg, #F29A5E, #E67E3C); }
.circulo::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(230, 126, 60, .55); animation: onda 2.4s ease-out infinite; }
.circulo .ic { width: 26px; height: 26px; margin-left: 2px; }
.video-portada:hover .video-boton { transform: translateY(-2px) scale(1.03); }
@keyframes onda { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.45); opacity: 0; } }
.video-marco video { width: 100%; height: 100%; display: block; background: #000; }

/* ── cifras ───────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.cifras { position: relative; overflow: hidden; background: var(--gradiente); color: #fff; padding: clamp(48px, 7vw, 72px) 0; }
.cifras::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 32px 32px; }
.cifras-fila { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; text-align: center; }
.cifra b { display: block; font-family: var(--titulos); font-size: clamp(38px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.cifra span { display: block; margin-top: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .9); }

/* ── la demo ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.doc { display: flex; flex-direction: column; padding: 24px 22px 22px; border-radius: 18px; border: 1px solid var(--borde); background: var(--superficie);
  color: var(--texto); box-shadow: var(--sombra-s); }
.doc .tile { margin-bottom: 18px; }
.doc h3 { font-size: 16.5px; margin-bottom: 8px; }
.doc p { font-size: 14.5px; color: var(--suave); line-height: 1.55; }
.accesos-demo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.acceso-demo { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--borde); background: var(--superficie);
  color: var(--texto); text-decoration: none; box-shadow: var(--sombra-s); transition: border-color .25s, transform .35s var(--facil), box-shadow .35s; }
.acceso-demo:hover { border-color: var(--primario); transform: translateY(-3px); box-shadow: var(--sombra); }
.acceso-demo > .ic:first-child { width: 28px; height: 28px; color: var(--primario); }
.acceso-demo > span { flex: 1; min-width: 0; }
.acceso-demo b { display: block; font-size: 15.5px; }
.acceso-demo small { display: block; font-size: 13.5px; color: var(--suave); }
.acceso-demo > .ic:last-child { width: 20px; height: 20px; color: var(--primario); transition: transform .25s var(--facil); }
.acceso-demo:hover > .ic:last-child { transform: translateX(3px); }

/* ── puesta en marcha ─────────────────────────────────────────────────────────────────────────────────────────────────── */
.implantacion { background: linear-gradient(180deg, var(--fondo) 0%, var(--fondo-2) 100%); }
.migra { display: grid; grid-template-columns: minmax(0, .85fr) 150px minmax(0, 1.3fr); align-items: center; gap: 10px; max-width: 1080px; margin: 0 auto; }
.migra-rot { margin-bottom: 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--suave); }
.fuentes { display: grid; gap: 10px; }
.fuentes li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; font-weight: 600; font-size: 15px; color: var(--suave);
  border: 1.5px dashed color-mix(in srgb, var(--suave) 40%, transparent); background: color-mix(in srgb, var(--superficie) 70%, transparent); }
.migra-flujo svg { display: block; width: 100%; height: auto; overflow: visible; }
.migra-flujo path { fill: none; stroke: color-mix(in srgb, var(--primario) 30%, var(--borde)); stroke-width: 2; stroke-dasharray: 5 6; }
.migra-flujo circle { fill: var(--turquesa); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--turquesa) 70%, transparent)); }
.informe { padding: 18px 20px 20px; border-radius: 20px; background: var(--superficie); border: 1px solid var(--borde); box-shadow: var(--sombra-l); }
.informe-cab { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--borde); }
.informe-logo { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--gradiente); color: #fff; }
.informe-logo .logo-oca-solo { display: block; width: 30px; aspect-ratio: 236 / 106; background: currentColor;
  -webkit-mask: url(img/oca.png) center / contain no-repeat; mask: url(img/oca.png) center / contain no-repeat; }
.informe-cab b { display: block; font-family: var(--titulos); font-size: 16px; }
.informe-cab small { display: block; font-size: 13px; color: var(--suave); }
.informe-pasos { display: grid; padding: 8px 0 14px; counter-reset: paso; }
.informe-pasos li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--borde); font-size: 14.5px; line-height: 1.45; }
.informe-pasos .ic { width: 18px; height: 18px; margin-top: 1px; color: var(--exito); }
.informe-aviso { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 500; color: var(--texto);
  background: var(--primario-suave); }
.informe-aviso .ic { width: 18px; height: 18px; color: var(--primario); }
.fases { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: clamp(48px, 7vw, 76px); }
.fases::before { content: ''; position: absolute; left: 40px; right: 40px; top: 39px; height: 2px; background: linear-gradient(90deg, var(--primario), var(--naranja)); opacity: .35; }
.fases li { position: relative; padding: 22px 18px 20px; border-radius: 16px; border: 1px solid var(--borde); background: var(--superficie); box-shadow: var(--sombra-s); }
.fases .num { position: relative; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 50%; display: grid; place-items: center; font-family: var(--titulos);
  font-weight: 700; color: #fff; background: var(--gradiente); box-shadow: 0 0 0 5px var(--superficie); }
.fases h3 { font-size: 15.5px; margin-bottom: 6px; }
.fases p { font-size: 14px; color: var(--suave); line-height: 1.5; }
.fases-nota { display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 860px; margin: 28px auto 0; text-align: center; color: var(--suave);
  font-size: 15px; text-wrap: pretty; }
.fases-nota .ic { color: var(--naranja); width: 22px; height: 22px; }

/* ── preguntas frecuentes ─────────────────────────────────────────────────────────────────────────────────────────────── */
.faq-lista { max-width: 880px; margin: 0 auto; display: grid; gap: 10px; }
.pregunta { border: 1px solid var(--borde); border-radius: 14px; background: var(--superficie); box-shadow: var(--sombra-s); transition: border-color .25s; }
.pregunta[open] { border-color: color-mix(in srgb, var(--primario) 40%, var(--borde)); }
.pregunta summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px;
  font-family: var(--titulos); font-weight: 600; font-size: 16.5px; letter-spacing: -0.01em; }
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta summary::after { content: ''; flex: none; width: 22px; height: 22px; background: var(--primario); transition: transform .3s var(--facil);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z'/%3E%3C/svg%3E") center / contain no-repeat; }
.pregunta[open] summary::after { transform: rotate(45deg); }
.respuesta { padding: 0 22px 20px; color: var(--suave); font-size: 15.5px; line-height: 1.65; }

/* ── banda de la demo ─────────────────────────────────────────────────────────────────────────────────────────────────── */
.demo { padding-bottom: 8px; }
.demo-caja { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: clamp(36px, 5vw, 56px) clamp(28px, 5vw, 64px); border-radius: 26px; background: var(--gradiente); color: #fff; box-shadow: var(--sombra-l); }
.demo-fondo { position: absolute; inset: 0; z-index: -1; }
.demo-fondo .rejilla { -webkit-mask-image: radial-gradient(ellipse 60% 120% at 85% 50%, #000 20%, transparent 80%); mask-image: radial-gradient(ellipse 60% 120% at 85% 50%, #000 20%, transparent 80%); }
.demo-texto h2 { font-size: clamp(24px, 2.9vw, 34px); }
.demo-texto p { margin-top: 12px; max-width: 640px; color: rgba(255, 255, 255, .9); font-size: 16px; }

/* ── pie ──────────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.pie { margin-top: clamp(40px, 6vw, 72px); background: #071F2C; color: rgba(228, 238, 242, .78); font-size: 15px; }
.pie-fila { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 64px 0 44px; }
.pie .logo { color: #fff; }
.pie-marca p { margin-top: 16px; max-width: 420px; line-height: 1.6; }
.pie-marca b { color: #fff; font-weight: 600; }
.pie-col { display: flex; flex-direction: column; gap: 10px; }
.pie-col h4 { font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.pie-col a { color: inherit; text-decoration: none; transition: color .2s; width: fit-content; }
.pie-col a:hover { color: #fff; text-decoration: underline; }
.pie-legal { padding: 22px 0 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: rgba(228, 238, 242, .72); }
.pie-aviso { padding: 0 0 34px; font-size: 13px; line-height: 1.55; color: rgba(228, 238, 242, .62); }
.pie-aviso p { max-width: 980px; }

/* ── visor de capturas ────────────────────────────────────────────────────────────────────────────────────────────────── */
.visor { max-width: 96vw; max-height: 96vh; width: auto; padding: 0; border: 0; background: transparent; overflow: visible; color: #fff; }
.visor::backdrop { background: rgba(3, 15, 23, .86); backdrop-filter: blur(6px); }
.visor[open] { animation: visor .35s var(--facil); }
@keyframes visor { from { opacity: 0; transform: scale(.96); } }
.visor img { max-width: 96vw; max-height: 86vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.visor-pie { text-align: center; margin-top: 12px; font-size: 14.5px; color: rgba(255, 255, 255, .88); }
.visor-cerrar { position: fixed; top: 16px; right: 16px; color: #fff; background: rgba(255, 255, 255, .14); width: 44px; height: 44px; border-radius: 50%; }
.visor-cerrar .ic { width: 24px; height: 24px; }

/* ── pantallas medianas y pequeñas ────────────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .menu a { padding: 8px 8px; font-size: 14px; }
  .f1 { left: -2%; }
  .f2 { right: -2%; }
}
@media (max-width: 1060px) {
  .hamburguesa { display: inline-flex; }
  .menu { display: none; position: fixed; top: var(--cab-alto); left: 0; right: 0; flex-direction: column; gap: 2px; margin: 0; padding: 10px 16px 20px;
    background: var(--superficie); color: var(--texto); border-bottom: 1px solid var(--borde); box-shadow: var(--sombra); }
  .cab.abierta .menu { display: flex; }
  .menu a { font-size: 17px; padding: 13px 12px; opacity: 1; }
  .menu .menu-demo { display: block; margin-top: 8px; text-align: center; font-weight: 600; background: var(--primario); color: var(--primario-texto); border-radius: 12px; }
  .menu .menu-demo:hover { background: var(--primario-hover); }
  .docs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .hilo { grid-template-columns: 1fr; gap: 26px; max-width: 520px; margin: 0 auto; }
  .hilo::before, .hilo::after { top: 32px; bottom: 32px; left: 31px; right: auto; width: 2px; height: auto; }
  .hilo::after { transform: scaleY(var(--progreso)); transform-origin: top; }
  .hilo li { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; text-align: left; align-items: center; }
  .nodo { margin: 0; grid-row: span 2; }
  .hilo h3 { align-self: end; margin: 0; }
  .hilo p { align-self: start; }
  .panel-r { grid-template-columns: 1fr; }
  .campo-rejilla { grid-template-columns: 1fr; }
  .migra { grid-template-columns: 1fr; max-width: 600px; }
  .migra-flujo { width: 120px; margin: 0 auto; transform: rotate(90deg); }
  .fases { grid-template-columns: 1fr 1fr; }
  .fases::before { display: none; }
  .tarjetas-cumpl, .dispositivos { grid-template-columns: 1fr 1fr; }
  .accesos-demo { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .cifras-fila { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .demo-caja { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .contenedor { width: calc(100% - 32px); }
  .pestanas { flex-wrap: nowrap; justify-content: flex-start; border-radius: 16px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
  .pestanas::-webkit-scrollbar { display: none; }
  .pestanas [role="tab"] { scroll-snap-align: center; padding: 9px 13px; }
  .flotante { display: none; }
  .escena .tableta { left: -2%; width: 44%; bottom: -12%; }
  .escena .telefono { right: -1%; width: 22%; }
  .escena-caja { padding-bottom: 72px; }
  .marco.navegador .barra { height: 24px; padding: 0 10px; gap: 5px; }
  .barra i { width: 8px; height: 8px; }
  .barra .url { display: none; }
  .plano { opacity: .28; top: 70px; right: -150px; }
  .rasgos { grid-template-columns: 1fr; }
  .cumpl-capturas { padding: 0 0 18%; }
  .cumpl-capturas .l1 { width: 48%; top: auto; bottom: 0; right: -2%; }
  .cumpl-capturas .l2 { display: none; }
  .tarjetas-cumpl, .dispositivos, .fases, .docs { grid-template-columns: 1fr; }
  .cifras-fila { grid-template-columns: repeat(2, 1fr); }
  .cifra:last-child { grid-column: 1 / -1; }
  .pie-fila { grid-template-columns: 1fr 1fr; }
  .pie-marca { grid-column: 1 / -1; }
  .miniaturas .mini { width: calc(50% - 6px); }
  .heroe-botones .boton { width: 100%; }
  .cab-acciones .boton { padding: 8px 12px; }
  .heroe-fondo { border-bottom-left-radius: 50% 36px; border-bottom-right-radius: 50% 36px; }
  .pregunta summary { padding: 16px 18px; font-size: 15.5px; }
  .heroe-nota, .fases-nota { flex-direction: column; gap: 6px; text-align: center; }
  .respuesta { padding: 0 18px 18px; }
}
@media (max-width: 520px) {
  .cab-acciones > .boton { display: none; }
  .logo-oca { width: 108px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important;
    transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .js .rev, .js .escena { opacity: 1 !important; transform: none !important; translate: none !important; }
  .plano .estancias rect { transform: none !important; }
  .cinta-pista { animation: none !important; }
  .cinta { overflow-x: auto; }
}
@media print {
  .cab, .video, .demo, .visor { display: none !important; }
  .js .rev { opacity: 1; transform: none; }
}
