.services-icons {
  display: flex;
  flex-direction:row;
  align-items: center;    
  justify-content: space-around;
  text-align: center;
  padding: 40px;
  background-color: var(--background-3);   
}

.services-icons__icon {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  margin: 15px;
  padding: 10px;
  border-radius: 10px;
  width: 200px;
  height: 200px;

  background-color: var(--background-4);
  box-shadow: var(--sombra-1);

  font-family: var(--josefin-sans);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;   
}

.services-icons__icon:hover {
  background-color: var(--background-2);
  color: var(--fuente-ceniza-claro);
  cursor: pointer;
  transition: all .7s;
}

.services-icons__icon > img{   
  margin: 10px;
  width: 30%;
  height: 30%;
  object-fit: contain;    
}

/* Para móviles y tablets - 2 filas de 2 elementos */
@media (max-width: 768px) {
  .services-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 10px;
  }
  
  .services-icons__icon {
    padding: 10px;
    width: 70%;
    height: 30%;
  }
  
  .services-icons__icon img {
    width: 50px;
    height: 50px;
  }
  
  .services-icons__icon h6 {
    font-size: 12px;
  }
}
  
/* Para móviles muy pequeños */
@media (max-width: 480px) {
  .services-icons {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    height: 100%;
  }
  
  .services-icons__icon img {
    width: 40px;
    height: 40px;
  }
  
  .services-icons__icon h6 {
    font-size: 12px;
  }
}
