.cards {
  position: relative;
  padding-top: 100px;
  padding-bottom: 160px;
}

.cards-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  gap: 30px 94px;
}

.cards-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cards-card__image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 300px;
  height: 100vh;
  width: 100%;
  border-radius: 25px;
  overflow: hidden;
  margin-bottom: 32px;
  border: 1px solid var(--savian);
}
.cards-card__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.cards-card__image::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(332deg, rgba(0, 0, 0, 0) 0%, rgb(182, 221, 213) 280%);
  opacity: 0.9;
  z-index: -1;
}
.cards-card__base {
  width: 100%;
  text-align: center;
  margin-bottom: 26px;
}
.cards-card__base h3 {
  margin-bottom: 22px;
  text-align: center;
  font-weight: 400;
}
.cards-card__foot {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: auto;
}

@media screen and (max-width: 1179px) {
  .cards {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
@media screen and (max-width: 768px) {
  .cards {
    padding-top: 0px;
  }
  .cards-content {
    gap: 80px 30px;
  }
}