#quehacemos {
  background-color: #e5e8f1;
  padding: 50px 0 60px;
}

#quehacemos h2 {
  /* font-size: 50px; */
  font-size: 40px;
  font-weight: 400;
  color: var(--azul-1);
  margin-bottom: 40px;
}

#quehacemos h3 {
  /* font-size: 25px; */
  font-size: 20px;
  font-weight: 400;
  color: white;
  margin-top: 17px;
  line-height: 1.25;
}

#quehacemos .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

#quehacemos .card {
  width: 100%;
  background-color: var(--azul-1);
  border-radius: 12px;
  text-align: left;
  padding: 24px 20px 33px 28px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 346px;
  box-sizing: border-box;
  transition: ease 0.3s background-color, ease 0.3s box-shadow;
  
}

#quehacemos .card:hover {
  background-color: var(--rojo);
  box-shadow: 0px 4px 10px 8px rgba(93, 76, 61, 0.41);
}
#quehacemos .card:hover ul {
  opacity: 1;
}

#quehacemos .card img {
  height: 60px;
  width: auto;
}

#quehacemos .card ul {
  margin: 0;
  /* margin-top: 48px !important; */
  margin-top: 20px !important;
  list-style: none;
  opacity: 60%;
  padding: 0;
  font-size: 15px;
}

#quehacemos .card ul li:not(:last-child) {
  margin-bottom: 14px;
}
@media (min-width: 1146px) {
  #quehacemos .card:last-of-type ul {
    /* margin-top: 75px !important; */
    margin-top: 44px !important;
  }
}
@media (min-width: 768px) and (max-width: 1145px) {
  #quehacemos .card ul {
    /* margin-top: 32px !important; */
  }
  #quehacemos .card:last-of-type ul {
    margin-top: 44px !important;
  }
  #quehacemos .card img {
    height: 54px;
}
#quehacemos .card ul li:not(:last-child) {
    margin-bottom: 10px;
}
#quehacemos h3 {
    font-size: 18px;
}
}
@media (min-width: 768px) and (max-width: 1200px) {
  #quehacemos .cards {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
  }
  /* #quehacemos h3 {
    font-size: 22px;
  } */
}
@media (min-width: 768px) and (max-width: 1100px) {
  #quehacemos .cards {
    grid-template-columns: repeat(auto-fit, minmax(48%, 1fr));
  }
}
@media (min-width: 768px) and (max-width: 820px) {
  #quehacemos h2 {
    font-size: 42px;
  }
}

@media (max-width: 767px) {
  #quehacemos {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  #quehacemos h2 {
    font-size: 28px;
    margin-bottom: 24px;
  }

  #quehacemos h3 {
    margin-bottom: 16px;
    font-size: 22px;
  }

  #quehacemos .card {
    height: 354px;
  }

  #quehacemos .card ul li:not(:last-child) {
    margin-bottom: 4px;
  }
  #quehacemos .card ul {
    margin-top: 0px !important;
  }
  #quehacemos .card:last-of-type ul {
    margin-top: 25px !important;
  }
}
@media (max-width: 600px) {
  #quehacemos .card:last-of-type ul {
    margin-top: 0px !important;
  }
}
