/* ==========================================================================
   LlegoPY · landing y demo (26/10/2026)

   El mismo lenguaje visual del verificador desde su diseño nuevo (Matheus 2.9, Tapizcenter 3.4,
   Monday 3.5, Mr. Phone 1.2): una sola letra (Inter, servida por el sitio), fondo gris claro,
   superficies blancas sin borde, botones en píldora, controles segmentados y hojas. Así la
   página se ve como el producto que muestra.

   Los colores son los de la landing desde su primera versión (pedido del 26/10/2026): azul en
   los botones, violeta, lima, lavanda y gris azulado; las capturas, con «Tu Empresa» en violeta.

   Primero el celular (la mayoría entra desde ahí); los anchos mayores solo agregan.
   Un solo movimiento propio: el iPhone de la portada, donde llega un cobro y la caja lo
   confirma (js/main.js). Lo demás se mueve solo cuando la persona toca algo.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
                 U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4,
                 U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.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;
}

:root {
  /* Los colores de la landing */
  --azul: #166aea;            /* botones (blanco encima: 4,9:1) */
  --azul-2: #0f58c7;
  --violeta: #101585;         /* «PY», los pasos, lo destacado */
  --indigo: #2c34af;
  --lima: #dff994;            /* el tilde del logo, las cifras, «Con tu marca» */
  --lavanda: #bfc8e8;
  --pervinca: #bdc9ff;
  --lienzo: #f1f5f9;          /* gris azulado: tarjetas y la sección «Dónde funciona» */
  --papel: #ffffff;           /* fondo de la página y superficies */
  --tinta: #121214;           /* texto y botón principal */
  --tinta-2: #2c2c32;
  --gris: #5b5b63;            /* texto secundario (6,2:1 sobre el lienzo) */
  --gris-2: #8e8e95;          /* solo para lo que no es texto que haya que leer */
  --linea: #e7e7ec;
  --linea-2: #d6d6dd;
  --segmento: #e6eaf2;        /* riel de los controles segmentados */
  --ok: #17794a;              /* «Revisada»: el único color con significado */
  --ok-suave: #e3f3e9;
  --pend: #8a5f00;
  --pend-suave: #fcf1d8;
  --wa: #25d366;

  /* Bancos: los mismos colores de las etiquetas del sistema */
  --familiar: #2e7d32;
  --continental: #1565c0;
  --ueno: #6d28d9;
  --sudameris: #d84315;
  --interfisa: #00838f;

  --r-sm: 12px;
  --r: 22px;
  --r-lg: 28px;
  --sombra-1: 0 1px 2px rgba(18, 18, 20, .04), 0 6px 20px rgba(18, 18, 20, .05);
  --sombra-2: 0 2px 6px rgba(18, 18, 20, .06), 0 18px 40px rgba(18, 18, 20, .10);
  --sombra-3: 0 30px 80px rgba(0, 0, 0, .22), 0 2px 8px rgba(0, 0, 0, .06);
  --sombra-disp: 0 50px 90px -45px rgba(18, 18, 20, .55);
  --curva: cubic-bezier(.32, .72, 0, 1);
  --curva-suave: cubic-bezier(.4, 0, .2, 1);

  --fuente: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 20px;
  --wrap: 1180px;
  --nav-h: 72px;
  --section-y: 60px;

  color-scheme: light;
}

/* ============================================================== Base == */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--fuente);
  font-feature-settings: "cv11", "ss01";
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Los resplandores y los dispositivos no ensanchan la página (en el body se trasladaría a la ventana) */
main { overflow-x: clip; }

h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ul, ol { padding: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--azul); outline-offset: 3px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--pervinca) 70%, transparent); }

.skip {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--tinta);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

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

/* ======================================================== Tipografía == */

.display {
  font-size: clamp(40px, 10.6vw, 76px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(30px, 7.8vw, 52px);
  font-weight: 680;
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.h3 {
  font-size: 19px;
  font-weight: 640;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 34em;
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--gris);
}

.body-lg {
  max-width: 38em;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--gris);
}

/* Una frase del título en violeta y una palabra subrayada en lima, como en la primera versión */
.accent { color: var(--violeta); }
.marker {
  padding-inline: .06em;
  background: linear-gradient(transparent 58%, var(--lima) 58%, var(--lima) 92%, transparent 92%);
}

.link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  color: var(--violeta);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.body-lg .link { margin-top: 0; }

/* =========================================================== Botones == */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--fuente);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s var(--curva-suave), border-color .2s var(--curva-suave),
              color .2s var(--curva-suave), transform .35s var(--curva);
}
.btn:active { transform: scale(.97); transition-duration: .1s; }

.btn--primary { background: var(--azul); color: #fff; }
.btn--primary:hover { background: var(--azul-2); }
.btn--ghost { background: var(--papel); border-color: var(--linea-2); color: var(--tinta); }
.btn--ghost:hover { border-color: var(--gris-2); }
.btn--light { background: #fff; color: var(--tinta); }
.btn--light:hover { background: #ececf0; }
.btn--dark { background: var(--tinta); color: #fff; }
.btn--wa { background: var(--wa); color: #0b2e18; }       /* 7,3:1: el verde de WhatsApp con letra oscura */
.btn--wa:hover { background: #2fe072; }

.btn--lg { min-height: 52px; padding: 0 24px; font-size: 16px; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

.btn .wa { width: 20px; height: 20px; flex: none; color: var(--wa); }
.btn--wa .wa { color: currentColor; }
.btn .wa--blanco { color: #fff; }      /* sobre el azul, el ícono blanco se lee mejor que el verde */
.btn svg:not(.wa) { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ======================================================= Navegación == */

/* Flota arriba, redondeada y con desenfoque, como la barra del sistema */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 10px 12px 0;
  padding-top: max(10px, env(safe-area-inset-top));
  pointer-events: none;
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: var(--wrap);
  height: 56px;
  margin-inline: auto;
  padding: 0 8px 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 0 0 1px rgba(18, 18, 20, .06), 0 10px 30px -18px rgba(18, 18, 20, .35);
  pointer-events: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--tinta);
  text-decoration: none;
}
.logo__mark { width: 30px; height: 30px; flex: none; }
.logo__py { color: var(--violeta); }

.nav__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav__hablemos { display: none; }

.nav__toggle {
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.nav__toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--tinta);
  transition: transform .35s var(--curva), top .35s var(--curva);
}
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav--open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav--open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* En el celular, el menú es una hoja que baja debajo de la barra */
.nav__links {
  position: fixed;
  top: calc(max(10px, env(safe-area-inset-top)) + 64px);
  left: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  max-height: calc(100svh - 96px);
  overflow-y: auto;
  padding: 8px 8px 12px;
  border-radius: var(--r);
  background: var(--papel);
  box-shadow: var(--sombra-3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.98);
  transform-origin: 50% 0;
  transition: opacity .2s var(--curva-suave), transform .35s var(--curva), visibility 0s .35s;
  pointer-events: auto;
}
.nav--open .nav__links {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .2s var(--curva-suave), transform .45s var(--curva);
}
.nav__links > a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration: none;
}
.nav__links > a:active { background: var(--lienzo); }
.nav__menu-ctas { display: grid; gap: 8px; margin-top: 8px; padding: 8px 6px 0; border-top: 1px solid var(--linea); }
.nav__menu-ctas .btn { width: 100%; }
html.menu-abierto { overflow: hidden; }

/* ========================================================== Portada == */

.hero {
  padding-top: calc(var(--nav-h) + 28px);
  overflow: clip;
}

.hero__grid { display: grid; gap: 32px; }

.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .ctas { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin-top: 4px; }
.hero .ctas .btn { padding-inline: 12px; }
.solo-ancho { display: none; }

.hero__points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin-top: -6px;
  list-style: none;
  font-size: 14px;
  color: var(--gris);
}
.hero__points li { display: inline-flex; align-items: center; gap: 6px; }
.hero__points li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 50%;
  background: var(--lima) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23121214' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.hero__stage { position: relative; display: flex; justify-content: center; isolation: isolate; }
/* El resplandor pervinca y lavanda detrás de los dispositivos */
.hero__stage::before,
.showcase__stage::before {
  content: "";
  position: absolute;
  inset: -10% -18% -16%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, var(--pervinca) 0%, var(--lavanda) 48%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}
.hero__laptop { display: none; }
.hero__iphone { width: min(78vw, 310px); }
.hero__iphone .iphone__body { box-shadow: inset 0 0 0 .8cqw #3d3d45, inset 0 0 0 1.7cqw #0b0b0d, var(--sombra-disp); }

.hero__bancos {
  margin-top: 28px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--gris);
}
.hero__bancos b { font-weight: 600; color: var(--tinta); }

/* ---------- La pantalla del iPhone de la portada (HTML con el aspecto del sistema) ----------
   Las medidas van en cqw (ancho del iPhone): se ve igual de grande o de chico. */
.app {
  display: flex;
  flex-direction: column;
  background: #f3f5f9;
  color: var(--tinta);
  font-family: var(--fuente);
  text-align: left;
}

.app__head {
  display: flex;
  align-items: center;
  gap: 3cqw;
  margin-top: var(--barra-alto);
  padding: 2.5cqw 5cqw 3cqw;
}
.app__menu {
  display: grid;
  place-content: center;
  gap: .9cqw;
  width: 10cqw;
  height: 10cqw;
  flex: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 2px 8px rgba(0, 0, 0, .06);
}
.app__menu i { width: 4.2cqw; height: .6cqw; border-radius: 1cqw; background: var(--tinta); }
.app__titulos { min-width: 0; }
.app__title { font-size: 5.6cqw; font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; }
.app__sub { font-size: 3.1cqw; line-height: 1.3; color: var(--gris); white-space: nowrap; }
.app__avatar {
  display: grid;
  place-items: center;
  width: 9cqw;
  height: 9cqw;
  flex: none;
  margin-left: auto;
  border-radius: 50%;
  background: var(--violeta);
  color: #fff;
  font-size: 3.6cqw;
  font-weight: 600;
}

.app__total {
  display: grid;
  gap: .8cqw;
  margin: 0 5cqw;
  padding: 4.4cqw 5cqw;
  border-radius: 5.5cqw;
  background: linear-gradient(135deg, var(--violeta) 0%, var(--indigo) 100%);
  color: #fff;
  box-shadow: 0 3cqw 7cqw rgba(16, 21, 133, .28);
}
.app__etq { display: flex; align-items: center; gap: 1.6cqw; font-size: 3.3cqw; font-weight: 600; color: rgba(255, 255, 255, .78); }
.app__etq::before { content: ""; width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: rgba(255, 255, 255, .85); }
.app__total strong {
  font-size: 7.8cqw;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.app__nota { font-size: 3.1cqw; color: rgba(255, 255, 255, .78); }
.app__nota b { font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }

.app__seg {
  display: flex;
  margin: 3.6cqw 5cqw 0;
  padding: .8cqw;
  border-radius: 999px;
  background: #e5e7ed;
}
.app__seg span {
  flex: 1;
  padding: 1.7cqw 0;
  border-radius: 999px;
  font-size: 3.1cqw;
  font-weight: 600;
  text-align: center;
  color: var(--gris);
}
.app__seg .is-on { background: #fff; color: var(--tinta); box-shadow: 0 .3cqw 1.6cqw rgba(0, 0, 0, .08); }

.app__lista {
  margin: 3.6cqw 5cqw 0;
  list-style: none;
  border-radius: 5.5cqw;
  background: #fff;
  box-shadow: 0 .3cqw 1cqw rgba(18, 18, 20, .04), 0 2cqw 5cqw rgba(18, 18, 20, .05);
  overflow: hidden;
}

.fila {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "hora pagador monto" ". meta estado";
  align-items: center;
  gap: 1.4cqw 2.6cqw;
  padding: 3.2cqw 3.8cqw;
  border-top: 1px solid #eef0f4;
}
.fila:first-child { border-top: 0; }
.fila__hora { grid-area: hora; font-size: 3.3cqw; font-weight: 700; font-variant-numeric: tabular-nums; }
.fila__pagador {
  grid-area: pagador;
  overflow: hidden;
  font-size: 3.2cqw;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fila__monto { grid-area: monto; font-size: 3.3cqw; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fila__meta {
  grid-area: meta;
  display: flex;
  align-items: center;
  gap: 1.8cqw;
  min-width: 0;
  overflow: hidden;
  font-size: 2.8cqw;
  color: var(--gris);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.fila .banco { flex: none; }
/* Si el número de operación no entra al lado del banco, termina en «…» y no cortado a la mitad */
.fila__op { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.fila .estado { grid-area: estado; justify-self: end; }

/* Etiqueta del banco: su color, suave, como en el sistema */
.banco {
  --c: var(--familiar);
  display: inline-block;
  padding: .5em .8em;
  border: 1px solid color-mix(in srgb, var(--c) 32%, transparent);
  border-radius: .8em;
  background: color-mix(in srgb, var(--c) 12%, #fff);
  color: color-mix(in srgb, var(--c) 80%, var(--tinta));
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.fila .banco { font-size: 2.55cqw; }
.banco--continental { --c: var(--continental); }
.banco--ueno { --c: var(--ueno); }
.banco--sudameris { --c: var(--sudameris); }
.banco--interfisa { --c: var(--interfisa); }

.estado {
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
  padding: 1.2cqw 2.6cqw;
  border-radius: 999px;
  font-size: 2.8cqw;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .4s var(--curva-suave), color .4s var(--curva-suave);
}
.estado--pend { background: var(--violeta); color: #fff; }
.estado--ok { background: var(--ok-suave); color: var(--ok); }
.estado--ok::before {
  content: "";
  width: 2.2cqw;
  height: 2.2cqw;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.estado--ok.estado--recien { animation: estampar .5s var(--curva); }

/* La transferencia que acaba de llegar entra desde arriba con un fondo que se apaga */
.fila--nueva { animation: fila-entra .8s var(--curva) both, fila-luz 2.6s ease-out both; }

@keyframes fila-entra {
  from { opacity: 0; transform: translateY(-40%); }
  to { opacity: 1; transform: none; }
}
@keyframes fila-luz {
  0%, 30% { background: #fff8e6; }
  100% { background: #fff; }
}
@keyframes estampar {
  0% { transform: scale(1.18); }
  60% { transform: scale(.96); }
  100% { transform: none; }
}

/* El aviso del sistema: «Llegó 1 transferencia nueva.» (como las tostadas del verificador) */
.app__toast {
  position: absolute;
  left: 5cqw;
  right: 5cqw;
  bottom: 6cqw;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 2.6cqw;
  padding: 3.4cqw 4cqw;
  border-radius: 4.5cqw;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(10px) saturate(1.6);
  backdrop-filter: blur(10px) saturate(1.6);
  box-shadow: 0 0 0 1px rgba(18, 18, 20, .05), 0 6cqw 14cqw rgba(0, 0, 0, .18);
  font-size: 3.3cqw;
  font-weight: 600;
  opacity: 0;
  transform: translateY(5cqw) scale(.96);
  transition: opacity .3s var(--curva-suave), transform .5s var(--curva);
}
.app__toast::before {
  content: "";
  width: 2.2cqw;
  height: 2.2cqw;
  flex: none;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 1.2cqw color-mix(in srgb, var(--ok) 18%, transparent);
}
.app__toast.is-on { opacity: 1; transform: none; }

/* ========================================================= Secciones == */

.section { padding-block: var(--section-y); }
.section--papel { background: var(--papel); }
.section--lavanda { background: linear-gradient(180deg, var(--lavanda) 0%, #e4e8f6 48%, var(--papel) 100%); }
.section--niebla { background: var(--lienzo); }

.section__head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: 36px; }

/* ---------- El problema ---------- */

.problema { padding-block: 22px; border-top: 1px solid var(--linea-2); }
.problema:last-child { padding-bottom: 0; }
.problema > p { margin-top: 8px; color: var(--gris); }
.problema__fix {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.5;
}
.problema__fix svg {
  width: 22px;
  height: 22px;
  flex: none;
  padding: 4px;
  border-radius: 50%;
  background: var(--lima);
  color: var(--tinta);
}
.problema__fix b { padding: 0 4px; border-radius: 4px; background: var(--lima); font-weight: 640; }

/* ---------- Pasos (una secuencia de verdad: llevan número) ---------- */

.pasos { display: grid; gap: 26px; list-style: none; counter-reset: paso; }
.paso { position: relative; padding-left: 52px; counter-increment: paso; }
.paso::before {
  content: counter(paso);
  position: absolute;
  left: 0;
  top: -4px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--violeta);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.paso:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17.5px;
  top: 40px;
  bottom: -22px;
  width: 1px;
  background: var(--linea-2);
}
.paso p { margin-top: 6px; color: var(--gris); }

/* ---------- Del aviso del banco a la pantalla de la caja ----------
   Cada dato tiene su color, el mismo en el correo y en lo que ve la caja. */
.parse {
  display: grid;
  gap: 12px;
  margin-top: 44px;
  padding: 12px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
}

[data-k="monto"] { --k: #17794a; --k-bg: #dff1e6; }
[data-k="pagador"] { --k: #1565c0; --k-bg: #e3edfb; }
[data-k="banco"] { --k: #8a5f00; --k-bg: #f9edd0; }
[data-k="op"] { --k: #6d28d9; --k-bg: #eee7fc; }

.parse__label { margin-bottom: 12px; font-size: 13px; font-weight: 600; color: var(--gris); }

.mail, .result {
  padding: 18px;
  border-radius: var(--r);
  background: var(--papel);
  box-shadow: var(--sombra-1);
}
.mail__head { display: grid; gap: 2px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--linea); }
.mail__from { font-size: 13px; color: var(--gris); }
.mail__subject { font-weight: 640; letter-spacing: -0.01em; }
.mail__body { font-size: 14px; line-height: 1.75; color: #45454c; overflow-wrap: anywhere; }
.mail__body mark {
  padding: 1px 5px;
  border-radius: 6px;
  background: var(--k-bg);
  box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--k) 55%, transparent);
  color: var(--tinta);
  transition: box-shadow .25s var(--curva-suave);
}

.parse__arrow {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--papel);
  box-shadow: var(--sombra-1);
}
.parse__arrow svg { width: 20px; height: 20px; fill: none; stroke: var(--tinta); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.result__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.result__etq { display: block; font-size: 13px; font-weight: 600; color: var(--gris); }
.result__monto {
  display: inline-block;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--k) 45%, transparent);
}
.estado--pend-chip { padding: 6px 10px; background: var(--pend-suave); color: var(--pend); font-size: 12.5px; }
.estado--pend-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.result dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--linea);
  font-size: 14px;
}
.result dt { color: var(--gris); }
.result dd { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.result dl > [data-k] dd { padding: 1px 6px; border-radius: 6px; background: var(--k-bg); color: var(--tinta); transition: box-shadow .25s var(--curva-suave); }
.result dd .banco { margin-right: 4px; }
.result__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--violeta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.result__btn svg { width: 18px; height: 18px; }

/* Tocar o pasar por un dato lo marca en los dos lados (js/main.js) */
.parse .is-lit { box-shadow: 0 0 0 2px var(--k); }
.mail__body mark.is-lit { box-shadow: 0 0 0 2px var(--k); }

/* =========================================== Controles segmentados == */

/* Como los del sistema: un riel gris y la opción elegida en blanco */
.seg {
  display: inline-flex;
  max-width: 100%;
  padding: 4px;
  border-radius: 999px;
  background: var(--segmento);
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.seg::-webkit-scrollbar { display: none; }
.seg__btn {
  flex: none;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--gris);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color .25s var(--curva-suave), color .25s var(--curva-suave), box-shadow .25s var(--curva-suave);
}
.seg__btn:hover { color: var(--tinta); }
.seg__btn[aria-pressed="true"] {
  background: var(--papel);
  color: var(--tinta);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 2px 8px rgba(0, 0, 0, .07);
}
.seg--chico .seg__btn { min-height: 36px; padding: 0 14px; font-size: 13.5px; }

/* ============================================ Así se ve (galería) == */

.galeria__controles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
/* El riel con las cinco pantallas se desliza de costado si no entra: el borde se desvanece */
.galeria__controles .showcase__tabs {
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
  mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.galeria__controles .showcase__tabs.al-final {
  -webkit-mask-image: none;
  mask-image: none;
}

.showcase__stage { position: relative; max-width: 1040px; margin-inline: auto; isolation: isolate; }

.showcase__cap {
  max-width: 36em;
  min-height: 3em;
  margin: 24px auto 0;
  font-size: 16px;
  text-align: center;
  color: var(--gris);
}

/* ============================================ Dispositivos ilustrativos == */

/* Una laptop y un iPhone sin marcas. Con varias capturas apiladas, la que tiene .is-active
   se ve; las anteriores (.is-past) salen hacia arriba y las siguientes esperan abajo. */
.combo { position: relative; padding: 0 13% 6% 0; }

.laptop { position: relative; }
.laptop__lid {
  position: relative;
  padding: 2.3% 2.3% 2.7%;
  border-radius: clamp(10px, 1.6vw, 22px) clamp(10px, 1.6vw, 22px) 5px 5px;
  background: #141417;
  box-shadow: inset 0 0 0 1.5px #3a3a41, var(--sombra-disp);
}
.laptop__lid::before {
  content: "";
  position: absolute;
  top: .85%;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: #2e2e36;
}
.laptop__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 3px;
  background: #f3f5f9;
}
.laptop__base {
  position: relative;
  height: clamp(10px, 1.5vw, 18px);
  margin-inline: -6.5%;
  border-radius: 2px 2px 50% 50% / 2px 2px 100% 100%;
  background: linear-gradient(180deg, #e3e3e8 0%, #c9c9d0 45%, #9d9da6 100%);
}
.laptop__base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 15%;
  height: 45%;
  transform: translateX(-50%);
  border-radius: 0 0 10px 10px;
  background: #b4b4bc;
}
.laptop__screen .shot-fija,
.laptop__screen picture { display: block; width: 100%; height: 100%; }
.laptop__screen .shot-fija { object-fit: cover; object-position: top left; }

.iphone { container-type: inline-size; width: 100%; }

.combo .iphone {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 22.5%;
}

.iphone__body {
  position: relative;
  padding: 3.8cqw;
  border-radius: 15.5cqw;
  background: #111114;
  box-shadow: inset 0 0 0 .8cqw #3d3d45, inset 0 0 0 1.7cqw #0b0b0d, 0 40px 70px -35px rgba(18, 18, 20, .6);
}
.iphone__body::before,
.iphone__body::after {
  content: "";
  position: absolute;
  width: 1.3cqw;
  background: #2b2b31;
}
.iphone__body::before { right: -1.1cqw; top: 26%; height: 13%; border-radius: 0 1cqw 1cqw 0; }
.iphone__body::after {
  left: -1.1cqw;
  top: 21%;
  height: 7%;
  border-radius: 1cqw 0 0 1cqw;
  box-shadow: 0 11cqw 0 #2b2b31;
}

.iphone__screen {
  --barra-alto: 13cqw;
  position: relative;
  aspect-ratio: 390 / 844;
  overflow: hidden;
  border-radius: 12cqw;
  background: var(--barra, #f3f5f9);
}

.iphone__bar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--barra-alto);
  padding: 1.6cqw 7cqw 0 10cqw;
  background: var(--barra, #f3f5f9);
  color: var(--barra-tinta, #121214);       /* el color de la hora y los íconos, según la captura */
  font: 600 4.4cqw/1 var(--fuente);
  transition: background-color .45s, color .45s;
}
.iphone__bar::after {
  content: "";
  position: absolute;
  top: 2.8cqw;
  left: 50%;
  width: 30cqw;
  height: 8.8cqw;
  margin-left: -15cqw;
  border-radius: 99px;
  background: #000;
}
.iphone__bar svg { width: 17cqw; height: auto; fill: currentColor; }

[data-pantallas] > .shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  opacity: 0;
  transform: translateY(5%) scale(.985);
  transition: opacity .5s ease, transform .8s var(--curva);
}
[data-pantallas] > .shot.is-active { opacity: 1; transform: none; }
[data-pantallas] > .shot.is-past { transform: translateY(-5%) scale(.985); }

.iphone__screen > .shot {
  top: var(--barra-alto);
  height: calc(100% - var(--barra-alto));
  object-position: top center;
}
.iphone [data-pantallas] > .shot { transition-delay: .08s; }

.iphone__screen > .shot-fija {
  position: absolute;
  top: var(--barra-alto);
  left: 0;
  width: 100%;
  height: calc(100% - var(--barra-alto));
  object-fit: cover;
  object-position: top center;
}

/* Etiquetas que señalan una función sobre la captura de la PC (demo) */
.hot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translate(-7px, -50%) translateY(6px);
  transition: opacity .35s ease, transform .45s var(--curva);
  pointer-events: none;
}
.hot.is-on { opacity: 1; transform: translate(-7px, -50%); transition-delay: .4s; }
.hot--izq { flex-direction: row-reverse; transform: translate(calc(-100% + 7px), -50%) translateY(6px); }
.hot--izq.is-on { transform: translate(calc(-100% + 7px), -50%); }
.hot__dot {
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--lima);
  box-shadow: 0 0 0 3px var(--tinta);
}
.hot__txt {
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(18, 18, 20, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .6);
}

/* ---------- Ampliar, Celular / Computadora ---------- */

[data-ampliar] { cursor: zoom-in; }

.ampliar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px 0 11px;
  border: 0;
  border-radius: 999px;
  background: var(--papel);
  box-shadow: 0 0 0 1px var(--linea-2);
  color: var(--tinta);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.ampliar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ========================================================= Funciones == */

.bento { display: grid; gap: 14px; }

.feat {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--lienzo);
}
.feat__text p { margin-top: 8px; font-size: 15.5px; color: var(--gris); }
.feat__visual { margin-top: auto; }

/* Avisos repetidos que cuentan como uno */
.dup { display: grid; gap: 10px; }
.dup__stack { display: grid; gap: 6px; }
.dup__mail {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--papel);
  font-size: 13.5px;
  color: var(--gris);
  box-shadow: var(--sombra-1);
}
.dup__mail b { font-weight: 640; color: var(--tinta); font-variant-numeric: tabular-nums; }
.dup__mail small { margin-left: auto; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.dup__mail--copy { margin-left: 18px; opacity: .72; }
.dup__mail--copy small { margin-left: 0; }
.dup__mail em {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--lienzo);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  color: var(--gris);
}
.dup__out {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--violeta);
  color: #fff;
}
.dup__out strong { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; }
.dup__out span { flex: 1; font-size: 14px; color: rgba(255, 255, 255, .7); }
.dup__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dup__chips span {
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--papel);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gris);
}

/* Permisos con interruptores, como en el sistema */
.perms {
  list-style: none;
  border-radius: 18px;
  background: var(--papel);
  box-shadow: var(--sombra-1);
}
.perms li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  border-top: 1px solid var(--linea);
  font-size: 14px;
}
.perms li:first-child { border-top: 0; }
.sw { position: relative; width: 36px; height: 22px; flex: none; border-radius: 999px; background: var(--linea-2); }
.sw::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}
.sw--on { background: var(--azul); }
.sw--on::after { transform: translateX(14px); }

/* Ticket de la impresora térmica: es la letra de la impresora, no de la página */
.ticket { display: flex; justify-content: center; }
.ticket pre {
  position: relative;
  margin: 0;
  padding: 18px 18px 26px;
  background: var(--papel);
  color: var(--tinta);
  font: 500 11.5px/1.55 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  box-shadow: var(--sombra-1);
  --dientes: radial-gradient(circle at 6px 0, transparent 5px, #000 5.5px);
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 8px) no-repeat, var(--dientes) bottom / 12px 8px repeat-x;
  mask: linear-gradient(#000, #000) top / 100% calc(100% - 8px) no-repeat, var(--dientes) bottom / 12px 8px repeat-x;
}

/* Hora pico */
.bars { padding: 16px 16px 12px; border-radius: 18px; background: var(--papel); box-shadow: var(--sombra-1); }
.bars__cols { display: flex; align-items: flex-end; gap: 6px; height: 96px; }
.bars__cols i { flex: 1; height: var(--h); border-radius: 999px; background: var(--lavanda); }
.bars__cols i.is-peak { background: var(--violeta); }
.bars__legend { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--gris); }

/* Auditoría */
.log { list-style: none; border-radius: 18px; background: var(--papel); box-shadow: var(--sombra-1); }
.log li { display: flex; gap: 12px; padding: 11px 16px; border-top: 1px solid var(--linea); font-size: 13.5px; }
.log li:first-child { border-top: 0; }
.log time { font-weight: 640; font-variant-numeric: tabular-nums; }

/* Con tu marca: el ingreso del sistema en chiquito */
.brand {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 8px;
  padding: 8px;
  border-radius: 18px;
  background: var(--papel);
  box-shadow: var(--sombra-1);
}
.brand__panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 120px;
  padding: 14px;
  border-radius: 12px;
  background: var(--violeta);
  color: #fff;
}
.brand__logo {
  align-self: flex-start;
  padding: 5px 9px;
  border: 1px dashed rgba(255, 255, 255, .5);
  border-radius: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, .8);
}
.brand__name { font-size: 16px; font-weight: 700; letter-spacing: -0.03em; }
.brand__form { display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 6px; }
.brand__field { height: 18px; border-radius: 6px; background: var(--lienzo); }
.brand__btn {
  display: grid;
  place-items: center;
  height: 24px;
  border-radius: 999px;
  background: var(--violeta);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.feat--lima { background: var(--lima); }
.feat--lima .feat__text p { color: var(--tinta-2); }
.feat__iphone { width: 150px; align-self: center; }

.checks { display: grid; gap: 10px; margin-top: 16px; list-style: none; }
.checks li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.45; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lima) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23121214' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Carruseles en el celular: se desliza de costado y los puntitos dicen dónde estás */
.puntos { display: none; }

/* ============================================================ Cifras == */

.stats { padding-block: 64px; background: var(--lima); color: var(--tinta); }
.stats__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 20px; }
.stat { display: grid; align-content: start; gap: 8px; padding-top: 16px; border-top: 1px solid rgba(18, 18, 20, .2); }
.stat strong {
  font-size: clamp(40px, 11vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.stat span { font-size: 14px; line-height: 1.45; color: var(--tinta-2); }
.stats__note { max-width: 44em; margin-top: 32px; font-size: 13px; line-height: 1.5; color: rgba(18, 18, 20, .66); }

/* ============================================================ Bancos == */

/* Listas que en el celular se abren al tocar el título (la flecha lo sugiere) */
.plegable > summary { list-style: none; cursor: pointer; }
.plegable > summary::-webkit-details-marker { display: none; }
.plegable > summary::after {
  content: "";
  width: 28px;
  height: 28px;
  flex: none;
  margin-left: auto;
  border-radius: 50%;
  background: var(--lienzo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%23121214' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .35s var(--curva);
}
.plegable[open] > summary::after { transform: rotate(180deg); }

.banks__item { border-top: 1px solid var(--linea-2); }
.banks__item:last-child { border-bottom: 1px solid var(--linea-2); }
.banks__name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  font-size: 18px;
  font-weight: 640;
  letter-spacing: -0.02em;
}
.banks__item > summary::after { background-color: var(--papel); }
.banks__how { padding: 0 0 18px 20px; font-size: 15.5px; color: var(--gris); }
.banco-dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--c); }
.banco-dot--familiar { --c: var(--familiar); }
.banco-dot--continental { --c: var(--continental); }
.banco-dot--ueno { --c: var(--ueno); }
.banco-dot--sudameris { --c: var(--sudameris); }
.banco-dot--interfisa { --c: var(--interfisa); }
.banks__other .banks__name { color: var(--gris); }
.banks__other .banks__how { padding-left: 0; }

/* ========================================================= Seguridad == */

.security { display: grid; }
.security__item { border-top: 1px solid var(--linea); }
.security__item:last-child { border-bottom: 1px solid var(--linea); }
.security__item > summary { display: flex; align-items: center; gap: 14px; min-height: 68px; padding-block: 12px; }
.security__item > p { padding: 0 0 18px 58px; }
.security .icon {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 14px;
  background: var(--lienzo);
  fill: none;
  stroke: var(--violeta);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.security h3 { font-size: 16.5px; font-weight: 640; letter-spacing: -0.015em; line-height: 1.35; }
.security p { font-size: 15px; color: var(--gris); }

/* ==================================================== Dónde funciona == */

.compare {
  padding: 8px 14px 14px;
  border-radius: var(--r-lg);
  background: var(--papel);
  box-shadow: var(--sombra-1);
}
.compare__table { width: 100%; border-collapse: collapse; }
.compare__table th, .compare__table td { padding: 16px 12px; vertical-align: middle; }
.compare__table thead th { text-align: left; vertical-align: top; }
.compare__corner { vertical-align: bottom !important; }
.compare__corner .h3 { font-size: 17px; color: var(--gris); }
.compare__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.compare .icon { width: 28px; height: 28px; fill: none; stroke: var(--tinta); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.compare__badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--lima);
  color: var(--tinta);
  font-size: 12px;
  font-weight: 640;
}
.compare__name { display: block; font-size: 17px; font-weight: 680; letter-spacing: -0.02em; line-height: 1.25; }
.compare__short { display: none; }
.compare__sub { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--gris); overflow-wrap: break-word; }
.compare__table tbody th { font-weight: 600; text-align: left; letter-spacing: -0.01em; }
.compare__table tbody th small { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 400; color: var(--gris); }
.compare__table tbody tr { border-top: 1px solid var(--linea); }
.compare__table tbody td, .compare__table tfoot td { text-align: center; }
.compare__mark {
  position: relative;
  display: inline-block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  vertical-align: middle;
}
.compare__mark--si { background: var(--lima); }
.compare__mark--si::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23121214' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.compare__mark--no { background: var(--papel); box-shadow: inset 0 0 0 1px var(--linea-2); }
.compare__mark--no::before,
.compare__mark--no::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--gris-2);
  transform: translate(-50%, -50%) rotate(45deg);
}
.compare__mark--no::after { transform: translate(-50%, -50%) rotate(-45deg); }
.compare__note { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--gris); }
.compare__text { font-size: 14.5px; line-height: 1.4; font-weight: 600; }
/* Precio: el del sistema grande y lo que se suma según la opción, debajo. Arriba, para que los
   tres montos queden a la misma altura aunque el texto de abajo tenga distinto largo */
.compare__precios th, .compare__precios td { vertical-align: top; }
.compare__precio { display: block; font-size: 26px; font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.compare__extra { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--gris); }
.compare__table tfoot td { padding-top: 18px; }
.compare__table tfoot .btn { width: 100%; }

/* ========================================================= Empezar == */

.need {
  display: grid;
  gap: 4px;
  margin-top: 40px;
  padding: 24px 20px;
  border-radius: var(--r-lg);
  background: var(--papel);
  box-shadow: var(--sombra-1);
}

/* ======================================================== Preguntas == */

.faq { display: grid; gap: 28px; }
.faq__intro { display: grid; gap: 12px; align-content: start; }
.faq__list { border-radius: var(--r); background: var(--papel); box-shadow: 0 0 0 1px var(--linea), var(--sombra-1); }
.faq details { border-top: 1px solid var(--linea); }
.faq details:first-child { border-top: 0; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 14px 18px;
  list-style: none;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--lienzo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%23121214' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .35s var(--curva);
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { padding: 0 18px 18px; font-size: 15.5px; color: var(--gris); }

/* ===================================================== Llamado final == */

.cta-final { padding: 8px 0 var(--section-y); }
.cta-final__panel {
  display: grid;
  justify-items: start;
  gap: 18px;
  padding: 40px 22px 24px;
  border-radius: 32px;
  background:
    radial-gradient(70% 90% at 85% 0%, rgba(44, 52, 175, .9) 0%, rgba(44, 52, 175, 0) 70%),
    var(--violeta);
  color: #fff;
}
.cta-final__mark { width: 52px; height: 52px; }
.cta-final__title {
  max-width: 14ch;
  font-size: clamp(36px, 10vw, 64px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.cta-final__title span { color: var(--lima); white-space: nowrap; }
.cta-final__panel p { max-width: 34em; font-size: 17px; color: rgba(255, 255, 255, .85); }
.cta-final__panel .ctas { display: grid; width: 100%; margin-top: 8px; }

/* ============================================================== Pie == */

.footer { padding: 48px 0 calc(100px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linea); }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.footer__brand { grid-column: 1 / -1; display: grid; gap: 10px; }
.footer__brand p { max-width: 28em; font-size: 14px; color: var(--gris); }
.footer nav { display: grid; align-content: start; gap: 2px; }
.footer h3 { margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--gris); }
.footer nav a { padding: 6px 0; font-size: 15px; text-decoration: none; }
.footer nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__legal {
  display: grid;
  gap: 6px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--linea);
  font-size: 13px;
  color: var(--gris);
}

/* ======================================= Barra de acciones (celular) == */

.barra-movil {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 45;
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 0 0 1px rgba(18, 18, 20, .06), 0 16px 40px -16px rgba(18, 18, 20, .45);
  transform: translateY(150%);
  visibility: hidden;
  transition: transform .45s var(--curva), visibility 0s .45s;
}
.barra-movil.is-visible { transform: none; visibility: visible; transition: transform .5s var(--curva); }
.menu-abierto .barra-movil { transform: translateY(150%); visibility: hidden; }
.barra-movil .btn { flex: 1; min-height: 48px; padding: 0 12px; font-size: 15.5px; }

/* ====================================== Visor: una pantalla en grande == */

.visor {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #0d0d10;
  color: #fff;
}
.visor[open] { display: flex; flex-direction: column; }
.visor::backdrop { background: rgba(13, 13, 16, .7); }
html.visor-abierto { overflow: hidden; }
.visor__barra { display: flex; align-items: center; gap: 12px; padding: calc(10px + env(safe-area-inset-top)) 12px 10px 20px; }
.visor__titulo {
  flex: 1;
  min-width: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255, 255, 255, .86);
}
.visor__n { font-size: 13px; color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
.visor__cerrar,
.visor__nav {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .13);
  color: #fff;
  cursor: pointer;
}
.visor__cerrar svg,
.visor__nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.visor__nav[hidden] { visibility: hidden; }
.visor__marco { display: flex; flex: 1; min-height: 0; padding: 8px 16px; overflow: auto; overscroll-behavior: contain; }
.visor__img { margin: auto; max-width: 100%; max-height: 100%; border-radius: 10px; background: #fff; cursor: zoom-in; }
.visor--cel .visor__img { border-radius: 22px; }
.visor__marco.is-zoom .visor__img { max-width: none; max-height: none; cursor: zoom-out; }
.visor--pc .visor__marco.is-zoom .visor__img { width: min(1600px, max(220%, 900px)); }
.visor--cel .visor__marco.is-zoom .visor__img { width: min(600px, 100%); }
.visor__img.entra { animation: visor-entra .4s var(--curva) both; }
@keyframes visor-entra {
  from { opacity: 0; transform: scale(.97); }
  to { opacity: 1; transform: none; }
}
.visor__pie { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); }
.visor__pista { font-size: 13px; text-align: center; color: rgba(255, 255, 255, .62); }

/* ===================================== Celular: lo que se ve de a uno == */

@media (max-width: 899px) {
  .hot { display: none; }

  /* Un dispositivo por vez, grande: el iPhone o la laptop según el selector */
  .con-vista .combo { padding: 0; }
  .con-vista[data-vista="cel"] .laptop,
  .con-vista[data-vista="pc"] .iphone { display: none; }
  .con-vista .combo .iphone {
    position: relative;
    right: auto;
    bottom: auto;
    width: var(--cel-ancho, min(68vw, 270px));
    margin-inline: auto;
  }
}

@media (min-width: 900px) {
  .vista { display: none; }
  .barra-movil { display: none; }
}

@media (max-width: 699px) {
  .deslizar {
    display: flex;
    gap: 12px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 2px var(--gutter) 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .deslizar::-webkit-scrollbar { display: none; }
  .deslizar > * { flex: 0 0 86%; scroll-snap-align: start; }
  /* Cada tarjeta con su alto: si se estiran a la más alta, el dibujo queda lejos del texto */
  .bento.deslizar { align-items: flex-start; }

  .puntos { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
  .puntos i { width: 6px; height: 6px; border-radius: 6px; background: var(--linea-2); transition: width .3s var(--curva), background-color .3s; }
  .puntos i.is-on { width: 20px; background: var(--tinta); }

  /* Dónde funciona: cada beneficio arriba y las tres opciones abajo, con la cabecera fija */
  .compare { padding: 0 12px 12px; }
  .compare__table,
  .compare__table thead,
  .compare__table tbody,
  .compare__table tfoot,
  .compare__table tr { display: block; }
  .compare__table thead tr {
    position: sticky;
    top: calc(max(10px, env(safe-area-inset-top)) + 60px);
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-inline: -12px;
    padding: 12px 12px 10px;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 -1px 0 var(--linea);
  }
  .compare__corner { display: none !important; }
  .compare__table thead th { display: grid; justify-items: center; gap: 4px; padding: 0 4px; text-align: center; }
  .compare__top { flex-direction: column; gap: 4px; margin: 0; }
  .compare__badge { display: none; }
  .compare__name, .compare__sub { display: none; }
  .compare__short { display: block; font-size: 14px; font-weight: 680; letter-spacing: -0.015em; }
  .compare__table thead th:nth-child(2) .compare__short::after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    margin: 4px auto 0;
    border-radius: 50%;
    background: var(--tinta);
  }
  .compare__table tbody tr {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 10px;
    padding: 16px 0;
  }
  .compare__table tbody tr:first-child { border-top: 0; }
  .compare__table tbody th { grid-column: 1 / -1; padding: 0 4px; }
  .compare__table tbody td { padding: 0 4px; }
  .compare__precio { font-size: 19px; }
  .compare__extra { font-size: 12.5px; }
  .compare__table tfoot tr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding-top: 6px; }
  .compare__table tfoot td { padding: 0; }
  .compare__table tfoot td:first-child { display: none; }
  .compare__table tfoot .btn { min-height: 44px; padding: 0 8px; font-size: 14px; }
}

/* ============================================ Tablet y computadora == */

@media (min-width: 700px) {
  :root { --gutter: 32px; }

  .hero .ctas { display: flex; width: auto; }
  .hero .ctas .btn { padding-inline: 24px; }
  .solo-ancho { display: inline; }
  .cta-final__panel .ctas { display: flex; width: auto; }

  .problemas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .problema, .problema:last-child { padding: 24px 0 0; }


  .bento { grid-template-columns: repeat(2, 1fr); }
  .feat--wide { grid-column: span 2; }

  .need { grid-template-columns: minmax(200px, 1fr) 2fr; gap: 16px 40px; align-items: start; padding: 32px; }
  .need .checks { margin-top: 0; }

  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
  .footer__legal { grid-template-columns: auto 1fr; gap: 24px; }
  .footer__legal p:last-child { text-align: right; }
  .footer { padding-bottom: 48px; }
}

@media (min-width: 900px) {
  :root { --section-y: 112px; }

  .hero { padding-top: calc(var(--nav-h) + 64px); }
  .hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-areas: "texto escena" "puntos escena";
    align-items: center;
    gap: 0 48px;
  }
  .hero__text { grid-area: texto; align-self: end; }
  .hero__points { grid-area: puntos; align-self: start; justify-content: flex-start; margin-top: 20px; }
  .hero__stage { grid-area: escena; display: block; padding: 0 0 12% 10%; }
  .hero__laptop { display: block; }
  .hero__iphone { position: absolute; left: 0; bottom: 0; z-index: 2; width: 31%; }
  .hero__bancos { margin-top: 40px; }

  .section__head { margin-bottom: 56px; }
  .section__head--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 64px; max-width: none; }

  .pasos { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .paso { padding: 52px 0 0; }
  .paso::before { top: 0; }
  .paso:not(:last-child)::after { left: 48px; right: -28px; top: 18px; bottom: auto; width: auto; height: 1px; }

  .parse { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; margin-top: 64px; padding: 24px; }
  .parse__arrow svg { transform: rotate(-90deg); }
  .mail, .result { padding: 24px; }

  .galeria__controles { flex-direction: row; justify-content: center; }

  .bento { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .feat { padding: 28px; }
  .feat--row { flex-direction: row; align-items: center; gap: 40px; }
  .feat--row .feat__text { flex: 1; }
  .feat--row .feat__visual { margin: 0; }
  .feat__iphone { width: 190px; margin-bottom: -96px; align-self: flex-start; }

  .stats { padding-block: 96px; }
  .stats__grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }

  /* Las listas plegables quedan abiertas y se leen como grilla */
  .plegable > summary { cursor: default; }
  .plegable > summary::after { display: none; }

  .banks { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 56px; }
  .banks__item, .banks__item:last-child { border-bottom: 0; }
  .banks__item:nth-last-child(-n+2) { border-bottom: 1px solid var(--linea-2); }
  .banks__name { min-height: 0; padding-top: 22px; }
  .banks__how { padding: 8px 0 24px 20px; }

  .security { grid-template-columns: repeat(3, 1fr); gap: 40px 48px; }
  .security__item, .security__item:last-child { border: 0; }
  .security__item > summary { flex-direction: column; align-items: flex-start; gap: 14px; min-height: 0; padding: 0; }
  .security__item > p { padding: 8px 0 0; }

  .compare { padding: 12px 20px 20px; }
  .compare__table thead th { width: 22%; }
  .compare__table th, .compare__table td { padding: 18px 16px; }

  .faq { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; }
  .faq__intro { position: sticky; top: calc(var(--nav-h) + 24px); }
  .faq summary { padding: 16px 24px; }
  .faq details p { padding: 0 24px 20px; }

  /* El título a la izquierda; el texto y los botones a la derecha, abajo */
  .cta-final__panel {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-areas: "marca ." "titulo texto" "titulo botones";
    align-items: end;
    gap: 20px 64px;
    padding: 72px 64px 64px;
    border-radius: 40px;
  }
  .cta-final__mark { grid-area: marca; }
  .cta-final__title { grid-area: titulo; }
  .cta-final__panel p { grid-area: texto; }
  .cta-final__panel .ctas { grid-area: botones; margin-top: 4px; }
}

@media (min-width: 980px) {
  .nav { padding-inline: 24px; }
  .nav__inner { padding: 0 8px 0 18px; }
  .nav__links {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    max-height: none;
    margin-inline: auto;
    padding: 0;
    overflow: visible;
    border-radius: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__links > a { min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: 14.5px; color: var(--gris); }
  .nav__links > a:hover { color: var(--tinta); background: rgba(18, 18, 20, .05); }
  .nav__menu-ctas { display: none; }
  .nav__actions { margin-left: 0; }
  .nav__hablemos { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; font-size: 14.5px; font-weight: 600; text-decoration: none; }
  .nav__toggle { display: none; }
}

@media (min-width: 1200px) {
  .display { font-size: 80px; }
}

/* ======================================= De una página a la otra == */

/* Transición nativa entre la portada y la demo (Chrome, Edge, Safari): la barra de arriba no se
   mueve, la página que se va sale y la nueva entra. Estas son las de llegar a la portada (volver);
   demo.css tiene las de ir a la demo. js/main.js decide si el iPhone y la laptop viajan. */
@view-transition { navigation: auto; }
.nav { view-transition-name: nav; }
.vt-hero .hero__iphone,
.vt-hero .demo-hero__stage .iphone { view-transition-name: escena-tel; }
.vt-hero .hero__laptop,
.vt-hero .demo-hero__stage .laptop { view-transition-name: escena-pc; }

/* La que se va desaparece antes de que aparezca la nueva: los títulos de las dos no se pisan */
::view-transition-old(root) { animation: pagina-baja .24s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: pagina-desde-arriba .5s var(--curva) .2s both; }
::view-transition-group(escena-tel),
::view-transition-group(escena-pc) { animation-duration: .75s; animation-timing-function: var(--curva); }

@keyframes pagina-baja { to { opacity: 0; transform: translateY(32px); } }
@keyframes pagina-desde-arriba { from { opacity: 0; transform: translateY(-24px); } }
@keyframes pagina-sube { to { opacity: 0; transform: translateY(-32px) scale(.985); } }
@keyframes pagina-desde-abajo { from { opacity: 0; transform: translateY(40px); } }

/* Sin transición nativa (Firefox): lo mismo, con clases que pone js/main.js */
.saliendo main,
.saliendo .footer {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity .22s var(--curva-suave), transform .3s var(--curva-suave);
}
.entrando main,
.entrando .footer { animation: pagina-desde-abajo .6s var(--curva) both; }

/* ================================================ Reducir movimiento == */

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
