* {
  box-sizing: border-box;
}

body {
  background-image: url('background_horizontal.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  font-family: Arial, sans-serif;
  text-align: center;
  color: white;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: hidden; /* ojo: desactiva scroll vertical */
  height: 99vh;
  padding-top: 5vh;
}

/* Centrado real del contenido principal */
main {
  display: grid;
  place-items: center;
}

#brandLogo {
  width: 15vw;
}

#videoCanvas {
  aspect-ratio: 16 / 9;
  height: 55vh;
  max-height: 55vh;
  width: 35vw;
  display: flex;
  border: 2px solid rgb(213, 255, 72);
  border-radius: 2%;
}

.video-wrapper {
  display: grid;
  place-items: center;
}

/* Botonera */
.botones {
  margin-top: 5vh;
  position: relative;
  width: 100%;
  display: inline-flex;
  justify-content: center;
  gap: 8vw;
  flex-wrap: wrap;
  padding-bottom: 3vh;
  z-index: 10;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

.botones button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.botones img {
  display: block;
  transition: transform 0.2s ease-in-out;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

/* Alturas unificadas por botón */
#boton1 img,
#boton2 img,
#boton3 img {
  height: 14vh;
}

/* Efectos */
.botones img:hover {
  transform: scale(1.2);
}
#boton1 img:active, #boton3 img:active {
  transform: scale(0.9);
  filter:  drop-shadow(0px -1px 10px gold);
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

#boton2 img:active {
  transform: rotate(25deg);
  filter:  drop-shadow(0px 0px 10px gold);
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

 .whatsapp-float {
    position: fixed;
    right: 20px;
    top: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;       /* Verde WhatsApp */
    border-radius: 50%;
    box-shadow: 0 6px 15px rgba(0,0,0,.3);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
    z-index: 1000;
  }
  .whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,.35);
  }
  .wa-icon {
    width: 35px;
    height: 35px;
  }

/* ====== Breakpoint 1400px ====== */
@media only screen and (max-width: 1400px) {
  #videoCanvas {
    height: 65vh;
    max-height: 65vh;
    width: 65vw;
  }
  #brandLogo {
    width: 18vw;
  }
  /* Altura móvil */
  #boton1 img,
  #boton2 img,
  #boton3 img {
  height: 11vh;
  }


}

/* ====== Breakpoint 600px ====== */
@media only screen and (max-width: 600px) {
  body {
    background-image: url('background_inicio.png');
    text-align: center;
    margin-top: 10%;
    padding-top: 2vh;
  }

  #brandLogo {
    width: 45vw;
  }

  h1 {
    display: block;
  }

  #videoCanvas {
    height: 38vh;
    width: 100vw;
  }

  .botones {
    gap: 13vw;
    justify-content: center;
  }

  /* Quita repeticiones: mantener imágenes y botones no seleccionables/tocables */
  .botones button,
  #boton1 img,
  #boton2 img,
  #boton3 img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none; /* Safari */
  }

  /* Altura móvil */
  #boton1 img,
  #boton2 img,
  #boton3 img {
    height: 11vh;
  }
}
