* {
  box-sizing: border-box
}

.hero h1 {
  font-size: 48px;
  line-height: 1.08;
  margin: 0 0 22px;
  max-width: 720px
}

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

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

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

.caption {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 20px;
  color: white;
  font-size: 13px;
  max-width: 340px
}

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

@media (max-width:850px) {
  .hero {
    padding-top: 34px
  }

  .hero h1 {
    font-size: 36px
  }

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

@media (max-width:560px) {
  .wrap {
    width: min(100% - 28px, var(--max))
  }

  .hero h1 {
    font-size: 31px
  }

  .hero p,
  .intro-box {
    font-size: 17px
  }

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