  /* ============ AUTORIZACIÓN DE DATOS (WhatsApp / correo) ============ */
  /* Archivo aparte porque lo usan todas las páginas, incluida noticias.html,
     que no carga styles.css */
  .consent-overlay{
    position:fixed;inset:0;
    z-index:2000;
    display:flex;align-items:center;justify-content:center;
    padding:1.5rem;
    background:rgba(15,23,42,0.6);
    backdrop-filter:blur(3px);
    animation:consentFade 0.2s ease;
  }
  .consent-overlay[hidden]{display:none}
  @keyframes consentFade{from{opacity:0}to{opacity:1}}

  .consent-card{
    position:relative;
    width:100%;max-width:520px;
    max-height:calc(100vh - 3rem);
    overflow-y:auto;
    background:#ffffff;
    border-radius:18px;
    padding:2rem;
    box-shadow:0 30px 70px rgba(15,23,42,0.3);
    font-family:inherit;
    color:#0f172a;
    text-align:left;
  }
  .consent-close{
    position:absolute;top:0.9rem;right:0.9rem;
    width:34px;height:34px;
    border:none;border-radius:50%;
    background:#f5f6f8;
    display:flex;align-items:center;justify-content:center;
    cursor:pointer;
  }
  .consent-close:hover{background:#e8edf8}
  .consent-close svg{width:16px;height:16px;stroke:#374151;stroke-width:2.4;stroke-linecap:round;fill:none}
  .consent-icon{
    width:46px;height:46px;
    border-radius:12px;
    background:#e8edf8;
    display:flex;align-items:center;justify-content:center;
    margin-bottom:1rem;
  }
  .consent-icon svg{width:24px;height:24px;fill:none;stroke:#1e3a8a;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .consent-card h3{
    font-family:inherit;
    font-size:1.3rem;
    font-weight:700;
    color:#162a63;
    margin:0 0 0.7rem;
    letter-spacing:-0.01em;
  }
  .consent-card p{font-size:0.88rem;line-height:1.65;color:#374151;margin:0 0 1rem}
  .consent-card strong{color:#0f172a}
  .consent-card a{color:#1e3a8a;font-weight:600}
  .consent-check{
    display:flex;align-items:flex-start;gap:0.7rem;
    padding:1rem;
    margin-bottom:1rem;
    background:#fbfaf7;
    border:1.5px solid #cbd5e1;
    border-radius:12px;
    font-size:0.84rem;
    line-height:1.55;
    color:#0f172a;
    cursor:pointer;
  }
  .consent-check:has(input:checked){border-color:#1e3a8a;background:#e8edf8}
  .consent-check input{
    width:18px;height:18px;
    flex-shrink:0;
    margin:0.15rem 0 0;
    accent-color:#1e3a8a;
    cursor:pointer;
  }
  .consent-card .consent-rights{font-size:0.78rem;color:#64748b;margin-bottom:1.4rem}
  .consent-actions{display:flex;justify-content:flex-end;gap:0.7rem;flex-wrap:wrap}
  .consent-actions button{
    font-family:inherit;
    font-size:0.88rem;
    font-weight:600;
    padding:0.75rem 1.3rem;
    border-radius:10px;
    cursor:pointer;
    transition:background 0.2s, opacity 0.2s;
  }
  .consent-cancel{background:#ffffff;color:#374151;border:1.5px solid #cbd5e1}
  .consent-cancel:hover{background:#f5f6f8}
  .consent-accept{background:#1e3a8a;color:#ffffff;border:1.5px solid #1e3a8a}
  .consent-accept:hover:not(:disabled){background:#162a63}
  .consent-accept:disabled{opacity:0.45;cursor:not-allowed}
  .consent-actions button:focus-visible,
  .consent-close:focus-visible{outline:3px solid rgba(30,58,138,0.35);outline-offset:2px}

  @media (max-width:640px){
    .consent-overlay{padding:1rem;align-items:flex-end}
    .consent-card{padding:1.5rem 1.25rem;max-height:calc(100vh - 2rem)}
    .consent-actions button{flex:1}
  }
  @media (prefers-reduced-motion: reduce){
    .consent-overlay{animation:none}
  }
