.bienvenida {
  min-height: 100dvh;
  width: 100%;
  background-image: url("/assets/images/image-bienvenido.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
}

.capa-superior {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to right,
    rgba(0, 24, 69, 0.9),
    rgba(0, 24, 69, 0.7)
  );
  z-index: 1;
}

.contenedor-bienvenida {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 40px;
}

.titulo-bienvenida {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.boton-bienvenida {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.boton-bienvenida:hover {
  background: white;
  color: rgb(0, 24, 69);
}

@media (max-width: 768px) {
  .contenedor-bienvenida {
    padding: 80px 20px;
  }

  .titulo-bienvenida {
    font-size: 48px;
  }
}

/* Boton stats */
.button-3d-container1 {
  display: flex;
  margin-top: 50px;
}

.btn-3d1 {
  position: relative;
  width: 180px;
  height: 50px;
  transition: 1s;
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(0deg);
}

.btn-3d1:hover {
  transform: perspective(1000px) rotateX(360deg);
}

.btn-3d1 span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  background: white;
  font-family: var(--font-primary);
  font-size: 16px;
  letter-spacing: 1px;
  transition: 0.5s;
  border: 2px solid white;
  box-sizing: border-box;
  box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-3d1:hover span {
  color: var(--color-white);
  background: rgb(0, 24, 69);
}

.btn-3d1 span:nth-child(1) {
  transform: rotateX(360deg) translateZ(25px);
}
.btn-3d1 span:nth-child(2) {
  transform: rotateX(270deg) translateZ(25px);
}
.btn-3d1 span:nth-child(3) {
  transform: rotateX(180deg) translateZ(25px);
}
.btn-3d1 span:nth-child(4) {
  transform: rotateX(90deg) translateZ(25px);
}

@media (max-width: 1024px) {
  .contenedor-bienvenida {
    padding: 100px 30px;
  }

  .titulo-bienvenida {
    font-size: 52px;
    text-align: center;
  }

  .button-3d-container1 {
    justify-content: center;
    margin-bottom: 150px ;
  }
}

@media (max-width: 768px) {
  .contenedor-bienvenida {
    padding: 80px 20px;
  }

  .titulo-bienvenida {
    font-size: 40px;
    line-height: 1.3;
    text-align: center;
  }

  .button-3d-container1 {
    margin-top: 40px;
    justify-content: center;
  }

  .btn-3d1 {
    width: 160px;
    height: 45px;
  }

  .btn-3d1 span {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .titulo-bienvenida {
    font-size: 32px;
  }

  .btn-3d1 {
    width: 140px;
    height: 42px;
  }

  .btn-3d1 span {
    font-size: 13px;
    padding: 0 10px;
    text-align: center;
  }
}

@media (max-width: 1366px) {
  .contenedor-bienvenida {
    padding: 80px 30px;
  }

  .titulo-bienvenida {
    font-size: 56px;
    text-align: center;
  }

  .button-3d-container1 {
    justify-content: center;
    margin-top: 30px;
  }
}