/* Layout base para el hero */
:root {
  --overlay: rgba(19, 46, 76, 0.55); /* tu azul JOGA con 55% */
}

html, body, .hero-wrapper {
  height: 100%;
}

body {
  background: #000;
}

.hero-wrapper {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
}

/* Video de fondo */
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
  z-index: 1;
}

/* Overlay de color */
.overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  z-index: 2;
}

/* Capa de contenido */
.hero {
  position: relative;
  z-index: 3;
  min-height: 100dvh;
  padding-inline: 1rem;
}

/* Footer fijo al fondo pero sobre el video */
.footer-area {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 3;
}

/* Social: animación popup */
.social-link {
  position: relative;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  transition: transform 160ms ease, background 160ms ease;
  text-decoration: none;
}
.social-link i {
  font-size: 1.4rem;
  color: #fff;
}
.social-link::after {
  content: attr(data-tip);
  position: absolute;
  bottom: 3.6rem;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: #000;
  color: #fff;
  padding: .25rem .5rem;
  border-radius: .375rem;
  font-size: .75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: nowrap;
}
.social-link:hover {
  transform: translateY(-2px) scale(1.06);
  background: rgba(255, 255, 255, 0.18);
}
.social-link:hover::after,
.social-link.hovered::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* Navbar brand visible sobre overlay */
.navbar .navbar-brand,
.navbar .nav-link,
.navbar .navbar-toggler {
  color: #fff;
}
.navbar .navbar-toggler {
  border-color: rgba(255,255,255,.25);
}
/* añade (o ajusta) estas variables si no están ya */
:root{
  --footer-collapsed-h: 56px;  /* debe coincidir con Footer.astro */
}

/* deja espacio para el asa del footer cuando está colapsado */
.hero-wrapper { padding-bottom: var(--footer-collapsed-h); }
