/* Paikan Software — portada (22/09/2026).
   Mismo sistema que la vidriera de Paikan Viajes (sans compacta, un acento,
   producto en escena, fotos dentro de escenas) con la identidad de la casa:
   naranja sobre oscuro. Referencias: Odoo (la familia de apps de un vistazo),
   Fudo (fotos en contexto de uso), Tiendanube (tarjetas foto + producto). */

:root {
  --fondo: #f6f3ec;
  --fondo-2: #efeadf;
  --blanco: #fff;
  --tinta: #121416;
  --tinta-2: #3e4447;
  --suave: #6c7275;
  --linea: #e4ddd0;
  --oscuro: #18181b;
  --oscuro-2: #232326;
  --naranja: #ffcf24;
  --naranja-osc: #8a6500;
  --naranja-claro: #fff3c4;
  --verde: #10875c;
  --verde-claro: #dcf2e7;
  --sombra: 0 1px 2px rgba(18, 20, 22, .06), 0 12px 32px -12px rgba(18, 20, 22, .2);
  --sombra-alta: 0 2px 4px rgba(0, 0, 0, .08), 0 30px 60px -20px rgba(0, 0, 0, .45);
  --radio: 20px;
  --fuente: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fondo); color: var(--tinta); font: 17px/1.55 var(--fuente); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.04; font-weight: 700; }
p { margin: 0; }
.contenedor { width: min(1200px, 100% - 32px); margin-inline: auto; }
.centro { text-align: center; }
.saltar { position: absolute; left: -999px; top: 8px; background: var(--naranja); color: #18181b; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.saltar:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--naranja); outline-offset: 3px; border-radius: 6px; }

/* Botones */
.boton { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 16px; background: var(--naranja); color: #18181b; padding: 14px 22px; border-radius: 999px; border: 0; cursor: pointer; transition: background .2s, transform .2s; }
.boton:hover { background: #f0bd00; transform: translateY(-1px); }
.boton svg { width: 16px; height: 16px; }
.boton--claro { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.boton--claro:hover { background: #fff; color: var(--tinta); }
.boton--borde { background: transparent; color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--tinta); }
.boton--borde:hover { background: var(--tinta); color: #fff; }
.boton--chico { padding: 10px 16px; font-size: 15px; }
.enlace { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; color: var(--naranja-osc); }
.enlace svg { width: 16px; height: 16px; transition: transform .2s; }
.enlace:hover svg { transform: translateX(3px); }

/* Cabecera (sobre la portada oscura; sólida al bajar) */
.cabecera { position: sticky; top: 0; z-index: 30; background: rgba(15, 17, 19, .82); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.cabecera__fila { display: flex; align-items: center; gap: 32px; height: 72px; }
.marca { text-decoration: none; font-weight: 700; font-size: 25px; letter-spacing: -.045em; color: #fff; }
.marca span { color: var(--naranja); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: rgba(255, 255, 255, .72); }
.nav a:hover { color: #fff; }

/* Portada */
.portada { background: var(--oscuro); color: #fff; position: relative; overflow: hidden; padding: 80px 0 0; }
.portada::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 420px at 85% 10%, rgba(255, 207, 36, .28), transparent 60%), radial-gradient(600px 400px at 0% 90%, rgba(255, 207, 36, .10), transparent 60%); pointer-events: none; }
.portada__grilla { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center; }
.sello { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); padding: 6px 14px 6px 8px; border-radius: 999px; font-size: 14px; color: rgba(255, 255, 255, .8); margin-bottom: 26px; }
.sello b { background: var(--naranja); color: #18181b; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.portada h1 { font-size: clamp(44px, 5.8vw, 80px); letter-spacing: -.045em; line-height: .98; }
.portada h1 em { font-style: normal; color: var(--naranja); }
.portada__bajada { font-size: clamp(18px, 1.5vw, 20px); color: rgba(255, 255, 255, .72); max-width: 560px; margin-top: 24px; }
.portada__acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.portada__notas { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.portada__notas span { display: inline-flex; align-items: center; gap: 6px; }
.portada__notas svg { width: 16px; height: 16px; color: #6fd3a5; }

/* Escena del producto */
.escena { position: relative; padding: 20px 0 100px; }
.notebook { position: relative; z-index: 1; }
.notebook__pantalla { background: #23272b; border-radius: 16px 16px 0 0; padding: 10px 10px 0; box-shadow: var(--sombra-alta); }
.notebook__pantalla img { border-radius: 6px 6px 0 0; }
.notebook__base { height: 14px; background: linear-gradient(#3a3f44, #25292d); border-radius: 0 0 12px 12px; margin: 0 -5%; }
.tablet { position: absolute; z-index: 2; left: -9%; bottom: 36px; width: 46%; background: #0b0c0d; border-radius: 18px; padding: 8px; box-shadow: var(--sombra-alta); }
.tablet img { border-radius: 11px; }
.chip { position: absolute; z-index: 3; background: var(--blanco); color: var(--tinta); border-radius: 14px; box-shadow: var(--sombra-alta); padding: 11px 14px; display: flex; gap: 11px; align-items: center; font-size: 14px; line-height: 1.3; text-align: left; animation: flotar 6s ease-in-out infinite; }
.chip b { display: block; font-weight: 600; }
.chip small { color: var(--suave); font-size: 12.5px; }
.chip__icono { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.chip__icono svg { width: 17px; height: 17px; }
.chip__icono--verde { background: var(--verde-claro); color: var(--verde); }
.chip__icono--naranja { background: var(--naranja-claro); color: var(--naranja-osc); }
.chip--factura { right: -4%; top: 4%; }
.chip--stock { right: 4%; bottom: 60px; animation-delay: -3s; }
@keyframes flotar { 50% { transform: translateY(-6px); } }

/* La familia de un vistazo (estilo Odoo) */
.familia { position: relative; z-index: 2; margin-top: -58px; }
.familia__caja { background: var(--blanco); border: 1px solid var(--linea); border-radius: 26px; box-shadow: var(--sombra); padding: 26px; }
.familia__cabeza { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 0 6px 18px; }
.familia__cabeza h2 { font-size: 22px; letter-spacing: -.025em; }
.familia__cabeza p { color: var(--suave); font-size: 15px; }
.apps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.app { display: flex; flex-direction: column; gap: 12px; padding: 16px 14px; border-radius: 16px; text-decoration: none; transition: background .2s, transform .2s; }
.app:hover { background: var(--fondo); transform: translateY(-2px); }
.app__icono { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.app__icono svg { width: 24px; height: 24px; }
.app b { display: block; font-size: 16px; letter-spacing: -.02em; }
.app small { display: block; color: var(--suave); font-size: 13.5px; line-height: 1.35; margin-top: 2px; }
.a-gestion { background: #1f5fd6; } .a-fabrica { background: #1d8a5a; } .a-cafeteria { background: #b27a2a; }
.a-retail { background: #d23b3b; } .a-almazen { background: #6b4bd6; } .a-viajes { background: #ff5b36; } .a-factugo { background: #4f5bd5; }

/* Secciones */
.seccion { padding: 120px 0; }
.rotulo { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--naranja-osc); margin-bottom: 16px; }
.titulo { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -.04em; }
.subtitulo { font-size: 19px; color: var(--tinta-2); margin-top: 18px; max-width: 640px; }
.centro .subtitulo { margin-inline: auto; }

/* Un sistema para cada negocio (tarjetas foto + producto) */
.rubros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.rubro { position: relative; border-radius: 24px; overflow: hidden; min-height: 460px; color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.rubro--ancho { grid-column: span 2; }
.rubro > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.rubro > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.rubro:hover > img, .rubro:hover > video { transform: scale(1.04); }
.rubro::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 11, 12, .88) 0%, rgba(10, 11, 12, .35) 45%, rgba(10, 11, 12, 0) 70%); }
.rubro__texto { padding: 26px; }
.rubro__marca { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); padding: 5px 11px 5px 6px; border-radius: 999px; }
.rubro__marca i { width: 18px; height: 18px; border-radius: 6px; display: inline-block; }
.rubro h3 { font-size: 30px; margin-top: 14px; letter-spacing: -.035em; }
.rubro p { margin-top: 8px; color: rgba(255, 255, 255, .82); font-size: 16px; max-width: 460px; }
.rubro__pie { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; font-size: 15px; }
.rubro__pie strong { font-weight: 700; }
.rubro__pie span:last-child { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.rubro__pie svg { width: 16px; height: 16px; transition: transform .2s; }
.rubro:hover .rubro__pie svg { transform: translateX(3px); }
.rubro--ancho > img { object-position: 15% 35%; }
.rubro--ancho > video { object-position: 25% 30%; }
.rubro--ancho > video[poster*="gestion-mov"] { object-position: 30% 21%; }
.rubro__pantalla { position: absolute; top: 22px; right: 22px; width: 44%; border-radius: 12px; overflow: hidden; box-shadow: var(--sombra-alta); border: 4px solid #fff; background: #fff; }
.rubro .chip { position: absolute; top: 22px; right: 22px; animation: none; }
.rubro--factugo { background: #eef0fb; color: var(--tinta); min-height: 0; justify-content: space-between; }
.rubro--factugo::after { display: none; }
.rubro--factugo p { color: var(--tinta-2); }
.rubro--factugo .rubro__marca { background: var(--blanco); }
.rubro--factugo .burbuja { margin: 26px 26px 0; }
/* Que el texto y las tarjetitas no tapen el video: texto más compacto y
   pegado abajo; la tarjetita de dato ya no va arriba (tapaba caras), aparece
   justo encima del texto al pasar el mouse. */
.rubro:not(.rubro--factugo)::after { background: linear-gradient(0deg, rgba(10, 11, 12, .86) 0%, rgba(10, 11, 12, .5) 22%, rgba(10, 11, 12, 0) 44%); }
.rubro:not(.rubro--factugo) .rubro__texto { padding: 20px 22px; }
.rubro:not(.rubro--factugo) .rubro__marca { font-size: 12px; padding: 4px 10px 4px 5px; }
.rubro:not(.rubro--factugo) .rubro__marca i { width: 16px; height: 16px; border-radius: 5px; }
.rubro:not(.rubro--factugo) h3 { font-size: 23px; margin-top: 10px; line-height: 1.12; }
.rubro:not(.rubro--factugo) p { margin-top: 5px; font-size: 14.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rubro:not(.rubro--factugo) .rubro__pie { margin-top: 12px; font-size: 14px; }
.rubro:not(.rubro--factugo) .chip { position: static; align-self: flex-start; margin: 0 22px; max-height: 0; opacity: 0; overflow: hidden; padding-top: 0; padding-bottom: 0; transform: translateY(8px); transition: max-height .35s ease, opacity .3s ease, transform .35s ease, padding .35s ease; }
.rubro:not(.rubro--factugo):hover .chip { max-height: 80px; opacity: 1; transform: none; padding-top: 10px; padding-bottom: 10px; }
@media (hover: none) { .rubro:not(.rubro--factugo) .chip { display: none; } }
.burbuja { background: var(--blanco); border-radius: 16px 16px 16px 4px; padding: 12px 14px; font-size: 15px; box-shadow: var(--sombra); max-width: 320px; }
.burbuja + .burbuja { margin-top: 10px; margin-left: auto; margin-right: 26px; border-radius: 16px 16px 4px 16px; background: #dff5e7; }

/* A medida */
.medida { background: var(--oscuro); color: #fff; border-radius: 36px; margin: 0 16px; padding: 110px 0; }
.medida__grilla { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; }
.medida .rotulo { color: #ff9a6b; }
.medida .subtitulo { color: rgba(255, 255, 255, .7); }
.servicios { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 36px 0; }
.servicio { text-decoration: none; background: var(--oscuro-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; padding: 20px; transition: border-color .2s, transform .2s; }
.servicio:hover { border-color: rgba(255, 207, 36, .6); transform: translateY(-2px); }
.servicio svg { width: 22px; height: 22px; color: #ff9a6b; }
.servicio b { display: block; margin-top: 14px; font-size: 17px; }
.servicio small { display: block; margin-top: 4px; color: rgba(255, 255, 255, .6); font-size: 14px; line-height: 1.4; }
.foto-escena { position: relative; }
.foto-escena__foto { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; }
.foto-escena__foto img { width: 100%; height: 100%; object-fit: cover; }
.chip--app { left: -30px; top: 12%; }
.chip--precio { right: -24px; bottom: 12%; animation-delay: -3s; }

/* Casos */
.casos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.caso { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--radio); padding: 26px 24px; text-decoration: none; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.caso:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.caso small { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--suave); }
.caso h3 { font-size: 22px; margin-top: 10px; letter-spacing: -.03em; }
.caso p { margin-top: 10px; color: var(--tinta-2); font-size: 15.5px; flex: 1; }
.caso .enlace { margin-top: 18px; }

/* Cómo trabajamos */
.pasos { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: paso; }
.pasos li { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--radio); padding: 28px 24px; counter-increment: paso; }
.pasos li::before { content: counter(paso, decimal-leading-zero); font-size: 14px; font-weight: 600; color: var(--naranja-osc); }
.pasos h3 { font-size: 22px; margin-top: 18px; }
.pasos p { margin-top: 8px; color: var(--tinta-2); font-size: 15.5px; }

/* Preguntas */
.preguntas__grilla { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.preguntas details { border-bottom: 1px solid var(--linea); }
.preguntas summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-weight: 600; font-size: 18px; }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--tinta); border-bottom: 2px solid var(--tinta); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.preguntas details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.preguntas details p { padding: 0 0 22px; color: var(--tinta-2); }

/* Cierre */
.cierre { padding: 0 0 120px; }
.cierre__caja { background: var(--naranja); color: #18181b; border-radius: 36px; padding: 80px 40px; text-align: center; position: relative; overflow: hidden; }
.cierre__caja::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, rgba(255, 255, 255, .22), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(0, 0, 0, .14), transparent 60%); }
.cierre h2 { position: relative; font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -.045em; max-width: 780px; margin: 0 auto; }
.cierre p { position: relative; font-size: 19px; margin-top: 16px; color: rgba(24, 24, 27, .85); }
.cierre__acciones { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cierre .boton { background: #18181b; color: #fff; }
.cierre .boton:hover { background: #fff; color: #18181b; }
.cierre .boton--claro { background: transparent; color: #18181b; }

/* Pie común de la familia */
.pie { background: var(--oscuro); color: rgba(255, 255, 255, .75); padding: 64px 0 28px; }
.pie__grilla { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; }
.pie .marca { font-size: 30px; }
.pie__leyenda { margin-top: 10px; font-size: 15px; max-width: 280px; }
.pie h4 { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #ff9a6b; }
.pie nav { display: flex; flex-direction: column; gap: 8px; }
.pie a { color: #fff; text-decoration: none; font-size: 15.5px; display: inline-block; padding: 6px 0; }
.pie nav { gap: 2px; }
.pie a:hover { text-decoration: underline; }
.pie__legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.pie__legal a { font-size: 13px; color: rgba(255, 255, 255, .65); }


/* ── Hero animado (hero-anim.html del punto 1) ── */
.anim { position: relative; width: 100%; aspect-ratio: 1032 / 680; overflow: hidden; border-radius: 14px; }
.anim iframe { position: absolute; top: 0; left: 0; width: 1032px; height: 680px; border: 0; background: transparent; transform-origin: 0 0; pointer-events: none; }
.escena .chip--factura { right: -2%; top: auto; bottom: 48px; }

/* ── Facturación: impresora térmica animada ── */
.factura__grilla { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.factura__lista { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.factura__lista li { display: flex; gap: 10px; font-weight: 500; }
.factura__lista svg { width: 20px; height: 20px; flex: none; color: var(--verde); margin-top: 2px; }
.impresora { width: 100%; max-width: 340px; margin: 0 auto; user-select: none; }
.impresora__cuerpo { position: relative; z-index: 2; border-radius: 26px; border: 1px solid #0b0c0d; background: #1c2023; padding: 12px 12px 28px; box-shadow: 0 20px 36px -20px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08), inset 0 -1px 0 rgba(0,0,0,.5); }
.impresora__pantalla { border-radius: 18px; background: #0d0f11; padding: 16px; box-shadow: inset 0 0 24px 4px rgba(0,0,0,.5); }
.impresora__estado { display: flex; align-items: center; gap: 8px; }
.impresora__indicador { width: 20px; height: 20px; display: grid; place-items: center; flex: none; }
.impresora__spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #5b6570; border-top-color: #e8e3da; animation: girar .8s linear infinite; }
.impresora__ok { width: 18px; height: 18px; color: #2fd28a; display: none; }
.impresora[data-etapa="completo"] .impresora__spinner { display: none; }
.impresora[data-etapa="completo"] .impresora__ok { display: block; }
.impresora__texto { font-size: 12.5px; font-weight: 600; color: #a9b1b8; line-height: 1; }
.impresora__pie { display: flex; justify-content: space-between; margin-top: 12px; font-size: 10.5px; color: #6c757d; }
.impresora__pie span:last-child { display: flex; align-items: center; gap: 6px; }
.impresora__punto { width: 6px; height: 6px; border-radius: 50%; background: #2fd28a; display: inline-block; animation: latir 1.4s ease-in-out infinite; }
.impresora[data-etapa="completo"] .impresora__punto { animation: none; }
.impresora__ranura { position: absolute; left: 24px; right: 24px; bottom: 12px; height: 8px; border-radius: 4px; background: #060708; box-shadow: inset 0 2px 4px rgba(0,0,0,.8); }
.impresora__ventana { position: relative; z-index: 1; margin-top: -16px; height: 410px; overflow: hidden; padding: 0 24px; }
.impresora__sombra-ranura { position: absolute; left: 24px; right: 24px; top: 12px; z-index: 3; height: 8px; background: rgba(0,0,0,.4); filter: blur(6px); pointer-events: none; }
.impresora[data-etapa="procesando"] .impresora__sombra-ranura { display: none; }
/* La sombra va en el contenedor: el clip-path del papel se comería un filter propio. */
.ticket-sombra { filter: drop-shadow(0 1px 2px rgba(10,20,30,.12)) drop-shadow(0 6px 10px rgba(10,20,30,.16)); }
.ticket { margin-top: 16px; background: #fff; padding: 24px 20px 28px; font: 10.5px/1.55 ui-monospace, "SF Mono", Menlo, monospace; color: #16202e; transform: translateY(0); opacity: 1; transition: opacity .16s ease; }
.ticket hr { border: 0; border-top: 1px dashed #c9d2dc; margin: 8px 0; }
.ticket__centro { text-align: center; }
.ticket__marca { font-size: 12px; letter-spacing: .08em; }
.ticket__gris { color: #5c6b7e; }
.ticket__fila { display: flex; justify-content: space-between; gap: 10px; }
.ticket__negrita { font-weight: 700; }
.ticket__total { font-size: 13px; font-weight: 700; }
.ticket__qr { display: grid; grid-template-columns: repeat(5, 4px); gap: 2px; justify-content: center; margin: 12px 0; }
.ticket__qr i { width: 4px; height: 4px; background: #16202e; }
.ticket__qr i.vacio { background: transparent; }
.ticket--oculto { transform: translateY(calc(-100% + 2px)); opacity: 0; }
.ticket--imprimiendo { animation: avance 1.75s linear forwards; }
@keyframes girar { to { transform: rotate(360deg); } }
@keyframes latir { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.82); } }
/* Avance a tirones de la térmica: imprime una línea, frena, imprime otra. */
@keyframes avance {
  0% { transform: translateY(calc(-100% + 2px)); } 7.5% { transform: translateY(-91%); } 10.5% { transform: translateY(-91%); }
  18% { transform: translateY(-81%); } 21% { transform: translateY(-81%); } 28.5% { transform: translateY(-70%); } 31.5% { transform: translateY(-70%); }
  39% { transform: translateY(-58%); } 42% { transform: translateY(-58%); } 49.5% { transform: translateY(-45%); } 52.5% { transform: translateY(-45%); }
  60% { transform: translateY(-32%); } 63% { transform: translateY(-32%); } 70.5% { transform: translateY(-20%); } 73.5% { transform: translateY(-20%); }
  81% { transform: translateY(-10%); } 84% { transform: translateY(-10%); } 91.5% { transform: translateY(-3%); } 94.5% { transform: translateY(-3%); }
  100% { transform: translateY(0%); }
}
@media (max-width: 1024px) { .factura__grilla { grid-template-columns: 1fr; gap: 40px; } }
@media (prefers-reduced-motion: reduce) { .ticket--imprimiendo, .impresora__spinner, .impresora__punto { animation: none; } }


/* ── Punto 3b: título arriba y el sistema animado grande debajo ── */
.portada { padding-top: 72px; }
.portada__grilla { grid-template-columns: 1fr; gap: 8px; }
.portada__grilla > div:first-child { max-width: 900px; margin: 0 auto; text-align: center; }
.portada__bajada { margin-inline: auto; max-width: 640px; }
.portada__acciones, .portada__notas { justify-content: center; }
.escena { width: min(1160px, 100%); margin: 36px auto 0; padding: 0 0 96px; }
.anim { filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .5)); }
.escena .chip--factura { right: -3%; left: auto; top: 16%; bottom: auto; }
@media (max-width: 640px) {
  .escena { margin-top: 24px; padding-bottom: 80px; }
  .escena .chip--factura { right: 0; top: auto; bottom: 40px; }
}


/* ── Header fijo, sin rebote, y menú en celular ── */
html { background: var(--oscuro); overscroll-behavior-y: none; }
body { overscroll-behavior-y: none; padding-top: 72px; }
.cabecera { position: fixed; top: 0; left: 0; right: 0; background: rgba(15, 17, 19, .94); }
[id] { scroll-margin-top: 88px; }
.menu-boton { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; align-items: center; justify-content: center; margin-left: auto; }
.menu-boton svg { width: 22px; height: 22px; }
.menu-boton .cerrar { display: none; }
.cabecera--abierta .menu-boton .abrir { display: none; }
.cabecera--abierta .menu-boton .cerrar { display: block; }
.menu-movil { display: none; }
@media (max-width: 1024px) {
  /* Sin desenfoque en el header: si no, el menú fijo se ubica respecto del
     header y no de la pantalla, y queda detrás del contenido. */
  .cabecera { background: var(--oscuro); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu-boton { display: inline-flex; }
  .cabecera .boton--chico { margin-left: 8px; }
  .cabecera__fila { gap: 8px; }
  .menu-movil { display: block; position: fixed; top: 72px; left: 0; right: 0; height: calc(100vh - 72px); height: calc(100dvh - 72px); z-index: 40; background: var(--oscuro); padding: 12px 16px 32px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .cabecera--abierta .menu-movil { opacity: 1; transform: none; visibility: visible; }
  .menu-movil a { display: flex; justify-content: space-between; align-items: center; padding: 18px 4px; font-size: 20px; font-weight: 600; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .menu-movil a svg { width: 18px; height: 18px; color: var(--naranja); }
  .menu-movil .boton { margin-top: 24px; width: 100%; justify-content: center; font-size: 17px; padding: 16px; border: 0; }
  body.menu-abierto { overflow: hidden; }
}

/* Aparición al bajar */
.js .revela { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .revela.visible { opacity: 1; transform: none; }

/* Tablet */
@media (max-width: 1100px) {
  .apps { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  .nav { display: none; }
  .cabecera__fila { justify-content: space-between; }
  .portada__grilla, .medida__grilla, .preguntas__grilla { grid-template-columns: 1fr; gap: 40px; }
  .escena { padding-bottom: 96px; }
  .tablet { left: 0; }
  .rubros { grid-template-columns: repeat(2, 1fr); }
  .rubro--ancho { grid-column: span 2; }
  .casos, .pasos { grid-template-columns: repeat(2, 1fr); }
  .pie__grilla { grid-template-columns: 1fr 1fr; }
  .chip--app { left: 12px; } .chip--precio { right: 12px; }
}
/* Celular */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .portada { padding-top: 48px; }
  .anim { aspect-ratio: auto; }
  .sello b { display: none; }
  .sello { font-size: 13px; padding: 6px 12px; }
  .rubro__pantalla { display: none; }
  .titulo br { display: none; }
  .escena { padding: 12px 0 80px; }
  .tablet { width: 52%; bottom: 24px; }
  .chip { font-size: 12.5px; padding: 9px 10px; gap: 8px; }
  .chip small { font-size: 11.5px; }
  .chip__icono { width: 28px; height: 28px; }
  .chip--factura { right: 0; top: -6px; }
  .chip--stock { display: none; }
  .familia__caja { padding: 18px 12px; }
  .apps { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .seccion { padding: 80px 0; }
  .rubros, .casos, .pasos, .servicios { grid-template-columns: 1fr; }
  .rubro--ancho { grid-column: auto; }
  .rubro { min-height: 420px; }
  .rubro__pantalla { width: 64%; }
  .medida { margin: 0; border-radius: 0; padding: 80px 0; }
  .cierre__caja { border-radius: 24px; padding: 56px 22px; }
  .pie__grilla { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chip { animation: none; }
  .js .revela { opacity: 1; transform: none; transition: none; }
}

/* ── Hero sin animación (27/09/2026) ─────────────────────────────────
   La animación del sistema se retiró del hero. Sin ella, el hero es una
   columna centrada y necesita su propio aire abajo: la franja .familia
   se monta 58 px sobre el final del hero (margin-top negativo). */
.cabecera { background: rgba(24, 24, 27, .94); }
.portada { padding: 104px 0 168px; }
.portada::before { background: radial-gradient(760px 420px at 50% -10%, rgba(255, 207, 36, .14), transparent 65%), radial-gradient(520px 360px at 100% 100%, rgba(255, 207, 36, .06), transparent 70%); }
.portada__grilla { grid-template-columns: 1fr; gap: 0; }
.portada__grilla > div:first-child { max-width: 860px; margin: 0 auto; text-align: center; }
.portada .sello { margin-bottom: 30px; }
.portada h1 { font-size: clamp(42px, 5.4vw, 76px); line-height: 1.1; text-wrap: balance; }
.portada__bajada { max-width: 620px; margin: 26px auto 0; line-height: 1.55; text-wrap: pretty; }
.portada__acciones { justify-content: center; margin-top: 38px; }
.portada__notas { justify-content: center; margin-top: 30px; gap: 10px 26px; }
@media (max-width: 1024px) {
  .portada { padding: 88px 0 150px; }
}
@media (max-width: 640px) {
  .portada { padding: 72px 0 124px; }
  .portada .sello { margin-bottom: 22px; }
  .portada h1 { font-size: clamp(36px, 10.5vw, 46px); }
  .portada__bajada { margin-top: 18px; font-size: 17px; }
  .portada__acciones { margin-top: 28px; flex-direction: column; align-items: stretch; }
  .portada__acciones .boton { justify-content: center; }
  .portada__notas { margin-top: 24px; flex-direction: column; align-items: center; gap: 8px; }
}

/* ── Factugo animado (27/09/2026) ───────────────────────────────────── */
.rubro--factugo { background: linear-gradient(160deg, #f2f3fd 0%, #e6e9fa 100%); }
.fg { position: relative; margin: 64px 22px 0; height: 262px; font-family: "Nunito", var(--fuente); }
.fg__tel { position: absolute; inset: 0; background: #fbfbff; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 18px 40px -18px rgba(47, 52, 87, .45), 0 2px 6px rgba(47, 52, 87, .08); }
.fg__cab { display: flex; align-items: center; gap: 10px; padding: 10px 96px 10px 12px; background: #fff; border-bottom: 1px solid #eceefa; }
.fg__cab b { display: block; font: 800 15px/1.1 "Baloo 2", var(--fuente); letter-spacing: -.01em; }
.fg__factu { color: #3fb96f; } .fg__go { color: #6a5cf5; }
.fg__cab small { display: block; font-size: 11.5px; color: #7b82a8; margin-top: 1px; }
.fg__avatar { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex: none; background: linear-gradient(160deg, #f4f5fd, #e2e6f6); box-shadow: 0 0 0 2px #fff, 0 0 0 3px #e3e6f8; }
.fg__avatar svg { width: 100%; height: 100%; display: block; }
.fg__chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; padding: 10px 10px 12px; overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(106, 92, 245, .05), transparent 50%), #f6f7fe; }
.fg__msg, .fg__pdf { display: none; }
.fg__msg.ver, .fg__pdf.ver { display: block; animation: fgEntra .38s cubic-bezier(.2, .9, .3, 1.25) both; }
.fg__msg { max-width: 86%; font-size: 13px; line-height: 1.38; color: #2f3457; padding: 8px 11px; border-radius: 14px; box-shadow: 0 1px 1px rgba(47, 52, 87, .08); }
.fg__msg--yo { align-self: flex-end; background: #dff5e7; border-bottom-right-radius: 4px; }
.fg__msg--bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.fg__msg--bot b { color: #6a5cf5; font-weight: 800; }
.fg__audio.ver { display: flex; align-items: center; gap: 8px; width: 78%; }
.fg__play { width: 0; height: 0; border-left: 9px solid #3fb96f; border-top: 6px solid transparent; border-bottom: 6px solid transparent; flex: none; }
.fg__onda { flex: 1; display: flex; align-items: center; gap: 2px; height: 22px; }
.fg__onda i { flex: 1; height: calc(var(--h) * 1%); background: #7fcf9d; border-radius: 2px; transform-origin: center; }
.fg--audio .fg__onda i { animation: fgOnda .9s ease-in-out infinite alternate; }
.fg__onda i:nth-child(3n) { animation-delay: -.3s; } .fg__onda i:nth-child(3n+1) { animation-delay: -.6s; }
.fg__dur { font-size: 11px; color: #4c8f63; font-weight: 700; flex: none; }
.fg__trans { font-size: 12.5px; }
.fg__trans span::after { content: "▍"; color: #3fb96f; margin-left: 1px; animation: fgCursor .8s steps(1) infinite; }
.fg--piensa .fg__trans span::after, .fg--festeja .fg__trans span::after { content: none; }
.fg__tipeo.ver { display: flex; gap: 4px; padding: 11px 13px; }
.fg__tipeo i { width: 7px; height: 7px; border-radius: 50%; background: #a9aed0; animation: fgPunto 1s ease-in-out infinite; }
.fg__tipeo i:nth-child(2) { animation-delay: .15s; } .fg__tipeo i:nth-child(3) { animation-delay: .3s; }
.fg__pdf { align-self: flex-start; width: 88%; position: relative; background: #fff; border-radius: 14px; padding: 10px 12px 11px; border: 1px solid #e6e8f7;
  box-shadow: 0 10px 22px -12px rgba(47, 52, 87, .45); }
.fg__pdf-cab { display: flex; gap: 9px; align-items: center; }
.fg__pdf-tipo { width: 28px; height: 28px; border-radius: 8px; background: #6a5cf5; color: #fff; font: 800 15px/28px "Baloo 2", var(--fuente); text-align: center; flex: none; }
.fg__pdf-cab b { display: block; font-size: 12.5px; color: #2f3457; }
.fg__pdf-cab small { display: block; font-size: 11px; color: #7b82a8; }
.fg__pdf-fila { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 7px; border-top: 1px dashed #e0e3f3; font-size: 12px; color: #5b628c; }
.fg__pdf-fila b { font: 800 18px/1 "Baloo 2", var(--fuente); color: #2f3457; }
.fg__pdf-cae { margin-top: 5px; font-size: 10.5px; color: #7b82a8; letter-spacing: .01em; }
.fg__sello { position: absolute; right: -8px; top: -10px; background: #3fb96f; color: #fff; font-size: 10.5px; font-weight: 800; padding: 4px 9px; border-radius: 999px;
  box-shadow: 0 6px 14px -6px rgba(63, 185, 111, .8); transform: rotate(6deg) scale(0); }
.fg__pdf.ver .fg__sello { animation: fgSello .5s .45s cubic-bezier(.2, 1.6, .4, 1) both; }
.fg__mascota { position: absolute; right: -10px; top: -46px; width: 104px; height: 114px; z-index: 2; overflow: visible; filter: drop-shadow(0 10px 14px rgba(47, 52, 87, .18)); border-radius: 50%; object-fit: cover; background: #f7f5f9;
  box-shadow: 0 0 0 4px #fff, 0 14px 26px -10px rgba(47, 52, 87, .45); animation: fgFlota 3.2s ease-in-out infinite; }
.fg--piensa .fg__mascota { animation: fgPiensa 1.1s ease-in-out infinite; }
.fg--festeja .fg__mascota { animation: fgSalta .9s cubic-bezier(.3, 1.4, .5, 1) 2, fgFlota 3.2s 1.8s ease-in-out infinite; }
.fg__confeti { position: absolute; right: 30px; top: 30px; z-index: 3; width: 0; height: 0; pointer-events: none; }
.fg__confeti i { position: absolute; width: 7px; height: 11px; border-radius: 2px; opacity: 0; background: #6a5cf5; }
.fg__confeti i:nth-child(3n) { background: #3fb96f; } .fg__confeti i:nth-child(4n) { background: #ffcf24; }
.fg--festeja .fg__confeti i { animation: fgConfeti 1.4s ease-out both; }
.fg__confeti i:nth-child(1) { --x: -70px; --y: -90px; --r: 200deg; } .fg__confeti i:nth-child(2) { --x: -40px; --y: -120px; --r: -160deg; animation-delay: .05s; }
.fg__confeti i:nth-child(3) { --x: 10px; --y: -110px; --r: 280deg; animation-delay: .1s; } .fg__confeti i:nth-child(4) { --x: 45px; --y: -95px; --r: -240deg; }
.fg__confeti i:nth-child(5) { --x: -95px; --y: -50px; --r: 140deg; animation-delay: .08s; } .fg__confeti i:nth-child(6) { --x: 30px; --y: -60px; --r: -120deg; animation-delay: .12s; }
.fg__confeti i:nth-child(7) { --x: -20px; --y: -140px; --r: 320deg; animation-delay: .03s; } .fg__confeti i:nth-child(8) { --x: -110px; --y: -100px; --r: -300deg; animation-delay: .15s; }
.fg__confeti i:nth-child(9) { --x: 60px; --y: -130px; --r: 180deg; animation-delay: .07s; } .fg__confeti i:nth-child(10) { --x: -60px; --y: -150px; --r: -200deg; animation-delay: .11s; }
.fg__confeti i:nth-child(11) { --x: 20px; --y: -30px; --r: 90deg; animation-delay: .02s; } .fg__confeti i:nth-child(12) { --x: -130px; --y: -70px; --r: 260deg; animation-delay: .09s; }
.fg--sale .fg__chat > * { transition: opacity .6s; opacity: 0; }
@keyframes fgEntra { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fgOnda { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
@keyframes fgCursor { 50% { opacity: 0; } }
@keyframes fgPunto { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes fgSello { from { transform: rotate(-20deg) scale(0); } to { transform: rotate(6deg) scale(1); } }
@keyframes fgFlota { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-7px) rotate(2deg); } }
@keyframes fgPiensa { 0%, 100% { transform: rotate(-8deg) translateY(-2px); } 50% { transform: rotate(8deg) translateY(0); } }
@keyframes fgSalta { 0% { transform: translateY(0) scale(1, 1); } 20% { transform: translateY(2px) scale(1.08, .9); } 55% { transform: translateY(-26px) scale(.95, 1.06) rotate(-6deg); } 100% { transform: translateY(0) scale(1, 1); } }
@keyframes fgConfeti { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(calc(var(--x) * 1.2), calc(var(--y) * -1.1 + 20px)) rotate(var(--r)); } }
.fg--fin .fg__msg, .fg--fin .fg__pdf { animation: none; }
.fg--fin .fg__sello { transform: rotate(6deg) scale(1); }
@media (max-width: 640px) { .fg { margin: 26px 14px 0; height: 262px; } .fg__mascota { width: 66px; height: 66px; right: -6px; top: -16px; } .fg__cab { padding-right: 72px; } }

.fg__mascota, .fg--piensa .fg__mascota, .fg--festeja .fg__mascota { animation: none; border-radius: 0; background: none; box-shadow: none; object-fit: initial; }
@media (max-width: 640px) { .fg { margin-top: 58px; } .fg__mascota { width: 92px; height: 101px; top: -40px; right: -8px; } .fg__cab { padding-right: 84px; } }

/* ── Impresora v2: la venta completa (27/09/2026) ─────────────────────
   Caja → cobrar → ARCA → impresión línea por línea → corte → CAE, sello y
   WhatsApp. El papel crece desde la ranura: cada línea aparece al pasar por
   el cabezal (de arriba hacia abajo), como una térmica real. */
.impresora__pantalla { position: relative; padding: 14px; }
.pos { display: grid; gap: 9px; }
.pos__cab { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; color: #8a939b; letter-spacing: .01em; }
.pos__arca { display: inline-flex; align-items: center; gap: 6px; }
.pos__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; min-height: 66px; }
.pos__items li { display: flex; justify-content: space-between; font-size: 12px; color: #d9dde1; padding: 3px 8px; border-radius: 7px; opacity: 0; transform: translateX(-10px); transition: opacity .25s, transform .3s cubic-bezier(.2, .9, .3, 1.2); }
.pos__items li b { font-weight: 600; font-variant-numeric: tabular-nums; }
.pos__items li.ver { opacity: 1; transform: none; animation: posBip .7s ease-out; }
.pos__cobrar { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; background: #ffcf24; color: #18181b; border-radius: 11px; padding: 9px 13px; font-size: 13px; font-weight: 700; box-shadow: 0 3px 0 #b8900a, 0 8px 16px -8px rgba(255, 207, 36, .6); }
.pos__cobrar b { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pos__onda { position: absolute; right: 30px; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: rgba(24, 24, 27, .28); transform: scale(0); }
.imp--toque .pos__cobrar { animation: posPresiona .38s ease-out; }
.imp--toque .pos__onda { animation: posOnda .6s ease-out; }
.pos__dedo { position: absolute; right: 36px; bottom: 50px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .55); border: 2px solid rgba(255, 255, 255, .9); box-shadow: 0 4px 12px rgba(0, 0, 0, .35); opacity: 0; pointer-events: none; }
.imp--toque .pos__dedo { animation: posDedo .7s ease-out; }
.pos__estado { display: flex; align-items: center; gap: 8px; min-height: 20px; }
.pos__barra { flex: 1; height: 4px; border-radius: 2px; background: #23282c; overflow: hidden; opacity: 0; transition: opacity .2s; }
.pos__barra i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ffcf24, #ffe27a); border-radius: 2px; }
.impresora[data-etapa="autoriza"] .pos__barra { opacity: 1; }
.impresora[data-etapa="autoriza"] .pos__barra i { animation: posBarra .6s ease-out forwards; }
.impresora[data-etapa="espera"] .impresora__indicador { visibility: hidden; }
.impresora[data-etapa="aprobado"] .impresora__spinner, .impresora[data-etapa="corta"] .impresora__spinner, .impresora[data-etapa="listo"] .impresora__spinner { display: none; }
.impresora[data-etapa="aprobado"] .impresora__ok, .impresora[data-etapa="corta"] .impresora__ok, .impresora[data-etapa="listo"] .impresora__ok { display: block; animation: posOk .4s cubic-bezier(.2, 1.6, .4, 1); }
.impresora[data-etapa="aprobado"] .impresora__texto, .impresora[data-etapa="listo"] .impresora__texto { color: #2fd28a; }
/* cuerpo: vibra mientras imprime; luz de estado en la ranura */
.impresora[data-etapa="imprime"] .impresora__cuerpo { animation: impVibra .09s linear infinite; }
.impresora__luz { position: absolute; right: -16px; top: 1px; width: 6px; height: 6px; border-radius: 50%; background: #3a3f44; }
.impresora[data-etapa="imprime"] .impresora__luz { background: #ffcf24; box-shadow: 0 0 8px #ffcf24; animation: latir .35s ease-in-out infinite; }
.impresora[data-etapa="listo"] .impresora__luz, .impresora[data-etapa="corta"] .impresora__luz { background: #2fd28a; box-shadow: 0 0 8px #2fd28a; }
/* papel: crece a tirones; cada línea se "quema" al salir */
.ticket { position: relative; box-sizing: border-box; height: 0; overflow: hidden; padding: 0 20px; transform: none; opacity: 1; transition: height .15s cubic-bezier(.2, .8, .3, 1); }
.ticket > :first-child { padding-top: 22px; }
.ticket > :nth-last-child(2) { padding-bottom: 26px; }
.ticket > :not(.ticket__sello) { opacity: 0; }
.ticket > .quemada { opacity: 1; animation: impQuema .45s ease-out; }
.ticket-sombra { transform-origin: 50% 0; transition: transform .5s ease-in, opacity .45s ease-in; }
.ticket-sombra.cortado { animation: impCorte .7s cubic-bezier(.3, .7, .4, 1); }
.ticket-sombra.retira { transform: translateY(36px); opacity: 0; }
.ticket__cae mark { color: inherit; background: linear-gradient(#ffe36e, #ffe36e) no-repeat 0 65% / 0% 72%; padding: 0 2px; border-radius: 2px; transition: background-size .55s ease-out; }
.imp--cae .ticket__cae mark { background-size: 100% 72%; }
.ticket__sello { position: absolute; right: 14px; bottom: 58px; border: 2px solid #10875c; color: #10875c; background: rgba(255, 255, 255, .88); font: 800 10px/1 system-ui, sans-serif; letter-spacing: .02em; padding: 6px 8px; border-radius: 6px; transform: rotate(-10deg) scale(0); opacity: 0; }
.imp--sello .ticket__sello { animation: impSello .5s cubic-bezier(.2, 1.7, .4, 1) forwards; }
/* aviso de WhatsApp */
.impresora { position: relative; }
.impresora__wa { position: absolute; right: -16px; top: -26px; z-index: 4; display: flex; align-items: center; gap: 9px; background: #fff; border-radius: 14px 14px 4px 14px; padding: 8px 12px 8px 9px; box-shadow: 0 12px 24px -10px rgba(10, 20, 30, .45), 0 1px 2px rgba(10, 20, 30, .12); opacity: 0; transform: translateY(10px) scale(.9); transform-origin: 100% 100%; transition: opacity .3s, transform .45s cubic-bezier(.2, 1.5, .4, 1); pointer-events: none; }
.impresora__wa svg { width: 22px; height: 22px; color: #25d366; flex: none; }
.impresora__wa b { display: block; font-size: 12px; color: #16202e; }
.impresora__wa small { display: block; font-size: 11px; color: #5c6b7e; }
.imp--wa .impresora__wa { opacity: 1; transform: none; }
@keyframes posBip { 0% { background: rgba(47, 210, 138, .38); } 100% { background: transparent; } }
@keyframes posPresiona { 0% { transform: none; } 35% { transform: translateY(2px) scale(.97); box-shadow: 0 1px 0 #b8900a, 0 4px 10px -8px rgba(255, 207, 36, .6); } 100% { transform: none; } }
@keyframes posOnda { 0% { transform: scale(0); opacity: 1; } 100% { transform: scale(26); opacity: 0; } }
@keyframes posDedo { 0% { opacity: 0; transform: translate(14px, 18px) scale(1.25); } 35% { opacity: 1; transform: none; } 55% { transform: scale(.82); } 100% { opacity: 0; transform: scale(1); } }
@keyframes posBarra { to { width: 100%; } }
@keyframes posOk { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes impVibra { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(.5px, -.3px); } 75% { transform: translate(-.5px, .3px); } }
@keyframes impQuema { 0% { opacity: .15; filter: blur(.7px); } 60% { opacity: .75; } 100% { opacity: 1; filter: none; } }
@keyframes impCorte { 0% { transform: none; } 25% { transform: translateY(6px) rotate(1.6deg); } 55% { transform: translateY(3px) rotate(-1deg); } 80% { transform: translateY(4px) rotate(.4deg); } 100% { transform: translateY(4px); } }
@keyframes impSello { 0% { transform: rotate(-30deg) scale(1.8); opacity: 0; } 100% { transform: rotate(-10deg) scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ticket > :not(.ticket__sello) { opacity: 1; } .ticket__sello { transform: rotate(-10deg); opacity: 1; } .impresora__wa { opacity: 1; transform: none; } }

/* ── Impresora v2.1: el papel SUBE por la ranura y el contenido viaja con él
   (como una térmica real: el encabezado sale primero). Cuerpo abajo. ── */
.factura.seccion { padding: 72px 0 56px; }
.impresora__ventana { position: relative; z-index: 1; height: 392px; margin: 0 0 -18px; padding: 0; overflow: hidden; }
.ticket-sombra { position: absolute; left: 24px; right: 24px; bottom: 0; transform-origin: 50% 100%; }
.ticket { height: auto; overflow: visible; margin: 0; transform: translateY(100%); transition: transform .16s cubic-bezier(.25, .8, .3, 1); will-change: transform; }
.ticket > :first-child { padding-top: 26px; }
.impresora__cuerpo { padding: 30px 12px 14px; }
.impresora__ranura { top: 10px; bottom: auto; }
.impresora__sombra-ranura { position: absolute; left: 24px; right: 24px; top: -6px; bottom: auto; z-index: 3; height: 10px; background: rgba(0, 0, 0, .35); filter: blur(5px); pointer-events: none; }
.impresora[data-etapa="espera"] .impresora__sombra-ranura, .impresora[data-etapa="escanea"] .impresora__sombra-ranura, .impresora[data-etapa="autoriza"] .impresora__sombra-ranura { opacity: 0; }
.impresora__wa { right: -18px; top: -24px; }
.pos__dedo { bottom: 48px; }
@keyframes impCorte { 0% { transform: none; } 25% { transform: translateY(-7px) rotate(-1.6deg); } 55% { transform: translateY(-3px) rotate(1deg); } 80% { transform: translateY(-4px) rotate(-.4deg); } 100% { transform: translateY(-4px); } }
.ticket-sombra.retira { transform: translateY(-46px); opacity: 0; }
@media (max-width: 1024px) { .factura.seccion { padding: 56px 0 64px; } .factura__grilla { gap: 36px; } }
@media (prefers-reduced-motion: reduce) { .ticket { transform: translateY(-10px); } }

/* ── Clientes con logo (27/09/2026) ──────────────────────────────────
   Logos en un solo tono (grafito) para que la grilla se vea pareja; al pasar
   el mouse, cada uno con sus colores reales sobre el fondo que necesita. */
.caso__logo { display: grid; place-items: center; height: 84px; margin: -8px -6px 20px; border-radius: 14px; background: var(--fondo); transition: background .3s; }
.caso__logo img { height: 42px; width: auto; max-width: 78%; object-fit: contain; filter: brightness(0) saturate(0); opacity: .72; transition: filter .3s, opacity .3s, transform .3s; }
.caso:hover .caso__logo img { filter: none; opacity: 1; transform: scale(1.04); }
.caso:hover .caso__logo--oscuro { background: #18181b; }
.caso__logo--texto { gap: 8px; grid-auto-flow: column; font: 800 22px/1 var(--fuente); letter-spacing: -.03em; color: var(--tinta); opacity: .75; transition: opacity .3s, color .3s; }
.caso__logo--texto i { font-style: normal; color: var(--naranja-osc); }
.caso:hover .caso__logo--texto { opacity: 1; }
.otros { margin-top: 44px; }
.otros__titulo { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--suave); }
.otros__logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 18px; }
.otro { position: relative; display: grid; place-items: center; height: 92px; border: 1px solid var(--linea); border-radius: 16px; background: var(--blanco); text-decoration: none; overflow: hidden; transition: transform .2s, box-shadow .2s, background .3s; }
.otro img { height: 40px; width: auto; max-width: 72%; object-fit: contain; filter: brightness(0) saturate(0); opacity: .5; transition: filter .3s, opacity .3s, transform .3s; }
.otro span { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-size: 11.5px; font-weight: 600; color: var(--suave); opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; }
a.otro:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
a.otro:hover img, div.otro:hover img { filter: none; opacity: 1; transform: translateY(-6px); }
div.otro:hover img { transform: none; }
a.otro:hover span { opacity: 1; transform: none; }
.otro--oscuro:hover { background: #18181b; border-color: #18181b; }
.otro--oscuro:hover span { color: rgba(255, 255, 255, .7); }
@media (hover: none) { .caso__logo img, .otro img { filter: none; opacity: 1; } .caso__logo--oscuro, .otro--oscuro { background: #18181b; } .otro span { display: none; } }
@media (max-width: 1024px) { .otros__logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .otros__logos { grid-template-columns: repeat(2, 1fr); gap: 10px; } .otro { height: 78px; } .caso__logo { height: 72px; } }
.otro img.otro__cuadrado { height: 58px; }
@media (max-width: 640px) { .otros__logos { grid-template-columns: repeat(3, 1fr); } .otro img { max-width: 78%; } .otro img.otro__cuadrado { height: 48px; } }
/* con 4 clientes en la fila de "También trabajan con Paikan" */
.otros__logos { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .otros__logos { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .otros__logos { grid-template-columns: repeat(2, 1fr); } }
.caso__logo--script b { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; font-size: 26px; letter-spacing: -.01em; }
/* fila de otros clientes: filas centradas (7 = 4 + 3) */
.otros__logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.otro { flex: 0 1 calc((100% - 3 * 14px) / 4); }
.otro--texto { align-content: center; gap: 4px; }
.otro--texto b { font: 800 19px/1 var(--fuente); letter-spacing: -.03em; color: var(--tinta); opacity: .6; transition: opacity .3s; }
.otro--texto small { font-size: 11.5px; color: var(--suave); }
.otro--texto:hover b { opacity: 1; }
@media (max-width: 640px) { .otros__logos { gap: 10px; } .otro { flex-basis: calc((100% - 10px) / 2); } }
