.bep-hero {
  position: relative;
  height: 200vh;
  background: #000000;
}

.bep-hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.bep-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* .bep-hero-video removed from this shared selector along with the <video>
   element itself (see hero.php) — kept as a comment below in case the
   crossfade approach is ever revived, but .bep-hero-canvas no longer has a
   video layer to fade against. */
/* .bep-hero-video, */
.bep-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.7s ease;
}

/* .bep-hero-video {
  opacity: 1;
}

.bep-hero-video.is-hidden {
  opacity: 0;
  visibility: hidden;
} */

.bep-hero-canvas {
  opacity: 0;
  visibility: hidden;
}

.bep-hero-canvas.is-ready {
  opacity: 1;
  visibility: visible;
}

.bep-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(56, 117, 166, 0.3);
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* Content block (bottom-left): eyebrow + title + subtitle + CTAs. */
.bep-hero-content {
  position: absolute;
  bottom: 65px;
  left: 65px;
  max-width: 700px;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
  pointer-events: none;
}

.bep-hero-content-eyebrow {
  font-family: var(--bep-font-tt-chocolates);
  font-weight: 600;
  font-style: normal;
  font-size: clamp(1.035rem, 1.725vw, 1.38rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bep-color-footer-texto);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Deliberately NOT var(--bep-font-section-title-size) (2.5rem), unlike
   every other section's title — checked during the 7-section audit
   cleanup and left as an intentional exception: .bep-hero-content caps out
   at max-width:640px, and the manual <br> in hero.php splits the title
   into 2 specific lines ("LA DERMOCIENCIA COREANA" / "QUE TU PIEL ESTABA
   ESPERANDO") that already use nearly the full width at this size. Bumping
   to 2.5rem risks the longer line overflowing onto an unwanted 3rd line;
   confirmed with the user this exception stays as-is rather than testing
   that risk live. */
.bep-hero-content-title {
  margin-top: 12px;
  font-family: var(--bep-font-tt-chocolates);
  font-weight: 500;
  font-style: normal;
  font-size: 2.9326rem;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--bep-color-footer-texto);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.bep-hero-content-subtitle {
  margin-top: 16px;
  font-family: var(--bep-font-tt-chocolates);
  font-weight: 600;
  font-style: normal;
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  line-height: 1.4;
  color: var(--bep-color-footer-texto);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Without this, <strong> falls back to the browser's UA default
   font-weight: bold (700) — a weight TT Chocolates has no real registered
   face for (only 400/500/600 exist in global.css), so the browser
   synthesizes a fake bold on top of it. Pinning it to 600 (the same weight
   the subtitle itself already uses) avoids that synthetic rendering. */
.bep-hero-content-subtitle strong {
  font-weight: 600;
}

.bep-hero-content-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  pointer-events: auto;
}

.bep-hero-btn {
  display: inline-block;
  padding: 20px 20px;
  border-radius: 0;
  border: 1px solid var(--bep-color-footer-texto);
  font-family: var(--bep-font-tt-chocolates);
  font-weight: 600;
  font-style: normal;
  font-size: clamp(0.825rem, 1.44vw, 1.5rem);
  text-align: center;
  white-space: nowrap;
}

.bep-hero-btn-solid {
  background: #FFFFFF;
  color: #5e7a85;
  border-radius: 15px;
}

@media (max-width: 1024px) {

  .bep-hero-content {
    left: 20px;
    bottom: 40px;
    max-width: calc(100% - 40px);
  }
}

@media (max-width: 768px) {

  .bep-hero-content {
    left: 16px;
    bottom: 32px;
    max-width: calc(100% - 32px);
  }

  .bep-hero-content-eyebrow {
    font-size: clamp(0.75rem, 1.25vw, 1rem);
  }

  .bep-hero-content-title {
    font-size: clamp(1.375rem, 6vw, 1.875rem);
  }

  .bep-hero-btn {
    font-size: 1rem;
    padding: 18px 18px;
  }
}

/* Soporte para el efecto de pin/transición Hero → Presentación
   (js/modules/scroll-transitions.js, initSectionPin en main.js). z-index
   explícito para que .bep-presentacion (ver su propio z-index en
   presentacion.css) quede garantizado por encima de .bep-hero mientras
   GSAP lo pinea. */
.bep-hero {
  z-index: 1;
}