.hero {
  height: 659px;
  background: var(--color-navy-dark) var(--hero-image) center / cover no-repeat;
  color: #fff;
}

.hero .container {
  padding: 94px 32px 0;
}

.hero__title {
  font: 400 var(--fs-h1)/1.25 var(--font-head);
  letter-spacing: 0.04em;
}

.hero__lead {
  margin-top: 36px;
  color: #d9f0ff;
  font-size: 19px;
  line-height: 1.5;
}

.hero__button {
  width: min(360px, 100%);
  margin-top: 48px;
}

@media (min-width: 980px) {
  .hero--service {
    height: var(--h, 615px);
  }

  .hero--service .container {
    padding-top: 88px;
  }

  .hero--service .hero__lead {
    margin-top: 36px;
  }

  .hero--service .hero__button {
    margin-top: 44px;
  }
}

@media (max-width: 979px) {
  .hero {
    height: auto;
    min-height: 370px;
    background-position: 44% -35px;
    background-size: cover;
  }

  .hero .container {
    padding: 22px 16px 24px;
    min-height: 370px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }

  .hero__title {
    max-width: 290px;
    font-size: var(--fs-h2);
    line-height: 1.25;
    letter-spacing: 0.04em;
  }

  .hero__lead {
    max-width: 280px;
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.45;
    color: #d9f0ff;
  }

  .hero__button {
    width: 100%;
    margin-top: auto;
  }
}
