/* BRAVUS Seguros — web corporativa v2
   Concepto: "El sello del león". Marca premium de confianza: azul marino y oro oficiales del logo,
   marfil para las secciones claras, fotografía real de personas y de Lima con movimiento lento.
   Tipografía: Instrument Serif (titulares, herencia y confianza) + Plus Jakarta Sans (texto, digital)
   + Montserrat solo para el logotipo. Sin azules ni verdes eléctricos. */
:root {
  --navy: #001849;          /* azul marino oficial del logo */
  --navy-deep: #000f30;
  --navy-soft: #0b2461;
  --gold: #d3aa54;          /* dorado oficial del logo */
  --gold-hi: #ecd08f;
  --gold-lo: #a7812f;
  --pearl: #f5f2ec;         /* marfil */
  --pearl-2: #ebe6dc;
  --ink: #0b1733;           /* texto sobre marfil */
  --ink-soft: #4b5670;
  --fg: #f4f1ea;            /* texto sobre azul */
  --fg-soft: #b5bccb;
  --line-gold: rgba(211, 170, 84, .28);
  --line-light: rgba(244, 241, 234, .14);
  --line-dark: rgba(11, 23, 51, .12);
  --f-display: "Instrument Serif", "Iowan Old Style", "Times New Roman", Georgia, serif;
  --f-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-brand: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --r: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--fg); font: 400 17px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video, canvas { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.num { font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* ---------- Tipografía ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .7em; margin: 0 0 1.1rem; font: 700 .74rem/1.2 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--dark { color: var(--gold-lo); }
.hero .eyebrow::before { display: none; }
.seal { display: inline-grid; place-items: center; height: 24px; padding: 0 8px; border: 1px solid var(--gold); border-radius: 999px; font-size: .66rem; letter-spacing: .12em; }
.display { font: 400 clamp(3rem, 8vw, 6.6rem)/.98 var(--f-display); letter-spacing: -.01em; margin: 0 0 1.6rem; max-width: 13ch; text-wrap: balance; }
.display em, .h2 em, .h3 em { font-style: italic; color: var(--gold); }
.h2 { font: 400 clamp(2.2rem, 4.6vw, 3.7rem)/1.04 var(--f-display); letter-spacing: -.005em; margin: 0 0 1.2rem; text-wrap: balance; }
.h2--sm { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.h3 { font: 400 clamp(1.6rem, 2.6vw, 2.1rem)/1.1 var(--f-display); margin: 0; text-wrap: balance; }
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 58ch; margin: 0; }
.lead--light { color: var(--fg-soft); }
.head { max-width: 760px; }
.head--light .h2 { color: var(--fg); }
.head--row { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: end; }

/* ---------- Botones ---------- */
.btn { --tx: 0px; --ty: 0px; display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 1em 1.6em; border-radius: 999px; border: 0; font: 700 .95rem/1 var(--f-body); letter-spacing: .01em; text-decoration: none; cursor: pointer; transform: translate(var(--tx), var(--ty)); transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, filter .25s; }
.btn--gold { background: linear-gradient(135deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo)); color: var(--navy-deep); box-shadow: 0 10px 30px -12px rgba(211,170,84,.7); }
.btn--gold:hover { filter: brightness(1.07); box-shadow: 0 14px 40px -10px rgba(211,170,84,.85); }
.btn--ghost { background: rgba(244,241,234,.06); color: var(--fg); border: 1px solid var(--line-light); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn--line-dark { margin-top: 1.8rem; background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn--line-dark:hover { background: var(--navy); color: var(--fg); }
.btn--small { padding: .7em 1.1em; font-size: .85rem; }
.btn--block { width: 100%; }

/* ---------- Glass ---------- */
.glass { background: linear-gradient(160deg, rgba(244,241,234,.10), rgba(244,241,234,.03)); border: 1px solid var(--line-light); border-radius: var(--r); backdrop-filter: blur(16px) saturate(130%); -webkit-backdrop-filter: blur(16px) saturate(130%); }

/* ---------- Efecto puntero ---------- */
.cursor-glow { position: fixed; left: 0; top: 0; z-index: 1; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; background: radial-gradient(circle, rgba(211,170,84,.13), rgba(211,170,84,.04) 45%, transparent 70%); pointer-events: none; mix-blend-mode: screen; transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0); }
.cursor-dot { position: fixed; left: 0; top: 0; z-index: 90; width: 32px; height: 32px; margin: -16px 0 0 -16px; border: 1.5px solid rgba(211,170,84,.75); border-radius: 50%; pointer-events: none; transform: translate3d(var(--dx, -999px), var(--dy, -999px), 0) scale(var(--ds, 1)); transition: transform .18s var(--ease), background .2s; }
.cursor-dot.is-hover { --ds: 1.7; background: rgba(211,170,84,.12); }
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) { .cursor-glow, .cursor-dot { display: none; } }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(0,24,73,.86); backdrop-filter: blur(14px); border-color: var(--line-gold); }
.nav__in { display: flex; align-items: center; gap: 1.5rem; height: 78px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--fg); }
.brand__mark { width: 53px; height: auto; transition: transform .4s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.06); }
.brand__word { display: grid; line-height: 1; gap: 6px; }
.brand__name { font: 800 1.65rem/1 var(--f-brand); letter-spacing: .05em; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__word small { font: 700 .6rem/1 var(--f-brand); letter-spacing: .2em; color: var(--gold); white-space: nowrap; }
.nav__links { display: flex; gap: 1.8rem; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--fg-soft); transition: color .2s; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--gold); transition: right .3s var(--ease); }
.nav__links a:hover { color: var(--fg); }
.nav__links a:hover::after { right: 0; }
.nav__cta { padding: .75em 1.25em; font-size: .86rem; }
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-light); background: rgba(244,241,234,.05); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav__burger span { width: 18px; height: 2px; background: var(--fg); transition: transform .3s; }
.nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 940px); display: flex; align-items: center; overflow: hidden; isolation: isolate; padding-block: 130px 90px; background: radial-gradient(1200px 700px at 85% 20%, #0d2a6b 0%, var(--navy) 55%, var(--navy-deep) 100%); }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__lion { position: absolute; right: -3%; top: 50%; width: min(56vw, 740px); height: auto; opacity: .15; mix-blend-mode: screen; pointer-events: none; transform: translate3d(var(--lx, 0px), calc(-50% + var(--ly, 0px)), 0); transition: transform .6s var(--ease); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%); mask-image: linear-gradient(90deg, transparent 0%, #000 35%); animation: lionIn 2.4s var(--ease) both; }
@keyframes lionIn { from { opacity: 0; } to { opacity: .15; } }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s; }
.hero__video.is-ready { opacity: .35; }
.hero__veil { position: absolute; inset: 0; background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(211,170,84,.08), transparent 60%), linear-gradient(90deg, rgba(0,15,48,.85) 0%, rgba(0,15,48,.35) 55%, rgba(0,15,48,0) 100%), linear-gradient(0deg, var(--navy-deep) 0%, transparent 28%); }
.hero__in { position: relative; }
.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--fg-soft); max-width: 54ch; margin: 0 0 2.2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 0; }
.reveal { animation: rise 1s var(--ease) both; }
@keyframes rise { from { transform: translateY(22px); opacity: .001; } to { transform: none; opacity: 1; } }

/* ---------- Cinta ---------- */
.ribbon { background: var(--navy-deep); border-block: 1px solid var(--line-gold); }
.marquee { overflow: hidden; padding-block: 1.15rem; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 2.6rem; width: max-content; animation: slide 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font: 500 1.15rem/1 var(--f-body); letter-spacing: .02em; color: var(--fg-soft); white-space: nowrap; }
.marquee__track i { width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(5rem, 10vw, 8.5rem); position: relative; }
.section--pearl { background: var(--pearl); color: var(--ink); }
.section--pearl .h2 { color: var(--navy); }
.section--pearl .h2 em { color: var(--gold-lo); }
.section--deep { background: var(--navy-deep); }
.section--contact { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); }

/* Ken Burns: movimiento lento tipo vídeo sobre las fotos */
.kb { overflow: hidden; }
.kb img, .kb video { width: 100%; height: 100%; object-fit: cover; animation: kb 22s ease-in-out infinite alternate; transform-origin: 60% 40%; }
.kb--alt img { object-position: 50% 30%; transform-origin: 50% 35%; animation-duration: 26s; }
.kb--slow img { animation-duration: 34s; }
@keyframes kb { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }

/* ---------- Seguros: tarjetas con foto ---------- */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 3.2rem; perspective: 1400px; }
.pcard { --rx: 0deg; --ry: 0deg; --px: 50%; --py: 50%; position: relative; min-height: 600px; border-radius: 26px; overflow: hidden; color: var(--fg); display: flex; align-items: flex-end; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease), box-shadow .4s; box-shadow: 0 30px 60px -35px rgba(0,24,73,.6); isolation: isolate; }
.pcard.is-tilting { transition: transform .08s linear, box-shadow .4s; }
.pcard:hover { box-shadow: 0 40px 70px -30px rgba(0,24,73,.7); }
.pcard__img { position: absolute; inset: 0; z-index: -3; }
.pcard__img img { transition: filter .5s; }
.pcard__shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(0,24,73,0) 25%, rgba(0,24,73,.72) 58%, rgba(0,15,48,.96) 100%); }
.pcard__glow { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--px) var(--py), rgba(211,170,84,.22), transparent 60%); }
.pcard:hover .pcard__glow { opacity: 1; }
.pcard__body { padding: clamp(1.6rem, 3.4vw, 2.6rem); display: grid; gap: 1rem; }
.tag { margin: 0; justify-self: start; padding: .4em 1em; border: 1px solid var(--gold); border-radius: 999px; font: 700 .7rem/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hi); background: rgba(0,24,73,.45); backdrop-filter: blur(6px); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .96rem; color: #dfe3ec; }
.ticks li { padding-left: 1.6rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 11px; height: 6px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
.pcard__link { margin-top: .4rem; font-weight: 700; color: var(--gold-hi); text-decoration: none; display: inline-flex; gap: .4em; }
.pcard__link span { transition: transform .3s var(--ease); }
.pcard__link:hover span { transform: translateX(6px); }

/* ---------- Bandas con foto de fondo ---------- */
.band { overflow: hidden; isolation: isolate; }
.band__media { position: absolute; inset: -8% 0; z-index: -2; transform: translate3d(0, var(--py, 0px), 0); }
.band__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,15,48,.9) 0%, rgba(0,24,73,.6) 50%, rgba(0,24,73,.18) 100%), linear-gradient(0deg, rgba(0,15,48,.75) 0%, transparent 55%); }
.band__veil--strong { background: linear-gradient(90deg, rgba(0,15,48,.95) 0%, rgba(0,24,73,.86) 55%, rgba(0,24,73,.6) 100%); }
.gains { list-style: none; padding: 0; margin: 3.4rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.gains li { padding: 1.6rem 1.4rem 1.8rem; border-top: 1px solid var(--gold); background: linear-gradient(180deg, rgba(0,15,48,.55), rgba(0,15,48,.15)); backdrop-filter: blur(8px); border-radius: 0 0 16px 16px; transition: transform .4s var(--ease), background .4s; }
.gains li:hover { transform: translateY(-6px); background: linear-gradient(180deg, rgba(0,15,48,.75), rgba(0,15,48,.35)); }
.gains__n { font: italic 400 1rem/1 var(--f-display); color: var(--gold); }
.gains h3 { font: 400 1.7rem/1.1 var(--f-display); margin: .7rem 0 .5rem; }
.gains p { margin: 0; color: var(--fg-soft); font-size: .95rem; }

/* ---------- Comparativa ---------- */
.corredor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.compare { border-radius: var(--r); background: #fff; box-shadow: 0 40px 70px -40px rgba(0,24,73,.45); overflow: hidden; font-size: .95rem; border: 1px solid var(--line-dark); }
.compare__row { display: grid; grid-template-columns: .9fr 1.1fr 1.2fr; }
.compare__row > * { padding: 1.05rem 1.1rem; border-top: 1px solid var(--line-dark); min-width: 0; }
.compare__row--head > * { border-top: 0; font: 700 .7rem/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.compare [role="rowheader"] { font-weight: 700; color: var(--navy); }
.compare [role="cell"] { color: var(--ink-soft); }
.compare .is-us { background: var(--navy); color: var(--fg); border-top-color: rgba(244,241,234,.1); }
.compare__row--head .is-us { color: var(--gold); }
.compare [role="cell"].is-us { font-weight: 600; }

/* ---------- Aseguradoras ---------- */
.insurers { background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%); }
.insurers__grid { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.insurer { height: 132px; display: grid; place-items: center; padding: 1.2rem; border-radius: 18px; background: #fff; border: 1px solid transparent; box-shadow: 0 20px 40px -30px rgba(0,0,0,.6); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.insurer:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 30px 50px -28px rgba(211,170,84,.45); }
.logo { width: auto; height: auto; max-width: 78%; max-height: 52px; object-fit: contain; }
.logo--lg { max-height: 74px; max-width: 88%; }
.logo--sq { max-height: 70px; }
.logo--xl { max-height: 110px; max-width: 100%; }
.insurers__note { margin: 1.6rem 0 0; font-size: .78rem; color: var(--fg-soft); }
.logos { list-style: none; padding: 0; }
.logo-slot { background: #fff !important; border: 0 !important; }
@media (max-width: 1020px) { .insurers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Cómo trabajamos ---------- */
.como { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.como__photo { position: relative; margin: 0; border-radius: 26px; aspect-ratio: 4 / 5; max-width: 100%; }
.como__photo img { border-radius: 26px; }
.como__badge { position: absolute; left: 1.2rem; bottom: 1.2rem; right: 1.2rem; padding: 1rem 1.2rem; display: grid; gap: .2rem; background: rgba(0,24,73,.55); }
.como__badge strong { font: 400 1.4rem/1 var(--f-display); color: var(--gold-hi); }
.como__badge span { font-size: .88rem; color: var(--fg-soft); }
.steps { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; padding-block: 1.2rem; border-top: 1px solid var(--line-light); }
.steps li:last-child { border-bottom: 1px solid var(--line-light); }
.steps__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font: italic 400 1.3rem/1 var(--f-display); transition: background .3s, color .3s; }
.steps li:hover .steps__n { background: var(--gold); color: var(--navy-deep); }
.steps h3 { margin: 0 0 .2rem; font: 700 1.05rem/1.3 var(--f-body); }
.steps p { margin: 0; color: var(--fg-soft); font-size: .95rem; }

/* ---------- Simulador ---------- */
.sim { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.sim__controls { display: grid; gap: 1.5rem; margin-top: 2rem; }
.field { display: grid; gap: .6rem; border: 0; padding: 0; margin: 0; }
.field__top { display: flex; justify-content: space-between; font-weight: 600; }
.field output { color: var(--gold-hi); font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold) var(--fill, 30%), rgba(244,241,234,.15) var(--fill, 30%)); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--fg); border: 4px solid var(--gold); box-shadow: 0 0 0 6px rgba(211,170,84,.16); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--fg); border: 4px solid var(--gold); }
.seg { display: flex; flex-wrap: wrap; gap: .5rem; }
.seg legend { width: 100%; font-weight: 600; margin-bottom: .6rem; }
.seg label span { display: inline-block; padding: .5em 1.15em; border-radius: 999px; border: 1px solid var(--line-light); cursor: pointer; font-variant-numeric: tabular-nums; transition: all .2s; }
.seg input { position: absolute; opacity: 0; }
.seg input:checked + span { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); font-weight: 700; }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.sim__panel { padding: clamp(1.25rem, 3vw, 2rem); }
.sim__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.2rem; }
.sim__k { display: block; font-size: .72rem; color: var(--fg-soft); letter-spacing: .14em; text-transform: uppercase; margin-bottom: .35rem; }
.sim__v { font: 400 clamp(1.9rem, 3.6vw, 2.8rem)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.sim__v--gold { color: var(--gold-hi); }
.sim__chartwrap { position: relative; padding-left: 64px; }
.sim__ylabels { position: absolute; left: 0; top: 0; height: 220px; width: 58px; }
.sim__ylabels span { position: absolute; left: 0; transform: translateY(-50%); font-size: .68rem; color: var(--fg-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sim__ylabels span:nth-child(1) { top: 25%; } .sim__ylabels span:nth-child(2) { top: 50%; } .sim__ylabels span:nth-child(3) { top: 75%; }
.sim__chart { width: 100%; height: 220px; overflow: visible; }
.sim__axis { display: flex; justify-content: space-between; padding-left: 64px; margin-top: .4rem; font-size: .7rem; color: var(--fg-soft); font-variant-numeric: tabular-nums; }
.sim__demo { display: flex; align-items: center; gap: .55rem; margin: 0 0 1rem; font-size: .76rem; color: var(--gold-hi); }
.sim__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(211,170,84,.6); animation: simPing 1.6s infinite; flex: none; }
.sim--user .sim__pulse { animation: none; background: var(--fg-soft); }
@keyframes simPing { 0% { box-shadow: 0 0 0 0 rgba(211,170,84,.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(211,170,84,0); } }
.sim__line { transition: d .12s linear; }
.sim__grid line { stroke: rgba(244,241,234,.08); stroke-width: 1; }
.sim__line { fill: none; stroke: var(--gold); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.sim__lineA { fill: none; stroke: var(--fg-soft); stroke-width: 1.5; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; }
.sim__dot { fill: var(--gold); stroke: var(--navy-deep); stroke-width: 3; }
.sim__legend { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: .85rem; color: var(--fg-soft); margin-top: .8rem; }
.lg { display: inline-block; width: 18px; height: 2px; vertical-align: middle; margin-right: .5em; }
.lg--gold { background: var(--gold); }
.lg--line { background: repeating-linear-gradient(90deg, var(--fg-soft) 0 5px, transparent 5px 9px); }
.sim__note { margin: 1rem 0 0; font-size: .78rem; color: var(--fg-soft); line-height: 1.5; }

/* ---------- Nosotros ---------- */
.nos { max-width: 820px; }
.values { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.values li { padding-left: 1.1rem; border-left: 1px solid var(--gold); color: var(--fg-soft); }
.values strong { color: var(--fg); }
.group-note { margin: 2rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line-light); font-size: .82rem; color: var(--fg-soft); max-width: 60ch; line-height: 1.55; }
.cred-strip { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 1.8rem 0 0; padding: .7rem 1rem; border: 1px solid var(--line-gold); border-radius: 999px; background: rgba(0,15,48,.45); font-size: .8rem; color: var(--fg-soft); width: fit-content; max-width: 100%; }
.cred-strip img { width: 26px; height: 26px; border-radius: 50%; }
.cred-strip strong { color: var(--fg); font-weight: 700; letter-spacing: .02em; }
.cred-strip__sep { width: 1px; height: 14px; background: var(--line-light); }
.cred-strip a { color: var(--gold-hi); font-weight: 600; text-decoration: none; }
.cred-strip a:hover { text-decoration: underline; }

/* ---------- Derechos ---------- */
.rights__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2.6rem; }
.right { display: grid; gap: .4rem; align-content: start; padding: 1.4rem; border-radius: 16px; background: #fff; border: 1px solid var(--line-dark); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.right:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 20px 40px -28px rgba(0,24,73,.5); }
.right__k { font: italic 400 1.3rem/1 var(--f-display); color: var(--gold-lo); }
.right strong { color: var(--navy); font-size: 1rem; line-height: 1.3; }
.right span:last-child { font-size: .88rem; color: var(--ink-soft); }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact__side { display: grid; gap: 2rem; }
.contact__photo { margin: 0; border-radius: 22px; aspect-ratio: 16 / 10; max-width: 100%; }
.contact__slides { position: relative; }
.contact__slides img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.contact__slides img.is-on { opacity: 1; }
.contact__slides img:nth-child(2) { object-position: 50% 35%; }
.channels { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .8rem; }
.channels li { display: grid; grid-template-columns: 128px 1fr; gap: 1rem; align-items: baseline; padding-bottom: .8rem; border-bottom: 1px solid var(--line-light); }
.channels span { font-size: .72rem; color: var(--fg-soft); letter-spacing: .14em; text-transform: uppercase; }
.channels a { text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.channels a:hover { color: var(--gold-hi); }
.channels p { margin: 0; font-size: .9rem; line-height: 1.55; }
.form { display: grid; gap: 1rem; padding: clamp(1.4rem, 3vw, 2.2rem); position: sticky; top: 100px; }
.form__title { margin: 0 0 .4rem; font: 400 1.7rem/1.15 var(--f-display); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.in { display: grid; gap: .4rem; font-size: .85rem; font-weight: 600; color: #d6dae4; min-width: 0; }
.in em { font-weight: 400; color: var(--fg-soft); font-style: normal; }
.in input, .in select { width: 100%; padding: .9em 1em; border-radius: 12px; border: 1px solid var(--line-light); background: rgba(0,15,48,.55); color: var(--fg); font: 500 1rem var(--f-body); transition: border-color .2s, box-shadow .2s; }
.in input:focus, .in select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(211,170,84,.16); }
.in input[aria-invalid="true"] { border-color: #e8907f; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .85rem; color: var(--fg-soft); line-height: 1.45; cursor: pointer; }
.check input { margin-top: .2em; width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.check a { color: var(--gold-hi); }
.check em { font-style: normal; opacity: .8; }
.form__msg { margin: 0; min-height: 1.4em; font-size: .9rem; color: var(--gold-hi); }
.form__msg.is-error { color: #f0a493; }

/* ---------- Footer ---------- */
.foot { background: var(--navy-deep); border-top: 1px solid var(--line-gold); padding-block: 3.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px)); font-size: .88rem; color: var(--fg-soft); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; padding-bottom: 2.2rem; border-bottom: 1px solid var(--line-light); }
.foot__logo { width: 96px; height: auto; }
.foot__brand p { margin: 1rem 0 0; line-height: 1.6; font-size: .82rem; }
.foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; min-width: 0; }
.foot__title { margin: 0 0 .3rem; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.foot__col a { text-decoration: none; color: var(--fg); overflow-wrap: anywhere; }
.foot__col a:hover { color: var(--gold-hi); }
.foot__col span { line-height: 1.55; font-size: .84rem; }
.reclamos { display: inline-flex; gap: .45em; align-items: center; padding: .45em .9em; border: 1px solid var(--gold); border-radius: 8px; color: var(--gold-hi) !important; font-weight: 600; }
.reclamos svg { width: 18px; height: 18px; }
.foot__legal { margin: 1.6rem 0 0; font-size: .76rem; line-height: 1.65; max-width: 120ch; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line-light); font-size: .78rem; }
.foot__bottom p { margin: 0; }
.foot__bottom--doc { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- Flotantes ---------- */
.wa-float { position: fixed; z-index: 60; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #1fa855; color: #fff; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.cookies { position: fixed; z-index: 70; left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 460px; margin-right: 92px; padding: 1.1rem 1.2rem; border-radius: 16px; background: rgba(0,15,48,.95); border: 1px solid var(--line-gold); box-shadow: 0 20px 50px -20px rgba(0,0,0,.7); font-size: .85rem; color: var(--fg-soft); display: grid; gap: .8rem; }
.cookies p { margin: 0; }
.cookies a { color: var(--gold-hi); }
.cookies__btns { display: flex; gap: .5rem; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Modales ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal__back { position: absolute; inset: 0; background: rgba(0,8,26,.72); backdrop-filter: blur(6px); animation: fade .3s both; }
.modal__box { position: relative; width: min(640px, 100%); max-height: 88vh; overflow: auto; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--r); border: 1px solid var(--line-gold); background: linear-gradient(160deg, var(--navy-soft), var(--navy-deep)); animation: pop .4s var(--ease) both; }
.modal__box--text p { color: #cfd5e1; font-size: .95rem; }
.modal__x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-light); background: transparent; color: var(--fg); font-size: 1.5rem; cursor: pointer; }
.modal__x:hover { border-color: var(--gold); color: var(--gold); }
.logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.logo-slot { display: grid; place-items: center; height: 96px; border-radius: 14px; border: 1px dashed rgba(211,170,84,.4); color: var(--fg-soft); font-size: .85rem; text-align: center; padding: .5rem; background: rgba(244,241,234,.03); }
.logo-slot img { max-height: 56px; width: auto; }
.modal__note { font-size: .8rem; color: var(--fg-soft); margin: 0; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }

/* ---------- Páginas legales (Libro de Reclamaciones, Privacidad) ---------- */
.doc-page { background: var(--pearl); color: var(--ink); color-scheme: light; }
.doc-page .nav { position: sticky; top: env(safe-area-inset-top, 0px); }
.doc-back { margin-left: auto; }
.doc { padding-block: clamp(3rem, 7vw, 5rem); }
.doc__wrap { max-width: 900px; }
.doc .h2 { color: var(--navy); }
.doc__meta { color: var(--ink-soft); font-size: .9rem; margin: -.4rem 0 1.6rem; }
.doc__provider { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1.5rem; margin: 1.5rem 0 2.5rem; padding: 1.2rem 1.4rem; border: 1px solid var(--line-dark); border-left: 3px solid var(--gold); border-radius: 12px; background: #fff; }
.doc__provider span { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.doc__provider strong { color: var(--navy); overflow-wrap: anywhere; }
.doc__text { font-size: 1rem; }
.doc__text h2 { font: 400 1.7rem/1.2 var(--f-display); color: var(--navy); margin: 2.6rem 0 .8rem; scroll-margin-top: 100px; }
.doc__text p, .doc__text li { color: #2a3550; max-width: 72ch; }
.doc__text li { margin-bottom: .45rem; }
.doc__text a { color: var(--gold-lo); }
.doc__toc { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; }
.doc__toc a { font-size: .8rem; text-decoration: none; padding: .4em .9em; border-radius: 999px; border: 1px solid var(--line-dark); background: #fff; color: var(--navy); }
.doc__toc a:hover { border-color: var(--gold); }
.claim { display: grid; gap: 1.6rem; }
.claim__block { margin: 0; padding: 1.4rem; border: 1px solid var(--line-dark); border-radius: 16px; background: #fff; display: grid; gap: 1rem; min-width: 0; }
.claim__block legend { display: flex; align-items: center; gap: .6rem; padding: 0 .4rem; font-weight: 700; color: var(--navy); }
.claim__block legend span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--gold-hi); font: italic 400 1rem/1 var(--f-display); }
.claim__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.fld { display: grid; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--navy); min-width: 0; }
.fld--wide { grid-column: 1 / -1; }
.fld em { font-weight: 400; font-style: normal; color: var(--ink-soft); }
.fld input, .fld select, .fld textarea { width: 100%; padding: .8em .9em; border-radius: 10px; border: 1px solid #cfd4de; background: #fff; color: var(--ink); font: 500 1rem var(--f-body); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(211,170,84,.18); }
.fld [aria-invalid="true"] { border-color: #c4554a; }
.chk { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--ink); cursor: pointer; }
.chk input { width: 18px; height: 18px; margin-top: .15em; accent-color: var(--navy); flex: none; }
.chk a { color: var(--gold-lo); }
.claim__radios { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .95rem; }
.claim__radios label { display: flex; gap: .5rem; align-items: flex-start; cursor: pointer; }
.claim__radios input { accent-color: var(--navy); margin-top: .25em; }
.claim__radios--cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.claim__radios--cards label { padding: .9rem 1rem; border: 1px solid #cfd4de; border-radius: 12px; font-size: .88rem; color: var(--ink-soft); }
.claim__radios--cards label:has(input:checked) { border-color: var(--gold); background: #fbf6ea; }
.claim__radios--cards strong { display: block; color: var(--navy); font-size: 1rem; }
.claim__notes { margin: 0; padding: 1rem 1.2rem 1rem 2.2rem; border-radius: 12px; background: #eef1f6; font-size: .85rem; color: #33405c; }
.claim__notes li { margin: .3rem 0; }
.claim__notes a { color: var(--navy); }
.doc .form__msg { color: var(--navy); }
.doc .form__msg.is-error { color: #b3473c; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.claim__done { padding: 1.6rem; border-radius: 16px; background: #fff; border: 1px solid var(--gold); display: grid; gap: 1rem; }
.claim__done .h3 { color: var(--navy); }
.claim__copy { white-space: pre-wrap; font: .82rem/1.55 ui-monospace, Menlo, monospace; background: var(--pearl); padding: 1rem; border-radius: 10px; overflow-x: auto; max-width: 100%; margin: 0; }
.doc-page .foot a { color: var(--gold-hi); }
@media (max-width: 720px) {
  .doc__provider, .claim__grid, .claim__radios--cards { grid-template-columns: minmax(0, 1fr); }
  .doc-back { padding: .6em .9em; }
}
@media print {
  .nav, .foot, .claim, #okPrint, .wa-float { display: none !important; }
  .doc-page { background: #fff; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav.is-open { background: rgba(0,24,73,.98); }
  .nav.is-open .nav__links { display: flex; flex-direction: column; gap: 0; position: absolute; top: calc(78px + env(safe-area-inset-top, 0px)); left: 0; right: 0; background: rgba(0,24,73,.98); border-bottom: 1px solid var(--line-gold); padding: .5rem max(20px, env(safe-area-inset-right, 0px)) 1.2rem max(20px, env(safe-area-inset-left, 0px)); }
  .nav.is-open .nav__links a { padding: .9rem 0; border-bottom: 1px solid var(--line-light); font-size: 1.05rem; color: var(--fg); }
  .corredor, .sim, .nos, .contact, .como, .head--row { grid-template-columns: minmax(0, 1fr); }
  .gains, .rights__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .como__photo { aspect-ratio: 16 / 11; }
  .form { position: static; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding-block: 116px 90px; }
  .hero__lion { width: 95vw; right: -32%; opacity: .1; }
      .products { grid-template-columns: minmax(0, 1fr); }
  .pcard { min-height: 540px; }
  .compare { font-size: .82rem; }
  .compare__row > * { padding: .8rem .6rem; }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .foot__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .channels li { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .cookies { right: calc(16px + env(safe-area-inset-right, 0px)); margin-right: 0; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); max-width: none; }
}
@media (max-width: 480px) {
  .gains, .rights__grid, .sim__nums { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
