.contacts {
  background: #fff;
  font-family: manrope;
  padding: 100px 50px 0;
}
@media (width < 768px) {
  .contacts {
    padding: 64px 16px 0;
  }
}

.contacts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 32px;
  margin-top: 56px;
  grid-auto-rows: 1fr;
}
@media (width < 768px) {
  .contacts__grid {
    gap: 16px;
    margin-top: 32px;
  }
}
@media (width < 500px) {
  .contacts__grid {
    grid-template-columns: 1fr;
  }
}

.contacts__item {
  padding: 24px;
  border-radius: 24px;
  background: radial-gradient(65.49% 100% at 51.66% 0%, #ff8262 0%, #e84e26 52.4%, #e87726 100%);
  color: #fff;
  display: flex;
  flex-direction: column;

  &:first-of-type {
    background: #21201f;
  }
}
@media (width < 768px) {
  .contacts__item {
    padding: 16px;
  }
}

.contacts__item-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 25px;
}
@media (width < 768px) {
  .contacts__item-wrapper {
    margin-bottom: 12px;
  }
}

.contacts__item-title {
  font-weight: 700;
  font-size: 24px;
}
@media (width < 768px) {
  .contacts__item-title {
    font-size: 20px;
  }
}

.contacts__item-mini {
  font-size: 10px;
  padding: 8px 16px;
  background: #f9f9f91a;
  border-radius: 7px;
}

.contacts__item-text {
  font-size: 16px;
  line-height: 1.3;
  margin-top: 12px;
  display: block;

  &:first-of-type {
    margin-top: auto;
  }
}
