:root{color-scheme:light dark}
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Ubuntu,sans-serif;line-height:1.6;color:#0f172a;background:#f0f9ff}
a{color:inherit;text-decoration:none}
.container{max-width:1120px;margin:auto;padding:0 1rem}
header{position:sticky;top:0;background:#fff;border-bottom:1px solid #e2e8f0;z-index:10}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:.75rem 0}
.logo{height:85px}
.brand{font-weight:700}
.hero{display:grid;grid-template-columns:1.1fr .9fr;gap:2rem;align-items:center;padding:3rem 0}
.hero h1{font-size:clamp(2rem,3vw+1rem,3.25rem);line-height:1.1;margin:0 0 .5rem}
.hero p{font-size:1.125rem;color:#334155;margin:0 0 1.5rem}
.asesor{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:24px;box-shadow:0 20px 40px rgba(0,0,0,.12);min-height:420px}
.cta-row{display:flex;gap:.75rem;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.9rem 1.25rem;border-radius:14px;font-weight:600;min-height:48px}
.btn-primary{background:#0ea5e9;color:#fff}
.btn-whatsapp{background:#25D366;color:#fff}
.btn-ghost{border:1px solid #bae6fd;background:#fff}
.card{background:#fff;border:1px solid #bae6fd;border-radius:20px;padding:1.25rem;box-shadow:0 4px 12px rgba(0,0,0,.04)}
.form-grid{display:grid;gap:1rem}
.field{display:grid;gap:.35rem}
.field[hidden]{display:none}
label{font-weight:600}
input,select{font:inherit;font-size:max(1rem,1em);padding:.85rem;border:1px solid #cbd5e1;border-radius:12px;min-height:48px;background:#fff}
.form-grid select{min-width:0;max-width:100%;width:100%}
input:focus-visible,select:focus-visible{outline:3px solid #0ea5e9;outline-offset:2px}
.required::after{content:" *";color:#dc2626}
.hint{font-size:.85rem;color:#475569}
.checkbox{display:flex;gap:.5rem;align-items:start}
.honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
#form-status{margin:0 0 1rem;padding:.85rem 1rem;border-radius:12px;font-weight:600}
#form-status.form-success{background:#dcfce7;color:#166534}
#form-status.form-error{background:#fee2e2;color:#991b1b}
.benefits{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin:3rem 0}
.badge{background:#e0f2fe;color:#0369a1;padding:.35rem .6rem;border-radius:999px;font-size:.8rem;font-weight:600}
footer{background:#0c4a6e; color:#e0f2fe;margin-top:3rem;padding:3rem 0;position:relative}
footer::before{content:"";position:absolute;inset:0;background:rgba(12,74,110,.85)}
footer .container{position:relative;z-index:1}
footer a{color:#e0f2fe}
.social{display:flex;gap:1rem;font-size:1.5rem;margin-top:.5rem}
.social a{display:inline-flex;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.1);align-items:center;justify-content:center}
.qr{display:flex;gap:1rem;align-items:center}
.qr img{width:112px;height:112px;border-radius:16px;border:1px solid #e2e8f0}
.fab-whatsapp{position:fixed;right:1rem;bottom:1rem;z-index:100;width:56px;height:56px;border-radius:50%;background:#25D366;color:#fff;display:grid;place-items:center;box-shadow:0 8px 20px rgba(0,0,0,.2);font-size:28px;line-height:1;animation:pulse 2s infinite}
.fab-whatsapp svg{display:block;width:28px;height:28px}
.fab-whatsapp:hover{transform:scale(1.05)}
@keyframes pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}
.modal-overlay{position:fixed;inset:0;background:rgba(15,23,42,.55);display:flex;align-items:center;justify-content:center;padding:1rem;z-index:200}
.modal-overlay[hidden]{display:none}
.modal{background:#fff;color:#0f172a;border-radius:20px;max-width:480px;width:100%;padding:1.5rem;box-shadow:0 20px 40px rgba(0,0,0,.2);border:1px solid #bae6fd}
.modal h3{margin:0 0 .5rem;font-size:1.4rem;line-height:1.2}
.modal p{margin:0 0 1.25rem;color:#334155}
.modal-actions{display:flex;justify-content:flex-end}
#submit-btn{transition:background .2s ease,box-shadow .2s ease,transform .2s ease,opacity .2s ease}
#submit-btn:disabled{background:#94a3b8;color:#e2e8f0;cursor:not-allowed;box-shadow:none;opacity:.9}
#submit-btn:not(:disabled){background:#16a34a;color:#fff;box-shadow:0 10px 22px rgba(22,163,74,.35)}
#submit-btn:not(:disabled):hover{background:#15803d;transform:translateY(-1px)}
#submit-btn:not(:disabled):focus-visible{outline:3px solid #86efac;outline-offset:2px}
@media (max-width:900px){.hero{grid-template-columns:1fr}.asesor{aspect-ratio:auto;max-height:70vh;width:100%;height:auto;object-fit:contain;background:#f0f9ff;border-radius:24px}.fab-whatsapp{right:.75rem;bottom:.75rem;width:52px;height:52px}
header .btn-primary{display:none}
.header-inner{justify-content:center}
.cta-row{justify-content:center}
footer .container > div{flex-direction:column;align-items:center;text-align:center}
}
