/* Hero con video (póster fijo hasta tener el enlace de YouTube) */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: var(--blanco);
  background: radial-gradient(120% 90% at 85% 10%, var(--noche-3) 0%, var(--noche) 45%, var(--noche-2) 100%);
  padding: 132px 0 0;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.glow--1 { width: 560px; height: 560px; right: -120px; top: 40px; background: radial-gradient(circle, rgba(239, 82, 15, 0.7), transparent 65%); animation: flota 14s ease-in-out infinite alternate; }
.glow--2 { width: 420px; height: 420px; left: -160px; bottom: -80px; background: radial-gradient(circle, rgba(223, 44, 5, 0.45), transparent 65%); animation: flota 18s ease-in-out infinite alternate-reverse; }
.rejilla {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 70% at 60% 40%, #000 20%, transparent 75%);
}
@keyframes flota { to { transform: translate3d(-40px, 30px, 0) scale(1.08); } }

.hero__in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }

.tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid var(--linea-osc);
  font: 600 0.85rem/1 var(--f-display); color: rgba(255, 255, 255, 0.85);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--naranja-claro); box-shadow: 0 0 0 0 rgba(255, 138, 76, 0.7); animation: pulso 2.2s infinite; }
@keyframes pulso { 70% { box-shadow: 0 0 0 10px rgba(255, 138, 76, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 138, 76, 0); } }

.hero h1 { margin: 22px 0 20px; font-size: clamp(2.7rem, 1.2rem + 4.6vw, 4.3rem); line-height: 1; font-weight: 800; letter-spacing: -0.035em; word-spacing: 0.04em; }
.hero h1 .grad { display: inline-block; padding-bottom: 0.08em; }
.lead { font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.22rem); color: rgba(255, 255, 255, 0.74); max-width: 44ch; }
.lead b { color: var(--blanco); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__prueba {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; padding: 10px 18px 10px 10px;
  border-radius: 18px; text-decoration: none; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--linea-osc);
  font-size: 0.92rem; color: rgba(255, 255, 255, 0.72); transition: background 0.2s, transform 0.4s var(--ease);
}
.hero__prueba:hover { background: rgba(255, 255, 255, 0.09); transform: translateX(4px); }
.hero__prueba b { color: var(--blanco); font-weight: 600; }
.hero__prueba-n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: var(--grad); font: 800 1.15rem/1 var(--f-display); color: var(--blanco); flex: none; }
.hero__prueba em { font-style: normal; color: var(--naranja-claro); }

/* Pantalla con el video */
.hero__stage { position: relative; padding: 24px 0 56px; }
.pantalla {
  position: relative; border-radius: 22px; padding: 8px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 120px -30px rgba(239, 82, 15, 0.55);
  transform: perspective(1600px) rotateY(-7deg) rotateX(2deg);
  transition: transform 0.9s var(--ease);
}
.hero__stage:hover .pantalla { transform: perspective(1600px) rotateY(-2deg) rotateX(0); }
.pantalla__barra { display: flex; align-items: center; gap: 6px; padding: 6px 10px 10px; font: 500 0.75rem/1 var(--f-display); color: rgba(255, 255, 255, 0.55); }
.pantalla__barra i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.pantalla__barra i:first-child { background: #ff5f57; }
.pantalla__barra span { margin-left: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pantalla__video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--noche-2); }
.pantalla__video img { width: 100%; height: 100%; object-fit: cover; }
.pantalla__video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(9, 13, 29, 0.75)); pointer-events: none; }
.pantalla__play {
  position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 18px 8px 8px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; cursor: pointer;
  background: rgba(9, 13, 29, 0.62); backdrop-filter: blur(12px); color: var(--blanco);
  font: 700 0.95rem/1.15 var(--f-display); text-align: left; transition: transform 0.4s var(--ease), background 0.2s;
}
.pantalla__play small { display: block; font: 500 0.75rem var(--f-texto); color: rgba(255, 255, 255, 0.65); }
.pantalla__play:hover { transform: scale(1.04); background: rgba(9, 13, 29, 0.8); }
.pantalla__play-ic { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); }
.pantalla__play-ic::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255, 138, 76, 0.6); animation: onda 2s var(--ease) infinite; }
.pantalla__play-ic svg { width: 18px; height: 18px; fill: var(--blanco); margin-left: 2px; }
@keyframes onda { from { transform: scale(0.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }

/* Avisos flotantes: lo que pasa en el local mientras tanto */
.avisos { list-style: none; margin: 0; padding: 0; }
.aviso {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.96); color: var(--tinta); box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.55);
  font-size: 0.82rem; line-height: 1.25; white-space: nowrap;
  opacity: 0; transform: translateY(14px) scale(0.96); animation: aviso 9s var(--ease) infinite;
}
.aviso small { display: block; color: var(--tinta-2); font-size: 0.72rem; }
.aviso b { font: 700 0.9rem var(--f-display); }
.aviso__ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; font: 800 0.85rem var(--f-display); flex: none; }
.aviso__ic--coc { background: #fff1e8; }
.aviso__ic--yape { background: #742284; color: var(--blanco); }
.aviso__ic--ok { background: #e3f8ec; color: #128a45; font-size: 1.1rem; }
.aviso--1 { top: 0; right: 6%; animation-delay: 0s; }
.aviso--2 { bottom: 18px; right: -2%; animation-delay: 3s; }
.aviso--3 { top: 0; left: 4%; animation-delay: 6s; }
@keyframes aviso {
  0% { opacity: 0; transform: translateY(14px) scale(0.96); }
  6%, 30% { opacity: 1; transform: translateY(0) scale(1); }
  38%, 100% { opacity: 0; transform: translateY(-10px) scale(0.98); }
}

/* Cinta de funciones */
.cinta { margin-top: 36px; border-top: 1px solid var(--linea-osc); padding: 18px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.cinta__pista { display: flex; width: max-content; gap: 44px; animation: cinta 38s linear infinite; }
.cinta__pista span { display: inline-flex; align-items: center; gap: 44px; font: 700 0.95rem var(--f-display); color: rgba(255, 255, 255, 0.5); letter-spacing: 0.02em; }
.cinta__pista span::after { content: "✦"; color: var(--naranja); font-size: 0.7rem; }
@keyframes cinta { to { transform: translateX(-50%); } }

@media (max-width: 980px) {
  .hero { padding-top: 104px; }
  .hero__in { grid-template-columns: 1fr; }
  .pantalla { transform: none; }
  .hero__stage:hover .pantalla { transform: none; }
}
@media (max-width: 560px) {
  .hero h1 { margin-top: 18px; }
  .hero__cta .btn { width: 100%; }
  .hero__prueba { margin-top: 26px; }
  .hero__stage { padding: 12px 0 64px; }
  .pantalla { padding: 6px; border-radius: 18px; }
  .pantalla__barra span { font-size: 0.68rem; }
  .pantalla__play { left: 10px; bottom: 10px; gap: 8px; padding: 5px 12px 5px 5px; font-size: 0.8rem; }
  .pantalla__play small { display: none; }
  .pantalla__play-ic { width: 36px; height: 36px; }
  .aviso--1 { display: none; }
  .aviso--2 { right: 0; bottom: 4px; }
  .aviso--3 { left: 0; top: auto; bottom: 4px; }
}
