:root {
  --navy: #00405f;
  --navy-2: #0a6f9e;
  --brand: #0888c0;
  --brand-light: #00a8f0;
  --orange: #e8620c;
  --accent: #1fb978;
  --accent-dark: #148a59;
  --wa: #25d366;
  --ink: #1b2430;
  --muted: #5b6676;
  --line: #e3e8ef;
  --bg: #f5f7fb;
  --card: #ffffff;
  --warn: #ffb020;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
.section { padding: 64px 0; }
.section.alt { background: #fff; }
.eyebrow { color: var(--accent-dark); font-weight: 700; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.08em; margin-bottom: 8px; }
.lead-text { color: var(--muted); font-size: 1.05rem; max-width: 680px; }
.center { text-align: center; }
.center .lead-text { margin-left: auto; margin-right: auto; }

/* Header */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); min-width: 0; }
.brand img { height: 40px; width: auto; }
.brand.has-logo { flex-direction: column; align-items: flex-end; gap: 0; }
.brand.has-logo img { height: 54px; }
.brand-div { font-size: 0.78rem; font-weight: 700; color: var(--orange); letter-spacing: .03em; line-height: 1; margin-top: 1px; }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 0.95rem; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-text strong { font-size: 1.02rem; white-space: nowrap; }
.brand-text span { font-size: 0.78rem; color: var(--orange); font-weight: 700; letter-spacing: .02em; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 12px 20px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; transition: transform .08s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1ebe5b; }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn-sm { padding: 9px 14px; font-size: 0.9rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Promo */
.promo { background: linear-gradient(90deg, #ffefc2, #ffe08a); color: #4a3500; }
.promo .wrap { display: flex; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; justify-content: center; text-align: center; flex-wrap: wrap; }
.promo img { height: 44px; width: auto; border-radius: 6px; }
.promo strong { font-weight: 800; }
.promo small { opacity: .8; }

/* Hero */
.hero { background: linear-gradient(90deg, rgba(0,36,58,.55) 0%, rgba(0,36,58,.2) 45%, rgba(0,36,58,0) 100%), url("/img/hero-fondo.svg") left bottom / cover no-repeat, linear-gradient(135deg, #002b45 0%, #00405f 55%, #05587f 100%); color: #fff; padding: 48px 0 64px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: start; }
.hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; margin-top: 12px; }
.hero p.sub { font-size: 1.12rem; color: #d3ecf7; max-width: 560px; }
.pill { display: inline-flex; gap: 8px; align-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 6px 12px; border-radius: 999px; font-size: .88rem; font-weight: 600; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(31,185,120,.25); }
.hero-checks { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.hero-checks li { display: flex; gap: 10px; align-items: flex-start; }
.hero-checks svg { color: var(--accent); flex: none; margin-top: 3px; }
.insurer-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.insurer-chip { background: #fff; color: var(--navy); border-radius: 12px; padding: 8px 12px; font-weight: 800; display: flex; align-items: center; height: 66px; }
.insurer-chip img { max-height: 50px; width: auto; }

/* Form */
.quote-card { background: var(--card); color: var(--ink); border-radius: 18px; padding: 24px; box-shadow: 0 25px 60px rgba(0,0,0,.3); }
.quote-card h2 { font-size: 1.35rem; margin-bottom: 4px; }
.quote-card .hint { color: var(--muted); font-size: .92rem; margin: 0 0 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; min-width: 0; }
.grid2 .field { margin-bottom: 0; }
.grid2 + .field, .grid2 + .grid2 { margin-top: 12px; }
.field label { font-size: .84rem; font-weight: 600; color: #344054; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 12px; border: 1.5px solid #d0d7e2; border-radius: 10px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31,185,120,.18); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); margin: 14px 0; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fdecec; color: #a12020; padding: 10px 12px; border-radius: 10px; font-size: .9rem; margin-bottom: 12px; display: none; }
.form-ok { text-align: center; padding: 18px 4px; }
.form-ok .big { font-size: 2.6rem; }
.quote-card .btn { width: 100%; font-size: 1.05rem; padding: 14px; }
.secure { display: flex; gap: 6px; align-items: center; justify-content: center; color: var(--muted); font-size: .8rem; margin-top: 10px; }

/* Cards */
.cards { display: grid; gap: 18px; margin-top: 30px; }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.section.alt .card { background: var(--bg); border-color: transparent; }
.card h3 { font-size: 1.1rem; }
.card p { color: var(--muted); margin: 0; }
.icon-badge { width: 44px; height: 44px; border-radius: 12px; background: #e3f4fc; color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }

.steps { counter-reset: step; }
.step { position: relative; padding-top: 56px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 18px; left: 22px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; }

.cov { display: flex; flex-direction: column; position: relative; }
.cov.rec { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.cov .tag { font-size: .78rem; font-weight: 700; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .05em; }
.cov .ribbon { position: absolute; top: -12px; right: 16px; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.cov ul { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 8px; flex: 1; }
.cov li { display: flex; gap: 8px; font-size: .95rem; }
.cov li svg { color: var(--accent); flex: none; margin-top: 3px; }

.ins { border-top: 5px solid var(--c, var(--navy)); }
.ins-head { display: flex; align-items: center; justify-content: flex-start; margin-bottom: 14px; min-height: 64px; }
.ins-head img { max-height: 64px; width: auto; }
.ins-name { font-size: 1.5rem; font-weight: 900; color: var(--c, var(--navy)); }
.ins ul { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 6px; }

.testi blockquote { margin: 0 0 12px; font-size: 1rem; color: var(--ink); }
.testi .who { font-weight: 700; font-size: .92rem; }
.testi .who span { color: var(--muted); font-weight: 400; }

.faq { max-width: 820px; margin: 30px auto 0; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--accent-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

.cta-final { background: var(--navy); color: #fff; border-radius: 20px; padding: 40px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-final p { color: #c6e3f1; margin: 0; }
.cta-final .actions { display: flex; gap: 10px; flex-wrap: wrap; }

.adj-banner { background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.adj-banner > div { flex: 1 1 420px; }
.adj-banner p { color: var(--muted); margin: 0; }

footer { background: #002a40; color: #9fc3d6; padding: 40px 0 90px; font-size: .9rem; }
footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
footer h4 { color: #fff; margin: 0 0 10px; font-size: .95rem; }
footer a { color: #cfe0f5; }
footer .legal { grid-column: 1 / -1; border-top: 1px solid #0b4562; padding-top: 16px; font-size: .8rem; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37,211,102,.45); text-decoration: none; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.2s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.wa-tip { position: fixed; right: 88px; bottom: 30px; z-index: 50; background: #fff; color: var(--ink); padding: 8px 12px; border-radius: 10px; box-shadow: var(--shadow); font-size: .85rem; font-weight: 600; }

.mobile-cta { display: none; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .cards.c4 { grid-template-columns: repeat(2, 1fr); }
  .cards.c3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .hero { background-size: auto, 900px auto, auto; background-position: 0 0, 62% 0, 0 0; }
  .insurer-chips { gap: 8px; }
  .insurer-chip { height: 52px; padding: 6px 8px; }
  .insurer-chip img { max-height: 38px; }
  .section { padding: 48px 0; }
  .hero { padding: 28px 0 40px; }
  .cards.c4 { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .quote-card { padding: 18px; }
  footer .wrap { grid-template-columns: 1fr; }
  .wa-tip { display: none; }
  .topbar .btn-wa span { display: none; }
  .topbar .btn-wa { padding: 10px; }
  .cta-final { padding: 28px 20px; }
}
@media (prefers-reduced-motion: reduce) { .wa-float::after { animation: none; } html { scroll-behavior: auto; } }

/* Página legal */
.legal-page { max-width: 820px; margin: 40px auto; background: #fff; border-radius: 16px; padding: 32px; border: 1px solid var(--line); white-space: pre-wrap; }
@media (max-width: 560px) { .legal-page { margin: 16px; padding: 20px; } }
