/* ═══════════════════════════════════════════════════════════════
   PELL SENCILLA ACCESSIBLE (ui-simple) — USK Lleida
   Carrega només quan el middleware decideix la pell senzilla.
   Tot en rem: pujar la font arrel escala tot el lloc.
   ═══════════════════════════════════════════════════════════════ */

/* Lletra més gran a tot arreu */
html.ui-simple {
    font-size: 18px;
    -webkit-text-size-adjust: 100%;
}
@media (min-width: 480px) {
    html.ui-simple { font-size: 19px; }
}

/* Text més airejat i paraules més fàcils de llegir */
html.ui-simple body {
    line-height: 1.65;
    letter-spacing: 0.01em;
}

/* ── Parrilla de botons grans ─────────────────────────────────── */
.quick-nav .qnav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 7.5rem;
    padding: 1.25rem 0.75rem;
    background: var(--b1, #fff);
    border: 2px solid rgba(79, 70, 229, 0.25);
    border-radius: 1.25rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: transform 0.08s ease, box-shadow 0.08s ease, border-color 0.08s ease;
    -webkit-tap-highlight-color: transparent;
}
.quick-nav .qnav-btn:active {
    transform: scale(0.96);
    border-color: rgba(79, 70, 229, 0.8);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.quick-nav .qnav-icon {
    font-size: 2.9rem;
    line-height: 1;
}
.quick-nav .qnav-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--bc, #1f2937);
    text-align: center;
    line-height: 1.2;
}

/* ── Objectius tàctils generosos i foc ben visible ───────────── */
html.ui-simple .btn {
    min-height: 3.25rem;
}
html.ui-simple a:not(.qnav-btn):focus-visible,
html.ui-simple button:focus-visible,
html.ui-simple input:focus-visible,
html.ui-simple .qnav-btn:focus-visible {
    outline: 4px solid #4f46e5;
    outline-offset: 2px;
    border-radius: 0.75rem;
}

/* ── Menys soroll visual: animacions subtils del hero fora ───── */
html.ui-simple .hero-animate,
html.ui-simple .hero-zoom-bg {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}
