/* VALNET IA · Celular con WhatsApp del inicio (reemplaza a la esfera 3D). HTML y CSS puros: carga al instante y no gasta batería.
   Escritorio: celular completo con tres avisos. Celular: versión compacta, recortada abajo, con un solo aviso. */
.hp-wrap { width: 100%; max-width: 560px; justify-self: center; }
.hp-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 500px; }
.hp-aura { position: absolute; left: 50%; top: 50%; width: 430px; height: 430px; margin: -215px 0 0 -215px; border-radius: 50%; background: radial-gradient(closest-side, rgba(124, 92, 242, .5), rgba(91, 224, 202, .1) 62%, transparent); filter: blur(14px); pointer-events: none; }
.hp-phone { position: relative; width: 276px; height: 548px; padding: 10px; border: 2px solid #2c3470; border-radius: 42px; background: #05071a; box-shadow: 0 40px 80px rgba(0, 0, 0, .55), 0 0 80px rgba(124, 92, 242, .25); }
.hp-notch { position: absolute; left: 50%; top: 17px; z-index: 3; width: 84px; height: 22px; margin-left: -42px; border-radius: 20px; background: #05071a; }
.hp-scr { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 32px; background: #0d1330; }
.hp-head { display: flex; align-items: center; gap: 10px; padding: 40px 14px 11px; border-bottom: 1px solid rgba(150, 160, 215, .18); background: #12193b; }
.hp-head i { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #5be0ca, #8f7cf7); color: #06101a; font: 800 13px/1 Inter, system-ui, sans-serif; font-style: normal; }
.hp-head b { display: block; font-size: 13px; line-height: 1.3; color: #eef1fb; }
.hp-head small { display: block; font-size: 11px; line-height: 1.3; color: #5be0ca; }
.hp-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 12px; }
.hp-m { max-width: 84%; padding: 8px 11px; border-radius: 12px; font-size: 12px; line-height: 1.4; color: #eef1fb; animation: hp-in .5s ease both; }
.hp-m.in { background: #1b2350; border-top-left-radius: 3px; }
.hp-m.out { margin-left: auto; background: linear-gradient(135deg, #5a45d6, #7c5cf2); border-top-right-radius: 3px; }
.hp-m time { display: block; margin-top: 2px; font-size: 9.5px; text-align: right; opacity: .6; }
.hp-m:nth-child(1) { animation-delay: .15s; } .hp-m:nth-child(2) { animation-delay: .9s; } .hp-m:nth-child(3) { animation-delay: 1.7s; } .hp-m:nth-child(4) { animation-delay: 2.5s; }
.hp-typing { display: flex; align-self: flex-start; gap: 4px; padding: 9px 12px; border-radius: 12px; background: #1b2350; animation: hp-in .5s ease 3.2s both; }
.hp-typing i { width: 5px; height: 5px; border-radius: 50%; background: #7f8bb8; animation: hp-dot 1.2s ease-in-out infinite; }
.hp-typing i:nth-child(2) { animation-delay: .15s; } .hp-typing i:nth-child(3) { animation-delay: .3s; }
.hp-foot { display: flex; align-items: center; gap: 8px; padding: 8px 12px 13px; background: #0d1330; }
.hp-foot span { flex: 1; padding: 8px 13px; border-radius: 99px; background: #161d44; font-size: 11px; color: #6f7ba3; }
.hp-foot i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #5be0ca; color: #06101a; font-size: 13px; font-style: normal; }
.hp-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 15px 11px 11px; border: 1px solid rgba(150, 160, 215, .3); border-radius: 14px; background: rgba(16, 23, 47, .92); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); backdrop-filter: blur(8px); font-size: 12.5px; font-weight: 600; line-height: 1.3; color: #eef1fb; animation: hp-pop .6s ease both; }
.hp-chip i { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; background: rgba(91, 224, 202, .14); color: #5be0ca; font-size: 15px; font-style: normal; }
.hp-chip.v i { background: rgba(124, 92, 242, .22); color: #a690ff; }
.hp-chip small { display: block; font-size: 11px; font-weight: 400; color: #8e9bc4; }
.hp-chip.a { left: -26px; top: 96px; animation-delay: 1.3s; }
.hp-chip.b { right: -26px; top: 244px; animation-delay: 2.2s; }
.hp-chip.c { left: -10px; bottom: 74px; animation-delay: 3s; }
.hp-note { margin: 10px 0 0; text-align: center; font-size: .75rem; color: #91a8b6; }
@keyframes hp-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes hp-pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }
@keyframes hp-dot { 0%, 60%, 100% { opacity: .4; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

@media (max-width: 1020px) {
  .neural-hero .hp-wrap { order: 20; }
  .hp-stage { min-height: 470px; }
  .hp-phone { width: 252px; height: 500px; }
  .hp-chip.a { left: -12px; } .hp-chip.b { right: -12px; } .hp-chip.c { left: 0; }
}
/* Celular: versión compacta. El celular se recorta abajo para que la primera pantalla no se alargue. */
@media (max-width: 700px) {
  .hp-wrap { max-width: 360px; margin-top: 6px; }
  .hp-stage { min-height: 0; height: 330px; align-items: flex-start; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
  .hp-aura { width: 300px; height: 300px; margin: -150px 0 0 -150px; top: 44%; }
  .hp-phone { width: 232px; height: 420px; margin-top: 4px; border-radius: 36px; padding: 8px; }
  .hp-scr { border-radius: 28px; }
  .hp-notch { top: 14px; width: 70px; height: 18px; margin-left: -35px; }
  .hp-head { padding: 32px 12px 9px; }
  .hp-body { gap: 6px; padding: 10px; }
  .hp-m { font-size: 11px; padding: 7px 10px; }
  .hp-chip.a, .hp-chip.b, .hp-chip.c { display: none; } /* en celular la tarjeta tapaba los mensajes del chat */
  .hp-chip.a { left: 50%; top: 236px; transform: translateX(-50%); animation: none; padding: 8px 12px 8px 8px; font-size: 11.5px; white-space: nowrap; }
  .hp-chip.a small { display: none; }
  .hp-chip.a i { width: 26px; height: 26px; font-size: 13px; }
  .hp-note { margin-top: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .hp-m, .hp-typing, .hp-chip, .hp-typing i { animation: none; }
}
