/* ==========================================================================
   NexPass · nexpass.mx — landing v1
   Depende de: fonts.css · nexpass-tokens.css · widgets.css
   Reglas de marca: verde y rojo SOLO para permitido / denegado (dentro de widgets).
   ========================================================================== */

:root {
  --navy: #10284A;  --blue: #1E6FBA;  --white: #FFFFFF;  --gray: #E9EBEF;  --ink: #1A1A1A;
  --blue-light: #6FB3F2;  --soft: #AFC0D6;  --muted: #6B7684;  --navy-deep: #0B1D38;
  --text-2: #40536E;                       /* texto secundario sobre claro (tinta Marino 80 %) */
  --line: rgba(16, 40, 74, .14);  --line-2: rgba(16, 40, 74, .28);  --line-w: rgba(255, 255, 255, .16);
  --f-d: 'Saans', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-m: 'Aeonik Fono', 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--navy-deep); color: var(--navy);
  font-family: var(--f-d); font-size: 16px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; color: var(--blue); font-weight: 400; }
.on-dark em { color: var(--blue-light); }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--blue-light); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: #fff; color: var(--navy); padding: 12px 18px; border-radius: 99px; font-family: var(--f-m); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; transition: top .25s; }
.skip:focus { top: 14px; }
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- tipografía ---------- */
.h1 { font-size: clamp(3.3rem, 8.2vw, 7rem); font-weight: 300; line-height: .93; letter-spacing: -.05em; }
.h2 { font-size: clamp(2.3rem, 5vw, 4.4rem); font-weight: 300; line-height: 1; letter-spacing: -.045em; }
.h3 { font-size: 1.5rem; font-weight: 500; line-height: 1.15; letter-spacing: -.025em; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.6; letter-spacing: -.005em; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-m); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }
.on-dark .eyebrow::before { background: var(--blue-light); }
.eyebrow .n { opacity: .55; }
.mono { font-family: var(--f-m); }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 52px; padding: 0 26px;
  border-radius: 99px; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  font-family: var(--f-m); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .35s;
}
.btn .ic { width: 16px; height: 16px; stroke-width: 2; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ic { transform: translateX(4px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-light); }
.btn-ghost { background: transparent; color: #fff; border-color: var(--line-w); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--blue); box-shadow: 0 14px 30px -14px rgba(30, 111, 186, .8); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 11px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) calc(var(--d, 0) * 90ms), transform .9s var(--ease) calc(var(--d, 0) * 90ms); }
.js .rv.in { opacity: 1; transform: none; }

/* ======================= NAV ======================= */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; border-bottom: 1px solid transparent; transition: background .4s, backdrop-filter .4s, border-color .4s; color: #fff; }
.nav.is-stuck, .nav.is-open { background: rgba(11, 29, 56, .9); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom-color: var(--line-w); }
.nav-in { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-brand { display: block; line-height: 0; }
.nav-brand img { width: 160px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; font-family: var(--f-m); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.nav-links a { white-space: nowrap; padding: 10px 14px; border-radius: 99px; color: var(--soft); transition: color .25s, background .25s; }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; background: rgba(255, 255, 255, .09); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-w); background: transparent; cursor: pointer; place-items: center; color: #fff; }
.nav-toggle .ic { width: 20px; height: 20px; }
.nav-toggle .x { display: none; }
.nav.is-open .nav-toggle .b { display: none; }
.nav.is-open .nav-toggle .x { display: block; }

.menu { position: fixed; inset: 0; z-index: 55; background: var(--navy-deep); color: #fff; padding: calc(var(--nav-h) + 28px) var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.menu.on { opacity: 1; visibility: visible; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-w); font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 300; letter-spacing: -.04em; }
.menu nav a span { font-family: var(--f-m); font-size: 11px; letter-spacing: .12em; color: var(--blue-light); }
.menu .btn { width: 100%; }

@media (max-width: 1080px) {
  .nav-links, .nav-right .btn { display: none; }
  .nav-toggle { display: grid; }
}

/* ======================= HERO ======================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  min-height: max(100svh, 780px); display: flex; align-items: center; padding: calc(var(--nav-h) + 56px) 0 96px;
  background: radial-gradient(110% 90% at 76% 28%, #1a3d73 0%, var(--navy) 46%, var(--navy-deep) 100%);
}
.hero-grid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2;
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 68% 42%, #000 25%, transparent 80%); mask-image: radial-gradient(ellipse 85% 85% at 68% 42%, #000 25%, transparent 80%); }
.hero-shield { position: absolute; z-index: -1; right: -9%; top: 50%; height: 128%; width: auto; transform: translateY(-50%); opacity: .045; pointer-events: none; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: -1; background: linear-gradient(to bottom, transparent, var(--navy-deep)); pointer-events: none; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); align-items: center; gap: clamp(28px, 4vw, 72px); }
.hero .eyebrow { color: var(--soft); margin-bottom: 30px; padding: 8px 16px 8px 14px; border: 1px solid var(--line-w); border-radius: 99px; background: rgba(255, 255, 255, .04); }
.hero .eyebrow::before { box-shadow: 0 0 0 4px rgba(111, 179, 242, .22); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(111, 179, 242, 0); } }
.hero .lead { margin-top: 32px; max-width: 46ch; color: var(--soft); }
.hero-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-family: var(--f-m); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.hero-note span { display: inline-flex; align-items: center; gap: 10px; }
.hero-note span::before { content: ''; width: 6px; height: 6px; background: var(--blue-light); }

.hero-stage { position: relative; width: 100%; height: calc(600px * var(--k, 1)); --px: 0; --py: 0; --k: 1; }
.hs-canvas { position: absolute; left: 50%; top: 0; width: 580px; height: 600px; transform: translateX(-50%) scale(var(--k)); transform-origin: top center; }
.hs { position: absolute; transition: transform .7s var(--ease); will-change: transform; }
.hs .fl { animation: float 9s ease-in-out infinite alternate; }
@keyframes float { from { transform: translateY(-8px); } to { transform: translateY(10px); } }
.hs .npw-card { width: 100%; box-shadow: 0 40px 90px -28px rgba(2, 8, 22, .75), 0 0 0 1px rgba(255, 255, 255, .03); }
.hs-main { z-index: 3; right: 0; top: 44px; width: 332px; transform: translate3d(calc(var(--px) * 16px), calc(var(--py) * 12px), 0); }
.hs-main .fl { animation-duration: 10s; }
.hs-ask { z-index: 4; left: 0; bottom: 0; width: 266px; transform: translate3d(calc(var(--px) * -26px), calc(var(--py) * -16px), 0); }
.hs-ask .fl { animation-duration: 8s; animation-delay: -3s; }
.hs-pass { z-index: 2; left: 0; top: 0; width: 262px; transform: translate3d(calc(var(--px) * -30px), calc(var(--py) * 18px), 0); }
.hs-pass .fl { animation-duration: 11s; animation-delay: -5s; }
.hs-pass .sc { width: 262px; height: 346px; }
.hs-pass .sc .npw-card { width: 340px; transform: scale(.77); transform-origin: top left; }
.hs-ask .npw-ask-act .npw-btn { min-width: 0; padding: 0 10px; gap: 6px; }
.swap-in { animation: swapIn .7s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) { .hs-pass { display: none; } }
@media (max-width: 960px) {
  .hero { min-height: 0; padding-bottom: 72px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero-stage { max-width: 600px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .hero-stage { height: auto; max-width: 400px; }
  .hs-canvas { position: static; width: 100%; height: auto; transform: none; }
  .hs { position: relative; inset: auto; }
  .hs-main { right: auto; top: auto; width: 100%; transform: none; }
  .hs-ask, .hs-pass { display: none; }
}

/* ---------- servicio 360 ---------- */
.s360 { position: relative; z-index: 2; background: var(--navy-deep); border-bottom: 1px solid var(--line-w); color: #fff; }
.s360-in { display: grid; gap: 18px; padding-block: 30px 34px; }
.s360-l { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.s360-l h2 { font-family: var(--f-m); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-light); }
.s360-l p { font-size: 15px; color: var(--soft); }
.s360-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.s360-list li { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 99px; background: #fff; color: var(--navy); font-size: 15px; font-weight: 500; letter-spacing: -.01em; transition: transform .35s var(--ease), background .3s; }
.s360-list li:hover { transform: translateY(-3px); background: var(--blue-light); }
.s360-ic { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.s360-ic .ic { width: 18px; height: 18px; stroke-width: 1.9; }
@media (max-width: 1360px) { .s360-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .s360-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .s360-list li { font-size: 14px; padding-right: 12px; } }

/* ======================= SECCIONES ======================= */
.sec { position: relative; padding: clamp(84px, 10vw, 148px) 0; }
.sec-gray { background: var(--gray); }
.sec-white { background: #fff; }
.sec-navy { background: var(--navy); color: #fff; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 84px); }
.sec-head .eyebrow { margin-bottom: 26px; }
.sec-head .lead { color: var(--text-2); max-width: 44ch; }
.sec-navy .sec-head .lead { color: var(--soft); }
@media (max-width: 900px) { .sec-head { grid-template-columns: minmax(0, 1fr); } }

/* ---------- pilares ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pillar { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px 26px 34px; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s; }
.pillar:hover { transform: translateY(-6px); border-color: var(--blue); box-shadow: 0 34px 60px -34px rgba(16, 40, 74, .45); }
.pillar-top { display: flex; justify-content: space-between; align-items: center; }
.pillar-n { font-family: var(--f-m); font-size: 12px; font-weight: 500; letter-spacing: .12em; color: var(--blue); }
.pillar-ico { width: 54px; height: 54px; border-radius: 17px; background: var(--navy); color: #fff; display: grid; place-items: center; transition: background .4s, transform .5s var(--ease); }
.pillar-ico .ic { width: 24px; height: 24px; stroke-width: 1.7; }
.pillar:hover .pillar-ico { background: var(--blue); transform: rotate(-6deg) scale(1.05); }
.pillar h3 { margin: 64px 0 12px; font-size: clamp(1.4rem, 1.8vw, 1.65rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.pillar p { color: var(--text-2); font-size: 15.5px; }
.proof { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.proof li { display: flex; align-items: baseline; gap: 18px; padding: 34px 24px 6px 0; }
.proof b { font-size: clamp(3rem, 6vw, 5.2rem); font-weight: 300; line-height: .9; letter-spacing: -.05em; color: var(--navy); }
.proof b small { font-size: .42em; letter-spacing: -.02em; color: var(--blue); }
.proof span { font-size: 15px; color: var(--text-2); max-width: 18ch; line-height: 1.35; }
@media (max-width: 1100px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .pillars { grid-template-columns: minmax(0, 1fr); } .pillar h3 { margin-top: 40px; }
  .proof { grid-template-columns: minmax(0, 1fr); } .proof li { padding: 22px 0; border-bottom: 1px solid var(--line-2); }
}

/* ---------- etiquetas y datos compartidos ---------- */
.chip-o { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 16px; border-radius: 99px; background: var(--blue); color: #fff; font-family: var(--f-m); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.chip-o .ic { width: 14px; height: 14px; stroke-width: 2.6; }
.chip-o.is-solid { background: var(--blue-light); color: var(--navy); }
.chip-o i { width: 7px; height: 7px; border-radius: 50%; background: var(--navy); }
.fine { margin-top: 22px; font-size: 13px; color: var(--text-2); }

/* ---------- tecnología ---------- */
.tech { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, .46fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.tcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 32px 32px 36px; box-shadow: 0 30px 60px -44px rgba(16, 40, 74, .4); }
.tcard-top { display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.brandname { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--navy); }
.tcard-k { margin-top: 22px; font-family: var(--f-m); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.tcard h3 { margin: 10px 0 28px; font-size: clamp(1.25rem, 1.8vw, 1.55rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.ticks { display: flex; flex-direction: column; gap: 14px; margin-top: auto; }
.ticks li { display: flex; align-items: center; gap: 14px; font-size: 15.5px; }
.tk { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.tcard:last-child .tk { background: var(--blue); }
.tk .ic { width: 19px; height: 19px; stroke-width: 1.9; }
.tech-fig { display: grid; place-items: center; margin: 0; }
.tech-fig img { width: 100%; max-width: 290px; height: auto; mix-blend-mode: multiply; }
@media (max-width: 1100px) { .tech { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .tech-fig { order: -1; grid-column: 1 / -1; } .tech-fig img { max-width: 210px; } }
@media (max-width: 720px) { .tech { grid-template-columns: minmax(0, 1fr); } }

/* ---------- hoy vs nexpass ---------- */
.vs { display: flex; flex-direction: column; gap: 12px; }
.vs-h, .vs-row { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); align-items: center; }
.vs-h { padding: 0 8px 4px; font-family: var(--f-m); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.vs-h span:last-child { color: var(--blue-light); }
.vs-a, .vs-b { display: flex; align-items: center; gap: 16px; min-height: 80px; padding: 14px 32px; border-radius: 99px; }
.vs-a { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-w); }
.vs-b { background: #fff; color: var(--navy); padding-left: 16px; transition: transform .4s var(--ease), box-shadow .4s; }
.vs-row:hover .vs-b { transform: translateX(6px); box-shadow: 0 24px 50px -30px rgba(2, 8, 22, .8); }
.vs-a b, .vs-b b { display: block; font-size: 1.05rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.vs-a small, .vs-b small { display: block; margin-top: 2px; font-size: 14px; }
.vs-a b { color: #fff; } .vs-a small { color: var(--soft); } .vs-b small { color: var(--text-2); }
.vs-ic { width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }
.vs-ic .ic { width: 22px; height: 22px; stroke-width: 1.8; }
.vs-go { justify-self: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-light); color: var(--navy); display: grid; place-items: center; }
.vs-go .ic { width: 18px; height: 18px; stroke-width: 2.2; }
@media (max-width: 860px) {
  .vs-h { display: none; }
  .vs-row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-bottom: 20px; }
  .vs-go { width: 32px; height: 32px; transform: rotate(90deg); }
  .vs-a, .vs-b { border-radius: 24px; padding: 16px 22px; }
  .vs-b { padding-left: 14px; } .vs-row:hover .vs-b { transform: none; }
}

/* ---------- recorrido en sitio ---------- */
.rec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.rec-steps { display: flex; flex-direction: column; gap: 30px; }
.rec-steps > li { position: relative; display: flex; gap: 22px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: 0 24px 50px -40px rgba(16, 40, 74, .45); }
.rec-steps > li:not(:last-child)::after { content: ''; position: absolute; left: 51px; top: 100%; height: 30px; width: 1px; background: var(--blue); }
.rec-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.rec-ic.is-on { background: var(--blue); }
.rec-ic .ic { width: 24px; height: 24px; stroke-width: 1.7; }
.rec-steps h3 { display: flex; align-items: baseline; gap: 12px; font-size: 1.25rem; font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.rec-steps h3 span { font-family: var(--f-m); font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--blue); }
.rec-steps p { margin-top: 6px; color: var(--text-2); font-size: 15px; }
.basis { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.basis li { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 99px; font-family: var(--f-m); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.survey, .mon { margin: 0; padding: 30px 30px 22px; border-radius: 28px; background: var(--navy); color: #fff; box-shadow: 0 40px 80px -50px rgba(16, 40, 74, .8); }
.survey-h, .mon-h { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.survey-h > div, .mon-h > div { flex: 1; min-width: 0; }
.survey-ic { width: 50px; height: 50px; border-radius: 16px; background: var(--blue); display: grid; place-items: center; flex: none; }
.survey-ic .ic { width: 24px; height: 24px; stroke-width: 1.8; }
.survey h3, .mon h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -.025em; line-height: 1.1; }
.survey-h p, .mon-h p { margin-top: 2px; font-size: 14px; color: var(--blue-light); }
.survey li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line-w); font-size: 16px; }
.survey li .ic { width: 22px; height: 22px; stroke-width: 2.2; color: var(--blue-light); }
.survey em, .mon em { font-style: normal; white-space: nowrap; padding: 8px 16px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-w); font-family: var(--f-m); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-light); }
.survey figcaption, .mon figcaption { margin-top: 14px; font-size: 12.5px; color: var(--soft); }
@media (max-width: 960px) { .rec { grid-template-columns: minmax(0, 1fr); } }

/* ---------- póliza ---------- */
.pol { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.pol-cards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.pcard { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; transition: transform .5s var(--ease); }
.pcard:hover { transform: translateY(-4px); }
.pcard.is-dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.pcard-ic { width: 46px; height: 46px; margin-bottom: 14px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; }
.pcard.is-dark .pcard-ic { background: var(--blue); }
.pcard-ic .ic { width: 21px; height: 21px; stroke-width: 1.8; }
.pcard-k { font-family: var(--f-m); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.pcard.is-dark .pcard-k { color: var(--blue-light); }
.pcard h3 { font-size: 1.7rem; font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.pcard p:last-child { margin-top: 8px; font-size: 15px; color: var(--text-2); }
.pcard.is-dark p:last-child { color: var(--soft); }
.mon li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 14px; margin-top: 8px; padding: 10px 10px 10px 18px; border-radius: 99px; background: rgba(0, 0, 0, .22); font-size: 15px; }
.mon li .ic { width: 20px; height: 20px; stroke-width: 2; color: var(--blue-light); }
.mon li span { color: var(--soft); min-width: 0; }
.mon li span b { color: #fff; font-weight: 600; }
.mon em.is-soft { background: var(--blue-light); border-color: transparent; color: var(--navy); }
@media (max-width: 1100px) { .pol { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .pol-cards { grid-template-columns: minmax(0, 1fr); } .mon li { border-radius: 22px; grid-template-columns: 22px minmax(0, 1fr); } .mon li em { grid-column: 2; justify-self: start; } .survey li { grid-template-columns: 24px minmax(0, 1fr); } .survey li em { grid-column: 2; justify-self: start; } }

/* ---------- quién entra (tabs) ---------- */
.who { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: stretch; }
.who-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); align-self: center; }
.who-tab { position: relative; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line-2); padding: 28px 0 28px 26px; cursor: pointer; color: var(--text-2); transition: color .3s; }
.who-tab::before { content: ''; position: absolute; left: 0; top: 0; bottom: -1px; width: 3px; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.who-tab .t { display: flex; align-items: baseline; gap: 18px; font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.1; }
.who-tab .n { font-family: var(--f-m); font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.who-tab .d { display: block; max-height: 0; overflow: hidden; opacity: 0; margin-top: 0; max-width: 44ch; transition: max-height .6s var(--ease), opacity .4s, margin .5s var(--ease); }
.who-tab:hover { color: var(--navy); }
.who-tab[aria-selected="true"] { color: var(--navy); }
.who-tab[aria-selected="true"]::before { transform: scaleY(1); }
.who-tab[aria-selected="true"] .n { color: var(--blue); }
.who-tab[aria-selected="true"] .d { max-height: 220px; opacity: 1; margin-top: 16px; }
.who-tab .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.who-tab .tags span, .tag { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 99px; font-family: var(--f-m); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.who-tab .bar { position: absolute; left: 26px; right: 0; bottom: -1px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.who-tab[aria-selected="true"] .bar { transform: scaleX(var(--p, 0)); }

.who-stage { position: relative; display: grid; border-radius: 30px; background: var(--navy); overflow: hidden; isolation: isolate; }
.who-stage::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 85%); mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 85%); }
.who-stage::after { content: ''; position: absolute; z-index: -1; left: 50%; top: 50%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(30, 111, 186, .38), transparent 66%); filter: blur(30px); }
.who-panel { grid-area: 1 / 1; min-height: 600px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 40px; opacity: 0; visibility: hidden; transform: translateY(18px) scale(.98); transition: opacity .6s var(--ease), transform .8s var(--ease), visibility 0s .6s; pointer-events: none; }
.who-panel.on { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.who-panel .npw { width: 100%; max-width: 380px; }
.who-panel .npw-card { width: 100%; box-shadow: 0 40px 80px -30px rgba(2, 8, 22, .8); }
.who-panel .npw-cred { max-width: 340px; }
.who-note { display: none; max-width: 380px; color: var(--soft); font-size: 15px; }
.who-note b { display: block; color: #fff; font-size: 1.15rem; font-weight: 500; letter-spacing: -.02em; margin-bottom: 6px; }
.who-cap { position: absolute; left: 24px; bottom: 20px; font-family: var(--f-m); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); opacity: .8; }

@media (max-width: 960px) {
  .who { grid-template-columns: minmax(0, 1fr); }
  .who-tabs { flex-direction: row; overflow-x: auto; border: 0; gap: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; align-self: stretch; }
  .who-tabs::-webkit-scrollbar { display: none; }
  .who-tab { flex: none; border: 1px solid var(--line-2); border-radius: 99px; padding: 12px 18px; }
  .who-tab::before, .who-tab .bar, .who-tab .n, .who-tab .d, .who-tab .tags { display: none; }
  .who-tab .t { font-size: 1rem; letter-spacing: -.01em; font-weight: 500; }
  .who-tab[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
  .who-stage { border-radius: 24px; }
  .who-panel { padding: 28px 22px 64px; min-height: 0; }
  .who-note { display: block; }
}

/* ---------- arranque (6 etapas) ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 24px; }
.steps::before, .steps::after { content: ''; position: absolute; left: 0; top: 6px; height: 2px; }
.steps::before { right: 0; background: var(--line-2); }
.steps::after { width: 0; background: var(--blue); transition: width 2.4s var(--ease); }
.steps.in::after { width: 100%; }
.step { position: relative; padding-top: 60px; }
.step::before { content: ''; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); transition: background .4s, border-color .4s, box-shadow .4s; transition-delay: calc(var(--i) * .38s); }
.steps.in .step::before { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 6px rgba(30, 111, 186, .16); }
.step-n { font-family: var(--f-m); font-size: 12px; font-weight: 500; letter-spacing: .12em; color: var(--blue); }
.step h3 { margin: 14px 0 12px; font-size: 1.35rem; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.step p { color: var(--text-2); font-size: 14.5px; }
@media (max-width: 1100px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-left: 40px; }
  .steps::before, .steps::after { left: 6px; top: 0; width: 2px; }
  .steps::before { right: auto; bottom: 0; height: auto; }
  .steps::after { height: 0; transition: height 2.4s var(--ease); }
  .steps.in::after { width: 2px; height: 100%; }
  .step { padding-top: 0; }
  .step::before { left: -40px; top: 4px; }
}

/* ---------- manifiesto ---------- */
.manifest { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-deep); color: #fff; padding: clamp(110px, 15vw, 220px) 0; }
.manifest canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, transparent 30%, #000 100%); mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, transparent 30%, #000 100%); }
.manifest .eyebrow { color: var(--soft); margin-bottom: 40px; }
.manifest-q { font-size: clamp(2.3rem, 6.4vw, 6rem); font-weight: 300; line-height: 1; letter-spacing: -.05em; max-width: 17ch; }
.manifest-q .w { opacity: .16; transition: opacity .45s; }
.manifest-q .w.lit { opacity: 1; }
.manifest-f { margin-top: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.manifest-f p { max-width: 44ch; color: var(--soft); }

/* ======================= CONTACTO ======================= */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact-copy { position: sticky; top: calc(var(--nav-h) + 32px); }
.contact-copy .eyebrow { margin-bottom: 26px; }
.contact-copy .lead { margin-top: 28px; color: var(--text-2); max-width: 40ch; }
.contact-copy .phone { margin-top: 30px; }
.mails { margin-top: 26px; max-width: 400px; border-top: 1px solid var(--line-2); }
.mails li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 15.5px; }
.mails span { font-family: var(--f-m); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.mails a { font-weight: 500; letter-spacing: -.01em; transition: color .25s; }
.mails a:hover { color: var(--blue); }
.on-dark .mails, .on-dark .mails li { border-color: var(--line-w); }
.on-dark .mails span { color: var(--blue-light); }
.on-dark .mails a:hover { color: var(--blue-light); }
.next { margin-top: 40px; border-top: 1px solid var(--line-2); }
.next li { display: flex; gap: 22px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.next li span { font-family: var(--f-m); font-size: 11px; font-weight: 500; letter-spacing: .12em; color: var(--blue); }
.next li b { font-weight: 500; letter-spacing: -.02em; font-size: 1.1rem; display: block; }
.next li small { display: block; font-size: 14.5px; color: var(--text-2); margin-top: 2px; }

.card-form { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(26px, 4vw, 48px); box-shadow: 0 50px 90px -50px rgba(16, 40, 74, .5); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field > label, .field > .lbl { font-family: var(--f-m); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.field > label i { font-style: normal; color: var(--blue); }
.field > label small { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.input, .select, .textarea {
  width: 100%; height: 56px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 14px; background: #fff;
  font: inherit; font-size: 16px; color: var(--navy); transition: border-color .2s, box-shadow .2s, background .2s; appearance: none; -webkit-appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #8d97a5; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--navy); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 111, 186, .18); }
.textarea { height: auto; min-height: 140px; padding: 16px 18px; resize: vertical; line-height: 1.5; }
.select { padding-right: 48px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2310284A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.select:invalid { color: #8d97a5; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.err { display: none; align-items: flex-start; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--navy); }
.err::before { content: '!'; flex: none; margin-top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--f-m); font-size: 11px; font-weight: 600; }
.field.has-error .err { display: flex; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 14.5px; font-weight: 500; letter-spacing: -.01em; color: var(--navy); transition: background .25s, color .25s, border-color .25s; cursor: pointer; }
.chip:hover span { border-color: var(--navy); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 3px; }
.field > label.consent { font-family: var(--f-d); font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.consent { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; color: var(--text-2); line-height: 1.5; cursor: pointer; }
.consent input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border: 1px solid var(--line-2); border-radius: 7px; background: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.consent input::after { content: ''; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .2s var(--ease); }
.consent input:checked { background: var(--navy); border-color: var(--navy); }
.consent input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.consent a { color: var(--blue); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; justify-content: space-between; }
.form-foot small { color: var(--text-2); font-size: 13px; max-width: 34ch; }
.form-status { margin-top: 18px; min-height: 1.4em; font-size: 14px; font-weight: 500; color: var(--navy); }
.btn .spin { display: none; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.is-loading .btn .spin { display: block; }
.is-loading .btn .ic { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.sent { display: none; text-align: left; padding: clamp(8px, 2vw, 24px) 0; }
.card-form.is-sent .sent { display: block; animation: swapIn .7s var(--ease); }
.card-form.is-sent form { display: none; }
.sent img { width: 64px; height: auto; margin-bottom: 28px; }
.sent h3 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; letter-spacing: -.045em; line-height: 1; }
.sent p { margin: 18px 0 32px; color: var(--text-2); max-width: 42ch; }
@media (max-width: 960px) { .contact { grid-template-columns: minmax(0, 1fr); } .contact-copy { position: static; } }
@media (max-width: 600px) { .form-grid { grid-template-columns: minmax(0, 1fr); } .form-foot .btn { width: 100%; } }

/* ======================= FOOTER ======================= */
.foot { background: var(--navy-deep); color: #fff; padding: clamp(64px, 8vw, 104px) 0 36px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .55fr)); gap: 48px; padding-bottom: 64px; border-bottom: 1px solid var(--line-w); }
.foot-brand img { width: 240px; height: auto; }
.foot-brand p { margin-top: 28px; max-width: 34ch; color: var(--soft); font-size: 15px; }
.foot h4 { margin: 0 0 20px; font-family: var(--f-m); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-light); }
.foot li + li { margin-top: 12px; }
.foot li a { color: var(--soft); font-size: 15px; transition: color .25s; }
.foot li a:hover { color: #fff; }
.foot-bot { padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-family: var(--f-m); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
@media (max-width: 900px) { .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot-brand { grid-column: 1 / -1; } }

/* ======================= LEGAL ======================= */
.legal-hero { background: var(--navy); color: #fff; padding: calc(var(--nav-h) + 72px) 0 72px; }
.legal-hero .h2 { margin-top: 22px; }
.legal { background: #fff; padding: 72px 0 120px; }
.legal .wrap { max-width: 860px; }
.legal h2 { margin: 48px 0 14px; font-size: 1.6rem; font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.legal p, .legal li { color: var(--text-2); }
.legal p + p { margin-top: 14px; }
.legal ul { list-style: disc; padding-left: 22px; margin-top: 12px; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.draft { margin-bottom: 40px; padding: 18px 22px; border: 1px solid var(--navy); border-radius: 14px; background: var(--gray); font-family: var(--f-m); font-size: 12px; line-height: 1.6; letter-spacing: .02em; color: var(--navy); }

/* ======================= MOVIMIENTO REDUCIDO ======================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; transform: none; }
  .manifest-q .w { opacity: 1; }
}
