.amb-hero {
  text-align: center;
  padding-top: 128px;
  overflow-x: clip;
}

.amb-hero__content {
  flex-flow: column;
  align-items: center;
  gap: 20px;
  max-width: 993px;
  margin: 0 auto;
  display: flex;
}

.amb-hero__badge {
  color: rgba(0, 0, 0, .5);
  letter-spacing: .58px;
  background-color: rgba(255, 255, 255, .5);
  border-radius: 50px;
  padding: 10px 25px;
  font-family: Sfprodisplay, Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 22px;
}

.amb-hero__title {
  color: #000;
  letter-spacing: -.02em;
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 50px;
}

.amb-hero__text {
  color: #000;
  letter-spacing: .58px;
  max-width: 710px;
  margin-bottom: 8px;
  font-family: Sfprodisplay, Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 22px;
}

.amb-hero__media {
  height: 248px;
  display: block;
}

.amb-hero__img {
  width: 1437px;
  max-width: none;
  height: auto;
  margin-left: calc(50% - 717px);
  display: block;
}

@media screen and (max-width: 767px) {
  .amb-hero {
    padding-top: 116px;
    padding-bottom: 4px;
  }

  .amb-hero__content {
    gap: 8px;
    padding: 0 16px;
  }

  .amb-hero__badge {
    align-self: stretch;
    padding: 10px 0;
  }

  .amb-hero__title {
    font-size: 34px;
    line-height: 39px;
  }

  .amb-hero__text {
    margin-bottom: 12px;
  }

  .amb-hero__button {
    align-self: stretch;
    margin-left: 8px;
    margin-right: 8px;
  }

  .amb-hero__media {
    height: auto;
    margin-top: 44px;
  }

  .amb-hero__img {
    width: 513px;
    margin-left: calc(50% - 256.5px);
  }
}
