/* =============================================
   WHOPPER DOG — ONE-PAGER
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red:   #CC0000;
  --white: #FFFFFF;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--red);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* =============================================
   UTILITY
   ============================================= */

img {
  display: block;
  width: 100%;
  height: auto;
}

/* =============================================
   HERO
   ============================================= */

.hero {
  width: 100%;
  background-color: var(--red);
  position: relative;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* =============================================
   SECTION — generic
   ============================================= */

.section {
  width: 100%;
  max-width: 100%;
  background-color: var(--red);
}

/* Section label (PNG with cream text on transparent bg) */
.section__label {
  padding: 56px 5% 32px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.section__label img {
  width: auto;
  max-width: min(90%, 720px);
  height: auto;
  display: block;
}

/* Imagen del board: ancho completo del contenedor, sin recorte lateral en móvil */
.section__board {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.section__board img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
  object-fit: contain;
  object-position: top center;
}

/* =============================================
   VIDEO SECTION — full-width stacked frames
   ============================================= */

.section--video {
  /* Usar 100% del padre, no 100vw: en iOS 100vw + margin negativo suele
     ampliar el ancho del documento y, con overflow-x: hidden en body,
     las imágenes siguientes se recortan a los lados. */
  width: 100%;
  margin-left: 0;
  background-color: var(--red);
  padding: 0;
}

.video-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
}

.video-frame {
  width: 100%;
  flex: 0 0 auto;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border: 0;
  margin: 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 0;
}

/* Miniatura de Vimeo (oEmbed) hasta que el usuario pulse play */
.video-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: #111;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.video-poster.is-hidden {
  opacity: 0;
  visibility: hidden;
}

/* Capa encima del reproductor: solo play hasta el primer clic */
.video-play-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.45);
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.video-play-layer:hover .video-play-layer__icon {
  transform: scale(1.06);
}

.video-play-layer:focus {
  outline: none;
}

.video-play-layer:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: -6px;
}

.video-play-layer__icon {
  width: clamp(72px, 14vw, 110px);
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
  transition: transform 0.2s ease;
}

.video-play-layer.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

