.advantages {
  background: #fff;
  color: #21201f;
  font-family: manrope;
  padding: 100px 50px 0;
}
@media (width < 768px) {
  .advantages {
    padding: 64px 16px 0;
  }
}

.advantages__title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
  flex-wrap: wrap;
}

.advantages__subtitle {
  font-weight: 500;
  font-size: 24px;
  text-align: right;
  max-width: 630px;
  line-height: 1.2;

  & i {
    color: #e84e26;
  }
}
@media (width < 768px) {
  .advantages__subtitle {
    font-size: 22px;
    text-align: left;
  }
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-rows: 1fr;
  gap: 32px;
  margin-top: 56px;
}
@media (width < 768px) {
  .advantages__grid {
    gap: 16px;
    margin-top: 32px;
    grid-auto-rows: auto;
  }
}

.advantages__item {
  padding: 24px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: #fff;
  background: linear-gradient(180deg, #e84e26 0%, #eb2424 100%);

  &:nth-of-type(2),
  &:nth-of-type(4),
  &:nth-of-type(5),
  &:nth-of-type(7) {
    background: linear-gradient(180deg, #292929 0%, #393939 100%);
  }
}
@media (width < 768px) {
  .advantages__item {
    gap: 16px;
    padding: 16px;
  }
}

.advantages__item-icon {
  width: 56px;
  aspect-ratio: 1;
  border-radius: 16px;
  display: block;
}
@media (width < 768px) {
  .advantages__item-icon {
    width: 48px;
  }
}

.advantages__item-title {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
}
@media (width < 768px) {
  .advantages__item-title {
    font-size: 20px;
  }
}

.advantages__item-text {
  font-size: 20px;
  margin-top: auto;
  line-height: 1.3;
}
@media (width < 768px) {
  .advantages__item-text {
    font-size: 18px;
  }
}
