/* ===== FONDO DEL BAÑO (capas reales, no ::before) ===== */
.bano-bg {
  position: fixed;
  inset: 0;
  z-index: -10;
  background: url('ENTRADA_BANO2.png') center center / cover no-repeat #eef2f6;
  pointer-events: none;
  filter: blur(var(--bg-blur, 0px));
  transition: filter .2s linear;
  will-change: filter;
}
.bano-bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -9;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 75%,
    rgba(238,242,246,.5) 90%,
    rgba(238,242,246,.92) 100%);
}
@media (max-width: 1024px) {
  .bano-bg {
    background: url('ENTRADA_BANO2.png') 72% center / 230% auto no-repeat #eef2f6;
  }
}
@media (max-width: 480px) {
  .bano-bg {
    background: url('ENTRADA_BANO2.png') 72% center / 260% auto no-repeat #eef2f6;
  }
}

/* ===== PÁGINA DE PRODUCTO ===== */

/* Sin scroll horizontal en móvil — todo cabe en iPhone 14 (390px) */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
img, video, svg, iframe { max-width: 100%; height: auto; }
* { min-width: 0; }


/* ===== TEMA LIGHT "BAÑO PREMIUM BLANCO" (solo para monedero) ===== */
body.theme-mall {
  --bg: #eef2f6;
  --bg-2: #ffffff;
  --panel: #ffffff;
  --panel-2: #f5f7fa;
  --text: #0a0b0d;       /* casi negro puro */
  --muted: #2e323b;      /* gris oscuro (no medio gris) */
  --line: #d9dde5;
  --cyan: #2a8b9d;          /* teal sofisticado (azulejo moderno) */
  --violet: #3d4a5c;        /* charcoal suave */
  --pink: #3da8d4;          /* dorado discreto */
  --grad: linear-gradient(135deg, #2a8b9d 0%, #3d4a5c 50%, #3da8d4 100%);
  --shadow-neon: 0 0 0 1px rgba(42,139,157,.15), 0 14px 40px -10px rgba(42,139,157,.18);
  background: var(--bg);
}
/* Imagen de fondo del baño — fija, SIN filtro blanco, solo gradiente al final */
body.theme-mall::before {
  content: '' !important;
  position: fixed !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: -2 !important;
  background:
    linear-gradient(180deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0) 75%,
      rgba(238,242,246,.5) 90%,
      rgba(238,242,246,.9) 100%),
    url('./ENTRADA_BANO2.png') center center / cover no-repeat,
    var(--bg) !important;
  background-attachment: fixed;
  filter: blur(var(--bg-blur, 0px));
  transition: filter .2s linear;
  will-change: filter;
  display: block !important;
}

/* Móvil/tablet: imagen del baño SIN filtro blanco */
@media (max-width: 1024px) {
  body.theme-mall::before {
    content: '' !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: -2 !important;
    background:
      linear-gradient(180deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0) 75%,
        rgba(238,242,246,.5) 90%,
        rgba(238,242,246,.9) 100%),
      url('./ENTRADA_BANO2.png') 72% center / 230% auto no-repeat,
      var(--bg) !important;
    background-attachment: scroll;
    background-color: var(--bg);
    display: block !important;
  }
}
@media (max-width: 480px) {
  body.theme-mall::before {
    content: '' !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: -2 !important;
    background:
      linear-gradient(180deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0) 75%,
        rgba(238,242,246,.5) 90%,
        rgba(238,242,246,.9) 100%),
      url('./ENTRADA_BANO2.png') 72% center / 260% auto no-repeat,
      var(--bg) !important;
    background-attachment: scroll;
    background-color: var(--bg);
    display: block !important;
  }
}

/* ===== ÍCONO FLOTANTE DEL MONEDERO (visible siempre, junto a LO QUIERO) ===== */
/* Desktop: SOBRE el botón LO QUIERO, CENTRADO horizontalmente sobre él */
.mobile-monedero-icon,
body.theme-mall .mobile-monedero-icon {
  display: block !important;
  position: fixed !important;
  bottom: 100px;
  right: 64px;
  width: 92px; height: 118px;
  z-index: 60;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(42,139,157,.55);
  box-shadow:
    0 10px 28px -4px rgba(42,139,157,.45),
    0 0 0 4px rgba(42,139,157,.12);
  background: rgba(255,255,255,.95);
  animation: monedero-shake 2.6s ease-in-out infinite;
  transform-origin: center center;
  pointer-events: none;
}
body.theme-mall .mobile-monedero-icon img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 5px;
}

/* Móvil/tablet: SOBRE el LO QUIERO, centrado horizontalmente */
@media (max-width: 1024px) {
  body.theme-mall .mobile-monedero-icon {
    bottom: calc(82px + env(safe-area-inset-bottom, 0px));
    /* LO QUIERO ~150px ancho, centro a 91px del borde; monedero 76px → 91 - 38 = 53 */
    right: calc(53px + env(safe-area-inset-right, 0px));
    width: 76px; height: 96px;
  }
}
@media (max-width: 380px) {
  body.theme-mall .mobile-monedero-icon {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    /* LO QUIERO ~130px ancho en pantalla chica, centro a 81px; monedero 68px → 81 - 34 = 47 */
    right: calc(47px + env(safe-area-inset-right, 0px));
    width: 68px; height: 86px;
  }
}

/* Shake estilo manecillas de reloj: ida y vuelta */
@keyframes monedero-shake {
  0%   { transform: rotate(0deg)   scale(1); }
  10%  { transform: rotate(18deg)  scale(1.04); }  /* horario */
  20%  { transform: rotate(-12deg) scale(1.04); }  /* anti-horario */
  30%  { transform: rotate(15deg)  scale(1.04); }
  40%  { transform: rotate(-15deg) scale(1.04); }
  50%  { transform: rotate(10deg)  scale(1.02); }
  60%  { transform: rotate(-8deg)  scale(1.02); }
  70%  { transform: rotate(5deg)   scale(1.01); }
  80%  { transform: rotate(-3deg)  scale(1); }
  100% { transform: rotate(0deg)   scale(1); }
}

/* Secciones alternas: panel blanco translúcido (glassmorphism claro) */
body.theme-mall .section,
body.theme-mall .prod-hero { position: relative; }
body.theme-mall .section-alt {
  background: rgba(255, 255, 255, .78) !important;
  backdrop-filter: blur(10px) saturate(115%);
  -webkit-backdrop-filter: blur(10px) saturate(115%);
  border-color: rgba(42,139,157,.12) !important;
}
body.theme-mall::after { display: none; }
body.theme-mall .pcb-dots { display: none; }
body.theme-mall .hero h1,
body.theme-mall .section-title,
body.theme-mall .lead,
body.theme-mall .section-sub,
body.theme-mall .prod-hero-text h1 { text-shadow: none; }
/* Nav y footer en tono blanco premium */
body.theme-mall .nav {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(42,139,157,.18);
}
body.theme-mall .nav-links a { color: var(--text); }
body.theme-mall .nav-links a:hover { color: var(--cyan); }
body.theme-mall .lang-toggle { color: var(--text); border-color: var(--line); background: rgba(42,139,157,.06); }
body.theme-mall .lang-toggle:hover { border-color: var(--cyan); color: var(--cyan); }
body.theme-mall .footer {
  background: rgba(255, 255, 255, .92);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
body.theme-mall .footer a { color: var(--cyan); }
body.theme-mall .why-icon {
  background: rgba(42,139,157,.1);
  border-color: rgba(42,139,157,.3);
}
body.theme-mall .modal-backdrop { background: rgba(255,255,255,.65); }
body.theme-mall .logo-text { color: var(--text); }
body.theme-mall .logo-mark { background: var(--grad); }
body.theme-mall .lead, body.theme-mall .section-sub {
  text-shadow: none !important;
  color: #1a1d24;
}
body.theme-mall .section-title {
  text-shadow: none !important;
  color: #000;
}
body.theme-mall .prod-hero-text h1 {
  text-shadow: none !important;
  color: #000;
}
body.theme-mall .stats-eyebrow {
  color: var(--cyan);
  background: rgba(42,139,157,.08);
  border-color: rgba(42,139,157,.3);
}
body.theme-mall .stats-title {
  /* Gradiente con franja brillante (shimmer) que recorre el texto */
  background: linear-gradient(
    100deg,
    #2a8b9d 0%,
    #0a0b0d 28%,
    #0a0b0d 47%,
    #ffffff 50%,
    #0a0b0d 53%,
    #0a0b0d 72%,
    #2a8b9d 100%
  );
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  animation: stats-title-shine 3.2s linear infinite;
}
body.theme-mall .stats-sub { color: var(--muted); }
body.theme-mall .stats-disclaimer { color: var(--muted); }
body.theme-mall .btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(6px);
}
body.theme-mall .btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
body.theme-mall .voice-btn {
  background: rgba(42,139,157,.1);
  border-color: rgba(42,139,157,.4);
}
body.theme-mall .voice-btn:hover { background: rgba(42,139,157,.22); }
body.theme-mall .voice-btn.speaking {
  background: linear-gradient(135deg, #2a8b9d, #3d4a5c);
  border-color: transparent;
}
body.theme-mall .voice-btn.speaking::after { border-color: #2a8b9d; }
body.theme-mall .voice-btn.speaking .voice-text { color: #fff; }

/* Hero del monedero: SIN imagen, SIN badge "// Comercial", texto grande estilo portada */
body.theme-mall .prod-hero-img { display: none; }
body.theme-mall .prod-hero-text .badge { display: none; }   /* oculta "// COMERCIAL" */
body.theme-mall .prod-hero { padding: 110px 0 80px; }       /* más aire arriba/abajo */
body.theme-mall .prod-hero-grid {
  grid-template-columns: 1fr;
  max-width: 780px;
  margin-left: 10%;
  margin-right: auto;
  text-align: left;
  padding-left: 0;
}
body.theme-mall .prod-hero-text { text-align: left; }
body.theme-mall .prod-hero-text .cta-row { justify-content: flex-start; margin-top: 6px; }

/* Título y lead más grandes — vibe de portada de revista */
body.theme-mall .prod-hero-text h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -.03em;
  margin: 0 0 22px;
  font-weight: 900;
}
body.theme-mall .prod-hero-text .lead {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.5;
  margin-bottom: 36px;
  max-width: 620px;
}
body.theme-mall .prod-hero-text .btn {
  font-size: 1rem;
  padding: 16px 32px;
}
/* Esconde el panel de quick wins si está vacío */
body.theme-mall .prod-quick:empty { display: none; }

@media (max-width: 900px) {
  body.theme-mall .prod-hero-grid {
    margin: 0 auto;
    max-width: 100%;
    padding-left: 0;
    text-align: center;
  }
  body.theme-mall .prod-hero-text { text-align: center; }
  body.theme-mall .prod-hero-text .cta-row { justify-content: center; }
}
body.theme-mall .prod-hero-text h1 {
  text-shadow: 0 2px 24px rgba(13,12,10,.9), 0 0 60px rgba(13,12,10,.7);
}
body.theme-mall .lead, body.theme-mall .section-sub {
  text-shadow: 0 2px 14px rgba(13,12,10,.85);
}
body.theme-mall .section-title { text-shadow: 0 2px 18px rgba(13,12,10,.9); }
body.theme-mall .badge {
  background: rgba(61,168,212,.12);
  border: 1px solid rgba(61,168,212,.4);
  color: var(--cyan);
}
body.theme-mall .stats > div {
  background: rgba(20, 18, 14, .78);
  border-color: rgba(61,168,212,.2);
}

/* CTAs y botones ghost */
body.theme-mall .btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(61,168,212,.05);
}
body.theme-mall .btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Voice button (tema dorado) */
body.theme-mall .voice-btn {
  background: rgba(61,168,212,.14);
  border-color: rgba(61,168,212,.45);
}
body.theme-mall .voice-btn:hover { background: rgba(61,168,212,.28); }
body.theme-mall .voice-btn .voice-icon {
  animation: voice-icon-idle 1.8s ease-in-out infinite;
  filter: none;
}
body.theme-mall .voice-btn.speaking {
  background: linear-gradient(135deg, #3da8d4, #1e6f9c);
  border-color: transparent;
}
body.theme-mall .voice-btn.speaking::after { border-color: #3da8d4; }

/* ===== MOCKUP DE ENTRADA A BAÑO DE CENTRO COMERCIAL ===== */
.mall-entry {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background:
    /* gradiente de azulejos */
    linear-gradient(135deg, #fafcff 0%, #e9eef5 100%);
  border-radius: 22px;
  border: 1px solid rgba(0,147,180,.18);
  padding: 28px;
  min-height: 460px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(27,34,56,.18);
}
@media (max-width: 720px) {
  .mall-entry { grid-template-columns: 1fr; gap: 20px; }
}

/* Patrón de azulejos detrás */
.mall-entry::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,147,180,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,147,180,.08) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  opacity: .6;
}

/* Lado izquierdo: dispositivo monedero */
.mall-device {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px;
}
.mall-device-label {
  font-size: 11px; letter-spacing: 2px;
  color: var(--muted); text-transform: uppercase;
  font-family: ui-monospace, monospace;
}
.mall-device-box {
  width: 100%; max-width: 260px;
  background: linear-gradient(180deg, #d8dee6 0%, #b5bcc7 100%);
  border-radius: 12px;
  padding: 22px 18px;
  box-shadow:
    inset 0 2px 6px rgba(255,255,255,.7),
    inset 0 -2px 6px rgba(0,0,0,.15),
    0 18px 40px -10px rgba(0,0,0,.25);
  display: flex; flex-direction: column;
  gap: 16px;
  position: relative;
  border: 1px solid #a8b0bc;
}
/* Tornillos */
.mall-device-box::before,
.mall-device-box::after {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  background: radial-gradient(circle, #6a7280 30%, #3a3f4a 100%);
  border-radius: 50%;
  box-shadow: inset 0 -1px 1px rgba(0,0,0,.4);
}
.mall-device-box::before { top: 8px; left: 8px; }
.mall-device-box::after { top: 8px; right: 8px; }

/* Ranura de monedas */
.coin-slot {
  width: 60%; height: 16px;
  background: #1a1d24;
  border-radius: 3px;
  margin: 0 auto;
  box-shadow:
    inset 0 3px 5px rgba(0,0,0,.7),
    0 1px 0 rgba(255,255,255,.5);
  position: relative;
}
.coin-slot::after {
  content: 'INSERTE MONEDA';
  position: absolute; bottom: -16px; left: 50%;
  transform: translateX(-50%);
  font-size: 8px; letter-spacing: 1px;
  color: #4a5060; font-family: ui-monospace, monospace;
  white-space: nowrap;
}

/* Display LCD */
.lcd-screen {
  background: #0a1a14;
  border-radius: 6px;
  padding: 14px 18px;
  text-align: center;
  border: 2px solid #2a3a32;
  box-shadow: inset 0 0 14px rgba(0,0,0,.6);
  margin-top: 10px;
}
.lcd-state, .lcd-status {
  font-family: ui-monospace, 'Courier New', monospace;
  font-size: 22px; font-weight: 800; letter-spacing: 3px;
  color: #44ff88;
  text-shadow: 0 0 8px rgba(68,255,136,.7), 0 0 14px rgba(68,255,136,.5);
  animation: lcd-pulse 2s ease-in-out infinite;
}
.lcd-state.occupied, .lcd-status.occupied {
  color: #ff5566;
  text-shadow: 0 0 8px rgba(255,85,102,.7), 0 0 14px rgba(255,85,102,.5);
}
.lcd-state.paid {
  color: #5ec0e4;
  text-shadow: 0 0 8px rgba(94,192,228,.7), 0 0 14px rgba(94,192,228,.5);
}
.lcd-sub {
  font-family: ui-monospace, monospace;
  font-size: 10px; letter-spacing: 1.5px;
  color: rgba(68,255,136,.55);
  margin-top: 4px;
}

@keyframes lcd-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .75; }
}

/* QR scanner */
.qr-scanner {
  width: 56px; height: 56px;
  margin: 6px auto 0;
  background: #0a1a14;
  border: 2px solid #2a3a32;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: inset 0 0 10px rgba(0,0,0,.7);
}
.qr-scanner::before {
  content: '';
  width: 32px; height: 32px;
  background:
    linear-gradient(#00d4ff, #00d4ff) 0 0 / 8px 2px,
    linear-gradient(#00d4ff, #00d4ff) 0 0 / 2px 8px,
    linear-gradient(#00d4ff, #00d4ff) 100% 0 / 8px 2px,
    linear-gradient(#00d4ff, #00d4ff) 100% 0 / 2px 8px,
    linear-gradient(#00d4ff, #00d4ff) 0 100% / 8px 2px,
    linear-gradient(#00d4ff, #00d4ff) 0 100% / 2px 8px,
    linear-gradient(#00d4ff, #00d4ff) 100% 100% / 8px 2px,
    linear-gradient(#00d4ff, #00d4ff) 100% 100% / 2px 8px;
  background-repeat: no-repeat;
  position: relative;
}
.qr-scanner::after {
  content: '';
  position: absolute;
  width: 80%; height: 2px;
  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
  animation: qr-scan 2s linear infinite;
  box-shadow: 0 0 8px #00d4ff;
}
@keyframes qr-scan {
  0% { transform: translateY(-18px); }
  50% { transform: translateY(18px); }
  100% { transform: translateY(-18px); }
}
.qr-label {
  font-size: 9px; letter-spacing: 1.5px;
  color: #4a5060; font-family: ui-monospace, monospace;
  text-align: center; margin-top: 4px;
}

/* LED indicador */
.lock-led {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #5fff80, #1a8a3a);
  box-shadow: 0 0 8px rgba(68,255,136,.7);
  margin: 4px auto 0;
  animation: led-blink 1.5s ease-in-out infinite;
}
.lock-led.unlocked {
  background: radial-gradient(circle at 30% 30%, #5ec0e4, #1a5f8a);
  box-shadow: 0 0 10px rgba(94,192,228,.8);
  animation: led-blink .6s ease-in-out infinite;
}
@keyframes led-blink {
  0%, 70%, 100% { opacity: 1; }
  80% { opacity: .3; }
}

/* Botón demo */
.demo-coin-btn {
  margin-top: 8px;
  padding: 10px 18px;
  background: var(--grad);
  color: #fff; border: none;
  border-radius: 999px;
  font-weight: 700; cursor: pointer;
  font-size: .85rem; letter-spacing: .5px;
  box-shadow: 0 8px 20px -6px rgba(0,147,180,.5);
  transition: transform .2s;
}
.demo-coin-btn:hover { transform: translateY(-2px); }
.demo-coin-btn:active { transform: translateY(0); }

/* Lado derecho: puerta y señalización */
.mall-door-side {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 18px;
}
.mall-signs {
  display: flex; gap: 14px;
}
.mall-signs .sign {
  width: 52px; height: 52px;
  background: #1b2238;
  color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 14px -4px rgba(27,34,56,.4);
}
.mall-door {
  background: linear-gradient(180deg, #3a4256 0%, #232a3c 100%);
  border-radius: 8px 8px 4px 4px;
  box-shadow:
    inset 0 4px 0 rgba(255,255,255,.1),
    inset 0 -4px 0 rgba(0,0,0,.3);
}
.mall-door::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(255,255,255,.08);
  border-radius: 4px;
  pointer-events: none;
}
.mall-status-tag {
  padding: 8px 18px;
  background: #fff;
  border: 2px solid;
  border-radius: 999px;
  font-weight: 800; font-size: .85rem; letter-spacing: 1.5px;
  font-family: ui-monospace, monospace;
}
.mall-status-tag.libre {
  color: #1a8a3a;
  border-color: #44c46d;
  box-shadow: 0 0 0 4px rgba(68,196,109,.15);
}
.mall-status-tag.ocupado {
  color: #c5364a;
  border-color: #ee5566;
  box-shadow: 0 0 0 4px rgba(238,85,102,.15);
}

/* ===== BOTÓN FLOTANTE "LO QUIERO" ===== */
.floating-cta {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 800;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  background: var(--grad);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 1.5px;
  cursor: pointer;
  box-shadow:
    0 14px 30px -6px rgba(0,147,180,.6),
    0 0 0 0 rgba(0,147,180,.5);
  animation: fcta-pulse 2s ease-in-out infinite;
  transition: transform .25s ease, box-shadow .25s ease;
}
.floating-cta:hover {
  transform: translateY(-3px) scale(1.04);
  animation: none;
  box-shadow: 0 22px 44px -8px rgba(0,147,180,.8);
}
.floating-cta:active {
  transform: translateY(0) scale(.98);
}
.fcta-icon {
  font-size: 1.15rem;
  animation: fcta-spin 4s linear infinite;
  display: inline-block;
}
.fcta-arrow {
  font-size: 1.05rem;
  transition: transform .25s ease;
}
.floating-cta:hover .fcta-arrow { transform: translateX(4px); }

@keyframes fcta-pulse {
  0%, 100% {
    box-shadow:
      0 14px 30px -6px rgba(0,147,180,.6),
      0 0 0 0 rgba(0,147,180,.5);
  }
  50% {
    box-shadow:
      0 14px 30px -6px rgba(0,147,180,.6),
      0 0 0 14px rgba(0,147,180,0);
  }
}
@keyframes fcta-spin {
  to { transform: rotate(360deg); }
}

/* Para tema mall (monedero blanco): pulso teal */
body.theme-mall .floating-cta {
  color: #fff;
  box-shadow:
    0 14px 30px -6px rgba(42,139,157,.55),
    0 0 0 0 rgba(42,139,157,.45);
  animation: fcta-pulse-teal 2s ease-in-out infinite;
}
body.theme-mall .floating-cta:hover {
  box-shadow: 0 22px 44px -8px rgba(42,139,157,.75);
}
@keyframes fcta-pulse-teal {
  0%, 100% {
    box-shadow:
      0 14px 30px -6px rgba(42,139,157,.55),
      0 0 0 0 rgba(42,139,157,.45);
  }
  50% {
    box-shadow:
      0 14px 30px -6px rgba(42,139,157,.55),
      0 0 0 16px rgba(42,139,157,0);
  }
}

/* Mobile: más compacto + respeta safe-area de iPhone */
@media (max-width: 720px) {
  .floating-cta {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: calc(16px + env(safe-area-inset-right, 0px));
    padding: 14px 22px;
    font-size: .92rem;
    letter-spacing: 1px;
  }
}
@media (max-width: 380px) {
  .floating-cta {
    padding: 12px 18px;
    font-size: .85rem;
    gap: 6px;
  }
  .fcta-text { letter-spacing: .5px; }
  .fcta-icon { font-size: 1rem; }
}

/* ===== BOTÓN TOGGLE DEL SIMULADOR ===== */
.sim-toggle-wrap {
  display: flex; justify-content: center;
  margin-bottom: 32px;
}
.sim-toggle-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #0093b4 0%, #5b3aa5 60%, #1e6f9c 100%);
  color: #fff; border: none;
  border-radius: 999px;
  font-weight: 700; cursor: pointer;
  font-size: 1rem; letter-spacing: .5px;
  font-family: inherit;
  box-shadow: 0 10px 30px -8px rgba(0,147,180,.5);
  transition: all .25s ease;
}
.sim-toggle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -8px rgba(0,147,180,.7);
}
.sim-toggle-icon { font-size: 1.2rem; }
.sim-toggle-arrow {
  font-size: .85rem;
  transition: transform .3s;
}
.sim-toggle-btn.open .sim-toggle-arrow { transform: rotate(180deg); }
.sim-collapsible {
  animation: sim-expand .5s ease;
}
.sim-collapsible[hidden] { display: none; }
@keyframes sim-expand {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== BOTÓN DE VOZ POR SECCIÓN (pill con icono + texto en escritorio) ===== */
.voice-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 14px;
  margin-left: 16px;
  background: rgba(0, 147, 180, .14);
  border: 1.5px solid rgba(0, 147, 180, .4);
  border-radius: 999px;
  cursor: pointer;
  vertical-align: middle;
  transition: all .25s;
  font-family: inherit;
  position: relative;
}
.voice-btn .voice-icon {
  font-size: 38px;        /* bocina XL */
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  animation: voice-icon-idle 1.8s ease-in-out infinite;
  transform-origin: center center;
}
@keyframes voice-icon-idle {
  0%, 100% { transform: rotate(0) scale(1); }
  15%      { transform: rotate(-10deg) scale(1.06); }
  30%      { transform: rotate(10deg)  scale(1.10); }
  45%      { transform: rotate(-7deg)  scale(1.06); }
  60%      { transform: rotate(5deg)   scale(1.03); }
  75%      { transform: rotate(-2deg)  scale(1.01); }
}
@keyframes voice-icon-glow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(0,147,180,.4)); }
  50%      { filter: drop-shadow(0 0 14px rgba(0,147,180,.9)) drop-shadow(0 0 22px rgba(0,147,180,.5)); }
}
.voice-btn { overflow: visible; }
.voice-btn .voice-text {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--text);
  font-family: ui-monospace, monospace;
  white-space: nowrap;
}
.voice-btn:hover {
  background: rgba(0, 147, 180, .25);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(0,147,180,.5);
}
.voice-btn.speaking {
  background: linear-gradient(135deg, #0093b4, #5b3aa5);
  border-color: transparent;
  animation: voice-pulse 1.2s ease-in-out infinite;
}
.voice-btn.speaking .voice-text,
.voice-btn.speaking .voice-icon { color: #fff; }
.voice-btn.speaking .voice-icon { animation: voice-icon-bounce .8s ease-in-out infinite; }
.voice-btn.speaking::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 999px;
  border: 2px solid #0093b4;
  opacity: .6;
  animation: voice-ring 1.4s ease-out infinite;
  pointer-events: none;
}
@keyframes voice-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,147,180,.4); }
  50% { box-shadow: 0 0 0 12px rgba(0,147,180,0); }
}
@keyframes voice-ring {
  0% { transform: scale(.95); opacity: .6; }
  100% { transform: scale(1.15); opacity: 0; }
}
@keyframes voice-icon-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Móvil: solo bocina (sin texto) en formato círculo compacto */
@media (max-width: 720px) {
  .voice-btn {
    padding: 6px;
    border-radius: 50%;
    margin-left: 10px;
    margin-top: 6px;
    gap: 0;
  }
  .voice-btn .voice-text { display: none; }
  .voice-btn .voice-icon { font-size: 28px; width: 36px; height: 36px; }
}

/* ===== TARJETAS "POR QUÉ" CON ANIMACIÓN LATERAL ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}
.animated-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: all .3s;
}
.animated-card[data-flip="right"] {
  grid-template-columns: 1fr 140px;
}
.animated-card[data-flip="right"] .card-anim-side { order: 2; }
.animated-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,147,180,.4);
  box-shadow: 0 14px 30px -10px rgba(0,147,180,.3);
}
.card-anim-side {
  display: flex; align-items: center; justify-content: center;
}
.anim-blob {
  width: 110px; height: 110px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  background: radial-gradient(circle at 30% 30%, rgba(0,147,180,.25), rgba(91,58,165,.15));
  animation: blob-float 4s ease-in-out infinite;
}
.anim-blob::before {
  content: '';
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 2px dashed rgba(0,147,180,.3);
  animation: blob-rotate 12s linear infinite;
}
.anim-emoji {
  font-size: 48px;
  animation: emoji-bounce 2.4s ease-in-out infinite;
}
.anim-blob-1 .anim-emoji { animation-delay: 0s; }
.anim-blob-2 .anim-emoji { animation-delay: .3s; }
.anim-blob-3 .anim-emoji { animation-delay: .6s; }
.anim-blob-4 .anim-emoji { animation-delay: .9s; }
.anim-blob-2 { background: radial-gradient(circle at 30% 30%, rgba(61,168,212,.25), rgba(91,58,165,.15)); }
.anim-blob-3 { background: radial-gradient(circle at 30% 30%, rgba(91,58,165,.25), rgba(0,147,180,.15)); }
.anim-blob-4 { background: radial-gradient(circle at 30% 30%, rgba(0,147,180,.25), rgba(61,168,212,.15)); }
@keyframes blob-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.04); }
}
@keyframes blob-rotate {
  to { transform: rotate(360deg); }
}
@keyframes emoji-bounce {
  0%, 100% { transform: scale(1) rotate(0); }
  20% { transform: scale(1.15) rotate(-5deg); }
  40% { transform: scale(.95) rotate(3deg); }
  60% { transform: scale(1.08) rotate(0); }
}
.card-text-side h3 {
  font-size: 1.1rem; margin-bottom: 6px;
}
.card-text-side p {
  color: var(--muted); font-size: .94rem; margin: 0;
}

/* ===== BENEFICIOS CON ICONO ANIMADO ===== */
.benefits-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 900px; margin: 0 auto;
}
.animated-benefit {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: all .3s;
}
.animated-benefit:hover {
  transform: translateX(4px);
  border-color: rgba(0,147,180,.4);
  box-shadow: 0 10px 24px -10px rgba(0,147,180,.25);
}
.benefit-icon-wrap {
  display: flex; align-items: center; justify-content: center;
}
.benefit-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 6px 14px -4px rgba(0,147,180,.4);
  animation: pop-in .6s ease both;
  position: relative;
  overflow: hidden;
}
.benefit-icon::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,.4) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shine 3s ease-in-out infinite;
}
.benefit-icon.anim-1 { animation-delay: 0s; }
.benefit-icon.anim-2 { animation-delay: .08s; }
.benefit-icon.anim-3 { animation-delay: .16s; }
.benefit-icon.anim-4 { animation-delay: .24s; }
.benefit-icon.anim-5 { animation-delay: .32s; }
.benefit-icon.anim-6 { animation-delay: .40s; }
@keyframes pop-in {
  from { transform: scale(.4) rotate(-90deg); opacity: 0; }
  to { transform: scale(1) rotate(0); opacity: 1; }
}
@keyframes shine {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

/* ===== RESPONSIVE MÓVIL ===== */
@media (max-width: 720px) {
  /* Hardening anti-overflow horizontal */
  .container { width: 92%; max-width: 100%; padding: 0; }
  .section, .prod-hero, .stats-bar-section, .video-demo-section { overflow-x: hidden; }
  .stats-bar, .sim-grid, .mall-entry { max-width: 100%; }

  /* Hero del monedero en móvil: sube y centra título + botones, MUCHO espacio antes de los stats */
  body.theme-mall .prod-hero {
    padding: 30px 0 180px !important;   /* sube arriba, mucho respiro abajo */
  }
  body.theme-mall .stats-bar-section {
    padding-top: 60px;                  /* extra aire arriba del bloque de promedios */
  }
  body.theme-mall .prod-hero-grid {
    margin: 0 auto !important;
    max-width: 100% !important;
    padding-left: 0;
    text-align: center !important;
  }
  body.theme-mall .prod-hero-text { text-align: center !important; }
  body.theme-mall .prod-hero-text h1 { text-align: center !important; }
  body.theme-mall .prod-hero-text .lead {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body.theme-mall .prod-hero-text .cta-row {
    justify-content: flex-start !important;
    padding-left: 6%;     /* tirados a la izquierda */
  }

  .prod-hero { padding: 50px 0 30px; }
  .prod-hero-img { min-height: 280px; padding: 14px; }
  .prod-hero-img img { max-height: 320px; }

  .sim-toggle-btn { padding: 14px 22px; font-size: .92rem; }
  .sim-toggle-text { display: inline-block; max-width: 180px; }

  /* Cards "por qué" — stack vertical en móvil */
  .animated-card,
  .animated-card[data-flip="right"] {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 20px;
  }
  .animated-card[data-flip="right"] .card-anim-side { order: 0; }
  .anim-blob { width: 90px; height: 90px; }
  .anim-emoji { font-size: 38px; }

  /* Beneficios */
  .animated-benefit {
    grid-template-columns: 48px 1fr;
    padding: 14px 18px; gap: 12px;
  }
  .benefit-icon { width: 38px; height: 38px; }

  /* Cómo funciona — apilar vertical en móvil */
  .how-step,
  .how-step[data-flip="right"] {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 20px;
    gap: 14px;
  }
  .how-step[data-flip="right"] .how-visual { order: 0; }
  .how-visual { width: 110px; height: 110px; }
  .how-blob { width: 90px; height: 90px; }
  .how-emoji { font-size: 40px; }
  .step-number { width: 26px; height: 26px; font-size: .72rem; }

  /* Simulador — apilar todo */
  .sim-grid { grid-template-columns: 1fr; padding: 18px; gap: 18px; }
  .sim-analytics { grid-template-columns: 1fr; }
  .sim-btn-row { grid-template-columns: 1fr 1fr 1fr; }
  .mall-device-box { max-width: 240px; }

  /* Voice button más pequeño */
  .voice-btn { width: 30px; height: 30px; font-size: 12px; margin-left: 8px; }

  /* Sección titles más cortos */
  .section-title { font-size: 1.4rem; }

  /* Pulsador físico — más pequeño en móvil */
  .exit-plate { width: 120px; padding: 14px 10px 10px; }
  .exit-button-circle { width: 64px; height: 64px; }
  .exit-button-text { font-size: .72rem; }
}

@media (max-width: 480px) {
  .sim-btn-row { grid-template-columns: 1fr 1fr; }
  .sim-btn-row .coin-btn:last-child { grid-column: 1 / -1; }
  .sim-stat-grid { grid-template-columns: 1fr 1fr; }
  .sim-stat:nth-child(3) { grid-column: 1 / -1; }
  .mall-signs .sign { width: 44px; height: 44px; font-size: 22px; }
  .door-frame { width: 130px; height: 200px; }
}

/* ===== SIMULADOR COMPLETO ===== */
.sim-section { padding-top: 40px; }
.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  background: linear-gradient(135deg, #fafcff 0%, #e9eef5 100%);
  border-radius: 22px;
  border: 1px solid rgba(0,147,180,.18);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(27,34,56,.18);
}
.sim-grid::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,147,180,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,147,180,.06) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none; opacity: .5;
}
@media (max-width: 880px) {
  .sim-grid { grid-template-columns: 1fr; }
}

.sim-device-col, .sim-controls-col {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  gap: 20px;
}
.sim-device-col { align-items: center; }

.sim-door-area {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  margin-top: 8px;
}
.sim-door-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
/* ===== MARCO DE PUERTA CON SENSOR ===== */
.door-frame {
  position: relative;
  width: 160px; height: 248px;
  padding: 8px;
  background: linear-gradient(180deg, #d2d8e1 0%, #a8b0bc 100%);
  border-radius: 10px 10px 4px 4px;
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,.6),
    inset 0 -2px 4px rgba(0,0,0,.15),
    0 14px 30px -8px rgba(0,0,0,.25);
  perspective: 1000px;
}
.door-frame::before {
  /* sombra interior simulando hueco del marco */
  content: '';
  position: absolute;
  inset: 8px;
  background: #1a1d24;
  border-radius: 6px 6px 2px 2px;
  box-shadow: inset 0 4px 8px rgba(0,0,0,.6);
}

/* Sensor magnético — parte del marco (a la derecha arriba) */
.sensor-frame-part {
  position: absolute;
  top: 36px; right: -6px;
  width: 14px; height: 32px;
  background: linear-gradient(180deg, #e8ebf0, #b8bec8);
  border-radius: 3px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),
    0 2px 4px rgba(0,0,0,.3);
  z-index: 3;
  display: flex; align-items: center; justify-content: center;
}
.sensor-frame-part .sensor-led {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #444;
  transition: background .3s, box-shadow .3s;
}

/* Puerta clickable con apertura/cierre suave */
.mall-door {
  position: relative;
  width: 100%; height: 100%;
  cursor: pointer;
  transition:
    transform 1.8s cubic-bezier(.25, .1, .25, 1),
    box-shadow 1.6s ease;
  transform-origin: left center;
  z-index: 2;
  border-radius: 6px 6px 2px 2px;
  user-select: none;
}
.mall-door.open {
  /* Apertura más amplia y con curva suave */
  transform: perspective(900px) rotateY(-72deg);
  box-shadow: -22px 22px 44px -12px rgba(0,0,0,.5);
}
.mall-door.pulse-hint {
  animation: door-pulse 1.6s ease-in-out infinite;
}
@keyframes door-pulse {
  0%, 100% { box-shadow: inset 0 4px 0 rgba(255,255,255,.1), inset 0 -4px 0 rgba(0,0,0,.3), 0 0 0 rgba(94,192,228,0); }
  50% { box-shadow: inset 0 4px 0 rgba(255,255,255,.1), inset 0 -4px 0 rgba(0,0,0,.3), 0 0 24px 4px rgba(94,192,228,.5); }
}

/* Sensor magnético — parte de la puerta (alineado con el del marco cuando cerrada) */
.sensor-door-part {
  position: absolute;
  top: 36px; right: 4px;
  width: 14px; height: 32px;
  background: linear-gradient(180deg, #c8cdd6, #98a0ac);
  border-radius: 3px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.4),
    0 2px 4px rgba(0,0,0,.3);
  display: flex; align-items: center; justify-content: center;
  z-index: 4;
}
.sensor-door-part .sensor-led {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #444;
  transition: background .3s, box-shadow .3s;
}

/* Estados de los LEDs del sensor */
.sensor-led.green {
  background: #44ff88;
  box-shadow: 0 0 6px #44ff88, 0 0 12px rgba(68,255,136,.6);
}
.sensor-led.yellow {
  background: #5ec0e4;
  box-shadow: 0 0 6px #5ec0e4, 0 0 12px rgba(94,192,228,.7);
  animation: led-blink .8s ease-in-out infinite;
}
.sensor-led.red {
  background: #ff5566;
  box-shadow: 0 0 6px #ff5566, 0 0 12px rgba(255,85,102,.7);
  animation: led-blink .5s ease-in-out infinite;
}

/* Hint sobre la puerta */
.door-hint {
  position: absolute;
  bottom: 14px; left: 0; right: 0;
  text-align: center;
  font-size: 10px; letter-spacing: 1px;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  font-family: ui-monospace, monospace;
  pointer-events: none;
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
}

/* Manija de la puerta */
.mall-door::after {
  content: '';
  position: absolute;
  right: 10px; top: 50%;
  width: 8px; height: 22px;
  background: radial-gradient(circle, #c9d1dc 30%, #6a7280 100%);
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
  z-index: 3;
}

/* Indicador de estado del sensor (texto) */
.sensor-status {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; color: #5d6478;
  font-family: ui-monospace, monospace;
  background: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #dde3ed;
}
.sensor-status .sensor-dot {
  width: 8px; height: 8px;
  background: #44ff88;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(68,255,136,.6);
}
.sensor-status.unlocked .sensor-dot {
  background: #5ec0e4;
  box-shadow: 0 0 6px rgba(94,192,228,.7);
}
.sensor-status.open .sensor-dot {
  background: #ff5566;
  box-shadow: 0 0 6px rgba(255,85,102,.7);
}
.sensor-status strong { color: #1b2238; }

/* Paneles de control */
.sim-panel {
  background: #fff;
  border: 1px solid #dde3ed;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 4px 12px -6px rgba(27,34,56,.1);
}
.sim-panel h4 {
  font-size: .82rem;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: #1b2238; margin-bottom: 12px;
  font-family: ui-monospace, monospace;
}
.sim-btn-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 8px; margin-bottom: 14px;
}
.sim-btn {
  padding: 10px 14px;
  background: #fff;
  color: #1b2238;
  border: 1.5px solid #c8d0dd;
  border-radius: 10px;
  font-weight: 700; cursor: pointer;
  font-size: .9rem; letter-spacing: .3px;
  transition: all .2s;
  font-family: inherit;
}
.sim-btn:hover:not(:disabled) {
  border-color: #0093b4;
  color: #0093b4;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -6px rgba(0,147,180,.4);
}
.sim-btn:active:not(:disabled) { transform: translateY(0); }
.sim-btn:disabled {
  opacity: .4; cursor: not-allowed;
}
.sim-btn.coin-btn {
  background: linear-gradient(180deg, #e8f5fb 0%, #8dd4ee 100%);
  border-color: #d4a020;
  color: #5a4400;
  position: relative;
}
.sim-btn.coin-btn:hover:not(:disabled) {
  border-color: #b8861a;
  color: #3a2d00;
}
.sim-btn.full { width: 100%; }
.sim-btn.small { padding: 7px 12px; font-size: .82rem; }

/* Progress bar acumulado */
.sim-progress { margin-top: 4px; }
.sim-progress-text {
  display: flex; justify-content: space-between;
  font-size: .82rem; color: #5d6478;
  margin-bottom: 6px;
}
.sim-progress-text strong { color: #1b2238; }
.sim-progress-bar {
  height: 8px; background: #eef2f8;
  border-radius: 999px; overflow: hidden;
  border: 1px solid #dde3ed;
}
.sim-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0093b4, #5b3aa5, #1e6f9c);
  border-radius: 999px;
  width: 0%;
  transition: width .35s ease;
  box-shadow: 0 0 8px rgba(0,147,180,.5);
}

/* Admin */
.sim-row {
  display: flex; gap: 8px; align-items: center;
  margin-bottom: 8px;
}
.sim-row label {
  font-size: .85rem; color: #5d6478; flex: 1;
}
.sim-row input[type="number"] {
  width: 100px; padding: 7px 10px;
  border: 1.5px solid #c8d0dd; border-radius: 8px;
  font-family: inherit; font-size: .9rem;
  color: #1b2238; background: #fff;
}
.sim-row input[type="number"]:focus {
  outline: none; border-color: #0093b4;
}

/* ===== PULSADOR FÍSICO DE SALIDA (PRESS TO EXIT) ===== */
.exit-panel { text-align: center; }
.exit-help {
  font-size: .78rem; color: #5d6478;
  margin-bottom: 14px; line-height: 1.5;
}
.exit-pushbutton {
  display: inline-block;
  background: none; border: none; padding: 0;
  cursor: pointer;
  transition: transform .1s;
}
.exit-pushbutton:disabled { cursor: not-allowed; opacity: .45; }
.exit-pushbutton.pressed .exit-button-circle { transform: scale(.92); box-shadow: inset 0 4px 8px rgba(0,0,0,.5); }

.exit-plate {
  display: inline-flex; flex-direction: column;
  align-items: center; gap: 8px;
  width: 150px;
  padding: 18px 14px 14px;
  background: linear-gradient(135deg, #e8ebf0 0%, #c5cbd6 60%, #a8b0bc 100%);
  border-radius: 10px;
  border: 1px solid #98a0ac;
  position: relative;
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,.7),
    inset 0 -2px 4px rgba(0,0,0,.15),
    0 12px 24px -8px rgba(0,0,0,.25);
}
/* Tornillos de la placa */
.exit-plate::before,
.exit-plate::after {
  content: '';
  position: absolute;
  width: 7px; height: 7px;
  background: radial-gradient(circle, #6a7280 30%, #3a3f4a 100%);
  border-radius: 50%;
  box-shadow: inset 0 -1px 1px rgba(0,0,0,.4);
}
.exit-plate::before { top: 6px; left: 6px; }
.exit-plate::after { top: 6px; right: 6px; }

.exit-button-circle {
  width: 78px; height: 78px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #6ae28a 0%, #2da050 50%, #1a6e34 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px;
  border: 3px solid #98a0ac;
  box-shadow:
    inset 0 -4px 8px rgba(0,0,0,.3),
    inset 0 4px 6px rgba(255,255,255,.4),
    0 6px 14px -2px rgba(45,160,80,.5),
    0 0 0 4px rgba(106,226,138,.15);
  transition: all .12s ease;
  position: relative;
}
.exit-pushbutton:hover:not(:disabled) .exit-button-circle {
  box-shadow:
    inset 0 -4px 8px rgba(0,0,0,.3),
    inset 0 4px 6px rgba(255,255,255,.5),
    0 8px 18px -2px rgba(45,160,80,.7),
    0 0 0 5px rgba(106,226,138,.25);
}
.exit-button-led {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #c7ffd9;
  box-shadow: 0 0 6px #6aff8a, 0 0 12px rgba(106,255,138,.6);
  animation: led-blink 1.4s ease-in-out infinite;
}
.exit-pushbutton:disabled .exit-button-led {
  background: #888; box-shadow: none; animation: none;
}
.exit-button-text {
  color: #fff; font-weight: 800;
  font-size: .82rem; letter-spacing: 1.5px;
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.exit-plate-label {
  font-size: 10px; letter-spacing: 2px;
  color: #3a3f4a; font-weight: 700;
  font-family: ui-monospace, monospace;
  margin-top: 2px;
}

/* Stats */
.sim-stat-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 10px; margin-bottom: 14px;
}
.sim-stat {
  background: #f4f7fb;
  border: 1px solid #dde3ed;
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}
.sim-stat-label {
  display: block;
  font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; color: #5d6478;
  margin-bottom: 4px; font-family: ui-monospace, monospace;
}
.sim-stat strong {
  font-size: 1.1rem; color: #1b2238;
  font-weight: 800;
}

/* Log */
.sim-log-title {
  font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; color: #5d6478;
  font-family: ui-monospace, monospace;
  display: block; margin-bottom: 8px;
}
.sim-log ul, #simLog {
  list-style: none; padding: 0; margin: 0;
  max-height: 140px; overflow-y: auto;
}
#simLog li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  padding: 6px 8px;
  font-size: .82rem;
  border-bottom: 1px dashed #dde3ed;
  font-family: ui-monospace, monospace;
  color: #1b2238;
}
#simLog li:last-child { border-bottom: none; }
#simLog li.empty {
  display: block; text-align: center;
  color: #9aa3b5; font-style: italic;
  padding: 12px; font-family: inherit;
}
.log-time { color: #5d6478; }
.log-method { color: #1b2238; }
.log-amount { color: #0093b4; font-weight: 700; }

/* ===== OVERRIDES SIMULADOR PARA TEMA DARK WARM ===== */
body.theme-mall .sim-toggle-btn {
  background: linear-gradient(135deg, #5ec0e4 0%, #3da8d4 50%, #1e6f9c 100%);
  color: #1a1308;
  box-shadow: 0 10px 30px -8px rgba(61,168,212,.5);
}
body.theme-mall .sim-toggle-btn:hover {
  box-shadow: 0 14px 36px -8px rgba(61,168,212,.7);
}

body.theme-mall .sim-grid,
body.theme-mall .mall-entry {
  background: linear-gradient(135deg, rgba(28,25,20,.85) 0%, rgba(20,18,14,.92) 100%);
  border-color: rgba(61,168,212,.22);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
}
body.theme-mall .sim-grid::before,
body.theme-mall .mall-entry::before {
  background-image:
    linear-gradient(rgba(61,168,212,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,168,212,.06) 1px, transparent 1px);
}
body.theme-mall .sim-panel,
body.theme-mall .analytics-card {
  background: rgba(26, 23, 18, .85);
  border: 1px solid rgba(61,168,212,.18);
  box-shadow: 0 4px 14px -6px rgba(0,0,0,.5);
}
body.theme-mall .sim-panel h4,
body.theme-mall .analytics-card h4 {
  color: var(--cyan);
}

/* Botones del simulador */
body.theme-mall .sim-btn {
  background: rgba(34, 31, 24, .9);
  color: var(--text);
  border-color: rgba(61,168,212,.25);
}
body.theme-mall .sim-btn:hover:not(:disabled) {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 6px 14px -6px rgba(61,168,212,.5);
}
body.theme-mall .sim-btn.coin-btn {
  background: linear-gradient(180deg, #8dd4ee 0%, #3da8d4 60%, #1a5f8a 100%);
  color: #1a1308;
  border-color: #8a6815;
}

/* Progress bar */
body.theme-mall .sim-progress-text { color: var(--muted); }
body.theme-mall .sim-progress-text strong { color: var(--text); }
body.theme-mall .sim-progress-bar {
  background: rgba(34, 31, 24, .8);
  border-color: rgba(61,168,212,.18);
}
body.theme-mall .sim-progress-fill {
  background: linear-gradient(90deg, #3da8d4, #5ec0e4, #8dd4ee);
  box-shadow: 0 0 10px rgba(61,168,212,.6);
}

/* Inputs admin */
body.theme-mall .sim-row label { color: var(--muted); }
body.theme-mall .sim-row input[type="number"] {
  background: rgba(34, 31, 24, .9);
  color: var(--text);
  border-color: rgba(61,168,212,.25);
}
body.theme-mall .sim-row input[type="number"]:focus { border-color: var(--cyan); }

/* Stats */
body.theme-mall .sim-stat {
  background: rgba(34, 31, 24, .85);
  border-color: rgba(61,168,212,.18);
}
body.theme-mall .sim-stat-label { color: var(--muted); }
body.theme-mall .sim-stat strong { color: var(--cyan); }

/* Log */
body.theme-mall .sim-log-title { color: var(--muted); }
body.theme-mall #simLog li {
  color: var(--text);
  border-bottom-color: rgba(61,168,212,.15);
}
body.theme-mall #simLog li.empty { color: var(--muted); }
body.theme-mall .log-time { color: var(--muted); }
body.theme-mall .log-amount { color: var(--cyan); }

/* Analítica */
body.theme-mall .dist-bar-label,
body.theme-mall .dist-bar-label strong { color: var(--text); }
body.theme-mall .dist-bar-info { color: var(--muted); }
body.theme-mall .dist-bar-info strong { color: var(--cyan); }
body.theme-mall .dist-bar-track {
  background: rgba(34, 31, 24, .8);
  border-color: rgba(61,168,212,.18);
}
body.theme-mall .dist-bar-fill.monedas {
  background: linear-gradient(90deg, #5ec0e4, #3da8d4);
  box-shadow: 0 0 10px rgba(61,168,212,.6);
}
body.theme-mall .dist-bar-fill.empleados {
  background: linear-gradient(90deg, #3da8d4, #1e6f9c);
  box-shadow: 0 0 10px rgba(30,111,156,.5);
}
body.theme-mall .dist-bar-label .dot.monedas {
  background: #3da8d4; box-shadow: 0 0 6px rgba(61,168,212,.7);
}
body.theme-mall .dist-bar-label .dot.empleados {
  background: #1e6f9c; box-shadow: 0 0 6px rgba(30,111,156,.6);
}
body.theme-mall .analytics-chart .chart-grid line { stroke: rgba(61,168,212,.1); }
body.theme-mall .analytics-chart .chart-axis { stroke: rgba(61,168,212,.25); }
body.theme-mall #curveMonedas { stroke: #5ec0e4; }
body.theme-mall #curveEmpleados { stroke: #1e6f9c; }
body.theme-mall .chart-legend { color: var(--muted); border-top-color: rgba(61,168,212,.18); }
body.theme-mall .chart-legend .leg-dot.monedas { background: #5ec0e4; }
body.theme-mall .chart-legend .leg-dot.empleados { background: #1e6f9c; }

/* Sensor status & misc */
body.theme-mall .sensor-status {
  background: rgba(34, 31, 24, .9);
  border-color: rgba(61,168,212,.25);
  color: var(--muted);
}
body.theme-mall .sensor-status strong { color: var(--text); }
body.theme-mall .mall-device-label,
body.theme-mall .qr-label,
body.theme-mall .coin-slot::after {
  color: var(--muted);
}
body.theme-mall .exit-help { color: var(--muted); }
body.theme-mall .exit-plate-label { color: #ece8df; }
body.theme-mall .mall-status-tag.libre {
  background: rgba(20, 18, 14, .9);
}
body.theme-mall .mall-status-tag.ocupado {
  background: rgba(20, 18, 14, .9);
}

/* Blobs y burbujas animadas (por qué, cómo, etc.) en oro */
body.theme-mall .anim-blob,
body.theme-mall .how-blob {
  background: radial-gradient(circle at 30% 30%, rgba(61,168,212,.22), rgba(30,111,156,.12));
}
body.theme-mall .anim-blob-2 {
  background: radial-gradient(circle at 30% 30%, rgba(94,192,228,.25), rgba(30,111,156,.12));
}
body.theme-mall .anim-blob-3 {
  background: radial-gradient(circle at 30% 30%, rgba(30,111,156,.25), rgba(61,168,212,.15));
}
body.theme-mall .anim-blob-4 {
  background: radial-gradient(circle at 30% 30%, rgba(61,168,212,.25), rgba(94,192,228,.15));
}
body.theme-mall .anim-blob::before,
body.theme-mall .how-blob::before {
  border-color: rgba(61,168,212,.3);
}
body.theme-mall .anim-log .how-blob::after { background: rgba(61,168,212,.55); }
body.theme-mall .anim-chart .how-blob::after {
  background: linear-gradient(90deg, transparent, #3da8d4, #5ec0e4, transparent);
}
body.theme-mall .anim-scan .how-blob::after {
  background: linear-gradient(90deg, transparent, #8dd4ee, transparent);
  box-shadow: 0 0 12px #8dd4ee;
}
body.theme-mall .anim-camera .how-blob::after { border-color: rgba(61,168,212,.5); }
body.theme-mall .anim-alert .how-blob {
  background: radial-gradient(circle at 30% 30%, rgba(61,168,212,.4), rgba(30,111,156,.15));
}
body.theme-mall .anim-alert .how-blob {
  animation: hw-alert-glow-gold 1s ease-in-out infinite;
}
@keyframes hw-alert-glow-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61,168,212,.5); }
  50% { box-shadow: 0 0 0 12px rgba(61,168,212,0); }
}

/* Step number con gradiente dorado */
body.theme-mall .step-number {
  background: var(--grad);
  color: #1a1308;
  border: 2px solid var(--panel);
  box-shadow: 0 4px 10px rgba(61,168,212,.5);
}

/* Final CTA en blanco con glow azul */
body.theme-mall .final-cta {
  background:
    radial-gradient(circle at 30% 50%, rgba(61,168,212,.18), transparent 60%),
    radial-gradient(circle at 70% 50%, rgba(94,192,228,.15), transparent 60%),
    rgba(255, 255, 255, .92);
  border-color: rgba(61,168,212,.35);
  box-shadow: 0 24px 60px -20px rgba(61,168,212,.3);
  backdrop-filter: blur(10px);
}
body.theme-mall .final-cta h2 {
  background: linear-gradient(135deg, #1a5f8a, #1c2230 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body.theme-mall .final-cta p {
  color: #1a1d24;
}

/* Benefit icon (check) dorado */
body.theme-mall .benefit-icon {
  background: var(--grad);
  color: #1a1308;
  box-shadow: 0 6px 14px -4px rgba(61,168,212,.6);
}

/* Quick wins items en hero */
body.theme-mall .prod-quick .quick-item {
  background: rgba(26, 23, 18, .85);
  border-color: rgba(61,168,212,.18);
  color: var(--text);
}

/* ===== STATS BAR HORIZONTAL ===== */
.stats-bar-section {
  padding: 50px 0 40px;
  position: relative;
}
.stats-header {
  text-align: center;
  margin-bottom: 28px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.stats-eyebrow {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: 2.5px;
  color: #2a8b9d;
  padding: 6px 14px;
  border: 1px solid rgba(42,139,157,.35);
  border-radius: 999px;
  background: rgba(42,139,157,.08);
  font-family: ui-monospace, monospace;
  font-weight: 700;
  margin-bottom: 14px;
}
.stats-title {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 10px;
  /* Gradiente con franja brillante que recorre el texto */
  background: linear-gradient(
    100deg,
    #2a8b9d 0%,
    #1c2230 28%,
    #1c2230 47%,
    #ffffff 50%,
    #1c2230 53%,
    #1c2230 72%,
    #2a8b9d 100%
  );
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: stats-title-shine 3.2s linear infinite;
}

@keyframes stats-title-shine {
  0%   { background-position: 200% 0; }
  100% { background-position: -150% 0; }
}
.stats-sub {
  color: #5c6478;
  font-size: .95rem;
  line-height: 1.5;
}
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item {
  padding: 30px 22px;
  text-align: center;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(42,139,157,.22);
  border-radius: 16px;
  backdrop-filter: blur(14px) saturate(115%);
  -webkit-backdrop-filter: blur(14px) saturate(115%);
  box-shadow: 0 14px 36px -16px rgba(28,34,48,.18),
              inset 0 1px 0 rgba(255,255,255,.7);
  position: relative;
  transition: all .25s ease;
}
.stat-item:hover {
  transform: translateY(-3px);
  border-color: rgba(42,139,157,.45);
  box-shadow: 0 22px 50px -18px rgba(42,139,157,.3),
              inset 0 1px 0 rgba(255,255,255,.8);
}
.stat-value {
  display: block;
  font-family: ui-monospace, 'Courier New', monospace;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #2a8b9d, #1c2230);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
  letter-spacing: -.5px;
}
.stat-label {
  display: block;
  font-size: .78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #5c6478;
  font-family: ui-monospace, monospace;
}
.stats-disclaimer {
  text-align: center;
  font-size: .75rem;
  color: #5c6478;
  margin-top: 12px;
  font-style: italic;
}

@media (max-width: 760px) {
  .stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .stat-item { padding: 22px 16px; }
}
@media (max-width: 420px) {
  .stats-bar { grid-template-columns: 1fr; gap: 14px; }
}

/* ===== VIDEO DEMOSTRATIVO ===== */
.video-demo-section { padding: 50px 0; }
.video-wrap {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(42,139,157,.25);
  box-shadow:
    0 30px 70px -20px rgba(28,34,48,.25),
    0 0 0 1px rgba(42,139,157,.1);
}
.video-wrap video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

/* En móvil: video en formato vertical 9:16 (Reels/TikTok-style). El recorte es automático. */
@media (max-width: 720px) {
  .video-wrap {
    max-width: 100%;
    width: 100%;
    margin: 0;
    background: transparent;        /* quita la franja negra del wrap */
    border: none;
    box-shadow: none;
    border-radius: 14px;
    overflow: hidden;
  }
  .video-wrap video {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  .video-glow { display: none; }    /* el glow lateral causa la franja visible */
}
.video-glow {
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  pointer-events: none;
  background:
    radial-gradient(circle at 0% 0%, rgba(42,139,157,.25), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(61,168,212,.18), transparent 40%);
  z-index: -1;
  animation: video-glow-pulse 4s ease-in-out infinite;
}
@keyframes video-glow-pulse {
  0%, 100% { opacity: .8; }
  50% { opacity: 1; }
}

/* ===== PANEL DE ANÁLISIS (porcentajes + curva) ===== */
.sim-analytics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}
@media (max-width: 880px) {
  .sim-analytics { grid-template-columns: 1fr; }
}
.analytics-card {
  background: #fff;
  border: 1px solid #dde3ed;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 4px 12px -6px rgba(27,34,56,.1);
}
.analytics-card h4 {
  font-size: .82rem; letter-spacing: 1.2px; text-transform: uppercase;
  color: #1b2238; margin-bottom: 16px;
  font-family: ui-monospace, monospace;
}

/* Barras de distribución */
.dist-bars { display: grid; gap: 18px; }
.dist-bar { display: grid; gap: 6px; }
.dist-bar-label {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .88rem; color: #1b2238;
}
.dist-bar-label .dot {
  display: inline-block; width: 10px; height: 10px;
  border-radius: 50%; margin-right: 8px; vertical-align: middle;
}
.dist-bar-label .dot.monedas {
  background: #0093b4; box-shadow: 0 0 6px rgba(0,147,180,.6);
}
.dist-bar-label .dot.empleados {
  background: #9b5cff; box-shadow: 0 0 6px rgba(155,92,255,.6);
}
.dist-bar-label strong {
  font-size: 1.1rem; color: #1b2238;
  font-family: ui-monospace, monospace;
}
.dist-bar-track {
  height: 12px; background: #eef2f8;
  border-radius: 999px; overflow: hidden;
  border: 1px solid #dde3ed;
}
.dist-bar-fill {
  height: 100%; border-radius: 999px;
  width: 0%;
  transition: width .6s cubic-bezier(.25,.1,.25,1);
}
.dist-bar-fill.monedas {
  background: linear-gradient(90deg, #00b3d4, #0093b4);
  box-shadow: 0 0 10px rgba(0,147,180,.5);
}
.dist-bar-fill.empleados {
  background: linear-gradient(90deg, #b076ff, #9b5cff);
  box-shadow: 0 0 10px rgba(155,92,255,.5);
}
.dist-bar-info {
  font-size: .78rem; color: #5d6478;
  font-family: ui-monospace, monospace;
}
.dist-bar-info strong { color: #0093b4; }

/* Curva acumulada */
.analytics-chart {
  width: 100%;
  height: 160px;
  display: block;
  margin-bottom: 8px;
}
.analytics-chart .chart-grid line {
  stroke: #eef2f8; stroke-width: 1;
  stroke-dasharray: 3 4;
}
.analytics-chart .chart-axis {
  stroke: #c8d0dd; stroke-width: 1;
}
.chart-legend {
  display: flex; gap: 18px;
  font-size: .78rem; color: #5d6478;
  font-family: ui-monospace, monospace;
  padding-top: 4px;
  border-top: 1px solid #eef2f8;
  margin-top: 8px;
  padding-top: 10px;
}
.chart-legend .leg-dot {
  display: inline-block; width: 12px; height: 3px;
  border-radius: 2px; margin-right: 6px; vertical-align: middle;
}
.chart-legend .leg-dot.monedas { background: #0093b4; }
.chart-legend .leg-dot.empleados { background: #9b5cff; }


.back-link {
  display: inline-flex; align-items: center; gap: 4px;
}

/* HERO DEL PRODUCTO */
.prod-hero {
  padding: 80px 0 60px;
  position: relative;
}
.prod-hero-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 50px; align-items: center;
}
@media (max-width: 900px) {
  .prod-hero-grid { grid-template-columns: 1fr; gap: 30px; }
}
.prod-hero-img {
  background:
    radial-gradient(circle at 50% 50%, rgba(0,229,255,.12), transparent 70%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  display: flex; align-items: center; justify-content: center;
  min-height: 380px;
  box-shadow: 0 20px 60px -20px rgba(0,229,255,.3);
}
.prod-hero-img img {
  max-width: 100%; max-height: 480px;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}
.prod-hero-text h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.15; font-weight: 800; letter-spacing: -.02em;
  margin: 14px 0 16px;
  text-shadow: 0 2px 18px rgba(6,7,13,.85);
}
.prod-hero-text .lead {
  font-size: 1.05rem; margin: 0 0 28px;
}
.prod-quick {
  margin-top: 28px;
  display: grid; gap: 10px;
}
.prod-quick .quick-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: .92rem;
}
.prod-quick .quick-item .ico {
  font-size: 1.1rem;
}

/* ¿POR QUÉ? */
.why-grid .why-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  transition: all .3s;
}
.why-grid .why-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,229,255,.4);
}
.why-grid .why-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,229,255,.1);
  border: 1px solid rgba(0,229,255,.3);
  border-radius: 12px;
  font-size: 22px;
  margin-bottom: 14px;
}
.why-grid h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-grid p { color: var(--muted); font-size: .92rem; }

/* BENEFICIOS */
.benefits-list {
  list-style: none; padding: 0;
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1000px; margin: 0 auto;
}
.benefits-list li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  display: flex; align-items: flex-start; gap: 14px;
  transition: all .25s;
}
.benefits-list li:hover {
  border-color: rgba(0,229,255,.4);
  transform: translateX(4px);
}
.benefits-list .check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--grad);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px;
  box-shadow: 0 0 14px rgba(0,229,255,.4);
}
.benefits-list .benefit-text strong {
  display: block; margin-bottom: 4px;
}
.benefits-list .benefit-text span {
  color: var(--muted); font-size: .9rem;
}

/* CÓMO FUNCIONA - timeline con visual animado por paso */
.how-timeline {
  max-width: 950px; margin: 0 auto;
  list-style: none; padding: 0;
}
.how-step {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px 26px;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 16px;
  transition: all .3s;
  position: relative;
}
.how-step[data-flip="right"] {
  grid-template-columns: 1fr 150px;
}
.how-step[data-flip="right"] .how-visual { order: 2; }
.how-step:hover {
  transform: translateY(-3px);
  border-color: rgba(0,147,180,.4);
  box-shadow: 0 14px 30px -10px rgba(0,147,180,.3);
}
.how-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 130px; height: 130px;
  margin: 0 auto;
}
.how-blob {
  width: 110px; height: 110px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 30%, rgba(0,147,180,.22), rgba(91,58,165,.12));
  position: relative;
  overflow: visible;
}
.how-blob::before {
  content: '';
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 2px dashed rgba(0,147,180,.25);
  animation: blob-rotate 14s linear infinite;
}
.how-emoji {
  font-size: 50px;
  display: inline-block;
  line-height: 1;
}
.step-number {
  position: absolute;
  bottom: -4px; right: 0;
  background: var(--grad);
  color: #fff;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: ui-monospace, monospace;
  font-size: .82rem; font-weight: 800;
  box-shadow: 0 4px 10px rgba(0,147,180,.4);
  border: 2px solid var(--panel);
}
.how-text h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.how-text p {
  color: var(--muted);
  font-size: .94rem;
  margin: 0;
  line-height: 1.55;
}

/* ===== ANIMACIONES POR TIPO DE PASO ===== */
/* wave: el emoji saluda meciendo */
.anim-wave .how-emoji { animation: hw-wave 2.2s ease-in-out infinite; transform-origin: 70% 80%; }
@keyframes hw-wave {
  0%, 60%, 100% { transform: rotate(0); }
  20% { transform: rotate(-15deg); }
  40% { transform: rotate(15deg); }
}

/* coin: la moneda cae y rebota */
.anim-coin .how-emoji {
  animation: hw-coin 2.4s cubic-bezier(.5, 0, .5, 1) infinite;
}
@keyframes hw-coin {
  0% { transform: translateY(-32px) rotateY(0); opacity: 0; }
  30% { transform: translateY(0) rotateY(180deg); opacity: 1; }
  45% { transform: translateY(-8px) rotateY(360deg); }
  60% { transform: translateY(0) rotateY(360deg); }
  100% { transform: translateY(0) rotateY(360deg); opacity: 1; }
}

/* unlock: gira y pulsa (cerradura/check) */
.anim-unlock .how-emoji {
  animation: hw-unlock 2.6s ease-in-out infinite;
}
@keyframes hw-unlock {
  0%, 100% { transform: scale(1) rotate(0); }
  40% { transform: scale(1.18) rotate(-12deg); }
  55% { transform: scale(1.18) rotate(12deg); }
  70% { transform: scale(1) rotate(0); }
}

/* log: el papel/registro tipea apareciendo */
.anim-log .how-emoji {
  animation: hw-log 2.2s ease-in-out infinite;
}
@keyframes hw-log {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.08) translateY(-4px); }
}
.anim-log .how-blob::after {
  content: '';
  position: absolute;
  bottom: 22%; left: 50%;
  width: 30px; height: 3px;
  background: rgba(0,147,180,.5);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: hw-log-line 2.2s ease-in-out infinite;
}
@keyframes hw-log-line {
  0%, 100% { width: 8px; opacity: 0; }
  30% { width: 30px; opacity: 1; }
  70% { width: 40px; opacity: .3; }
}

/* chart: gráfico crece */
.anim-chart .how-emoji { animation: hw-chart 2.4s ease-in-out infinite; }
@keyframes hw-chart {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.anim-chart .how-blob::after {
  content: '';
  position: absolute;
  bottom: 18%; left: 20%; right: 20%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #0093b4, #9b5cff, transparent);
  border-radius: 2px;
  animation: hw-chart-grow 2.4s ease-in-out infinite;
}
@keyframes hw-chart-grow {
  0%, 100% { opacity: 0; transform: scaleX(0); }
  50% { opacity: 1; transform: scaleX(1); }
}

/* camera: parpadea como obturador */
.anim-camera .how-emoji { animation: hw-camera 2.4s ease-in-out infinite; }
@keyframes hw-camera {
  0%, 90%, 100% { transform: scale(1); filter: brightness(1); }
  92% { transform: scale(1.1); filter: brightness(1.8); }
  94% { transform: scale(1); filter: brightness(1); }
  96% { transform: scale(1.1); filter: brightness(1.8); }
}
.anim-camera .how-blob::after {
  content: '';
  position: absolute; inset: 10%;
  border-radius: 50%;
  border: 2px solid rgba(0,147,180,.4);
  animation: hw-camera-ring 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes hw-camera-ring {
  0%, 80%, 100% { opacity: 0; transform: scale(.7); }
  90% { opacity: 1; transform: scale(1.2); }
}

/* scan: línea de escáner recorre */
.anim-scan .how-emoji { animation: hw-scan-emoji 3s ease-in-out infinite; }
@keyframes hw-scan-emoji {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
.anim-scan .how-blob::after {
  content: '';
  position: absolute;
  top: 20%; left: 15%; right: 15%;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
  box-shadow: 0 0 12px #00d4ff;
  border-radius: 2px;
  animation: hw-scan-line 2.5s linear infinite;
}
@keyframes hw-scan-line {
  0% { top: 18%; opacity: 1; }
  50% { top: 75%; opacity: 1; }
  100% { top: 18%; opacity: 1; }
}

/* alert: sirena que parpadea */
.anim-alert .how-emoji {
  animation: hw-alert 1s ease-in-out infinite;
}
@keyframes hw-alert {
  0%, 100% { transform: rotate(-8deg) scale(1); filter: drop-shadow(0 0 0 transparent); }
  50% { transform: rotate(8deg) scale(1.1); filter: drop-shadow(0 0 8px rgba(61,168,212,.8)); }
}
.anim-alert .how-blob {
  background: radial-gradient(circle at 30% 30%, rgba(61,168,212,.35), rgba(91,58,165,.15));
  animation: hw-alert-glow 1s ease-in-out infinite;
}
@keyframes hw-alert-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61,168,212,.4); }
  50% { box-shadow: 0 0 0 12px rgba(61,168,212,0); }
}

/* CARACTERÍSTICAS TÉCNICAS */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  max-width: 1000px; margin: 0 auto;
}
.specs-grid .spec {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex; flex-direction: column;
}
.specs-grid .spec-label {
  font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 6px;
  font-family: ui-monospace, monospace;
}
.specs-grid .spec-value {
  font-size: .95rem; color: var(--text);
}

/* CASOS DE USO */
.cases-grid .case-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  transition: all .3s;
}
.cases-grid .case-card:hover {
  transform: translateY(-3px);
  border-color: rgba(155,92,255,.4);
  box-shadow: 0 14px 30px -10px rgba(155,92,255,.3);
}
.cases-grid .case-icon { font-size: 28px; margin-bottom: 12px; }
.cases-grid h3 { font-size: 1.05rem; margin-bottom: 8px; }
.cases-grid p { color: var(--muted); font-size: .92rem; }

/* CTA FINAL */
.final-cta {
  background:
    radial-gradient(circle at 30% 50%, rgba(0,229,255,.15), transparent 60%),
    radial-gradient(circle at 70% 50%, rgba(155,92,255,.15), transparent 60%),
    var(--panel);
  border: 1px solid rgba(0,229,255,.25);
  border-radius: 22px;
  padding: 56px 32px;
  text-align: center;
  max-width: 900px; margin: 0 auto;
  box-shadow: 0 24px 60px -20px rgba(0,229,255,.3);
}
.final-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800; letter-spacing: -.02em;
  margin-bottom: 14px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.final-cta p {
  color: var(--muted); font-size: 1rem;
  max-width: 600px; margin: 0 auto 28px;
}
.btn-lg {
  padding: 16px 36px !important;
  font-size: 1rem !important;
}
