/* CloudPay — landing
   Paleta: cobalto (identidad), cielo (fondo de zona), cempasúchil (acento), tinta (texto/zona oscura) */
:root {
  --cobalto: #1832D6;
  --cobalto-hondo: #0F1F8F;
  --cielo: #E9EEFF;
  --cempasuchil: #F5A623;
  --tinta: #0A1240;
  --gris: #4A5274;
  --linea: #D5DBF2;
  --blanco: #FFFFFF;
  --verde: #12805C;
  --rojo: #C2243A;

  --fuente: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ancho: 1200px;
  --radio-chico: 10px;
  --radio: 18px;
  --radio-grande: 32px;

  /* gap interno < gap entre grupos */
  --gap-interno: 0.75rem;
  --gap-grupo: 2.5rem;
  --seccion: clamp(4.5rem, 9vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--fuente);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--tinta);
  background: var(--blanco);
}
[hidden] { display: none !important; }
img, svg { display: block; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cempasuchil); outline-offset: 3px; border-radius: 6px; }

.envoltura { width: min(100% - 2.5rem, var(--ancho)); margin-inline: auto; }
.saltar { position: absolute; left: -999px; top: 0; background: var(--tinta); color: #fff; padding: .75rem 1rem; z-index: 99; }
.saltar:focus { left: 1rem; top: 1rem; }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 1.6rem;
  border-radius: 999px; border: 2px solid var(--cobalto);
  background: var(--cobalto); color: #fff;
  font: 600 1rem/1 var(--fuente); text-decoration: none; cursor: pointer;
  transition: background .15s, transform .1s, border-color .15s, color .15s;
}
.boton:hover { background: var(--cobalto-hondo); border-color: var(--cobalto-hondo); }
.boton:active { transform: scale(.97); }
.boton--chico { min-height: 44px; padding: 0 1.2rem; font-size: .95rem; }
.boton--hueco { background: transparent; color: var(--cobalto); }
.boton--hueco:hover { background: var(--cielo); color: var(--cobalto-hondo); }
.boton--claro { background: #fff; border-color: #fff; color: var(--tinta); }
.boton--claro:hover { background: var(--cempasuchil); border-color: var(--cempasuchil); }
.boton--amarillo { background: var(--cempasuchil); border-color: var(--cempasuchil); color: var(--tinta); width: 100%; }
.boton--amarillo:hover { background: #FFB943; border-color: #FFB943; }
.boton[aria-busy="true"] { opacity: .75; pointer-events: none; }
.boton[aria-busy="true"]::before {
  content: ""; width: 1em; height: 1em; margin-right: .6em; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: girar .7s linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }

.enlace { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; color: var(--cobalto); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.enlace:hover { color: var(--cobalto-hondo); }

/* ---------- Barra ---------- */
.barra {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.barra.con-sombra { border-bottom-color: var(--linea); }
.barra__fila { display: flex; align-items: center; gap: 2rem; min-height: 96px; }
.marca { display: inline-flex; align-items: center; text-decoration: none; }
.marca__img { display: block; height: 64px; width: auto; }
.marca--clara { background: #fff; border-radius: 18px; padding: 8px 14px; }
.menu { display: flex; gap: .25rem; margin-left: auto; }
.menu a { padding: .6rem .8rem; border-radius: 999px; text-decoration: none; font-weight: 500; color: var(--gris); transition: background .15s, color .15s; }
.menu a:hover { background: var(--cielo); color: var(--tinta); }
@media (max-width: 900px) { .menu { display: none; } .barra__fila .boton { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 var(--seccion); overflow: hidden; }
.hero__rejilla { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; }
.hero h1 {
  font-size: clamp(3rem, 7.4vw, 6.25rem);
  line-height: .94; letter-spacing: -.045em; font-weight: 800;
  max-width: 9ch; text-wrap: balance;
}
.hero__bajada { margin-top: 1.6rem; font-size: 1.25rem; line-height: 1.5; color: var(--gris); max-width: 34rem; }
.hero__acciones { display: flex; flex-wrap: wrap; gap: var(--gap-interno); margin-top: 2.2rem; }
.hero__hechos { list-style: none; padding: 0; margin: 3rem 0 0; display: flex; flex-wrap: wrap; gap: 2.5rem; color: var(--gris); font-size: .95rem; }
.hero__hechos strong { display: block; color: var(--tinta); font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; }

/* Demo interactivo */
.demo { position: relative; display: grid; justify-items: center; gap: 1.5rem; padding-bottom: 2rem; }
.segmentado { display: inline-flex; padding: 5px; gap: 4px; background: var(--cielo); border-radius: 999px; flex-wrap: wrap; justify-content: center; }
.segmentado button, .segmentado label span {
  min-height: 44px; padding: 0 1.05rem; border: 0; border-radius: 999px;
  background: transparent; color: var(--gris); font: 600 .95rem var(--fuente); cursor: pointer;
  display: inline-flex; align-items: center; transition: background .15s, color .15s;
}
.segmentado button:hover, .segmentado label span:hover { color: var(--tinta); }
.segmentado button[aria-selected="true"] { background: #fff; color: var(--cobalto); box-shadow: 0 1px 2px rgba(10,18,64,.12), 0 4px 12px rgba(24,50,214,.12); }

.telefono {
  position: relative; z-index: 2; width: 300px; aspect-ratio: 9 / 18.5;
  padding: 12px; border-radius: 48px; background: var(--tinta);
  box-shadow: 0 40px 80px -30px rgba(15,31,143,.55), inset 0 0 0 2px #2A3270;
}
.telefono__isla { position: absolute; top: 22px; left: 50%; width: 86px; height: 24px; transform: translateX(-50%); background: #000; border-radius: 20px; z-index: 3; }
.pantalla {
  height: 100%; border-radius: 37px; background: #fff; overflow: hidden;
  display: flex; flex-direction: column; padding: 58px 20px 22px;
}
.pantalla__saldo { padding: 16px 18px; border-radius: var(--radio); background: var(--cobalto); color: #fff; }
.pantalla__saldo span { font-size: .78rem; opacity: .8; }
.pantalla__saldo strong { display: block; font-size: 1.6rem; letter-spacing: -.02em; }
.vista { flex: 1; display: flex; flex-direction: column; gap: .7rem; padding-top: 1.3rem; animation: aparecer .28s ease-out; }
@keyframes aparecer { from { opacity: 0; transform: translateY(6px); } }
.vista__titulo { font-size: .8rem; color: var(--gris); font-weight: 600; }
.vista__nota { font-size: .82rem; color: var(--gris); }
.contacto { display: flex; align-items: center; gap: .7rem; padding: .7rem; border: 1px solid var(--linea); border-radius: 14px; }
.contacto b { display: block; font-size: .95rem; }
.contacto small { color: var(--gris); font-size: .76rem; }
.avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--tono); color: #fff; font-weight: 700; font-size: .85rem; }
.monto { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; margin-top: auto; }
.monto--chico { font-size: 1.8rem; margin-top: 0; }
.chips { display: flex; gap: 6px; }
.chips span { flex: 1; text-align: center; padding: .55rem 0; border-radius: 10px; border: 1px solid var(--linea); font-weight: 600; font-size: .85rem; }
.chips .activo { background: var(--cielo); border-color: var(--cobalto); color: var(--cobalto); }
.qr {
  width: 108px; height: 108px; align-self: center; border-radius: 10px;
  background:
    conic-gradient(from 90deg at 30% 30%, var(--tinta) 25%, transparent 0) 0 0 / 27px 27px,
    linear-gradient(90deg, var(--tinta) 50%, transparent 0) 0 0 / 9px 18px,
    var(--cielo);
  outline: 8px solid var(--cielo);
}
.pantalla__boton {
  margin-top: 1rem; min-height: 50px; border: 0; border-radius: 999px;
  background: var(--cempasuchil); color: var(--tinta); font: 700 1rem var(--fuente); cursor: pointer;
  transition: transform .1s, background .15s;
}
.pantalla__boton:hover { background: #FFB943; }
.pantalla__boton:active { transform: scale(.97); }
.pantalla__ok { margin-top: 1rem; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 999px; background: #E3F6EE; color: var(--verde); font-weight: 700; }
.pantalla__ok svg { width: 22px; height: 22px; }
.pantalla__ok[hidden] { display: none; }

.tarjeta-fisica {
  position: absolute; z-index: 1; right: max(-2rem, calc(50% - 300px)); bottom: 3.5rem;
  width: 270px; aspect-ratio: 1.586; border-radius: 16px; padding: 18px 20px;
  background: linear-gradient(135deg, var(--cempasuchil), #F07C1E);
  transform: rotate(14deg); box-shadow: 0 30px 50px -24px rgba(240,124,30,.7);
  display: grid; grid-template-rows: auto 1fr auto; color: var(--tinta);
}
.tarjeta-fisica__chip { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #FFE7B0, #D99A2B); }
.tarjeta-fisica__nombre { align-self: end; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.tarjeta-fisica__num { font-size: .9rem; opacity: .8; }

@media (max-width: 960px) {
  .hero__rejilla { grid-template-columns: 1fr; gap: 3rem; }
  .hero h1 { max-width: 11ch; }
  .tarjeta-fisica { right: calc(50% - 250px); }
}
@media (max-width: 560px) {
  .tarjeta-fisica { display: none; }
  .telefono { width: 280px; }
  .hero__hechos { gap: 1.5rem; }
}

/* ---------- Secciones ---------- */
.seccion { padding: var(--seccion) 0; }
.seccion--cielo { background: var(--cielo); }
.seccion--tinta { background: var(--tinta); color: #fff; }
.seccion--azul { background: var(--cobalto); color: #fff; }
.titulo-seccion {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 800;
  max-width: 18ch; text-wrap: balance;
}

/* Productos */
.productos { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.25rem; margin-top: var(--gap-grupo); }
.producto { position: relative; overflow: hidden; padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--radio-grande); min-height: 420px; display: flex; flex-direction: column; gap: 1rem; }
.producto h3 { font-size: 2rem; letter-spacing: -.03em; line-height: 1.05; }
.producto p { max-width: 32rem; }
.producto--wallet { background: var(--cobalto); color: #fff; }
.producto--wallet p { color: rgba(255,255,255,.85); }
.producto--tarjetas { background: var(--cempasuchil); }
.lista-check { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: .5rem; font-weight: 600; }
.lista-check li { display: flex; align-items: center; gap: .6rem; }
.lista-check li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5 10 16l8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.producto--tarjetas .lista-check li::before { background-color: var(--tinta); }
.pila-tarjetas { position: absolute; right: -70px; bottom: -36px; width: 190px; height: 125px; pointer-events: none; }
.pila-tarjetas span { position: absolute; inset: 0; border-radius: 14px; background: var(--tinta); transform: rotate(-12deg); }
.pila-tarjetas span:nth-child(2) { background: var(--cobalto); transform: rotate(-4deg) translate(-26px, 24px); }
.pila-tarjetas span:nth-child(3) { background: #fff; transform: rotate(5deg) translate(-52px, 50px); box-shadow: 0 10px 30px -10px rgba(10,18,64,.4); }
.producto--tarjetas h3, .producto--tarjetas p { position: relative; z-index: 1; }

.mas-productos { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: var(--gap-grupo); border-top: 2px solid var(--tinta); }
.mini { padding: 1.75rem 1.5rem 0 0; display: grid; gap: var(--gap-interno); align-content: start; }
.mini + .mini { padding-left: 1.5rem; border-left: 1px solid var(--linea); }
.mini svg { width: 30px; height: 30px; fill: none; stroke: var(--cobalto); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mini h3 { font-size: 1.2rem; letter-spacing: -.01em; }
.mini p { color: var(--gris); font-size: .98rem; }
@media (max-width: 900px) {
  .productos { grid-template-columns: 1fr; }
  .producto { min-height: 0; }
  .mas-productos { grid-template-columns: 1fr 1fr; row-gap: 1.5rem; }
  .mini:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .mas-productos { grid-template-columns: 1fr; }
  .mini, .mini + .mini { padding-left: 0; border-left: 0; }
  .pila-tarjetas { display: none; }
  .producto--tarjetas h3, .producto--tarjetas p { max-width: none; }
}

/* Servicios */
.servicios { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.servicios__texto { display: grid; gap: 1.25rem; justify-items: start; }
.servicios__texto p { color: var(--gris); font-size: 1.15rem; max-width: 30rem; }
.servicios__lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; }
.servicios__lista li { display: grid; justify-items: center; gap: .55rem; padding: 1.2rem .5rem; background: #fff; border-radius: var(--radio); font-weight: 600; font-size: .9rem; text-align: center; }
.servicios__lista svg { width: 28px; height: 28px; fill: none; stroke: var(--cobalto); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) { .servicios { grid-template-columns: 1fr; gap: 2.5rem; } }
@media (max-width: 560px) { .servicios__lista { grid-template-columns: repeat(2, 1fr); } }

/* Negocios */
.negocios { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.negocios__bajada { margin-top: 1.25rem; color: rgba(255,255,255,.75); font-size: 1.15rem; max-width: 32rem; }
.negocios__lista { margin: 2.25rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 2rem; }
.negocios__lista dt { font-weight: 700; font-size: 1.05rem; padding-top: .9rem; border-top: 2px solid var(--cempasuchil); }
.negocios__lista dd { margin: .35rem 0 0; color: rgba(255,255,255,.72); font-size: .97rem; }
.codigo { margin: 0; border-radius: var(--radio); background: #060B2E; border: 1px solid #222B66; overflow: hidden; }
.codigo figcaption { padding: .9rem 1.25rem; border-bottom: 1px solid #222B66; font-size: .9rem; color: rgba(255,255,255,.7); }
.codigo pre { margin: 0; padding: 1.25rem; overflow-x: auto; font: .88rem/1.65 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #C9D3FF; }
.c-k { color: #7F95FF; } .c-s { color: #9BB1FF; } .c-n { color: var(--cempasuchil); } .c-c { color: #6A74A8; }
@media (max-width: 960px) { .negocios { grid-template-columns: 1fr; gap: 3rem; } }
@media (max-width: 560px) { .negocios__lista { grid-template-columns: 1fr; } }

/* Seguridad */
.seguridad__rejilla { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: var(--gap-grupo); }
.seguridad__rejilla > div { display: grid; gap: var(--gap-interno); align-content: start; padding-left: 1.25rem; border-left: 3px solid var(--cobalto); }
.seguridad__rejilla h3 { font-size: 1.2rem; }
.seguridad__rejilla p { color: var(--gris); }
@media (max-width: 900px) { .seguridad__rejilla { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .seguridad__rejilla { grid-template-columns: 1fr; } }

/* Pasos */
.pasos { list-style: none; counter-reset: paso; margin: var(--gap-grupo) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pasos li { counter-increment: paso; display: grid; gap: var(--gap-interno); align-content: start; padding: 2rem; background: #fff; border-radius: var(--radio); }
.pasos li::before { content: counter(paso); width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--cobalto); color: #fff; font-weight: 800; font-size: 1.25rem; margin-bottom: .5rem; }
.pasos h3 { font-size: 1.3rem; }
.pasos p { color: var(--gris); }
@media (max-width: 760px) { .pasos { grid-template-columns: 1fr; } }

/* Preguntas */
.preguntas { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.acordeon { border-top: 1px solid var(--linea); }
.acordeon details { border-bottom: 1px solid var(--linea); }
.acordeon summary {
  list-style: none; cursor: pointer; min-height: 64px; padding: 1.1rem 3rem 1.1rem 0; position: relative;
  font-weight: 600; font-size: 1.12rem; display: flex; align-items: center; transition: color .15s;
}
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon summary:hover { color: var(--cobalto); }
.acordeon summary::after {
  content: ""; position: absolute; right: .5rem; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); transition: transform .2s;
}
.acordeon details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.acordeon details p { padding: 0 3rem 1.4rem 0; color: var(--gris); max-width: 40rem; }
@media (max-width: 860px) { .preguntas { grid-template-columns: 1fr; gap: 2rem; } }

/* Registro */
.registro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.registro__texto p { margin-top: 1.25rem; font-size: 1.2rem; color: rgba(255,255,255,.85); max-width: 28rem; }
.formulario { display: grid; gap: 1.1rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--cobalto-hondo); border-radius: var(--radio-grande); }
.segmentado--claro { background: rgba(255,255,255,.1); justify-self: start; }
.segmentado--claro label { position: relative; }
.segmentado--claro input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.segmentado--claro label span { color: rgba(255,255,255,.75); }
.segmentado--claro input:checked + span { background: #fff; color: var(--cobalto); }
.segmentado--claro input:focus-visible + span { outline: 3px solid var(--cempasuchil); outline-offset: 2px; }
.campo { display: grid; gap: .4rem; }
.campo label { font-weight: 600; font-size: .95rem; }
.campo label small { font-weight: 400; opacity: .7; }
.campo input {
  min-height: 52px; padding: 0 1rem; border-radius: var(--radio-chico); border: 2px solid transparent;
  background: #fff; color: var(--tinta); font: 500 1.05rem var(--fuente); transition: border-color .15s;
}
.campo input::placeholder { color: #8A90AE; font-style: italic; }
.campo input:focus { outline: none; border-color: var(--cempasuchil); }
.campo input[aria-invalid="true"] { border-color: #FF8A9A; background: #FFF3F5; }
.campo__error { display: flex; gap: .45rem; align-items: flex-start; font-size: .9rem; color: #FFD2D9; font-weight: 500; }
.campo__error::before { content: "!"; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: #FF8A9A; color: var(--tinta); font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.campo__error[hidden] { display: none; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.formulario__estado:empty { display: none; }
.formulario__estado { padding: .9rem 1rem; border-radius: var(--radio-chico); font-weight: 600; }
.formulario__estado.ok { background: #E3F6EE; color: var(--verde); }
.formulario__estado.error { background: #FFF3F5; color: var(--rojo); }
@media (max-width: 860px) { .registro { grid-template-columns: 1fr; gap: 2.5rem; } }

/* Pie */
.pie { background: var(--tinta); color: rgba(255,255,255,.7); padding: 3rem 0; }
.pie__fila { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; }
.pie__menu { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.pie__menu a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.pie__menu a:hover { color: #fff; text-decoration: underline; }
.pie__legal { margin-left: auto; font-size: .9rem; }
@media (max-width: 700px) { .pie__legal { margin-left: 0; width: 100%; } }
@media (max-width: 560px) {
  .hero h1, .titulo-seccion { letter-spacing: -.025em; }
}

/* ==========================================================
   v3 · profundidad, color y movimiento
   ========================================================== */
:root {
  --sombra-azul: 0 40px 70px -34px rgba(24,50,214,.55);
  --sombra-oro: 0 40px 70px -34px rgba(245,166,35,.6);
  --sombra-tinta: 0 1px 2px rgba(10,18,64,.06), 0 18px 40px -22px rgba(10,18,64,.28);
  --ease-out: cubic-bezier(.2,.7,.2,1);
  --menta: #12A88A;
  --rosa: #FF5C8A;
}

/* Una sola secuencia de entrada en el hero */
@keyframes subir { from { opacity: 0; transform: translateY(18px); } }
@keyframes entrar { from { opacity: 0; transform: translateY(28px) scale(.97); } }
@keyframes flotar { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.hero h1 { animation: subir .7s var(--ease-out) both; }
.hero__bajada { animation: subir .7s .1s var(--ease-out) both; }
.hero__acciones { animation: subir .7s .2s var(--ease-out) both; }
.hero__hechos { animation: subir .7s .3s var(--ease-out) both; }
.demo { animation: entrar .9s .15s var(--ease-out) both; }
.tarjeta-fisica { animation: flotar 7s ease-in-out infinite; }

/* Revelado al hacer scroll (solo si hay JS) */
.js [data-reveal] {
  opacity: 0; translate: 0 22px;
  transition: opacity .7s ease, translate .7s var(--ease-out), transform .25s ease, box-shadow .25s ease;
}
.js [data-reveal].en-vista { opacity: 1; translate: 0 0; }

/* Hero: fondo sólido detrás del teléfono y cifras con color */
.demo::before {
  content: ""; position: absolute; z-index: 0; width: 440px; height: 440px; border-radius: 50%;
  background: #DDE6FF; top: 50%; left: 50%; translate: -50% -50%;
}
.telefono { box-shadow: 0 50px 90px -36px rgba(15,31,143,.6), inset 0 0 0 2px #2A3270; }
.hero__hechos li:nth-child(1) strong { color: var(--cobalto); }
.hero__hechos li:nth-child(2) strong { color: var(--menta); }
.hero__hechos li:nth-child(3) strong { color: #E8731C; }
.boton { box-shadow: 0 12px 24px -16px rgba(24,50,214,.8); }
.boton:hover { transform: translateY(-2px); }
.boton--hueco, .boton--claro { box-shadow: none; }
.boton--amarillo { box-shadow: 0 14px 28px -16px rgba(245,166,35,.95); }
.boton--amarillo:hover { box-shadow: 0 18px 34px -16px rgba(245,166,35,1); }

/* Productos: cada tarjeta proyecta su propio color */
.producto--wallet { box-shadow: var(--sombra-azul); }
.producto--tarjetas { box-shadow: var(--sombra-oro); }

/* Mini-features: badge tintado con el color de cada una */
.mini { position: relative; }
.mini svg {
  width: 56px; height: 56px; padding: 14px; border-radius: 18px;
  background: color-mix(in srgb, var(--c) 14%, #fff);
  stroke: var(--c); stroke-width: 2.1;
  transition: transform .3s var(--ease-out);
}
.mini:hover svg { transform: rotate(-6deg) scale(1.06); }

/* Servicios: tarjetas con color propio y elevación al pasar el cursor */
.servicios__lista li {
  padding: 1.3rem .6rem 1.2rem; box-shadow: var(--sombra-tinta);
  transition: transform .25s var(--ease-out), box-shadow .25s ease;
  cursor: default;
}
.servicios__lista li:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 40px -20px color-mix(in srgb, var(--c) 65%, transparent);
}
.servicios__lista li svg {
  width: 60px; height: 60px; padding: 15px; border-radius: 20px;
  background: color-mix(in srgb, var(--c) 15%, #fff);
  stroke: var(--c); stroke-width: 1.9;
}

/* Seguridad: cada punto con su propio color */
.seguridad__rejilla > div:nth-child(1) { border-left-color: var(--cobalto); }
.seguridad__rejilla > div:nth-child(2) { border-left-color: var(--menta); }
.seguridad__rejilla > div:nth-child(3) { border-left-color: #FF6B3D; }
.seguridad__rejilla > div:nth-child(4) { border-left-color: var(--rosa, #FF5C8A); }

/* Pasos: tarjetas con sombra y números de color */
.pasos li { box-shadow: var(--sombra-tinta); }
.pasos li:nth-child(1)::before { background: var(--cobalto); }
.pasos li:nth-child(2)::before { background: var(--cempasuchil); color: var(--tinta); }
.pasos li:nth-child(3)::before { background: var(--menta); }

/* Formulario y negocios con más profundidad */
.formulario { box-shadow: 0 50px 80px -44px rgba(10,18,64,.7); }
.codigo { box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; translate: none; }
  .demo::before { display: none; }
}
