.cards-grid {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 326px;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 32px;
  gap: 24px;
}

.flip-card {
  height: 150px;
  perspective: 2000px;
  flex: 1 1 calc(50% - 20px);
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border-radius: 28px;
  transition: all 550ms cubic-bezier(0.1, 0.22, 0.8, 1.13);
  transform-style: preserve-3d;
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  backface-visibility: hidden;
}

.flip-card-front {
  font-family: Unbounded;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
  background-color: #fff;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.flip-card-back {
  background-color: #fff;
  transform: rotateY(180deg);
  text-align: center;
  display: grid;
  place-items: center;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(-180deg);
}

ul.no-bullet {
  list-style-type: none;
  padding-left: 5%;
  padding-right: 5%;
  margin: 0;
}

ul.no-bullet li {
  font-family: "Inter";
  line-height: 24px;
  text-align: left;
  font-size: 0.5em;
}

.que-hacemos {
  display: flex;
  justify-content: center;
  align-items: center;
  background-position: center;
  background-repeat: no-repeat;
  background-position: right top;
  min-height: 200px;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 16px;
  margin-right: 2%;
  margin-left: 2%;
}

/* Estilos para tabletas en modo retrato */
@media (min-width: 481px) and (max-width: 768px) {
  .que-hacemos {
    margin-right: 5%;
    margin-left: 5%;
  }

  .flip-card-front {
    font-size: 1em;
  }

  ul.no-bullet li {
    font-size: 0.8em;
  }

  ul.no-bullet {
    margin-right: 5%;
    margin-left: 5%;
  }

  .flip-card {
    height: 220px;
    flex: 1 1 calc(50% - 20px);
  }
}

/* Estilos para tabletas en modo paisaje y laptops pequeñas */
@media (min-width: 769px) and (max-width: 1024px) {
  .que-hacemos {
    margin-right: 5%;
    margin-left: 5%;
  }

  .flip-card-front {
    font-size: 1.3em;
  }

  ul.no-bullet li {
    font-size: 0.8em;
  }

  ul.no-bullet {
    margin-right: 5%;
    margin-left: 5%;
  }

  .flip-card {
    height: 220px;
    flex: 1 1 calc(50% - 20px);
  }
}

/* Estilos para laptops y desktops */
@media (min-width: 1025px) and (max-width: 1440px) {
  .que-hacemos {
    margin-right: 10%;
    margin-left: 10%;
  }

  .flip-card-front {
    font-size: 1.5em;
  }

  ul.no-bullet li {
    font-size: 1em;
  }

  ul.no-bullet {
    margin-right: 5%;
    margin-left: 5%;
  }

  .flip-card {
    height: 250px;
    flex: 1 1 calc(33.33% - 20px);
  }
}

/* Estilos para pantallas grandes */
@media (min-width: 1441px) {
  .que-hacemos {
    margin-right: 10%;
    margin-left: 10%;
  }

  .flip-card-front {
    font-size: 2em;
  }

  ul.no-bullet li {
    font-size: 1em;
  }

  ul.no-bullet {
    margin-right: 5%;
    margin-left: 5%;
  }

  .flip-card {
    height: 300px;
    flex: 1 1 calc(33.33% - 20px);
  }
}
