/* ============================================
   TEASER — Header y footer propios (versión reducida
   del header/footer del site, sin nav ni CTA).
   ============================================ */

.teaser-header {
  width: 100%;
  background-color: var(--color-bg-header);
  border-bottom: var(--header-border-width) solid var(--color-border-header);
}

.teaser-header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 20px;
}

.teaser-header__logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.teaser-footer {
  border-top: var(--header-border-width) solid var(--color-border-header);
  background-color: #fff;
}

.teaser-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-block: 32px;
}

.teaser-footer__logo-img {
  height: 26px;
  width: auto;
}

.teaser-footer__copy {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-muted);
}

.teaser-footer__copy strong {
  color: var(--color-text-dark);
}

/* El bloque "problema" hace de hero único del teaser: le damos el
   padding-top de un hero normal para separarlo del header. */
.teaser-main .problema {
  padding-block: 72px;
}

.teaser-main .problema__eyebrow--top {
  margin-bottom: 8px;
}

.teaser-title {
  text-align: center;
}

.teaser-main .problema__eyebrow--top {
  margin-inline: auto;
}

.teaser-main .problema__subheading {
  margin-inline: auto;
}

.teaser-main .jackpot__caption {
  font-size: clamp(13px, 1.5vw, 15px);
}

.teaser-main .problema__heading--teaser {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--color-text-dark);
  margin-bottom: 18px;
}

.teaser-main .problema__heading--teaser .hero__heading--highlight {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-brand-orange);
}

.teaser-main .problema__heading--teaser .hero__heading--bold {
  font-family: var(--font-heading);
  font-weight: 700;
}

.teaser-subheading {
  text-align: center;
  padding-bottom: 40px;
}

.teaser-main .problema__subheading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5.6vw, 90px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--color-text-dark);
  max-width: 1100px;
  margin-inline: auto;
}

/* ============================================
   HERO con vídeo en bucle
   ============================================ */

.hero-video {
  position: relative;
  overflow: hidden;
  min-height: min(560px, 85svh);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Capa clara por encima del vídeo para que el texto oscuro de marca
   mantenga el mismo contraste AA que sobre el fondo sólido (#FFF1EC)
   del resto del teaser. */
.hero-video__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 241, 236, 0.78);
}

.hero-video__content {
  position: relative;
  z-index: 1;
  padding-block: 56px;
}

.hero-video__play {
  margin-top: 8px;
}

.hero-video__play-icon {
  display: inline-flex;
  margin-right: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--button-padding-y) var(--button-padding-x);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-button);
  letter-spacing: var(--ls-button);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.btn--dark {
  background-color: var(--color-text-dark);
  color: #fff;
}

.btn--dark:hover,
.btn--dark:focus-visible {
  background-color: var(--color-dark);
}

/* ============================================
   MODAL — vídeo completo
   ============================================ */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal[hidden] {
  display: none;
}

.video-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(20, 27, 52, 0.6);
  backdrop-filter: blur(2px);
}

.video-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
}

/* Contenedor 16:9 para el iframe de YouTube (ver video-modal.js) */
.video-modal__frame-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #000;
}

.video-modal__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal__close span {
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
}

.video-modal__close span:first-child {
  transform: rotate(45deg);
}

.video-modal__close span:last-child {
  transform: rotate(-45deg);
}

body.video-modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .hero-video {
    min-height: min(480px, 75svh);
  }
}
