@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/PlusJakartaSans-variable.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }

:root {
  --navy: #0b2a5a;
  --btn-dark: #0b3270;
  --blue: #1558c0;
  --blue-hover: #0f469c;
  --tint: #e8f1fc;
  --tint-2: #dcebfb;
  --bg: #f4f8fd;
  --ink: #1c2b45;
  --muted: #4a5b78;
  --line: #d9e5f3;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(21,88,192,.45); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--btn-dark); color: #fff; padding: .6rem 1rem; z-index: 20; }
.skip:focus { left: 0; }

.i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: .85rem 1.6rem; border: 2px solid var(--btn-dark); border-radius: 999px; background: var(--btn-dark); color: #fff; font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, transform .2s; cursor: pointer; }
.btn:hover { background: var(--navy); border-color: var(--navy); }
.btn--blue { background: var(--blue); border-color: var(--blue); }
.btn--blue:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.125rem; }
.btn--outline { background: #fff; color: var(--btn-dark); border-color: var(--blue); }
.btn--outline:hover { background: var(--tint); border-color: var(--blue); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* Cabecera */
.top { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.75rem; }
.top .logo img { height: 2.35rem; width: auto; }
.top nav { display: flex; align-items: center; gap: 2rem; }
.top nav > a, .dd > button { white-space: nowrap; font-weight: 500; font-size: .98rem; color: var(--ink); text-decoration: none; background: none; border: 0; padding: .5rem 0; cursor: pointer; display: inline-flex; align-items: center; gap: .3rem; }
.top nav > a:hover, .dd > button:hover { color: var(--blue); }
.top .acciones { display: flex; align-items: center; gap: .9rem; }
.top .btn { padding: .65rem 1.3rem; font-size: .95rem; }

.dd { position: relative; }
.dd > button .i { width: 1em; height: 1em; transition: transform .2s; }
.dd.abierto > button .i { transform: rotate(180deg); }
.dd ul { position: absolute; top: calc(100% + .6rem); left: -1rem; width: 17rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 32px rgba(11,42,90,.14); padding: .5rem; display: none; }
.dd.abierto ul { display: block; }
.dd li a { display: flex; align-items: center; gap: .8rem; padding: .5rem .65rem; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: .95rem; }
.dd li a:hover { background: var(--tint); color: var(--blue); }
.dd li img { width: 1.9rem; height: 1.9rem; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #edf4fc 0%, #f6faff 100%); }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(2.75rem, 5.5vw, 5rem) clamp(3rem, 5.5vw, 5rem); }
.hero .texto { max-width: 36rem; }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); line-height: 1.08; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.hero h1 span { color: var(--blue); display: block; }
.hero .lead { margin-top: 1.4rem; max-width: 29rem; font-size: 1.2rem; color: var(--ink); }
.hero .cta { margin-top: 2rem; }
.chips { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; font-size: .9rem; font-weight: 500; line-height: 1.25; }
.chips li { display: flex; align-items: center; gap: .7rem; }
.chips .i { width: 1.7rem; height: 1.7rem; color: var(--navy); stroke-width: 1.5; }
.hero figure { position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 54%; margin: 0; }
.hero figure img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 28%); mask-image: linear-gradient(to right, transparent 0, #000 28%); }

/* Seguros */
.elige { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.titulo { text-align: center; }
.titulo h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.15; font-weight: 800; color: var(--navy); letter-spacing: -.015em; }
.titulo h2::after { content: ""; display: block; width: 4.25rem; height: 4px; border-radius: 4px; background: var(--blue); margin: 1.1rem auto 0; }
.cards { margin-top: 2.75rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.card { position: relative; display: flex; align-items: center; gap: 1.1rem; padding: 1rem 1.1rem 1rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 2px 10px rgba(11,42,90,.05); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-color: var(--blue); box-shadow: 0 10px 26px rgba(21,88,192,.14); transform: translateY(-2px); }
.card .ico { flex: none; width: 5rem; height: 5rem; display: grid; place-items: center; background: var(--tint); border-radius: 14px; }
.card .ico img { width: 3.2rem; height: 3.2rem; }
.card .txt { flex: 1; min-width: 0; }
.card h3 { font-size: 1.15rem; line-height: 1.25; font-weight: 700; color: var(--navy); }
.card p { margin-top: .25rem; font-size: .9rem; line-height: 1.4; color: var(--muted); }
.card .go { flex: none; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border-radius: 50%; background: var(--tint-2); color: var(--blue); transition: background-color .2s, color .2s; }
.card:hover .go { background: var(--blue); color: #fff; }
.card .go .i { width: 1.1rem; height: 1.1rem; stroke-width: 2.2; }

/* Asesor */
.asesor { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.asesor .caja { display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: #e3edfa; border-radius: 22px; padding: 1.9rem clamp(1.5rem, 4vw, 3rem); }
.asesor .izq { display: flex; align-items: center; gap: 1.6rem; }
.asesor .izq > .i { width: 4rem; height: 4rem; color: var(--navy); stroke-width: 1.4; }
.asesor h2 { font-size: 1.55rem; font-weight: 800; color: var(--navy); line-height: 1.2; }
.asesor p { margin-top: .3rem; color: var(--ink); }
.asesor .aparte { font-size: .93rem; color: var(--muted); }
.asesor .aparte a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.asesor .aparte a:hover { color: var(--blue-hover); }

/* Confianza */
.confianza { background: #fff; border-top: 1px solid var(--line); }
.confianza ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.confianza li { display: flex; align-items: center; gap: 1rem; padding: 1.7rem 1.5rem; font-weight: 500; line-height: 1.3; font-size: .98rem; }
.confianza li + li { border-left: 1px solid var(--line); }
.confianza .i { width: 2.6rem; height: 2.6rem; color: var(--navy); stroke-width: 1.4; }

/* Sobre nosotros + contacto */
.sobre { padding: clamp(3rem, 6vw, 4.5rem) 0; background: var(--bg); }
.sobre .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.sobre h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; font-weight: 800; color: var(--navy); letter-spacing: -.015em; }
.sobre .col p { margin-top: 1rem; color: var(--muted); max-width: 34rem; }
.sobre .col .btn { margin-top: 1.5rem; }
.contacto { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem 1.8rem; }
.contacto h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
.contacto li { display: flex; gap: .9rem; align-items: flex-start; padding: .65rem 0; border-top: 1px solid var(--line); }
.contacto li:first-of-type { border-top: 0; padding-top: 0; }
.contacto .i { color: var(--blue); margin-top: .2rem; }
.contacto a { text-decoration: none; font-weight: 500; }
.contacto a:hover { color: var(--blue); text-decoration: underline; }

footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 2.2rem 0; font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
footer ul { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer .copy { width: 100%; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.16); font-size: .82rem; }

.movil { display: none; }

@media (max-width: 1180px) {
  .top .tel { display: none; }
  .top nav { gap: 1.5rem; }
}
@media (max-width: 1020px) {
  .top nav { display: none; }
  .hero .wrap { padding-bottom: 1rem; }
  .hero figure { position: relative; width: 100%; max-width: 620px; margin: 1.5rem auto 0; aspect-ratio: 1118 / 700; }
  .hero figure img { object-position: center; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .confianza ul { grid-template-columns: repeat(2, 1fr); }
  .confianza li:nth-child(3) { border-left: 0; }
  .confianza li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sobre .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 1rem; }
  .top .tel { display: none; }
  .top .logo img { height: 2rem; }
  .top .btn { padding: .6rem 1rem; font-size: .88rem; }
  .hero .cta .btn { width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .asesor .caja { flex-direction: column; align-items: flex-start; }
  .asesor .btn { width: 100%; }
  .confianza ul { grid-template-columns: 1fr; }
  .confianza li + li { border-left: 0; border-top: 1px solid var(--line); }
  footer { padding-bottom: 5.5rem; }
  .movil { display: grid; grid-template-columns: 1fr 1.5fr; gap: .6rem; position: fixed; inset: auto 0 0 0; z-index: 12; background: #fff; border-top: 1px solid var(--line); padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); }
  .movil .btn { padding: .8rem .5rem; font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
