/* Seguros Nacionales: landing. Colores tomados de la publicidad del plan completo. */
@font-face {
  font-family: "Montserrat";
  src: url("/assets/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/montserrat-latin-wght-italic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --navy-900: #021a52;
  --navy: #05266d;
  --royal: #0b3fa8;
  --cyan: #00a4e1;
  --cyan-600: #0089c0;
  --sky: #e6f5fc;
  --bg: #f7f9fc;
  --white: #ffffff;
  --ink: #0f1d3a;
  --muted: #4a5878;
  --line: #dbe3f0;
  --wa: #1fae5b;
  --wa-600: #178f4a;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(5, 38, 109, .10);
  --shadow-lg: 0 20px 50px rgba(2, 26, 82, .25);
  --grad: linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 45%, var(--royal) 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); }
h1, h2, h3 { line-height: 1.15; margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s, background .15s, box-shadow .15s;
  cursor: pointer; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, .nav-btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.btn svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.btn-sm { padding: 9px 18px; font-size: .92rem; background: var(--cyan); color: var(--white); }
.btn-sm:hover { background: var(--cyan-600); }
.btn-wa { background: var(--wa); color: var(--white); box-shadow: 0 8px 22px rgba(31, 174, 91, .35); }
.btn-wa:hover { background: var(--wa-600); }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-outline { color: var(--royal); border-color: var(--royal); background: transparent; }
.btn-outline:hover { background: var(--royal); color: var(--white); }

/* ---------- Marca ---------- */
.brand {
  position: relative; display: inline-flex; flex-direction: column;
  text-decoration: none; color: var(--navy); line-height: .95;
  font-style: italic; font-weight: 900; text-transform: uppercase; padding: 0 52px 4px 0;
}
.brand-word { font-size: 1.35rem; letter-spacing: .01em; }
.brand-sub { font-size: .92rem; letter-spacing: .06em; padding-left: 4px; }
.brand-pulse {
  position: absolute; right: 0; bottom: 0; width: 56px; height: 22px;
  fill: none; stroke: var(--cyan); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round;
}

/* ---------- Barra superior ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-btn { display: none; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--cyan-600); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad); color: var(--white);
  padding: 64px 0 88px;
}
.hero::before {
  content: ""; position: absolute; inset: auto -10% -45% auto; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(0, 164, 225, .35), transparent 65%);
  pointer-events: none;
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--cyan); background: rgba(0, 164, 225, .12); border: 1px solid rgba(0, 164, 225, .35);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-weight: 800; font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -.01em; text-transform: uppercase; }
.hero h1 span { display: block; }
.h1-cyan { color: var(--cyan); }
.tagline {
  margin-top: 22px; font-style: italic; font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.05rem, 2vw, 1.3rem); letter-spacing: .01em;
}
.tagline em { color: var(--cyan); display: block; font-size: .85em; }
.lead { margin-top: 14px; max-width: 540px; color: rgba(255, 255, 255, .86); font-size: 1.05rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.cta-center { justify-content: center; }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .85); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }

.hero-media { position: relative; justify-self: center; width: min(100%, 440px); }
.hero-media picture img {
  position: relative; z-index: 1; width: 100%;
  border-radius: 28px 28px 28px 90px; box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, .15);
}
.sq { position: absolute; z-index: 0; border-radius: 6px; }
.sq-cyan { width: 74px; height: 74px; background: var(--cyan); top: -22px; left: -22px; }
.sq-navy { width: 54px; height: 54px; background: var(--navy-900); top: 30px; left: -48px; border: 2px solid rgba(255, 255, 255, .25); }
.badge {
  position: absolute; z-index: 2; left: -28px; bottom: 28px; max-width: 280px;
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, var(--navy), var(--royal));
  border: 1px solid rgba(0, 164, 225, .6); border-radius: 16px;
  padding: 14px 18px; box-shadow: 0 12px 30px rgba(0, 0, 0, .3), 0 0 24px rgba(0, 164, 225, .25);
}
.badge svg { width: 44px; height: 44px; fill: var(--white); flex: none; }
.badge p { font-style: italic; font-weight: 700; font-size: .92rem; text-transform: uppercase; line-height: 1.25; }
.badge strong { color: var(--cyan); }

/* ---------- Pilares ---------- */
.pillars { margin-top: -44px; position: relative; z-index: 3; }
.pillars-in {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border: 2px solid var(--royal); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.pillar {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 12px; text-align: center;
  font-weight: 800; text-transform: uppercase; font-size: .88rem; color: var(--navy);
}
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar svg { width: 44px; height: 44px; fill: var(--royal); }
.pillar:nth-child(even) svg { fill: var(--cyan); }

/* ---------- Secciones ---------- */
.section { padding: 84px 0; }
.section-tint { background: linear-gradient(180deg, var(--sky), var(--bg)); }
.section-navy { background: var(--grad); color: var(--white); }
.kicker {
  display: inline-block; font-style: italic; font-weight: 800; text-transform: uppercase; font-size: .85rem; letter-spacing: .04em;
  color: var(--white); background: linear-gradient(90deg, var(--cyan), var(--royal));
  padding: 6px 16px; border-radius: 8px 8px 8px 0; margin-bottom: 14px;
}
.kicker-light { background: rgba(255, 255, 255, .14); color: var(--cyan); }
.section h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; color: var(--navy); max-width: 720px; }
.section-navy h2 { color: var(--white); }
.section-lead { margin-top: 12px; color: var(--muted); max-width: 680px; font-size: 1.05rem; }
.fineprint { margin-top: 18px; font-size: .88rem; color: var(--muted); }

/* Beneficios */
.benefits { margin-top: 40px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.benefit { grid-column: span 2; }
.benefit:nth-child(n+4) { grid-column: span 3; }
.benefit {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: 0 4px 14px rgba(5, 38, 109, .05);
  transition: transform .2s, box-shadow .2s;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 16px; box-shadow: 0 6px 16px rgba(5, 38, 109, .2); }
.ico svg { width: 32px; height: 32px; fill: var(--white); }
.ico-navy { background: var(--grad); }
.ico-cyan { background: linear-gradient(135deg, var(--cyan), var(--cyan-600)); }
.benefit h3 { font-size: 1.05rem; font-weight: 800; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: .96rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: var(--muted); font-size: .96rem; }
.checks li { position: relative; padding-left: 26px; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: .35em; width: 12px; height: 7px;
  border-left: 3px solid var(--cyan); border-bottom: 3px solid var(--cyan); transform: rotate(-45deg);
}
.checks-lg { margin-top: 22px; gap: 12px; font-size: 1.04rem; color: var(--ink); font-weight: 500; }

/* Planes */
.plans { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px;
  box-shadow: 0 4px 14px rgba(5, 38, 109, .05);
}
.plan h3 { font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.plan p { color: var(--muted); font-size: .94rem; flex: 1; }
.plan .btn { align-self: stretch; padding: 11px 16px; font-size: .92rem; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: .76rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--sky); color: var(--royal); }
.plan-featured { background: var(--grad); color: var(--white); border-color: transparent; box-shadow: var(--shadow-lg); }
.plan-featured h3 { color: var(--white); font-size: 1.3rem; }
.plan-featured p { color: rgba(255, 255, 255, .85); }
.plan-featured .chips li { background: rgba(0, 164, 225, .22); color: var(--white); }
.plan-tag {
  position: absolute; top: -12px; right: 18px; background: var(--cyan); color: var(--white);
  font-size: .74rem; font-weight: 800; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}

/* Para quién */
.who { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.who-item { padding: 24px; border-radius: var(--radius); background: var(--white); border-left: 5px solid var(--cyan); box-shadow: 0 4px 14px rgba(5, 38, 109, .05); }
.who-item:nth-child(even) { border-left-color: var(--royal); }
.who-item h3 { font-size: 1.05rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.who-item p { color: var(--muted); font-size: .95rem; }

/* Pasos */
.steps { list-style: none; counter-reset: paso; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.steps li {
  counter-increment: paso; position: relative;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius);
  padding: 58px 18px 22px;
}
.steps li::before {
  content: counter(paso); position: absolute; top: 16px; left: 18px;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cyan); color: var(--white); font-weight: 800;
}
.steps h3 { font-size: 1rem; font-weight: 800; text-transform: uppercase; margin-bottom: 6px; }
.steps p { color: rgba(255, 255, 255, .82); font-size: .93rem; }
.section-navy .cta-row { margin-top: 40px; }

/* Acompañamiento + documentos */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.docs-card { background: var(--white); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); border-top: 6px solid var(--cyan); }
.docs-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.docs-card dl { margin: 0; display: grid; gap: 4px; }
.docs-card dt { font-weight: 800; color: var(--royal); margin-top: 10px; font-size: .95rem; }
.docs-card dd { margin: 0; color: var(--muted); font-size: .95rem; }

/* Preguntas */
.faq { margin-top: 32px; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 30px 18px 0; position: relative;
  font-weight: 700; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sky); color: var(--royal); font-weight: 800;
}
.faq details[open] summary::after { content: "–"; background: var(--cyan); color: var(--white); }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* Cierre */
.closing { padding: 0 0 84px; background: var(--bg); }
.closing-in {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  background: var(--grad); color: var(--white); border-radius: 26px; padding: 40px;
  box-shadow: var(--shadow-lg);
}
.closing-shield { width: 84px; height: 84px; padding: 16px; border-radius: 18px; background: linear-gradient(135deg, var(--cyan), var(--cyan-600)); fill: var(--white); }
.closing-text { font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(1.05rem, 2.2vw, 1.45rem); line-height: 1.3; }
.closing-text strong { color: var(--cyan); }

/* Pie */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .78); padding: 56px 0 24px; font-size: .94rem; }
.footer-in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; }
.footer h3 { color: var(--white); font-size: .95rem; text-transform: uppercase; margin-bottom: 12px; }
.footer p + p { margin-top: 6px; }
.footer a { color: var(--white); }
.brand-footer { color: var(--white); margin-bottom: 14px; }
.copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; }

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); transition: transform .15s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 32px; height: 32px; fill: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefit, .benefit:nth-child(n+4) { grid-column: auto; }
  .benefit:last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}
@media (max-width: 900px) {
  .nav-btn {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; border-radius: 10px; cursor: pointer;
  }
  .nav-btn span { display: block; height: 3px; border-radius: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px 16px 18px; display: none;
  }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; padding: 13px; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav-toggle:checked + .nav-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle:checked + .nav-btn span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-toggle:focus-visible + .nav-btn { outline: 3px solid var(--cyan); outline-offset: 2px; }

  .hero { padding: 44px 0 80px; }
  .hero-in { grid-template-columns: 1fr; gap: 44px; }
  .hero-media { width: min(100%, 380px); }
  .badge { left: -8px; bottom: 16px; max-width: 250px; }
  .pillars-in { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(3) { border-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .closing-in { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 32px 22px; }
  .footer-in { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 64px 0; }
}
@media (max-width: 600px) {
  .benefits { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cta-row .btn { width: 100%; }
  .sq-navy { left: -12px; }
  .sq-cyan { left: -8px; top: -14px; }
  .pillar { font-size: .78rem; padding: 18px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .benefit, .wa-float { transition: none; }
}
