
.section-title {
  font-weight: 466;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0;
  margin: 0 0 20px;
}

.about{
  padding: 110px 0 60px;
}

.about__quote {
  margin: 0 0 36px;
  font-family: "Bounded", system-ui, -apple-system, sans-serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0;
  color: #1a1a1a;
  max-width: 980px;
}

.about__grid{
  display: grid;
  /*
    На desktop карточки не должны ужиматься.
    Держим фиксированную ширину колонок, а если места не хватает,
    правый край сетки просто уходит за экран.
  */
  grid-template-columns: repeat(4, 310px);
  width: max-content;
  gap: 24px;
  align-items: stretch;
}

.person-card{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #eaeaea;
  width: 310px;
  height: 310px;
}

.person-card__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.person-card__badge{
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

.person-card__name{
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 4px;
}

.person-card__role{
  font-size: 14px;
  opacity: .75;
}

.adv-card{
  border-radius: 16px;
  background: #fff;
  padding: 20px 20px 18px;
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
  width: 310px;
  height: 310px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.adv-card__title{
  font-weight: 466;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.adv-card__icon{
  width: 170px;
  height: 170px;
  object-fit: contain;
  display: block;
  margin: 0 auto 8px;
  flex: 0 0 auto;
}

.adv-card__text{
  margin: 0;
  font-size: 14px;
  line-height: 1.28;
  opacity: .85;
  text-align: center;
  margin-top: auto;
}

@media (max-width: 1100px){
  .about__grid{
    grid-template-columns: repeat(4, 310px);
    width: max-content;
  }
}

@media (max-width: 640px) {
  .about .section-title {
    font-size: 20px;
    line-height: 28px;
  }
  .about__quote {
    font-size: 12px;
    line-height: 20px;
  }
  .about__grid {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .person-card,
  .adv-card {
    width: auto;
    height: auto;
    min-height: 260px;
  }
}
