/* Accesibilidad: foco visible, enlace de salto, barra de opciones y modos (letra grande, alto contraste, legible, sin animaciones). */
:focus-visible{outline:3px solid #f5c15d;outline-offset:2px;border-radius:4px}
.a11y-saltar{position:fixed;left:8px;top:-70px;z-index:10000;background:#fff;color:#0a1226;padding:10px 16px;border-radius:10px;font:700 14px system-ui,sans-serif;text-decoration:none;box-shadow:0 8px 24px rgba(0,0,0,.3)}
.a11y-saltar:focus{top:8px}
.a11y-btn{position:fixed;left:14px;bottom:14px;z-index:9000;width:48px;height:48px;border-radius:50%;border:2px solid #fff;background:#1b3a8c;color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 10px 24px -8px rgba(6,12,30,.6)}
.a11y-btn:hover{background:#3b6fd8}
.a11y-panel{position:fixed;left:14px;bottom:72px;z-index:9001;width:min(330px,calc(100vw - 28px));max-height:calc(100vh - 100px);overflow:auto;background:#fff;color:#0a1226;border:1px solid #cbd6ea;border-radius:18px;padding:14px 16px;box-shadow:0 18px 44px -12px rgba(6,12,30,.45);font:14px/1.4 Inter,system-ui,-apple-system,"Segoe UI",sans-serif;display:grid;gap:10px}
.a11y-panel[hidden]{display:none}
.a11y-cab{display:flex;justify-content:space-between;align-items:center;font-size:16px}
.a11y-fila{display:grid;gap:6px}.a11y-tit{font-size:12px;font-weight:600;color:#4a5675;text-transform:uppercase;letter-spacing:.04em}
.a11y-ctl{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.a11y-nivel{min-width:92px;text-align:center;font-weight:600}
.a11y-op{font:inherit;font-weight:600;padding:9px 12px;border-radius:10px;border:1px solid #cbd6ea;background:#f3f6fc;color:#1b3a8c;cursor:pointer;min-height:40px;text-align:left}
.a11y-op:hover{border-color:#3b6fd8}.a11y-op:disabled{opacity:.5;cursor:default}
.a11y-alt[aria-pressed=true]{background:#1b3a8c;color:#fff;border-color:#1b3a8c}
.a11y-alt[aria-pressed=true]::after{content:"  ✓"}
.a11y-nota{font-size:12px;color:#4a5675;margin:0}
@media(prefers-color-scheme:dark){.a11y-panel{background:#111f40;color:#e4f3fd;border-color:#2f4a80}.a11y-op{background:#16284f;color:#e4f3fd;border-color:#2f4a80}.a11y-alt[aria-pressed=true]{background:#3f8cff;color:#0a1226;border-color:#3f8cff}.a11y-tit,.a11y-nota{color:#a3b1cf}}

/* Tamaño de letra: se amplia la pagina completa */
html.a11y-fs-1 body{zoom:1.1}
html.a11y-fs-2 body{zoom:1.25}
html.a11y-fs-3 body{zoom:1.4}

/* Tipografia y espacios legibles (ayuda en dislexia y baja vision) */
html.a11y-legible body,html.a11y-legible body *{font-family:Verdana,Tahoma,"Trebuchet MS",Arial,sans-serif!important;letter-spacing:.03em!important;word-spacing:.1em!important;line-height:1.7!important;font-style:normal!important}
html.a11y-legible p,html.a11y-legible li{max-width:70ch}

/* Enlaces siempre subrayados */
html.a11y-enlaces a{text-decoration:underline!important;text-underline-offset:3px}

/* Sin animaciones ni videos en movimiento */
html.a11y-quieto *,html.a11y-quieto *::before,html.a11y-quieto *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.a11y-quieto video{display:none!important}
html.a11y-quieto .hero-fotos img:not(:first-child){display:none!important}
html.a11y-quieto .hero-fotos img:first-child{opacity:1!important}
html.a11y-quieto .franja-cinta{transform:none!important;flex-wrap:wrap;width:auto!important;justify-content:center}
html.a11y-quieto .rv{opacity:1!important;transform:none!important}

/* Alto contraste: negro, blanco y amarillo */
html.a11y-contraste,html.a11y-contraste body,html.a11y-contraste body[data-modo]{--bg:#000;--alt:#000;--card:#000;--card2:#000;--soft:#000;--ink:#fff;--muted:#fff;--line:#fff;--line2:#fff;--glass:#000;--brand:#ffd400;--brand2:#ffd400;--accent:#ffd400;--ok:#7dffb0;--bad:#ff8a8a;--warn:#ffd400;color-scheme:dark}
html.a11y-contraste body{background:#000!important;color:#fff!important}
html.a11y-contraste a{color:#ffd400!important}
html.a11y-contraste .card,html.a11y-contraste .tarjeta,html.a11y-contraste .eje,html.a11y-contraste .panel-rol,html.a11y-contraste .formulario,html.a11y-contraste .car-slide,html.a11y-contraste .ventana,html.a11y-contraste .modal,html.a11y-contraste .confianza-fila>div,html.a11y-contraste .ecu-lista li,html.a11y-contraste .mapa-caja,html.a11y-contraste .a11y-panel{background:#000!important;border:2px solid #fff!important;box-shadow:none!important;backdrop-filter:none!important;color:#fff!important}
html.a11y-contraste .btn,html.a11y-contraste .boton,html.a11y-contraste .top nav a.acceso{background:#ffd400!important;color:#000!important;border:2px solid #fff!important;box-shadow:none!important}
html.a11y-contraste .btn.ghost,html.a11y-contraste .boton.claro{background:#000!important;color:#ffd400!important;border:2px solid #ffd400!important}
html.a11y-contraste input,html.a11y-contraste select,html.a11y-contraste textarea{background:#000!important;color:#fff!important;border:2px solid #fff!important}
html.a11y-contraste .top,html.a11y-contraste .pie,html.a11y-contraste .confianza{background:#000!important;border-color:#fff!important}
html.a11y-contraste .hero-fotos::after{background:rgba(0,0,0,.82)!important}
html.a11y-contraste .a11y-op{background:#000!important;color:#fff!important;border:2px solid #fff!important}
html.a11y-contraste .a11y-alt[aria-pressed=true]{background:#ffd400!important;color:#000!important}
html.a11y-contraste .a11y-btn{background:#000!important;border-color:#ffd400!important;color:#ffd400!important}

@media(max-width:860px){.a11y-btn{bottom:96px;width:44px;height:44px}.a11y-panel{bottom:152px}}
