/* Cabecera fija, navegaciÃ³n y privacidad compartidas. */
header { position: fixed; top: 0; left: 0; width: 100%; z-index: 990; }
.menu-toggle { display: none; }
#nav-wrap a:focus-visible, .menu-toggle:focus-visible, .footer-legal a:focus-visible, .footer-legal button:focus-visible { outline: 2px solid #15c6cc; outline-offset: 3px; }
.footer-legal { clear: both; display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 12px 24px; border-top: 1px solid #3c4753; padding: 22px 0; }
footer .footer-legal a, footer .footer-legal a:visited { color: #c0ccd4; }
footer .footer-legal a:hover { color: #fff; }
.footer-legal #medicion-preferencias { background: transparent; color: #c0ccd4; border: 1px solid #6f858f; margin: 0; }
.medicion-aviso { z-index: 1100; width: min(700px, calc(100% - 32px)); padding: 22px; }
.medicion-aviso h2 { color: #1c333d; font: 700 20px/28px Arial,sans-serif; margin: 0 0 10px; text-transform: none; letter-spacing: 0; }
.medicion-aviso button { flex: 1; min-width: 130px; background: #087e88; color: #fff; }
.legal-document { padding: 110px 30px 55px; max-width: 1100px; margin: auto; color: #405363; }
.legal-document h1 { font-size: 32px; line-height: 1.3; }
.legal-document h2 { font-size: 21px; line-height: 1.4; margin: 32px 0 12px; color: #263b46; }
.legal-document h3 { font-size: 18px; margin-top: 20px; }
.legal-document ul { list-style: disc; margin-left: 25px; }
.legal-document a { color: #087782; text-decoration: underline; }
.legal-document table { border-collapse: collapse; width: 100%; font-size: 14px; }
.legal-document th, .legal-document td { padding: 10px; border: 1px solid #cbd4d9; text-align: left; overflow-wrap: anywhere; }
.legal-document .table-wrap { overflow-x: auto; }
.legal-document #medicion-preferencias { margin: 0 0 20px; }
.legal-footer { padding: 25px 30px; }
.legal-footer .footer-legal { max-width: 1040px; margin: auto; border: 0; }
@media (max-width: 1279px) {
 header .header-social { display: none; }
 header .logo { margin-left: 24px; }
 #nav-wrap { position: absolute; top: 0; right: 0; float: none; width: 100%; background: transparent; }
 #nav-wrap .menu-toggle { display: flex; align-items: center; gap: 10px; justify-content: center; position: absolute; right: 16px; top: 5px; height: 44px; margin: 0; padding: 0 12px; background: transparent; color: #fff; font: 14px/1 Arial,sans-serif; letter-spacing: 0; text-transform: none; border: 1px solid #53616a; border-radius: 4px; }
 .menu-toggle span:first-child { font-size: 24px; }
 #nav-wrap ul#nav { display: none !important; position: absolute; top: 54px; right: 0; width: min(380px,100vw); box-sizing: border-box; margin: 0; padding: 14px 24px; background: #1d2025; box-shadow: 0 10px 16px #0004; max-height: calc(100dvh - 54px); overflow-y: auto; }
 #nav-wrap.menu-open ul#nav, .no-js #nav-wrap ul#nav { display: block !important; }
 #nav-wrap ul#nav li { display: block; height: auto; border-bottom: 1px solid #38434b; }
 #nav-wrap ul#nav li:last-child { border: 0; }
 #nav-wrap ul#nav li a { display: block; margin: 0; padding: 14px 0; line-height: 20px; font-size: 12px; }
 .footer-legal { justify-content: center; }
}
@media (max-width: 600px) {
 .medicion-aviso { bottom: 8px; left: 8px; width: calc(100% - 16px); padding: 16px; max-height: calc(100dvh - 16px); overflow-y: auto; }
 .medicion-aviso h2 { font-size: 18px; }
 .legal-document { padding: 90px 20px 40px; }
 .legal-document h1 { font-size: 27px; }
}

/* Legibilidad del pie sobre el fondo oscuro existente. */
footer { color: #b4c2ce; }
footer ul li a, footer ul li a:visited, footer .copyright { color: #b4c2ce; }
