/* -------------------------
   Hero (HOME)
-------------------------- */

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero__text {
  max-width: 560px;
}

/* Scroll cue (los dos estilos que probaste) */
.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
}

.hero__scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 6px;
  background: white;
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDown 1.5s infinite;
}

@keyframes scrollDown {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  30% {
    opacity: 1;
  }
  60% {
    opacity: 1;
    transform: translate(-50%, 10px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 16px);
  }
}

/* Alternativa scrollCue */
.scrollCue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: 44px;
  height: 64px;
  display: grid;
  place-items: center;
  z-index: 2;
  opacity: 0.95;
}

.scrollCueSvg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
  animation: scrollBounce 1.6s var(--ease) infinite;
}

@keyframes scrollBounce {
  0% {
    transform: translateY(0);
    opacity: 0.65;
  }
  30% {
    opacity: 1;
  }
  60% {
    transform: translateY(6px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0.65;
  }
}

.scrollCueIcon {
  position: relative;
  width: 2px;
  height: 48px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 99px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.scrollCueIcon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  width: 6px;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  animation: scrollDot 1.6s var(--ease) infinite;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

@keyframes scrollDot {
  0% {
    transform: translate(-50%, 0);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  60% {
    transform: translate(-50%, 18px);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 26px);
    opacity: 0;
  }
}

/* -------------------------
   Image section SECOND HERO
-------------------------- */
.imageSection {
  position: relative;
  width: 100%;
  min-height: 70vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.imageBg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}
.imageBg--entre {
  background-image: url("/assets/img/second-hero.webp");
}
.imageOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
  z-index: 1;
}

.imageCopy {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 48px;
  text-align: center;
  color: #fff;

  font-family: Raleway, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
}
/* -------------------------
   Responsive (HOME)
-------------------------- */
@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
  }
  .hero__content {
    padding: 24px;
  }

  .imageCopy {
    padding: 24px;
    max-width: 90%;
  }

  .subFooterImages {
    flex-direction: column;
    gap: 48px;
  }

  .subFooterLogo {
    height: auto; /* evita forzar altura */
    width: clamp(160px, 22vw, 210px); /* tamaño consistente */
    max-width: 210px; /* límite duro */
    opacity: 0.85;
    display: block;
  }

  .subFooterIllustration {
    height: 95px;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 640px;
  }
  .imageSection {
    min-height: 560px;
  }
  .imageCopy {
    font-size: 15px;
  }
  .creamSection {
    padding: 56px 0 70px;
  }
}
/* FIX: el contenido del hero no debe tapar el header en mobile */
@media (max-width: 900px) {
  .hero__content {
    z-index: 0;
  }
}
/* =========================
   NAV Mobile — underline negro (sin depender de active)
========================= */
@media (max-width: 768px) {
  /* cuando el menú está abierto */
  .navLinks.isOpen a {
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
    text-decoration: none !important;
  }

  /* ✅ Recolorear CUALQUIER pseudo underline que uses */
  .navLinks.isOpen a::after,
  .navLinks.isOpen a::before {
    background-color: #111 !important;
    border-color: #111 !important;
    color: #111 !important;
  }

  /* ✅ Si el underline es por border-bottom */
  .navLinks.isOpen a {
    border-bottom-color: #111 !important;
  }

  /* ✅ Si el underline es un elemento real adentro (span/div) */
  .navLinks.isOpen a span,
  .navLinks.isOpen a i,
  .navLinks.isOpen a em,
  .navLinks.isOpen a strong {
    color: #111 !important;
  }
}
