/* articulo */
.articulo {
  display: flex;
  gap: 40px;
  padding: 60px 10%;
  align-items: center;
}

.articulo div {
  width: 50%;
  margin-left: 1%;
}

.articulo div h2 {
  height: fit-content;
} 

.articulo div p {
  width: 80%;
  margin-top: 8%;
  margin-left: 8%;
}

.articulo img {
  width: 50%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


/*--------------------------------------------------------------------*/




/* Slider */

.slider {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.texto-slide {
  position: absolute;
  bottom: 40px;
  left: 50px;
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: 10px;
}

.texto-slide button:hover {
  background-color: #030f27;
}

.controles-slider {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 5;
}

.controles-slider button {
  padding: 10px 14px;
  font-size: 20px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(0,0,0,0.5);
  color: white;
  transition: 0.3s;
}

.controles-slider button:hover {
  background: rgba(0,0,0,0.8);
}


/*--------------------------------------------------------------------*/




/* Estadisticas */

#estadisticas {
  display: flex;
  justify-content: space-around;
  padding: 60px 10%;
  background-color: #030f27;
  color: white;
  text-align: center;
}

.contador h2 {
  font-size: 48px;
  margin: 0;
}

.contador p {
  margin-top: 10px;
  font-size: 18px;
}

/*--------------------------------------------------------------------*/






/* Despliegue */

.despliegue {
  border: #d42233 2px solid;
  margin-top: 100px;
  background-color: #424B5D;
  color: #ffffff;
}

.despliegue1 {
  margin-top: 50px;
  height: 50%;
  display: flex;
  background-color: #ab5563;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: #ffffff 2px solid;
}

.despliegue1 div {
  width: 50%;
}

.despliegue1 div:nth-child(1) {
  margin-left: 30px;
  font-size: larger;
}

.despliegue1 div:nth-child(2) {
  margin-right: 30px;
  align-self: center;
}

.despliegue2 {
  margin-top: 40px;
  height: 25%;
  display: flex;
  justify-content: space-between;
}

.despliegue2 h2 {
  font-size: medium;
}

.despliegue2 p {
  font-size: small;
}

.despliegue2 > div{
  display: flex;
  align-items: center;
  width: 33%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: none;
  border-radius: 15px;
  background-color: #ab5563;
}

.despliegue2 > div > i {
  margin-left: 1%;
}

.despliegue > div i {
  font-size: xx-large;
}



/*--------------------------------------------------------------------*/




/* Seccion baja */

.testimonios {
  padding: 50px;
  text-align: center;
}

.comentario {
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin: 30px auto;
}


.mapa {
  padding: 60px 10%;
  text-align: center;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.mapa h2 {
  margin-bottom: 30px;
  font-size: 28px;
}

.contenedor-mapa {
  border: 3px solid #ab5563;
  border-radius: 10px;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}


/*--------------------------------------------------------------------*/


/* boton whatsapp */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 30px;
    background-color: #33AC00;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }

  .whatsapp-float img {
    width: 35px;
    margin-top: 12px;
  }

/*--------------------------------------------------------------------*/




