/* Componentes de privacidad; compartidos por todas las páginas */
[hidden] {display:none !important}
.cookie-banner, .cookie-panel, .cookie-banner button, .cookie-panel button, .cookie-preferences-link {font-family:Ubuntu,system-ui,-apple-system,sans-serif}
.cookie-banner {position:fixed;inset:auto 16px 16px;z-index:9999;max-width:780px;margin:auto;background:#fff;box-shadow:0 18px 65px rgba(9,12,38,.3);border:1px solid #dfe2f4;border-radius:18px;padding:22px;color:#18203c;font-size:16px;line-height:1.55}
.cookie-banner h2 {margin:0 0 8px;font-size:1.18rem;color:#141936;line-height:1.3}
.cookie-banner p {margin:0 0 14px;color:#3d4662;font-size:1rem;line-height:1.55}
.cookie-banner a, .cookie-panel a, .legal-content a {color:#4e39b9;text-decoration:underline;text-underline-offset:2px}
.cookie-actions {display:flex;gap:9px;flex-wrap:wrap}
.cookie-btn {appearance:none;background:#fff;border:1px solid #a5a6be;color:#1b2446;padding:12px 16px;border-radius:10px;font-size:.97rem;font-weight:700;cursor:pointer;min-height:44px}
.cookie-btn:hover {background:#f2f0fb}
.cookie-btn-primary {background:#6545d8;color:white;border-color:#6545d8}
.cookie-btn-primary:hover {background:#5034bc}
.cookie-backdrop {position:fixed;inset:0;z-index:10000;background:rgba(9,12,34,.67);padding:18px;display:flex;align-items:center;justify-content:center;overflow:auto}
.cookie-panel {background:white;color:#18203c;width:min(640px,100%);padding:27px;border-radius:19px;box-shadow:0 20px 70px rgba(0,0,0,.24);max-height:95vh;overflow-y:auto}
.cookie-panel h2 {font-size:1.5rem;color:#171d3d;line-height:1.3;margin:0 0 11px}
.cookie-panel p {font-size:1rem;color:#45516b;line-height:1.6;margin:0 0 16px}
.cookie-choice {display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #e1e5ef;padding:18px 0}
.cookie-choice strong {font-size:1rem;color:#18203c}
.cookie-choice small {display:block;font-size:.87rem;line-height:1.45;color:#4b5770;margin-top:5px}
.cookie-choice input {width:23px;height:23px;min-width:23px;accent-color:#6442db}
.cookie-fixed {font-size:.8rem;color:#216b51;background:#e6f4eb;border-radius:30px;padding:7px 9px;font-weight:700;white-space:nowrap}
.cookie-dialog-open {overflow:hidden}
.cookie-preferences-link {background:none;border:0;color:inherit;text-decoration:underline;cursor:pointer;padding:0;font-size:inherit}
.legal-content {font-size:1.06rem;line-height:1.79;color:#343e58}
.legal-content h2 {font-size:1.65rem;line-height:1.28;color:#161c39;margin:40px 0 12px}
.legal-content h3 {font-size:1.18rem;line-height:1.35;color:#161c39;margin:22px 0 10px}
.legal-content p,.legal-content ul,.legal-content ol {margin:0 0 17px}
.legal-content li {margin-bottom:8px}
.legal-content table {width:100%;border-collapse:collapse;margin:16px 0 28px}
.legal-content th,.legal-content td {text-align:left;vertical-align:top;border:1px solid #dfe2ef;padding:12px;font-size:.94rem}
.legal-content th {background:#f0effa;color:#151a35}
.legal-content .note {background:#f4f3ff;border-left:4px solid #6442dc;padding:16px 19px;border-radius:6px;margin:18px 0}
.whatsapp-float {position:fixed;bottom:20px;right:20px;z-index:1000;display:flex;align-items:center;gap:9px;padding:12px 17px;background:#167e51;color:#fff;border-radius:999px;box-shadow:0 8px 25px rgba(0,0,0,.22);font-weight:700;font-size:.95rem;text-decoration:none}
.whatsapp-float:hover {background:#10623e}
.whatsapp-float svg {height:21px;width:21px;fill:currentColor}
@media(max-width:640px){.cookie-banner{inset:auto 8px 8px;padding:17px}.cookie-actions{flex-direction:column}.cookie-btn{width:100%}.cookie-panel{padding:20px}.whatsapp-float{right:12px;bottom:12px;padding:12px;border-radius:50%;font-size:0}.legal-content table{display:block;overflow-x:auto}}

body:has(#cookie-banner:not([hidden])) .whatsapp-float,body.cookie-dialog-open .whatsapp-float {display:none}
