/* FleetPilot 2.0 · web de presentación. Mismos valores que app/lib/theme.dart: azul noche y azul vial, cian «eléctrico» de apoyo y el
   amarillo de las 12 del volante solo en el logotipo y algún acento; Sora en títulos, IBM Plex Sans en el texto e IBM Plex Mono en
   matrículas, códigos y cifras. Claro por defecto; oscuro con prefers-color-scheme salvo data-theme="light", o con data-theme="dark". */

@font-face { font-family: 'Sora'; font-weight: 600; font-display: swap; src: url(fuentes/sora-600.woff2) format('woff2'); }
@font-face { font-family: 'Sora'; font-weight: 700; font-display: swap; src: url(fuentes/sora-700.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 400; font-display: swap; src: url(fuentes/ibm-plex-sans-400.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 500; font-display: swap; src: url(fuentes/ibm-plex-sans-500.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 600; font-display: swap; src: url(fuentes/ibm-plex-sans-600.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 700; font-display: swap; src: url(fuentes/ibm-plex-sans-700.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 400; font-display: swap; src: url(fuentes/ibm-plex-mono-400.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 600; font-display: swap; src: url(fuentes/ibm-plex-mono-600.woff2) format('woff2'); }

:root {
  --fondo: #F3F5F8;
  --fondo-2: #E9EDF2;
  --superficie: #FFFFFF;
  --borde: #DDE3EA;
  --texto: #131A24;
  --suave: #5B6676;
  --primario: #1F5AA6;             /* azul vial: 6,8:1 sobre blanco */
  --primario-hover: #194C8D;
  --primario-texto: #FFFFFF;
  --primario-suave: rgba(31, 90, 166, 0.10);
  --cian: #0B7A76;                 /* 5,2:1 sobre blanco */
  --cian-suave: rgba(11, 122, 118, 0.11);
  --azul-claro: #8DB8F2;
  --cian-claro: #6FD3CC;
  --noche: #0D1726;
  --amarillo: #F5B700;             /* la marca de las 12 del volante: logotipo y algún acento, nunca alertas */
  --aviso: #9A5A00;
  --exito: #2E7D32;
  --peligro: #B42318;
  --bolt: #2FB36B;
  --gradiente: linear-gradient(135deg, #0D1726 0%, #16304F 50%, #1F5AA6 100%);
  --heroe: linear-gradient(160deg, #060b14 0%, #0D1726 32%, #16304F 66%, #1F5AA6 100%);
  --sombra-s: 0 1px 2px rgba(19, 26, 36, 0.05), 0 4px 14px rgba(19, 26, 36, 0.06);
  --sombra: 0 2px 6px rgba(19, 26, 36, 0.05), 0 22px 48px -18px rgba(19, 26, 36, 0.22);
  --sombra-l: 0 40px 90px -30px rgba(4, 10, 20, 0.55), 0 12px 30px -12px rgba(4, 10, 20, 0.3);
  --radio: 14px;
  --titulos: 'Sora', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --cab-alto: 68px;
  --facil: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fondo: #0B1119; --fondo-2: #0F1722; --superficie: #111A25; --borde: #233042; --texto: #E6ECF3; --suave: #8E9BAD;
    --primario: #8DB8F2; --primario-hover: #A9CBF6; --primario-texto: #071526; --primario-suave: rgba(141, 184, 242, 0.15);
    --cian: #6FD3CC; --cian-suave: rgba(111, 211, 204, 0.14); --aviso: #F2B75B; --exito: #86D08A; --peligro: #F58A80; --bolt: #5BD092;
    --heroe: linear-gradient(160deg, #04080f 0%, #0A1320 35%, #122844 70%, #1B4F92 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: #0B1119; --fondo-2: #0F1722; --superficie: #111A25; --borde: #233042; --texto: #E6ECF3; --suave: #8E9BAD;
  --primario: #8DB8F2; --primario-hover: #A9CBF6; --primario-texto: #071526; --primario-suave: rgba(141, 184, 242, 0.15);
  --cian: #6FD3CC; --cian-suave: rgba(111, 211, 204, 0.14); --aviso: #F2B75B; --exito: #86D08A; --peligro: #F58A80; --bolt: #5BD092;
  --heroe: linear-gradient(160deg, #04080f 0%, #0A1320 35%, #122844 70%, #1B4F92 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: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--titulos); font-weight: 600; letter-spacing: -0.025em; 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, dl, dd { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primario) 65%, transparent); outline-offset: 3px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--primario) 28%, transparent); }

/* idioma: se ve solo lo del idioma de <html> */
html:not([lang="es"]) [lang="es"], html:not([lang="en"]) [lang="en"] { 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; }

/* matrícula española: la de la app (widget Matricula), blanca en los dos modos */
.matricula { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding-right: 9px; border: 1.5px solid #131A24; border-radius: 5px;
  background: #fff; color: #131A24; font-family: var(--mono); font-weight: 600; font-size: 15px; letter-spacing: .06em; line-height: 1; overflow: hidden;
  white-space: nowrap; flex: none; }
.matricula i { align-self: stretch; width: 13px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 3px; background: #1F4FA8;
  color: #fff; font-style: normal; font-family: var(--sans); font-size: 8.5px; font-weight: 700; letter-spacing: 0; }
.matricula.mini-m { height: 21px; font-size: 12px; gap: 5px; padding-right: 6px; border-width: 1.2px; vertical-align: -4px; }
.matricula.mini-m i { width: 10px; font-size: 7px; padding-bottom: 2px; }

/* ── 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.cristal { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.24); backdrop-filter: blur(8px); }
.boton.cristal:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-1px); }
.boton.cristal:hover .ic:last-child { transform: none; }
.boton.blanco { background: #fff; color: #0D1726; 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: 38px; min-width: 38px; 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) 84%, 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: 28px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; flex: none; }
.logo-icono { width: 34px; height: 34px; border-radius: 9px; background: var(--gradiente); display: grid; place-items: center; flex: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.logo-icono svg { width: 100%; height: 100%; }
.logo-texto { font-family: var(--titulos); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.menu { display: flex; gap: 2px; margin-left: 8px; }
.menu a { position: relative; color: inherit; text-decoration: none; font-weight: 500; font-size: 14.5px; padding: 8px 11px; border-radius: 9px;
  opacity: .86; 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: #fff; color: #0D1726; box-shadow: none; }
.cab:not(.solida) .boton.primario:hover { background: #E3EDFB; }
.idiomas { position: relative; }
.menu-idiomas { position: absolute; top: calc(100% + 6px); right: 0; min-width: 150px; 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: .5; pointer-events: none; }
.b1 { width: 560px; height: 560px; left: -140px; top: 120px; background: #1F5AA6; animation: deriva 22s ease-in-out infinite alternate; }
.b2 { width: 460px; height: 460px; right: -80px; top: -120px; background: #0B7A76; opacity: .4; animation: deriva 26s ease-in-out infinite alternate-reverse; }
@keyframes deriva { to { transform: translate(120px, 60px) scale(1.15); } }
/* el plano: calles que se dibujan, la ruta de un viaje y el coche (amarillo, el acento de la marca) que la recorre */
.plano { position: absolute; right: max(-200px, calc(50% - 860px)); top: 70px; width: clamp(300px, 36vw, 540px); opacity: .75; overflow: visible; }
.plano * { vector-effect: non-scaling-stroke; }
.plano .calles > * { fill: none; stroke: rgba(141, 184, 242, .16); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1600; stroke-dashoffset: 1600;
  animation: dibujo 2.6s var(--facil) forwards; }
.plano .calles .ronda { stroke: rgba(141, 184, 242, .1); stroke-width: 12; }
.plano .calles .fina { stroke-width: 3; animation-delay: .4s; }
.plano .calles > :nth-child(3) { animation-delay: .2s; } .plano .calles > :nth-child(4) { animation-delay: .3s; }
.plano .calles > :nth-child(5) { animation-delay: .45s; } .plano .calles > :nth-child(6) { animation-delay: .55s; }
.plano .ruta { fill: none; stroke: #6FD3CC; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700;
  filter: drop-shadow(0 0 6px rgba(111, 211, 204, .55)); animation: dibujo 2s var(--facil) .9s forwards; }
.plano .parada { fill: #0D1726; stroke: #fff; stroke-width: 2.4; opacity: 0; animation: aparecer .5s .8s forwards; }
.plano .parada.fin { animation-delay: 2.6s; }
.plano .coche { fill: #F5B700; filter: drop-shadow(0 0 8px rgba(245, 183, 0, .8)); opacity: 0; animation: aparecer .4s 1.6s forwards; }
.plano .rotulo rect { fill: rgba(5, 10, 19, .6); stroke: rgba(141, 184, 242, .35); opacity: 0; animation: aparecer .8s 1.2s forwards; }
.plano .rotulo text { font-family: var(--mono); font-size: 13px; font-weight: 600; fill: rgba(255, 255, 255, .75); letter-spacing: .02em; opacity: 0;
  animation: aparecer .8s 1.3s forwards; }
.plano .r2 rect, .plano .r2 text { animation-delay: 2.7s; }
@keyframes dibujo { to { stroke-dashoffset: 0; } }
@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, .18); backdrop-filter: blur(6px); color: rgba(255, 255, 255, .92); }
.punto { width: 8px; height: 8px; border-radius: 50%; background: #F5B700; box-shadow: 0 0 0 0 rgba(245, 183, 0, .6); animation: latido 2.2s infinite; }
@keyframes latido { 70% { box-shadow: 0 0 0 9px rgba(245, 183, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 183, 0, 0); } }
.heroe h1 { margin-top: 26px; font-size: clamp(36px, 9.4vw, 96px); font-weight: 700; line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.heroe h1 em { font-style: normal; background: linear-gradient(92deg, #E4EFFF 0%, #8DB8F2 35%, #6FD3CC 62%, #E4EFFF 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: 790px; font-size: clamp(16.5px, 1.6vw, 19px); line-height: 1.6; color: rgba(255, 255, 255, .8); 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, #4C8FE6, #1F5AA6); color: #fff; box-shadow: 0 16px 36px -14px rgba(76, 143, 230, .85), inset 0 1px 0 rgba(255, 255, 255, .25); }
.heroe-botones .boton.primario:hover { background: linear-gradient(135deg, #5B9BEC, #2463B4); }
.enlace-video { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 10px 6px 6px; border-radius: 999px; }
.enlace-video .play { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25); 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; font-size: 13.5px; color: rgba(255, 255, 255, .7); text-wrap: balance; }
.heroe-nota .ic { color: #6FD3CC; margin-right: 8px; vertical-align: -4px; }

.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); font-family: var(--mono); }
.barra .url .ic { width: 12px; height: 12px; color: var(--exito); }
.marco.tableta, .marco.telefono { background: #0B1119; 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); font-weight: 600; 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 ───────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.normas { padding: 8px 0 24px; }
.normas-titulo { text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--suave); margin-bottom: 18px; }
.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 50s 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-family: var(--mono); font-weight: 600; font-size: 14px; color: var(--texto); white-space: nowrap; }
@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: .15em;
  text-transform: uppercase; margin-bottom: 16px; }
.antetitulo::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
.antetitulo .ic { margin-left: -2px; }
.antetitulo:has(.ic)::before { display: none; }
.titular h2 { font-size: clamp(28px, 4vw, 46px); text-wrap: balance; }
.titular .sub { margin-top: 20px; font-size: clamp(16px, 1.45vw, 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: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--primario-suave); }
.lista-ok li::after { content: ''; position: absolute; left: 5px; top: 7px; 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; }
.lista-ok.grande li { font-size: 16.5px; }
.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 problema ──────────────────────────────────────────────────────────────────────────────────────────────────────── */
.problema { padding-top: clamp(64px, 8vw, 96px); }
.dolores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dolor { display: flex; flex-direction: column; padding: 26px 24px 22px; border-radius: 18px; border: 1px solid var(--borde); background: var(--superficie);
  box-shadow: var(--sombra-s); transition: transform .35s var(--facil), box-shadow .35s; }
.dolor:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.dolor .tile { margin-bottom: 16px; }
.dolor h3 { font-size: 18px; margin-bottom: 8px; }
.dolor > p[lang] { margin-bottom: 16px; font-size: 15px; color: var(--suave); line-height: 1.55; }
.dolor .respuesta-v { margin-top: auto; padding-top: 14px; display: flex; gap: 8px; align-items: flex-start; color: var(--texto); font-weight: 600; font-size: 14.5px;
  line-height: 1.45; border-top: 1px dashed var(--borde); }
.respuesta-v .ic { width: 18px; height: 18px; color: var(--cian); margin-top: 1px; }

/* ── cómo funciona: la atribución ─────────────────────────────────────────────────────────────────────────────────────── */
.funciona { background: linear-gradient(180deg, var(--fondo) 0%, var(--fondo-2) 100%); }
.atrib { --c-r: #0B7A76; --c-l: #1F5AA6; max-width: 1100px; margin: 0 auto; padding: 24px 26px 22px; border-radius: 22px; background: var(--superficie);
  border: 1px solid var(--borde); box-shadow: var(--sombra); }
:root[data-theme="dark"] .atrib { --c-r: #2BA7A0; --c-l: #4C8FE6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .atrib { --c-r: #2BA7A0; --c-l: #4C8FE6; } }
.atrib-cab { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.atrib-coche b { display: block; font-family: var(--titulos); font-size: 16px; letter-spacing: -0.01em; }
.atrib-coche small { display: block; font-size: 13px; color: var(--suave); }
.atrib-leyenda { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--suave); }
.atrib-leyenda > span { display: inline-flex; align-items: center; gap: 6px; }
.atrib-leyenda i { width: 10px; height: 10px; border-radius: 50%; }
.l-viaje, .hecho[data-t="viaje"] .pin { background: var(--bolt); }
.l-carga, .hecho[data-t="carga"] .pin { background: var(--cian); }
.l-multa, .hecho[data-t="multa"] .pin { background: var(--peligro); }
.pista { display: flex; flex-direction: column; margin-top: 18px; }
.hechos { position: relative; order: 1; height: 92px; }
.hecho { position: absolute; left: var(--x); bottom: 0; width: 0; display: flex; flex-direction: column; align-items: center; }
.hecho .pin { position: relative; z-index: 1; width: 13px; height: 13px; border-radius: 50%; margin-bottom: 16px; box-shadow: 0 0 0 3px var(--superficie);
  transition: box-shadow .4s var(--facil), transform .4s var(--facil); flex: none; }
.hecho::after { content: ''; position: absolute; bottom: 0; width: 2px; height: 18px; border-radius: 2px; background: var(--borde); }
.hecho[data-t="multa"] .pin { width: 15px; height: 15px; border-radius: 4px; transform: rotate(45deg); }
.hecho .etq { position: absolute; bottom: 36px; padding: 3px 9px; border-radius: 8px; white-space: nowrap; font-family: var(--mono); font-size: 12px; font-weight: 600;
  background: var(--superficie); border: 1px solid var(--borde); box-shadow: var(--sombra-s); opacity: 0; transform: translateY(4px); pointer-events: none;
  transition: opacity .25s, transform .25s var(--facil); }
.hecho:hover .etq, .hecho.clave .etq { opacity: 1; transform: none; }
.hecho.arriba .pin { margin-bottom: 38px; }
.hecho.arriba::after { height: 40px; }
.hecho.arriba .etq { bottom: 58px; }
.hecho.clave[data-t="multa"] .etq { color: var(--peligro); border-color: color-mix(in srgb, var(--peligro) 40%, var(--borde)); }
.hecho.clave[data-t="carga"] .etq { color: var(--cian); border-color: color-mix(in srgb, var(--cian) 40%, var(--borde)); }
.hecho.atribuido[data-a="r"] .pin { box-shadow: 0 0 0 3px var(--superficie), 0 0 0 5px var(--c-r); }
.hecho.atribuido[data-a="l"] .pin { box-shadow: 0 0 0 3px var(--superficie), 0 0 0 5px var(--c-l); }
.js .hecho .pin { opacity: 0; transform: translateY(-16px); transition: opacity .35s, transform .45s var(--facil), box-shadow .4s; }
.js .hecho[data-t="multa"] .pin { transform: translateY(-16px) rotate(45deg); }
.js .hecho.visto .pin { opacity: 1; transform: none; }
.js .hecho.visto[data-t="multa"] .pin { transform: rotate(45deg); }
.js .hecho.clave .etq { opacity: 0; }
.js .hecho.clave.visto .etq { opacity: 1; transform: none; }
.js .hecho:not(.visto)::after { opacity: 0; }
.hecho::after { transition: opacity .3s; }
.carril { order: 2; display: flex; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.tramo { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 9px 14px; color: #fff; line-height: 1.3; }
.tramo b { font-size: 11.5px; font-weight: 600; letter-spacing: .03em; opacity: .82; }
.tramo > span { font-size: 14.5px; font-weight: 600; }
.tramo s { opacity: .6; font-weight: 500; }
.tramo.dia { background: linear-gradient(90deg, #0B7A76, #109189); }
.tramo.noche { background: linear-gradient(90deg, #16304F, #1F5AA6); }
.horas { order: 3; display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--mono); font-size: 12px; color: var(--suave); }
.horas li { width: 0; display: flex; justify-content: center; }
.atrib-personas { display: grid; grid-template-columns: 1.15fr .85fr 1.15fr; gap: 14px; margin-top: 24px; }
.pa { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-content: start; gap: 12px; padding: 16px 16px 14px; border-radius: 16px; background: var(--fondo);
  border: 1px solid var(--borde); transition: border-color .3s, box-shadow .3s; }
.pa-av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--titulos); font-size: 14px; font-weight: 600;
  background: linear-gradient(135deg, #0B7A76, #109189); }
.pa-av.noche { background: linear-gradient(135deg, #16304F, #1F5AA6); }
.pa.libre .pa-av { background: color-mix(in srgb, var(--suave) 45%, var(--borde)); }
.pa.libre { border-style: dashed; background: transparent; }
.pa-cab { align-self: center; min-width: 0; }
.pa-cab b { display: block; font-size: 15px; line-height: 1.3; }
.pa-cab small { display: block; font-size: 12.5px; color: var(--suave); line-height: 1.4; }
.pa-cifras { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 8px; padding: 10px 0;
  border-top: 1px dashed var(--borde); border-bottom: 1px dashed var(--borde); }
.pa-cifras dt { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--suave); }
.pa-cifras dd { font-family: var(--mono); font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pa-nota { grid-column: 1 / -1; display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--suave); }
.pa-nota .ic { width: 17px; height: 17px; margin-top: 1px; color: var(--cian); }
.pa[data-p="r"] .pa-nota .ic { color: var(--peligro); }
.pa-vacio { grid-column: 1 / -1; font-size: 13.5px; color: var(--suave); line-height: 1.5; }
.pa.suma { border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
.pa[data-p="r"] { --c: var(--c-r); } .pa[data-p="l"] { --c: var(--c-l); }
.atrib-nota { margin-top: 16px; font-size: 13px; color: var(--suave); line-height: 1.5; }

.sub-titulo { text-align: center; font-size: clamp(22px, 2.4vw, 28px); margin: clamp(64px, 8vw, 96px) 0 clamp(32px, 4vw, 44px); text-wrap: balance; }
.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(--cian)); 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(31, 90, 166, .6); }
.hilo h4 { font-size: 16px; margin-bottom: 6px; }
.hilo p { font-size: 13.5px; color: var(--suave); line-height: 1.5; }
.pruebas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(56px, 7vw, 84px); }
.prueba figcaption { margin-top: 16px; }
.prueba figcaption b { display: block; font-family: var(--titulos); font-weight: 600; font-size: 16.5px; letter-spacing: -0.01em; margin-bottom: 4px; }
.prueba figcaption span { display: block; font-size: 14.5px; color: var(--suave); line-height: 1.55; }

/* ── recorrido por pestañas ───────────────────────────────────────────────────────────────────────────────────────────── */
.pestanas { display: flex; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto clamp(32px, 5vw, 52px); padding: 5px; border-radius: 999px;
  border: 1px solid var(--borde); background: var(--superficie); box-shadow: var(--sombra-s); overflow-x: auto; scrollbar-width: none; }
.pestanas::-webkit-scrollbar { display: none; }
.pestanas [role="tab"] { position: relative; overflow: hidden; flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  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(--cian-claro), var(--azul-claro));
  transform: scaleX(0); transform-origin: left; }
.pestanas .corriendo .progreso { animation: llenar var(--dur, 9s) 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(23px, 2.5vw, 31px); margin-bottom: 16px; text-wrap: balance; }
.panel-texto > p { color: var(--suave); font-size: 16.5px; line-height: 1.65; }
.miniaturas { display: flex; gap: 10px; margin-top: 26px; }
.mini { flex: 1 1 0; min-width: 0; max-width: 170px; padding: 0; border: 1px solid var(--borde); border-radius: 10px; overflow: hidden; 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); }

/* ── portales ─────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.portales { overflow: hidden; background: linear-gradient(180deg, var(--fondo) 0%, var(--fondo-2) 100%); }
.portales-fondo { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 50% 40% at 25% 55%, var(--cian-suave), transparent 70%),
  radial-gradient(ellipse 50% 40% at 75% 55%, var(--primario-suave), transparent 70%); }
.portales-rejilla { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.portal { display: flex; flex-direction: column; padding: 26px 28px 30px; border-radius: 26px; border: 1px solid var(--borde); background: var(--superficie);
  box-shadow: var(--sombra); }
.portal-telefonos { display: flex; justify-content: center; align-items: flex-start; padding: 8px 0 30px; }
.portal-telefonos .telefono { width: 44%; max-width: 230px; }
.portal-telefonos .t1 { transform: rotate(-3.5deg) translateY(14px); }
.portal-telefonos .t2 { z-index: 1; margin-left: -3%; transform: rotate(3.5deg); }
.portal-texto h3 { display: flex; flex-direction: column; gap: 4px; font-size: clamp(24px, 2.4vw, 30px); }
.portal-etq { font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cian); }
.portal + .portal .portal-etq { color: var(--primario); }

/* ── cumplimiento (siempre oscura) ─────────────────────────────────────────────────────────────────────────────────────── */
.oscura { color: #E6ECF3; background: linear-gradient(180deg, #08111E 0%, #0B1626 55%, #0B1119 100%); overflow: hidden;
  --texto: #E6ECF3; --suave: rgba(230, 236, 243, .72); --borde: #233042; --superficie: #111A25; --fondo-2: #0F1722; --primario: #8DB8F2;
  --primario-suave: rgba(141, 184, 242, .14); --exito: #86D08A; --aviso: #F2B75B; --cian: #6FD3CC; }
.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: #1F5AA6; opacity: .3; animation: deriva 30s ease-in-out infinite alternate; }
.oscura .antetitulo { color: #6FD3CC; }
.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; display: flex; flex-direction: column; padding: 26px 24px 22px; 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(111, 211, 204, .14), transparent 45%); }
.tarjeta-c:hover { border-color: rgba(141, 184, 242, .32); transform: translateY(-3px); }
.tarjeta-c:hover::before { opacity: 1; }
.tarjeta-c .tile { margin-bottom: 16px; }
.tarjeta-c h3 { font-size: 17.5px; color: #fff; margin-bottom: 8px; }
.tarjeta-c p { font-size: 14.5px; line-height: 1.55; color: var(--suave); }
.norma { align-self: flex-start; margin-top: auto; padding-top: 14px; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .02em; color: #8DB8F2; }

/* ── integraciones ────────────────────────────────────────────────────────────────────────────────────────────────────── */
.leyenda-int { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: -16px 0 32px; }
.chip-int { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--suave); }
.chip-int i, .grupo-int li::before { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.chip-int.p i, .grupo-int li.p::before { background: var(--exito); box-shadow: 0 0 0 3px color-mix(in srgb, var(--exito) 18%, transparent); }
.chip-int.d i, .grupo-int li.d::before { background: var(--aviso); box-shadow: 0 0 0 3px color-mix(in srgb, var(--aviso) 18%, transparent); }
.grupos-int { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grupo-int { padding: 22px 22px 24px; border-radius: 18px; border: 1px solid var(--borde); background: var(--superficie); box-shadow: var(--sombra-s); }
.grupo-int h3 { display: flex; align-items: center; gap: 10px; font-size: 16.5px; margin-bottom: 16px; }
.grupo-int h3 .ic { width: 22px; height: 22px; color: var(--primario); }
.grupo-int ul { display: flex; flex-wrap: wrap; gap: 8px; }
.grupo-int li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; border: 1px solid var(--borde);
  background: var(--fondo); font-size: 13.5px; font-weight: 500; line-height: 1.3; }
.grupo-int li::before { content: ''; }
.nota-int { display: flex; align-items: flex-start; justify-content: center; gap: 10px; max-width: 820px; margin: 32px auto 0; color: var(--suave); font-size: 14.5px;
  line-height: 1.55; text-align: left; }
.nota-int .ic { color: var(--primario); margin-top: 1px; }

/* ── Claude ───────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.claude { background: linear-gradient(180deg, var(--fondo) 0%, var(--fondo-2) 100%); }
.claude-rejilla { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.chat { justify-self: end; width: 100%; max-width: 580px; border-radius: 20px; background: var(--superficie); border: 1px solid var(--borde); box-shadow: var(--sombra); overflow: hidden; }
.chat-cab { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 14px 18px; border-bottom: 1px solid var(--borde); }
.chat-cab > div { flex: 1 1 170px; min-width: 0; }
.chat-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--gradiente); color: #fff; flex: none; }
.chat-av .ic { width: 20px; height: 20px; }
.chat-cab b { display: block; font-size: 15px; }
.chat-cab small { display: block; font-size: 12.5px; color: var(--suave); }
.pastilla-chat { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px 4px 8px; border-radius: 999px;
  background: var(--fondo-2); border: 1px solid var(--borde); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.pastilla-chat .ic { width: 15px; height: 15px; color: var(--primario); }
.chat-cuerpo { display: flex; flex-direction: column; gap: 12px; padding: 20px 18px; min-height: 500px; background: var(--fondo); }
.msg { max-width: 90%; padding: 11px 15px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; }
.msg.yo { align-self: flex-end; background: var(--primario); color: var(--primario-texto); border-bottom-right-radius: 5px; }
.msg.claude-msg { align-self: flex-start; background: var(--superficie); border: 1px solid var(--borde); border-bottom-left-radius: 5px; }
.msg.no { display: flex; gap: 9px; align-items: flex-start; background: color-mix(in srgb, var(--aviso) 9%, var(--superficie));
  border-color: color-mix(in srgb, var(--aviso) 34%, transparent); }
.msg.no .ic { color: var(--aviso); margin-top: 1px; }
.herramientas { display: flex; flex-wrap: wrap; gap: 6px; }
.herr { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--superficie);
  border: 1px solid var(--borde); font-size: 12px; font-weight: 600; color: var(--suave); }
.herr .ic { width: 15px; height: 15px; }
.herr .ok { color: var(--exito); }
.oferta { margin-top: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--borde); background: var(--fondo); }
.oferta-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.oferta-cab small { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--suave); }
.pill { display: inline-flex; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: var(--primario);
  background: var(--primario-suave); white-space: nowrap; }
.oferta b { display: block; font-size: 14.5px; margin-bottom: 2px; }
.oferta .meta { display: block; font-size: 12.5px; color: var(--suave); margin-bottom: 6px; }
.oferta .linea { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px dashed var(--borde); font-size: 13.5px; }
.oferta .linea .vale { color: var(--exito); font-weight: 600; white-space: nowrap; }
.chat-entrada { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--borde); }
.escribe { flex: 1; min-height: 40px; display: flex; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--borde);
  background: var(--fondo); color: var(--suave); font-size: 14px; overflow: hidden; white-space: nowrap; }
.escribe.tecleando { color: var(--texto); }
.escribe.tecleando::after { content: ''; width: 2px; height: 18px; margin-left: 2px; background: var(--primario); animation: cursor 1s steps(1) infinite; }
@keyframes cursor { 50% { opacity: 0; } }
.enviar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--primario); color: var(--primario-texto); flex: none; }
.js .chat [data-paso] { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--facil), transform .5s var(--facil); }
.js .chat [data-paso].visto { opacity: 1; transform: none; }
.js .chat .herramientas .herr { opacity: 0; transform: scale(.9); transition: opacity .35s, transform .35s var(--facil); }
.js .chat .herramientas.visto .herr { opacity: 1; transform: none; }
.js .chat .herramientas.visto .herr:nth-child(2) { transition-delay: .35s; }
.js .chat .herramientas.visto .herr:nth-child(3) { transition-delay: .7s; }

/* ── perfiles y dispositivos ──────────────────────────────────────────────────────────────────────────────────────────── */
.perfiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1000px; 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; }
.protegidos { max-width: 820px; margin: 26px auto 0; text-align: center; font-size: 14.5px; color: var(--suave); line-height: 1.8; }
.protegidos-tit { margin-right: 6px; color: var(--texto); font-weight: 600; }
.protegidos-tit .ic { width: 17px; height: 17px; margin-right: 6px; vertical-align: -3px; color: var(--aviso); }
.dispositivos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(48px, 7vw, 72px); }
.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.5; }
.etiquetas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 32px; color: var(--suave); font-size: 14.5px; }
.etiquetas > span { display: inline-flex; align-items: center; gap: 8px; }
.etiquetas .ic { color: var(--primario); }

/* ── vídeo ────────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.video { padding-top: 0; }
.video-marco { position: relative; max-width: 1020px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #060b14;
  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; }
/* sin póster (el vídeo aún no está publicado): la portada de la marca */
.video-fondo { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #fff;
  background: radial-gradient(ellipse 60% 70% at 70% 30%, rgba(11, 122, 118, .35), transparent 70%), var(--heroe); }
.video-fondo .logo-icono.grande { width: clamp(56px, 8vw, 88px); height: clamp(56px, 8vw, 88px); border-radius: 22%; margin-bottom: 6px;
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .16); }
.video-fondo b { font-family: var(--titulos); font-size: clamp(28px, 4.4vw, 48px); font-weight: 700; letter-spacing: -0.03em; }
.video-fondo small { font-size: clamp(14px, 1.6vw, 18px); color: rgba(255, 255, 255, .75); }
.video-portada img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--facil), filter .5s; }
.video-portada.sin-poster img { display: none; }
.video-portada:hover img { transform: scale(1.025); filter: brightness(.92); }
.video-portada:focus-visible { outline: 3px solid var(--primario); 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: #0D1726; 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: #fff;
  background: linear-gradient(135deg, #4C8FE6, #1F5AA6); }
.circulo::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(76, 143, 230, .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; }
.video-aviso { position: absolute; inset: auto 0 0 0; padding: 14px 18px; text-align: center; color: #fff; font-size: 14.5px; background: rgba(6, 11, 20, .78); }

/* ── 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-weight: 700; font-size: clamp(38px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.cifra span { display: block; margin-top: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .76); }

/* ── implantación ─────────────────────────────────────────────────────────────────────────────────────────────────────── */
.migra { display: grid; grid-template-columns: minmax(0, .9fr) 170px minmax(0, 1.2fr); align-items: center; gap: 10px; max-width: 1060px; 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) 28%, var(--borde)); stroke-width: 2; stroke-dasharray: 5 6; }
.migra-flujo circle { fill: var(--primario); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--primario) 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-cab b { display: block; font-family: var(--titulos); font-weight: 600; font-size: 16px; }
.informe-cab small { display: block; font-size: 12.5px; color: var(--suave); }
.informe-filas { display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; padding: 8px 0 14px; }
.informe-filas li { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--borde); font-size: 14px; }
.informe-filas b { margin-left: auto; font-family: var(--mono); font-weight: 600; font-variant-numeric: tabular-nums; }
.informe-filas .ic { width: 17px; height: 17px; 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(--aviso);
  background: color-mix(in srgb, var(--aviso) 11%, transparent); }
.informe-aviso .ic { width: 18px; height: 18px; }
.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(--cian)); 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: 16px; margin-bottom: 6px; }
.fases p { font-size: 14px; color: var(--suave); line-height: 1.5; }

/* ── documentos ───────────────────────────────────────────────────────────────────────────────────────────────────────── */
.docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.doc { display: flex; flex-direction: column; padding: 24px 22px 20px; border-radius: 18px; border: 1px solid var(--borde); background: var(--superficie);
  color: var(--texto); text-decoration: none; box-shadow: var(--sombra-s); transition: transform .35s var(--facil), box-shadow .35s, border-color .3s; }
.doc:hover { transform: translateY(-5px); box-shadow: var(--sombra); border-color: color-mix(in srgb, var(--primario) 45%, var(--borde)); }
.doc .tile { margin-bottom: 18px; }
.doc h3 { font-size: 16.5px; margin-bottom: 8px; }
.doc p { flex: 1; font-size: 14px; color: var(--suave); line-height: 1.5; }
.doc-pie { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--primario); font-weight: 600; font-size: 14px; }
.doc-pie .ic { width: 17px; height: 17px; transition: transform .25s var(--facil); }
.doc:hover .doc-pie .ic { transform: translate(2px, -2px); }

/* ── preguntas frecuentes ─────────────────────────────────────────────────────────────────────────────────────────────── */
.faq-lista { max-width: 880px; margin: 0 auto; display: grid; gap: 12px; }
.pregunta { border: 1px solid var(--borde); border-radius: 16px; background: var(--superficie); box-shadow: var(--sombra-s); transition: border-color .3s; }
.pregunta[open] { border-color: color-mix(in srgb, var(--primario) 45%, var(--borde)); }
.pregunta summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-family: var(--titulos); font-weight: 600; font-size: 16.5px; line-height: 1.35; letter-spacing: -0.01em; }
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta summary::after { content: ''; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--primario); border-bottom: 2px solid var(--primario);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s var(--facil); }
.pregunta[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.pregunta summary:focus-visible { outline: 2px solid var(--primario); outline-offset: 2px; border-radius: 16px; }
.respuesta { padding: 0 24px 22px; 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(25px, 3vw, 34px); }
.demo-texto p { margin-top: 12px; max-width: 660px; color: rgba(255, 255, 255, .8); font-size: 16px; }

/* ── contacto ─────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.contacto .canales { display: grid; grid-template-columns: minmax(0, 520px); justify-content: center; gap: 16px; max-width: 900px; margin: 0 auto; }
.canal { display: flex; align-items: center; gap: 18px; padding: 24px 26px; border-radius: 20px; 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; }
.canal:hover { border-color: var(--primario); transform: translateY(-3px); box-shadow: var(--sombra); }
.canal .tile { width: 52px; height: 52px; border-radius: 15px; }
.canal .tile .ic { width: 26px; height: 26px; }
.canal small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--suave); }
.canal b { display: block; margin-top: 2px; font-size: clamp(18px, 2vw, 22px); font-weight: 600; letter-spacing: -0.01em; }
.canal-accion { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--primario); font-weight: 600; font-size: 14.5px; }
.canal-accion .ic { width: 18px; height: 18px; transition: transform .25s var(--facil); }
.canal:hover .canal-accion .ic { transform: translateX(3px); }
.contacto .empresa { margin-top: 26px; text-align: center; color: var(--suave); font-size: 14.5px; }
.contacto .empresa b { color: var(--texto); }

/* ── pie ──────────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.pie { margin-top: clamp(40px, 6vw, 72px); background: #0D1726; color: rgba(230, 236, 243, .74); font-size: 15px; }
.pie-fila { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 44px; }
.pie .logo { color: #fff; }
.pie-marca p { margin-top: 16px; max-width: 360px; line-height: 1.6; }
.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; }
.pie-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 22px 0 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: rgba(230, 236, 243, .6); }
.pie-aviso { padding: 0 0 34px; font-size: 13px; line-height: 1.55; color: rgba(230, 236, 243, .5); }
.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(4, 9, 17, .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, .85); }
.visor-cerrar { position: fixed; top: 16px; right: 16px; color: #fff; background: rgba(255, 255, 255, .12); 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; }
  .cab-fila { gap: 18px; }
}
@media (max-width: 1100px) {
  .docs { grid-template-columns: 1fr 1fr; }
  .f1 { left: -2%; }
  .f2 { right: -2%; }
  .atrib-personas { grid-template-columns: 1fr 1fr; }
  .pa.libre { grid-column: 1 / -1; order: 3; }
}
@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); max-height: calc(100vh - var(--cab-alto)); overflow-y: auto; }
  .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); }
}
@media (max-width: 980px) {
  .hilo { grid-template-columns: 1fr; gap: 22px; 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 h4 { align-self: end; margin: 0; }
  .hilo p { align-self: start; }
  .panel-r { grid-template-columns: 1fr; }
  .claude-rejilla { grid-template-columns: 1fr; }
  .chat { justify-self: stretch; max-width: none; }
  .dolores { grid-template-columns: 1fr 1fr; }
  .pruebas { grid-template-columns: 1fr 1fr; }
  .pruebas .prueba:last-child { grid-column: 1 / -1; max-width: 560px; justify-self: center; }
  .portales-rejilla { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .grupos-int { grid-template-columns: 1fr 1fr; }
  .migra { grid-template-columns: 1fr; max-width: 560px; }
  .migra-flujo { width: 120px; margin: 0 auto; transform: rotate(90deg); }
  .fases { grid-template-columns: 1fr 1fr; }
  .fases::before { display: none; }
  .tarjetas-cumpl { grid-template-columns: 1fr 1fr; }
  .dispositivos { grid-template-columns: 1fr 1fr; }
  .cifras-fila { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .demo-caja { flex-direction: column; align-items: flex-start; }
  .hecho:not(.clave) .etq { display: none; }
}
@media (max-width: 760px) {
  .contenedor { width: calc(100% - 32px); }
  .pestanas { border-radius: 16px; scroll-snap-type: x proximity; }
  .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: .35; top: 40px; right: -130px; }
  .plano .rotulo { display: none; }
  .dolores, .pruebas, .atrib-personas { grid-template-columns: 1fr; }
  .pruebas .prueba:last-child { max-width: none; }
  .pa.libre { order: 0; }
  .atrib { padding: 18px 16px 16px; border-radius: 18px; }
  .atrib-leyenda { margin-left: 0; width: 100%; }
  .hechos { height: 64px; }
  .hecho .pin { width: 10px; height: 10px; margin-bottom: 14px; }
  .hecho.arriba .pin { margin-bottom: 30px; }
  .hecho.arriba::after { height: 32px; }
  .hecho[data-t="multa"] .pin { width: 12px; height: 12px; }
  .hecho .etq { display: none; }
  .tramo { padding: 8px 10px; }
  .tramo b { font-size: 11px; letter-spacing: 0; }
  .hora-tramo { display: none; }
  .tramo > span { font-size: 13px; }
  .horas li:nth-child(even) { visibility: hidden; }
  .pa-cifras { grid-template-columns: repeat(2, auto); justify-content: start; column-gap: 32px; }
  .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, .informe-filas, .grupos-int { grid-template-columns: 1fr; }
  .portal { padding: 20px 18px 24px; border-radius: 22px; }
  .docs { grid-template-columns: 1fr 1fr; }
  .cifras-fila { grid-template-columns: repeat(2, 1fr); }
  .cifra:last-child { grid-column: 1 / -1; }
  .contacto .canales { grid-template-columns: 1fr; }
  .canal { padding: 20px; gap: 14px; }
  .canal-accion span { display: none; }
  .pie-fila { grid-template-columns: 1fr 1fr; }
  .pie-marca { grid-column: 1 / -1; }
  .miniaturas { gap: 8px; }
  .chat-cuerpo { min-height: 0; }
  .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; }
  .leyenda-int { flex-direction: column; align-items: center; margin-top: -8px; }
  .nota-int { font-size: 14px; }
}
@media (max-width: 480px) {
  .cab-acciones > .boton { display: none; }
}
@media (max-width: 420px) {
  .docs { grid-template-columns: 1fr; }
  .logo-texto { font-size: 19px; }
  .pregunta summary { padding: 16px 18px; font-size: 15.5px; }
  .respuesta { padding: 0 18px 18px; }
}

@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, .js .chat [data-paso], .js .chat .herramientas .herr, .js .hecho .pin { opacity: 1 !important; transform: none !important; translate: none !important; }
  .js .hecho[data-t="multa"] .pin { transform: rotate(45deg) !important; }
  .cinta-pista { animation: none !important; }
  .plano .coche { display: none; }
}
@media print {
  .cab, .video, .demo, .visor { display: none !important; }
  .js .rev { opacity: 1; transform: none; }
}
