:root { --primary: #1e3a8a; }
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; color: #1f2937; background: #f8fafc; line-height: 1.65; }
header.legal-header { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
header.legal-header .wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
header.legal-header a.brand { display: flex; align-items: center; text-decoration: none; color: var(--primary); font-weight: 800; font-size: 1.1rem; letter-spacing: .02em; }
header.legal-header img { height: 44px; width: auto; margin-right: 12px; }
header.legal-header a.back { color: var(--primary); text-decoration: none; font-size: .95rem; }
.wrap { max-width: 900px; margin: 0 auto; }
main { background: #fff; margin: 32px auto; padding: 32px 36px; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
h1 { color: var(--primary); font-size: 2rem; margin-top: 0; }
h2 { color: var(--primary); font-size: 1.3rem; margin-top: 2rem; }
a { color: var(--primary); }
table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: .95rem; }
th, td { border: 1px solid #e5e7eb; padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: #f3f4f6; }
.draft-note { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; padding: 12px 16px; border-radius: 8px; font-size: .95rem; }
.pending { background: #fef3c7; padding: 0 4px; border-radius: 3px; font-weight: 600; }
footer.legal-footer { background: var(--primary); color: #dbeafe; padding: 24px 20px; font-size: .9rem; }
footer.legal-footer a, footer.legal-footer button { color: #dbeafe; margin-right: 18px; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }
@media (max-width: 640px) { main { margin: 16px 10px; padding: 22px 18px; } h1 { font-size: 1.6rem; } }
/* Botón flotante de WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 56px; height: 56px; border-radius: 50%; background: #0E7A4D; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float:focus-visible { outline: 3px solid #1e3a8a; outline-offset: 3px; }
