/* === Fondo siempre detrás === */
.landing-bg, .hero-bg, #hero-bg, .bg-overlay, .page-background {
  position: fixed;
  inset: 0;
  z-index: 0 !important;
  pointer-events: none;
}
/* Contenido por encima */
#app, .main-wrapper, #content, .container, .page-wrapper {
  position: relative;
  z-index: 2;
}
/* Evitar stacking context que rompa z-index */
*[style*="transform"], .has-transform, .parallax {
  transform: none !important;
  will-change: auto !important;
}

/* === Hero Widgets estilo "TIME" === */
.hero-stage {
  position: relative;
  z-index: 3;
}
.hero-widgets {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-top: clamp(40px, 8vw, 120px);
}
.hero-widgets .row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}
.hero-card {
  background: #3b2f20;
  border-radius: 18px;
  border: 1px solid rgba(255, 221, 162, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(0, 0, 0, 0.35);
  color: #e8e0cf;
  padding: 18px;
  min-width: 280px;
  max-width: 360px;
}
.hero-card .title {
  font-family: "Cinzel", serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(16px, 2.2vw, 22px);
  color: #e9d6a5;
  text-shadow: 0 1px 0 #000;
}
.hero-card .subtitle {
  font-family: "Cinzel", serif;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 28px);
  color: #d6c177;
  margin: 0.35rem 0 0.6rem;
  text-transform: uppercase;
}
.hero-card .meta {
  font-size: 14px;
  opacity: 0.9;
  margin: 0.3rem 0;
}
.hero-card .bar {
  height: 10px;
  border-radius: 10px;
  background: #1f1a14;
  overflow: hidden;
  margin-top: 8px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
}
.hero-card .bar > span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #6ebf3b, #a6db57);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  padding: 10px 20px;
  margin-top: clamp(8px, 1.5vw, 14px);
  background: #4a3a28;
  color: #f1e7cf;
  border: 1px solid rgba(255, 221, 162, 0.22);
  border-radius: 12px;
  font-family: "Cinzel", serif;
  font-weight: 700;
  letter-spacing: 0.4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.hero-badge .k {
  opacity: 0.85;
  margin-right: 10px;
}
.hero-badge .v {
  font-size: clamp(22px, 3.6vw, 36px);
  line-height: 1;
}

.hero-card.no-effects,
.hero-badge.no-effects {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.hero-widgets .logo-anchor {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  text-align: center;
  flex-direction: column;
  gap: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-widgets .row {
    grid-template-columns: 1fr;
  }
  .hero-widgets .logo-anchor {
    order: -1;
    margin-bottom: 10px;
  }
  .hero-card {
    max-width: 100%;
  }
  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
}
