/* AFIS · propuesta de sitio corporativo (v3)
   Orden y calidad de las páginas aprobadas del grupo (contenedor 1180 + 22, secciones alternadas, encabezado centrado con antetítulo,
   título en 2 líneas y bajada), con bloques propios de AFIS: cuatro pasos con flechas que se encienden, ficha de la administradora con tres vistas, tipografía cinética de pilares, tarjetas con íconos en
   degradados vivos, chips flotantes sobre la foto. Colores medidos en la presentación de AFIS; acentos vivos solo en los detalles. */
:root {
  --bg: #ffffff;
  --soft: #f4f6fb;
  --ink: #042050;
  --text: #232a44;
  --muted: #5b6075;
  --faint: #6b7085; /* 4,5:1 sobre el fondo suave (antes #8a90a5: 2,9:1) */
  --line: #e3e7f1;
  --brand: #0a3db5;
  --brand-dark: #072d8a;
  --brand-soft: #e8eefa;
  --navy: #001c48;
  --navy-deep: #00143a;
  --violet: #8b5cf6;
  --blue: #2f7bff;
  --cyan: #22d3ee;
  --green: #34d399;
  --amber: #fbbf24;
  --pend: #f08a24;
  --fg: var(--text);
  --radius: 24px;
  --radius-sm: 14px;
  --shadow-soft: 0 1px 2px rgba(4, 32, 80, .04), 0 14px 34px -18px rgba(4, 32, 80, .22);
  --shadow-lift: 0 2px 6px rgba(4, 32, 80, .06), 0 30px 60px -28px rgba(4, 32, 80, .4);
  --ring: 0 0 0 1px rgba(4, 32, 80, .06);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 72px;
  --wrap: 1180px;
  --gutter: 22px;
  --section: clamp(72px, 8vw, 112px);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.55; letter-spacing: -.011em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body.lock { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 10px; }
::selection { background: var(--brand); color: #fff; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
section.block { padding-block: var(--section); scroll-margin-top: calc(24px - var(--section)); }
section.block.soft { background: var(--soft); }

/* Tipografía */
h1, h2, h3, h4 { margin: 0; color: var(--ink); letter-spacing: -.04em; line-height: 1.06; text-wrap: balance; font-weight: 700; }
h1 { font-size: clamp(36px, 4.6vw, 64px); letter-spacing: -.045em; line-height: 1.04; }
h2 { font-size: clamp(32px, min(4.2vw, 6vh), 56px); letter-spacing: -.045em; line-height: 1.04; }
h3 { font-size: 22px; letter-spacing: -.03em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: var(--muted); }
.tabular { font-variant-numeric: tabular-nums; }
.lines span { display: block; }

/* Detalles vivos: puntos, tiles con degradado y botones */
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.c-cyan { background: var(--cyan); box-shadow: 0 0 10px rgba(34, 211, 238, .7); }
.c-violet { background: var(--violet); box-shadow: 0 0 10px rgba(139, 92, 246, .7); }
.c-green { background: var(--green); box-shadow: 0 0 10px rgba(52, 211, 153, .7); }
.c-amber { background: var(--amber); box-shadow: 0 0 10px rgba(251, 191, 36, .7); }
.c-blue { background: var(--blue); box-shadow: 0 0 10px rgba(47, 123, 255, .7); }
.gtile { position: relative; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; overflow: hidden; flex: none; box-shadow: 0 12px 24px -12px rgba(4, 32, 80, .55), inset 0 0 0 1px rgba(255, 255, 255, .25); }
.gtile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .38), transparent 55%); }
.gtile svg { position: relative; width: 24px; height: 24px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .18)); }
.g-violet { background: linear-gradient(135deg, #8b5cf6, #2f7bff); }
.g-cyan { background: linear-gradient(135deg, #22d3ee, #2f7bff); }
.g-green { background: linear-gradient(135deg, #34d399, #0ea5e9); }
.g-amber { background: linear-gradient(135deg, #fbbf24, #f97316); }
.g-blue { background: linear-gradient(135deg, #4f8bff, #1d4ed8); }

/* Encabezado de sección: centrado, antetítulo con línea, título en 2 líneas que entra palabra por palabra, bajada gris */
.head { max-width: 900px; margin-inline: auto; text-align: center; display: grid; gap: 16px; justify-items: center; }
.head .lead { max-width: 72ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--brand); }
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--violet), var(--blue)); }
.hint { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--faint); }
.hint svg { width: 16px; height: 16px; }
.words .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .02em .1em; margin: 0 -.02em -.1em; }
.rv-word { display: inline-block; transition: transform .9s var(--ease) calc(var(--i, 0) * 55ms); }
.rv-head .eyebrow { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv-head .rv-text { transition: opacity .9s var(--ease) .25s, transform .9s var(--ease) .25s; }
.rv-head[data-reveal="hidden"] .rv-word { transform: translateY(112%); }
.rv-head[data-reveal="hidden"] .eyebrow { opacity: 0; transform: translateX(-14px); }
.rv-head[data-reveal="hidden"] .rv-text { opacity: 0; transform: translateY(16px); }
.rv { transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.rv[data-reveal="hidden"] { opacity: 0; transform: translateY(22px); }
.rv-arming .rv, .rv-arming .rv-word, .rv-arming .rv-head .eyebrow, .rv-arming .rv-head .rv-text { transition: none !important; }

/* Botones píldora */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; border: 0; font-weight: 600; font-size: 16px; white-space: nowrap; cursor: pointer; transition: transform .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease), filter .3s var(--ease); }
.btn:active { transform: scale(.98); }
.btn.primary { background: linear-gradient(90deg, #286ff1, #7b3fe4); color: #fff; box-shadow: 0 12px 26px -14px rgba(47, 123, 255, .9); }
.btn.primary:hover { filter: brightness(1.06); transform: translateY(-2px); }
.btn.white { background: #fff; color: var(--ink); box-shadow: 0 14px 32px -14px rgba(0, 0, 0, .55); }
.btn.white:hover { transform: translateY(-2px); }
.btn.glass { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .38); }
.btn.glass:hover { background: rgba(255, 255, 255, .22); }
.btn.sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }
.btn[aria-disabled="true"] { cursor: default; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft), var(--ring); padding: 28px; }
.lift { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift), var(--ring); }

/* Menú */
.nav { position: fixed; inset: 0 0 auto 0; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--nav-h); transition: background-color .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease); color: #fff; }
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav .logo { display: flex; align-items: center; height: 44px; }
.nav .logo img { height: 44px; width: auto; }
.nav .logo .dark { display: none; }
.nav.solid, .nav.always-solid { background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav.solid .logo .light, .nav.always-solid .logo .light { display: none; }
.nav.solid .logo .dark, .nav.always-solid .logo .dark { display: block; }
.nav ul { position: relative; list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.nav ul a { position: relative; z-index: 1; display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 500; transition: color .3s; }
.nav ul a.active { font-weight: 600; }
.nav .bubble { position: absolute; top: 0; left: 0; height: 40px; width: 0; border-radius: 999px; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4), inset 0 1px 0 rgba(255, 255, 255, .35); opacity: 0; pointer-events: none; transition: transform .55s cubic-bezier(.22, 1.2, .36, 1), width .55s cubic-bezier(.22, 1.2, .36, 1), opacity .3s, background-color .4s, box-shadow .4s; }
.nav .bubble.show { opacity: 1; }
.nav.solid .bubble, .nav.always-solid .bubble { background: var(--brand-soft); box-shadow: inset 0 0 0 1px rgba(10, 61, 181, .18), inset 0 1px 0 #fff; }
.nav .right { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px 3px 3px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.lang .globe { width: 16px; height: 16px; margin-right: 6px; opacity: .85; }
.lang button, .lang a { height: 32px; min-width: 40px; padding: 0 10px; border: 0; background: transparent; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer; opacity: .78; transition: background-color .25s, color .25s, opacity .25s; }
.lang button[aria-pressed="true"], .lang a[aria-current] { background: #fff; color: var(--ink); opacity: 1; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.nav.solid .lang, .nav.always-solid .lang, .lang.on-light { box-shadow: inset 0 0 0 1px rgba(4, 32, 80, .18); color: var(--ink); }
.nav.solid .lang button[aria-pressed="true"], .nav.always-solid .lang button[aria-pressed="true"], .lang.on-light button[aria-pressed="true"], .nav.solid .lang a[aria-current], .nav.always-solid .lang a[aria-current], .lang.on-light a[aria-current] { background: var(--ink); color: #fff; }
.lang.on-dark { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.lang.on-dark button[aria-pressed="true"], .lang.on-dark a[aria-current] { background: #fff; color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; }
.burger span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; margin: 4px auto; transition: transform .3s var(--ease), opacity .3s; }
.panel { position: fixed; inset: 0; z-index: 49; background: #fff; color: var(--ink); padding: calc(var(--nav-h) + 24px) 24px 32px; display: none; flex-direction: column; gap: 8px; overflow: auto; }
.panel.open { display: flex; }
.panel a.item { font-size: 24px; font-weight: 600; padding: 14px 8px; border-radius: 14px; letter-spacing: -.02em; }
.panel a.item:hover { background: var(--soft); }
.panel .foot { margin-top: auto; display: grid; gap: 14px; padding-top: 24px; }
.panel .foot .btn { width: 100%; }
.panel .foot .lang { justify-content: center; }

/* Portada */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; color: #fff; isolation: isolate; overflow: hidden; background: var(--navy); }
.hero-media { position: absolute; inset: 0; z-index: -1; will-change: transform; }
.hero video.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; background: var(--navy); }
.hero .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 20, 58, .8) 0%, rgba(0, 24, 66, .52) 38%, rgba(0, 20, 58, .6) 72%, rgba(0, 16, 48, .92) 100%), radial-gradient(70% 55% at 50% 48%, rgba(0, 20, 58, .35), rgba(0, 20, 58, 0) 70%); }
.hero-content { text-align: center; display: grid; justify-items: center; gap: 20px; padding-block: calc(var(--nav-h) + 40px) 112px; will-change: opacity, transform; }
.hero h1 { color: #fff; max-width: 34ch; }
.hero h1 .grad { background: linear-gradient(90deg, #8fc1ff 0%, #b9a0ff 50%, #7cc4ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.hero .lead { color: rgba(255, 255, 255, .86); max-width: 52ch; font-size: clamp(17px, 1.45vw, 21px); }
.hero .tag { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 6px 16px 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); letter-spacing: .01em; text-align: left; line-height: 1.35; }
.hero .tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px 2px rgba(34, 211, 238, .7); animation: breathe 3.6s ease-in-out infinite; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.hero-facts { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero-facts li { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .18); font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .92); }
.scroll-cue { position: absolute; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); color: rgba(255, 255, 255, .7); padding: 6px; }
.scroll-cue span { display: grid; width: 24px; height: 40px; border: 1px solid currentColor; border-radius: 999px; justify-content: center; padding-top: 8px; }
.scroll-cue i { display: block; width: 3px; height: 8px; border-radius: 2px; background: currentColor; animation: cue 1.8s ease-in-out infinite; }
.hero-note { max-width: 56ch; margin: 2px 0 0; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, .74); }
.hero-pause { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
.rise { animation: rise .9s var(--ease) var(--d, 0s) both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(8px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes breathe { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.media-btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 10px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background-color .25s; }
.media-btn:hover { background: rgba(255, 255, 255, .22); }
.media-btn svg { width: 16px; height: 16px; }

/* Quiénes somos: ficha de la administradora con tres vistas (qué hacemos, trayectoria, marco) que avanzan solas, y la foto con chips */
.card.profile { display: grid; margin-top: 36px; padding: 0; overflow: hidden; }
@media (min-width: 1024px) { .profile { grid-template-columns: 1.15fr .85fr; } }
.pf-main { padding: 24px 28px 28px; display: grid; gap: 18px; align-content: start; min-width: 0; }
.seg { display: flex; gap: 6px; padding: 4px; border-radius: 999px; background: var(--soft); }
.seg [role="tab"] { position: relative; flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-family: inherit; font-size: 13.5px; font-weight: 600; line-height: 1; cursor: pointer; overflow: hidden; white-space: nowrap; transition: color .25s, background .25s, box-shadow .25s; }
.seg [role="tab"] svg { width: 16px; height: 16px; flex: none; }
.seg [role="tab"]:hover { color: var(--ink); }
.seg [role="tab"]:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.seg [role="tab"].on { background: #fff; color: var(--ink); box-shadow: var(--shadow-soft), var(--ring); }
.seg .pl { position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--violet), var(--blue)); transform: scaleX(0); transform-origin: left; }
.profile.auto .seg [role="tab"].on .pl { animation: fill var(--step, 6500ms) linear forwards; }
.profile.auto.paused .seg [role="tab"].on .pl { animation-play-state: paused; }
.pf-panels { display: grid; min-width: 0; }
.pf-panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s; }
.pf-panel.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.verbs, .marco, .tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px 20px; }
@media (min-width: 640px) { .verbs { grid-template-columns: 1fr 1fr; } .tl { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.verbs li, .marco li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.verbs b, .marco b, .tl b { display: block; font-size: 15px; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); }
.verbs p, .marco p, .tl p { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.tl li { position: relative; padding-top: 14px; border-top: 2px solid var(--line); }
.tl li::before { content: ""; position: absolute; top: -2px; left: 0; width: 40px; height: 2px; background: linear-gradient(90deg, var(--violet), var(--blue)); }
.tl-y { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); margin-bottom: 6px; }
.pf-media { position: relative; margin: 0; min-height: 240px; }
.pf-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gtile.sm { width: 40px; height: 40px; border-radius: 12px; }
.gtile.sm svg { width: 20px; height: 20px; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 13px; font-weight: 600; box-shadow: var(--shadow-lift), var(--ring); white-space: nowrap; }
.chip-tr { top: 18px; right: 18px; }
.chip-bl { bottom: 18px; left: 18px; }

/* Cómo funciona: cuatro pasos en fila, conectados por flechas que se encienden hasta el paso activo; avance automático mientras se ve */
.flow { margin-top: 36px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.steps li { position: relative; display: grid; }
.steps li:nth-child(1) .step { --c: #fbbf24; } .steps li:nth-child(2) .step { --c: #8b5cf6; } .steps li:nth-child(3) .step { --c: #34d399; } .steps li:nth-child(4) .step { --c: #2f7bff; }
.step { position: relative; width: 100%; display: grid; gap: 8px; justify-items: start; text-align: left; padding: 22px 22px 24px; background: #fff; border: 0; border-radius: 20px; box-shadow: var(--shadow-soft), var(--ring); color: inherit; font-family: inherit; cursor: pointer; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift), var(--ring); }
.step:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.step.on { box-shadow: var(--shadow-lift), 0 0 0 2px var(--c, var(--ink)); }
.step .num { position: absolute; top: 16px; right: 16px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--soft); transition: background .25s, color .25s; }
.step.on .num { background: linear-gradient(135deg, #8b5cf6, #2f7bff); color: #fff; }
.step .gtile { width: 48px; height: 48px; }
.step b { display: block; margin-top: 6px; font-size: 17px; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
.step small { font-size: 14px; line-height: 1.45; color: var(--muted); }
.step .pl { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--violet), var(--blue)); transform: scaleX(0); transform-origin: left; }
.flow.auto .step.on .pl { animation: fill var(--step, 4500ms) linear forwards; }
.flow.auto.paused .step.on .pl { animation-play-state: paused; }
@media (min-width: 1024px) {
  .steps li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -32px; width: 32px; height: 2px; background: #cfd8ec; transform: translateY(-1px); transition: background-color .35s var(--ease); }
  .steps li:not(:last-child)::before { content: ""; position: absolute; top: 50%; right: -23px; width: 9px; height: 9px; border-top: 2px solid #cfd8ec; border-right: 2px solid #cfd8ec; transform: translateY(-50%) rotate(45deg); transition: border-color .35s var(--ease); z-index: 1; }
  .flow[data-step="2"] li:nth-child(-n+1)::after, .flow[data-step="3"] li:nth-child(-n+2)::after, .flow[data-step="4"] li:nth-child(-n+3)::after { background: var(--blue); }
  .flow[data-step="2"] li:nth-child(-n+1)::before, .flow[data-step="3"] li:nth-child(-n+2)::before, .flow[data-step="4"] li:nth-child(-n+3)::before { border-color: var(--blue); }
}
@media (max-width: 1023px) {
  .steps li:not(:last-child)::after { content: ""; position: absolute; left: 45px; bottom: -16px; width: 2px; height: 16px; background: #cfd8ec; }
}
.funds { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.funds .lbl { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); margin-right: 4px; }
.fund { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 18px 0 16px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-soft), var(--ring); color: var(--ink); font-size: 14px; font-weight: 600; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.fund:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift), var(--ring); }
.fund img { width: auto; display: block; }
.fund .lg-cehta { height: 18px; }
.fund .lg-ciclo { height: 13px; }
.legend { margin-top: 20px; padding: 14px 20px; border-radius: 18px; background: var(--soft); display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; font-size: 13.5px; color: var(--muted); }
.legend svg { width: 24px; height: 24px; color: var(--brand); }
.legend strong { color: var(--ink); font-weight: 600; }

/* Banner: tipografía cinética de los tres pilares sobre el video de energía */
.banner { position: relative; min-height: clamp(380px, 46vw, 520px); display: grid; align-items: center; overflow: hidden; isolation: isolate; color: #fff; background: var(--navy); }
.banner video.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; z-index: -2; background: var(--navy); }
.banner .veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 20, 58, .55) 0%, rgba(0, 20, 58, .62) 60%, rgba(0, 16, 48, .85) 100%); }
.kin { display: grid; justify-items: center; gap: 22px; padding-block: 64px 56px; text-align: center; }
.kin-words { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 10px 44px; }
.kin-words [role="tab"] { position: relative; background: none; border: 0; padding: 6px 0 14px; color: rgba(255, 255, 255, .4); font-size: clamp(30px, 4.4vw, 60px); font-weight: 700; letter-spacing: -.045em; line-height: 1; cursor: pointer; transition: color .45s var(--ease); text-shadow: 0 2px 24px rgba(0, 0, 0, .3); }
.kin-words [role="tab"]:hover { color: rgba(255, 255, 255, .75); }
.kin-words [role="tab"].on { color: #fff; }
.kl { position: absolute; left: 0; right: 0; bottom: 4px; height: 5px; border-radius: 3px; transform: scaleX(0); transform-origin: left; opacity: .95; }
.l-violet { background: linear-gradient(90deg, #8b5cf6, #2f7bff); } .l-cyan { background: linear-gradient(90deg, #22d3ee, #2f7bff); } .l-green { background: linear-gradient(90deg, #34d399, #22d3ee); }
.kin-words [role="tab"].on .kl { animation: fill var(--step, 4200ms) linear forwards; }
.banner.paused .kl { animation-play-state: paused; }
.kin-text { font-size: clamp(16px, 1.5vw, 21px); color: rgba(255, 255, 255, .88); max-width: 56ch; min-height: 2.6em; }
.swap { animation: swap .6s var(--ease) both; }
@keyframes swap { from { opacity: 0; transform: translateY(12px); } }
.kin-pause { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); bottom: 16px; }

/* Equipo */
.team { display: grid; gap: 24px; margin-top: 48px; justify-content: center; }
@media (min-width: 720px) { .team { grid-template-columns: repeat(2, minmax(0, 420px)); } }
.person { text-align: center; display: grid; justify-items: center; align-content: start; gap: 12px; padding: 36px 28px 32px; }
.person .ring { display: grid; place-items: center; width: 172px; height: 172px; border-radius: 50%; padding: 4px; background: linear-gradient(135deg, #8b5cf6, #2f7bff 50%, #22d3ee); box-shadow: 0 14px 30px -16px rgba(47, 123, 255, .7); }
.person .photo { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid #fff; }
.person h3 { margin-top: 8px; }
.person .role { display: inline-flex; height: 28px; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 13px; font-weight: 600; }
.person p { color: var(--muted); font-size: 15px; max-width: 34ch; }
.person .links { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.person .links a { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 11px; border-radius: 999px; background: var(--brand-soft); font-size: 14px; font-weight: 600; color: var(--brand); transition: background .25s, color .25s, transform .25s var(--ease); }
.person .links a[href]:not([aria-disabled="true"]):hover { background: var(--ink); color: #fff; transform: translateY(-1px); }
.person .links svg { width: 18px; height: 18px; }

/* Contacto */
.contact { display: grid; gap: 28px; margin-top: 44px; }
@media (min-width: 1024px) { .contact { grid-template-columns: .9fr 1.1fr; gap: 40px; } }
.info { list-style: none; margin: 0; padding: 0; display: grid; }
.info li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); align-items: center; }
.info li:first-child { border-top: 0; padding-top: 0; }
.info .k { font-size: 13px; color: var(--faint); font-weight: 500; }
.info .v { font-size: 16px; color: var(--ink); font-weight: 600; }
form .grid { display: grid; gap: 14px; }
@media (min-width: 640px) { form .grid.two-col, form .grid.three-col { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { form .grid.three-col { grid-template-columns: 1fr 1fr 1fr; } }
label.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
label.field span.opt { font-weight: 500; color: var(--faint); }
.input { width: 100%; height: 48px; padding: 0 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; font: inherit; font-size: 16px; color: var(--text); transition: border-color .2s, box-shadow .2s; }
textarea.input { height: auto; min-height: 130px; padding: 14px 16px; resize: vertical; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(47, 123, 255, .16); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235b6075' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--muted); font-weight: 400; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.note { font-size: 13px; color: var(--faint); }
.check a, .note a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.toast { margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: var(--brand-soft); color: var(--ink); font-size: 14px; display: none; }
.toast.show { display: block; }

/* Pie: columnas con la integridad (canal de denuncias) integrada, leyenda e idioma */
footer { background: var(--navy-deep); color: rgba(255, 255, 255, .78); padding-block: 56px 28px; }
footer .top { display: grid; gap: 32px; }
@media (min-width: 640px) { footer .top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { footer .top { grid-template-columns: 1.35fr .8fr 1.3fr .95fr; gap: 40px; } }
footer .brand img { height: 40px; width: auto; }
footer .brand p { margin-top: 16px; font-size: 14px; max-width: 34ch; }
footer .brand strong { color: #fff; font-weight: 600; }
footer .social { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; margin-top: 14px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); color: #fff; transition: background-color .25s; }
footer .social:hover { background: rgba(255, 255, 255, .12); }
footer .social svg { width: 18px; height: 18px; }
footer h4 { color: #fff; font-size: 13px; font-weight: 600; margin: 0 0 14px; letter-spacing: .06em; text-transform: uppercase; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
footer ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
footer .integrity p { font-size: 14px; max-width: 34ch; margin-bottom: 14px; }
footer .integrity .btn { margin-bottom: 14px; }
footer .legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 16px; font-size: 13px; color: rgba(255, 255, 255, .6); }
footer .legal strong { color: rgba(255, 255, 255, .85); font-weight: 600; }
footer .bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }

/* Marcas de datos por confirmar y su globo de ayuda */
.pend { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--pend); vertical-align: middle; margin-left: 6px; cursor: help; box-shadow: 0 0 0 3px rgba(240, 138, 36, .18); }
.tipbox { position: fixed; z-index: 70; max-width: 300px; padding: 8px 12px; border-radius: 10px; background: #1a1f36; color: #fff; font-size: 12px; font-weight: 500; line-height: 1.4; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); pointer-events: none; }
body.hide-pend .pend { display: none; }
.pendbar { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 48; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 6px 0 14px; border-radius: 999px; background: #1a1f36; color: #fff; font-size: 13px; font-weight: 500; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); }
.pendbar i { width: 10px; height: 10px; border-radius: 50%; background: var(--pend); }
body.hide-pend .pendbar #pendcount, body.hide-pend .pendbar [data-t="pend.label"] { display: none; }
.pendbar button { height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 12px; font-weight: 600; cursor: pointer; }

/* Página interna (canal de denuncias) */
.page-head { padding: calc(var(--nav-h) + clamp(48px, 7vw, 88px)) 0 clamp(40px, 5vw, 64px); background: var(--soft); }
.page-head .wrap { display: grid; gap: 16px; max-width: 900px; text-align: center; justify-items: center; }
.page-head h1 { font-size: clamp(36px, 4.6vw, 62px); }
.page-head .lead { max-width: 70ch; }
.trio { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 800px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.trio li { background: #fff; border-radius: 20px; box-shadow: var(--shadow-soft), var(--ring); padding: 22px; display: grid; gap: 10px; align-content: start; }
.trio h3 { font-size: 17px; }
.trio p { font-size: 14px; color: var(--muted); }
.tile { width: 44px; height: 44px; border-radius: 14px; background: var(--brand-soft); display: grid; place-items: center; color: var(--brand); flex: none; }
.tile svg { width: 22px; height: 22px; }
.prose { max-width: 72ch; margin-inline: auto; display: grid; gap: 16px; font-size: 16px; color: var(--text); }
.prose strong { color: var(--ink); font-weight: 600; }
.formwrap { display: grid; gap: 28px; margin-top: 8px; }
@media (min-width: 1024px) { .formwrap { grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; } }
.formwrap .card { padding: 32px; }
.small { font-size: 14px; color: var(--muted); }
@media (max-width: 560px) { .formwrap .card { padding: 22px; } }

/* Pantallas de escritorio bajas: dos niveles compactos para que cada bloque quepa entero */
@media (min-width: 1024px) and (max-height: 940px) {
  :root { --section: 56px; }
  h2 { font-size: clamp(30px, 3.6vw, 44px); }
  .lead { font-size: 16px; }
  .head { gap: 14px; }
  .profile { margin-top: 28px; }
  .pf-main { padding: 20px 24px 24px; gap: 14px; }
  .flow { margin-top: 28px; }
  .step { padding: 18px 18px 20px; }
  .step b { font-size: 16px; }
  .step small { font-size: 13.5px; }
  .funds { margin-top: 18px; }
  .legend { margin-top: 14px; padding: 12px 16px; }
  .team { margin-top: 32px; }
  .person { padding: 26px 24px 24px; }
  .person .ring { width: 140px; height: 140px; }
  .contact { margin-top: 30px; }
  .card { padding: 22px; }
  textarea.input { min-height: 118px; }
  .banner { min-height: 380px; }
}
@media (min-width: 1024px) and (max-height: 800px) {
  :root { --section: 48px; }
  h2 { font-size: clamp(28px, 3.2vw, 38px); }
  .head { gap: 12px; }
  .lead { font-size: 15px; line-height: 1.45; }
  .profile { margin-top: 20px; }
  .pf-main { padding: 16px 20px 20px; gap: 12px; }
  .seg [role="tab"] { height: 34px; font-size: 13px; }
  .verbs b, .marco b, .tl b { font-size: 14px; }
  .verbs p, .marco p, .tl p { font-size: 12.5px; }
  .tl-y { font-size: 20px; }
  .chip { height: 34px; font-size: 12px; }
  .flow { margin-top: 20px; }
  .step { padding: 14px 16px 16px; gap: 6px; }
  .step .gtile { width: 42px; height: 42px; }
  .step .num { top: 12px; right: 12px; width: 26px; height: 26px; }
  .step b { font-size: 15px; margin-top: 4px; }
  .step small { font-size: 13px; }
  .funds { margin-top: 14px; }
  .fund { height: 38px; font-size: 13px; }
  .legend { margin-top: 10px; padding: 8px 14px; font-size: 12.5px; }
  .banner { min-height: 340px; }
  .kin { padding-block: 48px 44px; gap: 16px; }
  .team { margin-top: 24px; }
  .person { padding: 22px 20px 20px; }
  .person .ring { width: 124px; height: 124px; }
  .contact { margin-top: 24px; }
  textarea.input { min-height: 104px; }
  .info li { padding: 12px 0; }
}

/* Celular y tablet */
@media (max-width: 1023px) {
  .nav ul { display: none; }
  .nav .lang { padding: 2px 2px 2px 8px; }
  .nav .lang button, .nav .lang a { height: 28px; min-width: 34px; padding: 0 8px; font-size: 12px; }
  .nav.menu-open .lang { box-shadow: inset 0 0 0 1px rgba(4, 32, 80, .18); color: var(--ink); }
  .nav.menu-open .lang button[aria-pressed="true"], .nav.menu-open .lang a[aria-current] { background: var(--ink); color: #fff; }
  .burger { display: inline-flex; }
  .burger.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
  .nav.menu-open { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
  .nav.menu-open .logo .light { display: none; }
  .nav.menu-open .logo .dark { display: block; }
  .pendbar { top: calc(var(--nav-h) + 10px); bottom: auto; height: 34px; font-size: 12px; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .lines span { display: inline; }
  .lines span + span::before { content: " "; }
  .nav .logo img { height: 34px; }
  .nav .right { gap: 6px; }
  .hero video.bg { object-position: 58% 30%; }
  .hero-content { padding-bottom: 104px; }
  .hero h1 { font-size: clamp(34px, 9.6vw, 44px); }
  .hero .cta .btn { width: 100%; }
  .hero-facts li { height: 34px; font-size: 12.5px; padding: 0 12px; }
  .media-btn .lbl { display: none; }
  .media-btn { padding: 0 10px; width: 36px; justify-content: center; }
  .card { padding: 22px; }
  .person { padding: 28px 20px 24px; }
  .pf-media { min-height: 0; height: 230px; }
  .seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .seg [role="tab"] { white-space: normal; height: auto; min-height: 40px; padding: 6px 8px; font-size: 12.5px; line-height: 1.15; text-align: center; }
  .seg [role="tab"] svg { display: none; }
  .seg .pl { left: 8px; right: 8px; }
  .chip { height: 34px; font-size: 12px; padding: 0 12px 0 10px; }
  .chip-tr { top: 12px; right: 12px; }
  .chip-bl { bottom: 12px; left: 12px; }
  .kin-words { flex-direction: column; gap: 4px; align-items: center; }
  .kin-words [role="tab"] { font-size: clamp(30px, 9vw, 38px); padding-bottom: 10px; }
  .kin-pause { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv[data-reveal="hidden"], .rv-head[data-reveal="hidden"] .rv-text, .rv-head[data-reveal="hidden"] .eyebrow { opacity: 1; transform: none; }
  .rv-head[data-reveal="hidden"] .rv-word { transform: none; }
  .hero .tag i { opacity: 1; }
  .kin-words [role="tab"].on .kl { animation: none; transform: scaleX(1); }
}
/* Ventanas que ninguna persona usa (más de tres veces más altas que anchas, o de más de 2600 px de alto): así ven la página los robots que no hacen
   scroll, como el de Google, que agranda la ventana en vez de desplazarse. Ahí la portada no se estira y ningún bloque queda esperando al scroll. */
/* Un bloque por pantalla (escritorio con alto suficiente): cada sección llena la pantalla bajo el menú y su
   contenido va centrado, de modo que al llegar por el menú se vea ese bloque entero y no asome el siguiente.
   Sin scroll-snap: probado con rueda de mouse corta (100–240 px) y la página no avanzaba, ni con «mandatory» ni con «proximity». */
@media (min-width: 900px) and (min-height: 760px) {
  html:has(main > .hero) main > section.block,
  html:has(main > .hero) main > .banner { min-height: calc(100svh - var(--nav-h)); display: grid; align-content: center; scroll-margin-top: 0; }
}

@media (max-aspect-ratio: 5/16), (min-height: 2600px) {
  .hero { min-height: 720px; }
  main > section.block, main > .banner { min-height: 0 !important; display: block !important; }
  .rv[data-reveal="hidden"], .rv-head[data-reveal="hidden"] .rv-text, .rv-head[data-reveal="hidden"] .eyebrow { opacity: 1; transform: none; }
  .rv-head[data-reveal="hidden"] .rv-word { transform: none; }
}
@media print {
  .nav, .pendbar, .panel { display: none !important; } .hero { min-height: auto; }
  main > section.block, main > .banner { min-height: 0 !important; display: block !important; }
  .rv[data-reveal="hidden"], .rv-head[data-reveal="hidden"] .rv-text, .rv-head[data-reveal="hidden"] .eyebrow, .rv-head[data-reveal="hidden"] .rv-word { opacity: 1 !important; transform: none !important; }
}

/* ---------- Producción: fuente alojada en el sitio, aviso de cookies, páginas legales, estados de los formularios ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/inter-latin-var.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
.lang a { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; color: inherit; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn.busy { opacity: .7; pointer-events: none; }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { background: var(--soft); }
.toast.err { background: #fff1f1; color: #8a1f1f; box-shadow: inset 0 0 0 1px rgba(138, 31, 31, .18); }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 420px; padding: 20px 22px; border-radius: 22px; background: rgba(255, 255, 255, .97); color: var(--ink); box-shadow: var(--shadow-lift), var(--ring); }
@media (min-width: 640px) { .consent { left: 20px; right: auto; bottom: 20px; } }
.consent .c-title { font-size: 15px; font-weight: 600; }
.consent .c-text { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.consent .c-text a { font-weight: 600; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.consent .c-actions { display: flex; gap: 10px; margin-top: 14px; }
.consent .c-actions .btn { flex: 1; height: 42px; }
.cookie-prefs { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; opacity: .85; }
.cookie-prefs:hover { opacity: 1; text-decoration: underline; }
.legal-doc { max-width: 76ch; margin-inline: auto; display: grid; gap: 14px; font-size: 16px; line-height: 1.6; color: var(--text); }
.legal-doc h2 { margin-top: 22px; font-size: 22px; letter-spacing: -.02em; }
.legal-doc ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.legal-doc a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal-doc .meta { color: var(--faint); font-size: 14px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px auto 0; max-width: 76ch; padding-top: 24px; border-top: 1px solid var(--line); }
.legal-nav a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--soft); font-size: 14px; font-weight: 600; color: var(--ink); }
.legal-nav a:hover { background: var(--brand-soft); color: var(--brand); }
.p404 { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 48px) 22px 64px; }
.p404 .code { font-size: clamp(64px, 12vw, 120px); font-weight: 700; letter-spacing: -.05em; line-height: 1; background: linear-gradient(90deg, var(--violet), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
