:root {
  --blue: #105898;
  --blue-deep: #0c4d82;
  --blue-soft: #e7f3fb;
  --green: #6fbe1c;
  --green-deep: #4f8f10;
  --lime: #b8f868;
  --ink: #16324a;
  --muted: #5b7388;
  --paper: #f3f8fb;
  --card: #ffffff;
  --line: #d5e6f2;
  --danger: #8a2b2b;
  --shadow: 0 18px 50px rgba(16, 88, 152, 0.12);
  font-family: "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}
a { color: var(--blue-deep); }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

.top {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--blue), var(--green)) 1;
  backdrop-filter: blur(10px);
}
.brand img { height: 74px; width: auto; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a {
  color: var(--blue-deep);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--green-deep); }
.top-phone {
  color: #fff;
  background: var(--blue);
  text-decoration: none;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.top-phone:hover { background: var(--blue-deep); }

.wrap { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }
.block { padding: 34px 0; scroll-margin-top: 96px; }
#revisar { scroll-margin-top: 96px; }

h1, h2, h3 { color: var(--blue-deep); letter-spacing: -0.03em; }
h1 { margin: 0 0 14px; font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.05; }
h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; }
h3 { margin: 0 0 8px; font-size: 1.15rem; }
.eyebrow, .kicker { margin: 0 0 10px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.78rem; }
.eyebrow { color: var(--green-deep); }
.lead { margin: 0 0 16px; font-size: 1.12rem; }
.fine, .section-intro { color: var(--muted); }
.slogan { font-weight: 800; color: var(--blue); }

.splash {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, #0c4d82 0%, #105898 52%, #1a7ab8 100%);
  padding: 42px 0 48px;
}
.splash h1, .splash .lead, .splash .fine, .splash .kicker, .splash .fine a { color: #fff; }
.splash .btn, .splash .btn:hover, .closing .btn, .closing .btn:hover { color: #083018; }
.splash .kicker { color: var(--lime); }
.splash .fine a { text-decoration: underline; text-underline-offset: 3px; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}
.orb-a {
  width: 280px;
  height: 280px;
  right: -60px;
  top: -80px;
  background: radial-gradient(circle, rgba(184, 248, 104, 0.55), rgba(111, 190, 28, 0.05) 70%);
  animation: floaty 9s ease-in-out infinite;
}
.orb-b {
  width: 220px;
  height: 220px;
  left: -70px;
  bottom: -90px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), rgba(16, 88, 152, 0) 70%);
  animation: floaty 11s ease-in-out infinite reverse;
}
.splash-grid { position: relative; display: grid; gap: 28px; align-items: center; }
.splash-copy { animation: rise 0.7s ease both; }
.facts { margin: 0 0 18px; padding: 0; list-style: none; }
.facts li {
  margin: 0 0 8px;
  padding-left: 18px;
  position: relative;
}
.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}
.splash-panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 22px;
  padding: 18px 16px 8px;
  backdrop-filter: blur(8px);
  animation: rise 0.9s ease 0.12s both;
}
.panel-mark {
  margin: 0 0 8px;
  font-weight: 800;
  color: var(--lime);
}
.splash-panel ul { list-style: none; margin: 0; padding: 0; }
.splash-panel li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.splash-panel li span {
  font-weight: 800;
  color: var(--lime);
  min-width: 1.6rem;
}
.splash-panel strong { display: block; }
.splash-panel p { margin: 2px 0 0; color: rgba(255, 255, 255, 0.88); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 0;
  background: var(--green);
  color: #083018;
  font: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(111, 190, 28, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover { background: var(--lime); transform: translateY(-2px); color: #083018; }
.btn.secondary {
  background: #fff;
  color: var(--blue-deep);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn:disabled { opacity: 0.55; cursor: default; transform: none; }
.text-link { font-weight: 800; color: var(--blue); }
.text-link:hover { color: var(--green-deep); }

.band { background: #fff; border-bottom: 1px solid var(--line); }
.trust {
  display: grid;
  gap: 8px;
  padding: 16px 0;
}
.trust p { margin: 0; font-weight: 800; color: var(--blue-deep); }

.agent {
  display: grid;
  gap: 22px;
  align-items: center;
}
.agent-photo {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}
.agent-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.checks { margin: 12px 0; padding: 0; list-style: none; }
.checks li { margin: 0 0 10px; padding-left: 22px; position: relative; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.cards { display: grid; gap: 14px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 20px 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px rgba(16, 88, 152, 0.16); }
.service p { margin: 0 0 12px; }

.quiz { max-width: 560px; margin: 8px auto 0; }
.quiz-head { max-width: 640px; }
.quiz-head a { white-space: nowrap; }
.progress { display: flex; gap: 6px; margin-bottom: 8px; }
.progress span { flex: 1; height: 6px; border-radius: 99px; background: #e3eef6; }
.progress span.on { background: var(--green); }
.step-meta { margin: 0 0 14px; color: var(--muted); font-size: 0.92rem; }
.q { margin: 0 0 8px; font-size: 1.4rem; line-height: 1.2; color: var(--blue-deep); }
.hint { margin: 0 0 14px; color: var(--muted); }
.opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  min-height: 58px;
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.opt:hover { border-color: var(--blue); transform: translateX(3px); }
.opt .letter {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-weight: 800;
}
.opt.picked { border-color: var(--green); background: #f4fbe9; }
.opt.picked .letter { background: var(--green); color: #083018; }
label.field { display: block; margin: 0 0 12px; font-weight: 700; }
input[type="text"], input[type="tel"], input[type="email"] {
  display: block;
  width: 100%;
  margin-top: 6px;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font: inherit;
  font-weight: 500;
}
.row-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.row-actions .btn { flex: 1; }
.back {
  background: none;
  border: 0;
  color: var(--blue);
  font: inherit;
  font-weight: 700;
  padding: 8px 0;
  cursor: pointer;
}
.msg { margin: 8px 0 0; }
.msg.bad { color: var(--danger); }
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }

.steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.steps li {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.steps span {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--blue), #1a7ab8);
  color: #fff;
  font-weight: 800;
}
.steps p, .quotes p { margin: 0; }
.quotes footer { margin-top: 12px; color: var(--blue); font-weight: 800; }

.faq { display: grid; gap: 12px; }
.faq article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}
.faq p { margin: 0; }

.state-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 12px 0 0; list-style: none; }
.state-list a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
  color: var(--blue-deep);
}
.state-list a:hover { border-color: var(--green); color: var(--green-deep); }

.closing {
  background: linear-gradient(145deg, #0c4d82, #105898);
  color: #fff;
  padding: 42px 0;
}
.closing h2, .closing p, .closing a { color: #fff; }
.foot {
  background: #08375f;
  color: #d5e6f2;
  padding: 28px 0 96px;
}
.foot a { color: #fff; }
.foot-grid { display: grid; gap: 18px; }
.foot p { margin: 0 0 6px; }
.copy { text-align: center; margin: 18px 0 0; color: #9ab4c8; }

.float {
  position: fixed;
  right: 14px;
  z-index: 5;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.float svg { width: 32px; height: 32px; fill: #fff; display: block; }
.float.call { bottom: 84px; background: var(--blue); }
.float.wa { bottom: 16px; background: #25d366; }

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }

.hero.card { color: var(--ink); background: #fff; }
.hero.card h1 { color: var(--blue-deep); font-size: 2rem; }
.hero.card .lead, .hero.card .fine { color: var(--ink); }
.hero.card a { color: var(--blue-deep); }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(16px); }
}

@media (max-width: 760px) {
  .top { flex-wrap: wrap; padding: 8px 14px; }
  .brand img { height: 62px; }
  .nav { order: 3; width: 100%; gap: 12px 14px; }
  .btn, .hero-actions .btn { width: 100%; }
  .splash { padding: 28px 0 32px; }
  .splash-panel { padding: 14px 14px 6px; }
  .agent-photo { max-width: 420px; margin: 0 auto; }
}

@media (min-width: 800px) {
  .splash-grid { grid-template-columns: 1.15fr 0.85fr; padding: 18px 0; }
  .trust { grid-template-columns: repeat(3, 1fr); text-align: center; }
  .agent { grid-template-columns: 0.8fr 1.2fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .faq { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .quotes { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
