/* Páginas legales: cabecera, texto y pie, sin columnas de navegación. */
.simple-page.legal-page { height: auto; min-height: 100svh; display: flex; flex-direction: column; }
.legal-page .simple-header { position: fixed; inset: 0 0 auto; z-index: 20; margin: 0; padding: 10svh 6.3vw 24px; background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.legal-page .simple-layout { display: block; flex: 1 0 auto; margin: calc(10svh + clamp(30px, 2.35vw, 48px) + 56px) 9.9vw 0; padding-bottom: 88px; }
.legal-page .legal-document { max-width: 80ch; min-width: 0; padding: 0 0 40px; overflow-wrap: anywhere; }
/* Fuente, tamaño, peso e interlineado proceden de .simple-copy, igual que en index. */
.legal-page .legal-document h1, .legal-page .legal-document h2, .legal-page .legal-document h3 { font: inherit; }
.legal-page .legal-document h1 { margin-bottom: 2em; text-transform: uppercase; font-weight: 700; }
.legal-page .legal-document h2 { margin-top: 2em; margin-bottom: 1em; }
.legal-page .legal-document h3 { margin-top: 1.5em; margin-bottom: 1em; }
.legal-page .legal-document p + p { margin-top: 0; }
.legal-page .legal-document .last-update { margin-top: 2em; font: inherit; }
.simple-page.legal-page .home-page-footer { position: fixed; inset: auto 0 0; z-index: 20; width: auto; margin: 0; padding: 16px 9.9vw; background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (max-width: 760px), (max-width: 1000px) and (max-height: 500px) and (orientation: landscape) and (pointer: coarse) {
    .simple-page.legal-page { min-height: 100svh; min-height: 100dvh; }
    .legal-page .simple-header { padding: max(24px, env(safe-area-inset-top)) 8vw 20px; }
    .legal-page .simple-layout { display: block; margin: calc(max(24px, env(safe-area-inset-top)) + 88px) 8vw 0; padding-bottom: calc(180px + env(safe-area-inset-bottom)); }
    .simple-page.legal-page .home-page-footer { padding: 12px 8vw max(12px, env(safe-area-inset-bottom)); }
    .legal-page .legal-document { margin: 0; padding: 0 0 32px; }
}
