/* PILARES */
.pilares {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  margin: 8rem;
}

.pilares__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  max-width: 580px;
  gap: 32px;

  margin: 2rem;
}

.pilares__text__title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.pilares__text__title h3 {
  font-family: var(--font-title);
  color: var(--black);
  text-align: center;
  font-size: 2rem;
  font-weight: 400;
}

.pilares__text p {
  font-family: var(--font-body);
  color: var(--gray);
  text-align: center;
  font-size: 1rem;
}

.pilares__text img {
  margin: 0;
  height: 50px;
}

.pilares__cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.pilares__cards__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;

  width: 12rem;
  height: 10rem;

  padding: 16px;

  border-radius: 30px;
  box-shadow: 0px 2px 13.4px 1px rgba(0, 0, 0, 0.15);
}

.pilares__cards__card img {
  width: 4rem;
  height: auto;
}

.pilares__cards__card p {
  text-align: center;
  font-family: var(--font-body);
  color: var(--white);
  font-style: normal;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.75px;
}

/* MOBILE */
@media (min-width: 320px) and (max-width: 768px) {
  .pilares {
    margin: 3rem 1rem;
  }

  .pilares__text__title {
    flex-direction: column;
    align-items: center;
  }

  .pilares__text img {
    height: 45px;
  }

  .pilares__cards {
    flex-direction: column;
    align-items: center;
  }

  .pilares__cards__card p {
    font-size: 1rem;
  }
}
