* {
  box-sizing: border-box
}

h1 {
  font-size: 48px;
  line-height: 1.08;
  margin: 0 0 22px
}

.hero p {
  font-size: 18px;
  color: #3e4954;
  margin: 0
}

.hero-photo {
  min-height: 470px;
  border-radius: 4px;
  background: #dfe5e8 url('/images/card7.png') center/cover no-repeat;
  position: relative;
  overflow: hidden
}

.hero-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .28))
}

.caption {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 20px;
  color: #fff;
  font-size: 13px
}

h2 {
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 30px
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  min-height: 145px;
  display: flex;
  gap: 16px;
  align-items: flex-start
}

@media (max-width:850px) {
  h1 {
    font-size: 36px
  }

  .hero-photo {
    min-height: 360px
  }
}

@media (max-width:560px) {
  h1 {
    font-size: 31px
  }
}
