/* Prestacorp — sitio. Oscuro como el programa, con su verde. Sin fuentes ni
   scripts de otros sitios: tipografía del sistema y todo servido desde acá. */

:root {
  --fondo: #070d1a;
  --fondo-2: #0b1426;
  --fondo-3: #101c33;
  --vidrio: rgba(255, 255, 255, 0.045);
  --vidrio-borde: rgba(255, 255, 255, 0.09);
  --texto: #e8eef7;
  --suave: #9fb0c6;
  --tenue: #6f819a;
  --verde: #10b981;
  --verde-claro: #34d399;
  --verde-marca: #1e8f63;
  --turquesa: #22d3ee;
  --azul: #60a5fa;
  --ambar: #fbbf24;
  --radio: 18px;
  --sombra: 0 30px 80px rgba(0, 0, 0, 0.45);
  --ancho: 1200px;
  --fuente: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--fondo); color: var(--texto); font-family: var(--fuente);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--verde-claro); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--turquesa); outline-offset: 3px; border-radius: 6px; }

.contenedor { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 24px; }
.contenedor--angosto { max-width: 860px; }
.solo-lectores { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--verde); color: #04130d; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.saltar:focus { top: 16px; }

.etiqueta {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--verde-claro);
}
.etiqueta::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--verde), var(--turquesa)); }
.degradado { background: linear-gradient(100deg, var(--verde-claro) 10%, var(--turquesa) 60%, var(--azul)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ─── Botones ─────────────────────────────────────────────────────────── */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none;
  color: #04130d; background: linear-gradient(135deg, var(--verde-claro), var(--verde) 55%, #0ea371);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.boton:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(16, 185, 129, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.boton--vidrio { color: var(--texto); background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: none; backdrop-filter: blur(10px); }
.boton--vidrio:hover { background: rgba(255, 255, 255, 0.12); box-shadow: none; }
.boton--chico { padding: 9px 18px; font-size: 0.92rem; }
.boton--grande { padding: 17px 30px; font-size: 1.05rem; }

/* ─── Cabecera ────────────────────────────────────────────────────────── */
.cabecera { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease; border-bottom: 1px solid transparent; padding: 14px 0; }
.cabecera--solida { background: rgba(7, 13, 26, 0.78); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--vidrio-borde); padding: 8px 0; }
.cabecera__fila { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.marca { display: inline-flex; align-items: center; gap: 10px; color: var(--texto); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }
.marca img { width: 40px; height: auto; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a:not(.boton) { color: var(--suave); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.menu a:not(.boton):hover { color: var(--texto); }
.menu-boton { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--vidrio-borde); background: var(--vidrio); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.menu-boton__linea { width: 20px; height: 2px; border-radius: 2px; background: var(--texto); transition: transform 0.25s ease; }
.menu-boton[aria-expanded="true"] .menu-boton__linea:first-child { transform: translateY(4px) rotate(45deg); }
.menu-boton[aria-expanded="true"] .menu-boton__linea:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ─── Portada ─────────────────────────────────────────────────────────── */
.portada { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 140px; overflow: hidden; isolation: isolate; }
.portada__fotos { position: absolute; inset: 0; z-index: -2; }
.foto { position: absolute; inset: -4%; background-size: cover; background-position: center; opacity: 0; animation: foto-rotar 28s infinite; will-change: opacity, transform; }
.foto--1 { background-image: url(/img/mercado-1600.webp); animation-delay: 0s; opacity: 1; }
.foto--2 { background-image: url(/img/puesto-comida-1600.webp); animation-delay: 7s; }
.foto--3 { background-image: url(/img/oficina-laptop-1600.webp); animation-delay: 14s; }
.foto--4 { background-image: url(/img/contando-billetes-1600.webp); animation-delay: 21s; }
@keyframes foto-rotar {
  0% { opacity: 0; transform: scale(1.14) translate3d(0, 0, 0); }
  4% { opacity: 1; }
  25% { opacity: 1; }
  30% { opacity: 0; transform: scale(1.02) translate3d(-1.5%, -1%, 0); }
  100% { opacity: 0; transform: scale(1.02); }
}
.portada::before { /* velo: la foto se ve, el texto se lee */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 13, 26, 0.96) 0%, rgba(7, 13, 26, 0.86) 38%, rgba(7, 13, 26, 0.55) 70%, rgba(7, 13, 26, 0.72) 100%),
    linear-gradient(180deg, rgba(7, 13, 26, 0.2) 0%, rgba(7, 13, 26, 0) 55%, var(--fondo) 100%);
}
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora span { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(70px); opacity: 0.28; mix-blend-mode: screen; animation: aurora-flotar 22s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { background: radial-gradient(circle, var(--verde) 0%, transparent 65%); top: -18vmax; left: -10vmax; }
.aurora span:nth-child(2) { background: radial-gradient(circle, var(--turquesa) 0%, transparent 65%); bottom: -24vmax; right: -12vmax; animation-duration: 26s; animation-delay: -6s; }
.aurora span:nth-child(3) { background: radial-gradient(circle, #2563eb 0%, transparent 65%); top: 30%; left: 45%; width: 30vmax; height: 30vmax; opacity: 0.18; animation-duration: 30s; }
@keyframes aurora-flotar { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(6vmax, 4vmax, 0) scale(1.12); } }

.portada__fila { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.portada__bajada { font-size: 1.2rem; color: #c7d3e3; max-width: 34em; }
.portada__botones { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.portada__puntos { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; color: var(--suave); font-size: 0.95rem; }
.portada__puntos li { display: inline-flex; align-items: center; gap: 8px; }
.portada__puntos li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--verde-claro); box-shadow: 0 0 12px var(--verde); }

/* Equipos: laptop + teléfono, con una inclinación que sigue al mouse */
.portada__equipos { position: relative; --rx: 0deg; --ry: 0deg; transform: perspective(1400px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 0.35s ease-out; }
.laptop { margin: 0; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55)); }
.laptop__pantalla { border-radius: 16px 16px 6px 6px; padding: 10px; background: linear-gradient(180deg, #1c2536, #0d1422); border: 1px solid rgba(255, 255, 255, 0.12); }
.laptop__pantalla img { border-radius: 7px; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.laptop__base { height: 16px; margin: 0 -5%; background: linear-gradient(180deg, #2b3548, #111827); border-radius: 0 0 16px 16px; clip-path: polygon(0 0, 100% 0, 97% 100%, 3% 100%); }
.telefono { margin: 0; width: 30%; position: absolute; right: -4%; bottom: -12%; border-radius: 34px; padding: 9px; background: linear-gradient(160deg, #1f2937, #0b1220); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: var(--sombra); }
.telefono::before { content: ""; position: absolute; top: 14px; left: 50%; width: 30%; height: 8px; transform: translateX(-50%); border-radius: 8px; background: #05080f; z-index: 1; }
.telefono img { border-radius: 26px; width: 100%; height: auto; }

.ficha { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(15, 23, 42, 0.72); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); font-size: 0.82rem; color: var(--suave); animation: flotar 7s ease-in-out infinite; white-space: nowrap; }
.ficha strong { display: block; color: var(--texto); font-size: 0.98rem; }
.ficha__icono { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; font-weight: 800; font-size: 0.85rem; color: #04130d; background: linear-gradient(135deg, var(--verde-claro), var(--verde)); flex: none; }
.ficha__icono--azul { background: linear-gradient(135deg, #93c5fd, var(--azul)); color: #061426; }
.ficha__icono--ambar { background: linear-gradient(135deg, #fde68a, var(--ambar)); color: #1f1400; font-size: 1.1rem; }
.ficha--1 { left: -7%; top: 12%; }
.ficha--2 { left: 6%; bottom: -8%; animation-delay: -2.5s; }
.ficha--3 { right: -3%; top: -9%; animation-delay: -5s; }
@keyframes flotar { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -12px, 0); } }

/* ─── Cifras ──────────────────────────────────────────────────────────── */
.cifras { position: relative; z-index: 2; margin-top: -70px; }
.cifras__fila { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: rgba(16, 28, 51, 0.72); border: 1px solid var(--vidrio-borde); border-radius: 22px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--sombra); padding: 0; overflow: hidden; }
.cifra { padding: 28px 24px; text-align: center; border-left: 1px solid var(--vidrio-borde); }
.cifra:first-child { border-left: 0; }
.cifra strong { display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; line-height: 1; background: linear-gradient(135deg, #fff, var(--verde-claro)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.cifra span { display: block; margin-top: 8px; color: var(--suave); font-size: 0.92rem; }

/* ─── Secciones ───────────────────────────────────────────────────────── */
.seccion { padding: 110px 0; position: relative; }
.seccion--oscura { background: linear-gradient(180deg, var(--fondo) 0%, var(--fondo-2) 20%, var(--fondo-2) 80%, var(--fondo) 100%); }
.seccion__encabezado { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.seccion__encabezado p:last-child { color: var(--suave); font-size: 1.1rem; }

.tarjetas { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.tarjeta { position: relative; padding: 28px 26px; border-radius: var(--radio); background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)); border: 1px solid var(--vidrio-borde); transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; overflow: hidden; }
.tarjeta::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(52, 211, 153, 0.55), transparent 40%, transparent 60%, rgba(34, 211, 238, 0.4)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.tarjeta:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35), 0 0 40px rgba(16, 185, 129, 0.08); }
.tarjeta:hover::after { opacity: 1; }
.tarjeta p { color: var(--suave); font-size: 0.97rem; margin: 0; }
.tarjeta__icono { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(135deg, rgba(52, 211, 153, 0.2), rgba(34, 211, 238, 0.12)); border: 1px solid rgba(52, 211, 153, 0.3); }
.tarjeta__icono svg { width: 26px; height: 26px; fill: none; stroke: var(--verde-claro); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Cobradores: foto + teléfono flotando */
.dividida { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; }
.dividida__imagen { position: relative; }
.dividida__foto { border-radius: 26px; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 72% center; box-shadow: var(--sombra); }
.telefono--flotante { position: absolute; width: 44%; right: -12%; bottom: -8%; animation: flotar 8s ease-in-out infinite; }
.lista-marcas { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.lista-marcas li { position: relative; padding-left: 42px; color: var(--suave); }
.lista-marcas li strong { color: var(--texto); }
.lista-marcas li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 0.9rem; color: #04130d; background: linear-gradient(135deg, var(--verde-claro), var(--verde)); }

/* Recorrido por las pantallas */
.recorrido__pestanas { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; }
.recorrido__pestanas button { font: inherit; font-size: 0.95rem; font-weight: 600; color: var(--suave); background: var(--vidrio); border: 1px solid var(--vidrio-borde); border-radius: 999px; padding: 9px 18px; cursor: pointer; transition: all 0.2s ease; }
.recorrido__pestanas button:hover { color: var(--texto); border-color: rgba(255, 255, 255, 0.2); }
.recorrido__pestanas button[aria-selected="true"] { color: #04130d; background: linear-gradient(135deg, var(--verde-claro), var(--verde)); border-color: transparent; box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3); }
.ventana { position: relative; max-width: 1080px; margin: 0 auto; border-radius: 18px; background: #0c1424; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 50px 100px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(16, 185, 129, 0.06); overflow: hidden; }
.ventana__barra { display: flex; gap: 8px; padding: 13px 16px; background: #111b2e; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.ventana__barra span { width: 12px; height: 12px; border-radius: 50%; background: #ef4444; }
.ventana__barra span:nth-child(2) { background: #f59e0b; }
.ventana__barra span:nth-child(3) { background: #22c55e; }
.ventana__vistas { position: relative; }
.vista { margin: 0; }
.vista img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.vista.activa { animation: aparecer 0.6s ease both; }
.vista figcaption { padding: 14px 20px; color: var(--suave); font-size: 0.95rem; border-top: 1px solid rgba(255, 255, 255, 0.07); background: #0d1628; }
@keyframes aparecer { from { opacity: 0; transform: scale(0.985); } to { opacity: 1; transform: none; } }
.recorrido__progreso { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.05); }
.recorrido__progreso span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--verde), var(--turquesa)); }
.recorrido__progreso span.andando { animation: progreso var(--duracion, 6s) linear forwards; }
@keyframes progreso { to { width: 100%; } }

/* Banda con foto de fondo que se mueve al bajar */
.banda { position: relative; padding: 130px 0; overflow: hidden; isolation: isolate; }
.banda__foto { position: absolute; inset: -18% 0; z-index: -2; background: url(/img/mercado-1600.webp) center / cover; transform: translate3d(0, var(--desplazar, 0px), 0); will-change: transform; }
.banda::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(4, 30, 22, 0.93), rgba(7, 13, 26, 0.86) 55%, rgba(7, 40, 52, 0.8)); }
.banda__contenido h2 { text-align: center; max-width: 16em; margin: 0 auto 48px; }
.banda__puntos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.banda__puntos div { padding: 22px; border-radius: var(--radio); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(8px); }
.banda__puntos strong { display: block; font-size: 1.12rem; margin-bottom: 6px; color: #fff; }
.banda__puntos span { color: #c3d0e0; font-size: 0.95rem; }

/* Pasos y descarga */
.pasos { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: paso; }
.paso { position: relative; padding: 28px 26px; border-radius: var(--radio); background: var(--vidrio); border: 1px solid var(--vidrio-borde); }
.paso p { color: var(--suave); margin: 0; }
.paso__numero { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; margin-bottom: 16px; font-weight: 800; font-size: 1.2rem; color: #04130d; background: linear-gradient(135deg, var(--verde-claro), var(--turquesa)); box-shadow: 0 10px 28px rgba(16, 185, 129, 0.35); }
.descarga { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: center; padding: 34px 38px; border-radius: 24px; background: radial-gradient(120% 140% at 0% 0%, rgba(16, 185, 129, 0.22), transparent 55%), linear-gradient(135deg, #0f1d33, #0b1426); border: 1px solid rgba(52, 211, 153, 0.28); box-shadow: var(--sombra); }
.descarga__texto h3 { font-size: 1.5rem; margin-bottom: 6px; }
.descarga__texto p { color: var(--suave); margin: 0; }
.descarga__botones { display: flex; flex-wrap: wrap; gap: 12px; }
/* Ventana con los pasos para instalar (se abre al descargar) */
.dialogo { width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: auto; padding: 34px 34px 26px; border-radius: 24px; color: var(--texto);
  background: radial-gradient(120% 120% at 0% 0%, rgba(16, 185, 129, 0.2), transparent 55%), linear-gradient(160deg, #111f37, #0b1426);
  border: 1px solid rgba(52, 211, 153, 0.3); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6); }
.dialogo::backdrop { background: rgba(3, 7, 15, 0.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dialogo[open] { animation: aparecer 0.35s ease; }
.dialogo h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); margin-bottom: 18px; }
.dialogo__pasos { margin: 0 0 24px; padding: 0; list-style: none; counter-reset: pasodialogo; display: grid; gap: 14px; }
.dialogo__pasos li { position: relative; padding-left: 46px; color: var(--suave); counter-increment: pasodialogo; }
.dialogo__pasos li strong { color: var(--texto); }
.dialogo__pasos li::before { content: counter(pasodialogo); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #04130d; background: linear-gradient(135deg, var(--verde-claro), var(--turquesa)); }
.dialogo__botones { display: flex; flex-wrap: wrap; gap: 12px; }
.dialogo__botones .boton { flex: 1 1 180px; border: 0; cursor: pointer; font-family: inherit; }
.dialogo__botones .boton--vidrio { border: 1px solid rgba(255, 255, 255, 0.16); }
.dialogo__nota { margin: 16px 0 0; font-size: 0.88rem; color: var(--tenue); text-align: center; }

/* Preguntas */
.preguntas { display: grid; gap: 12px; }
.preguntas details { border-radius: 16px; background: var(--vidrio); border: 1px solid var(--vidrio-borde); padding: 0 22px; transition: border-color 0.2s ease, background 0.2s ease; }
.preguntas details[open] { border-color: rgba(52, 211, 153, 0.35); background: rgba(16, 185, 129, 0.05); }
.preguntas summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-weight: 700; font-size: 1.05rem; position: relative; }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); color: var(--verde-claro); font-size: 1.2rem; transition: transform 0.25s ease; }
.preguntas details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.preguntas details p { color: var(--suave); padding-bottom: 20px; margin: 0; }

/* Cierre */
.cierre { position: relative; padding: 120px 0; text-align: center; overflow: hidden; isolation: isolate; background: radial-gradient(80% 120% at 50% 100%, rgba(16, 185, 129, 0.18), transparent 70%), var(--fondo); }
.aurora--suave span { opacity: 0.2; }
.cierre__contenido p { color: var(--suave); font-size: 1.15rem; max-width: 36em; margin: 0 auto; }
.cierre .portada__botones { justify-content: center; }

/* Pie */
.pie { border-top: 1px solid var(--vidrio-borde); padding: 48px 0 56px; background: #050a14; }
.pie__fila { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.pie__marca img { width: 160px; height: auto; margin-bottom: 12px; }
.pie__marca p, .pie__contacto p { color: var(--suave); margin: 0 0 8px; }
.pie__contacto { text-align: right; }
.pie__nota { font-size: 0.85rem; color: var(--tenue) !important; }

/* ─── Aparecer al bajar (solo lo que empieza fuera de la vista) ────────── */
.revelar.pendiente { opacity: 0; transform: translate3d(0, 28px, 0); }
.revelar.visible { opacity: 1; transform: none; transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--retraso, 0ms); }

/* ─── Pantallas chicas ────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .portada__fila { grid-template-columns: 1fr; gap: 64px; }
  .portada__texto { text-align: center; }
  .portada__bajada { margin-left: auto; margin-right: auto; }
  .portada__botones, .portada__puntos { justify-content: center; }
  .portada__equipos { max-width: 760px; width: 88%; margin: 0 auto; }
  .banda__puntos { grid-template-columns: repeat(2, 1fr); }
  .dividida { gap: 56px; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .menu-boton { display: flex; }
  .menu { position: fixed; top: 64px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; border-radius: 18px; background: rgba(11, 20, 38, 0.97); border: 1px solid var(--vidrio-borde); box-shadow: var(--sombra); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; }
  .menu.abierto { opacity: 1; transform: none; pointer-events: auto; }
  .menu a:not(.boton) { padding: 12px 14px; border-radius: 12px; }
  .menu a:not(.boton):hover { background: var(--vidrio); }
  .menu .boton { margin-top: 6px; }
  .cabecera { background: rgba(7, 13, 26, 0.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--vidrio-borde); }
  .cifras__fila { grid-template-columns: repeat(2, 1fr); }
  .cifra:nth-child(3) { border-left: 0; }
  .cifra:nth-child(n + 3) { border-top: 1px solid var(--vidrio-borde); }
  .dividida { grid-template-columns: 1fr; }
  .dividida__imagen { max-width: 440px; margin: 0 auto 40px; width: 82%; }
  .pasos { grid-template-columns: 1fr; }
  .descarga { grid-template-columns: 1fr; padding: 28px 24px; }
  .pie__contacto { text-align: left; }
  .seccion { padding: 84px 0; }
  .foto--1 { background-image: url(/img/mercado-800.webp); }
  .foto--2 { background-image: url(/img/puesto-comida-800.webp); }
  .foto--3 { background-image: url(/img/oficina-laptop-800.webp); }
  .foto--4 { background-image: url(/img/contando-billetes-800.webp); }
  .banda__foto { background-image: url(/img/mercado-800.webp); }
}
@media (max-width: 560px) {
  .contenedor { padding: 0 16px; }
  .portada { padding: 104px 0 120px; }
  .portada__equipos { width: 100%; }
  .ficha { font-size: 0.72rem; padding: 8px 11px; gap: 8px; border-radius: 12px; }
  .ficha strong { font-size: 0.84rem; }
  .ficha__icono { width: 28px; height: 28px; border-radius: 9px; }
  .ficha--1 { left: -2%; top: 4%; }
  .ficha--3 { right: 0; top: -14%; }
  .ficha--2 { display: none; }
  .etiqueta::before { display: none; }   /* centrada y en dos líneas, la rayita queda suelta */
  .banda__puntos { grid-template-columns: 1fr; }
  .boton--grande, .descarga__botones .boton { width: 100%; }
  .portada__botones .boton { flex: 1 1 100%; }
  .recorrido__pestanas { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .recorrido__pestanas::-webkit-scrollbar { display: none; }
  .recorrido__pestanas button { flex: none; }
  .vista figcaption { font-size: 0.88rem; }
}

/* ─── Sin movimiento para quien lo prefiere ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .foto--1 { opacity: 1; transform: none; }
  .revelar.pendiente { opacity: 1; transform: none; }
  .portada__equipos { transform: none; }
}

/* Página 404 (sin estilos en línea: la política de contenido no los permite) */
.pagina-404 { min-height: 100vh; display: grid; place-items: center; }
.dialogo__texto { color: var(--suave); margin: 0 0 14px; }
.dialogo__cerrar-texto { background: none; border: 0; padding: 4px 8px; color: var(--suave); font: inherit; font-size: 0.9rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.dialogo [data-modo][hidden] { display: none; }
