.hero {
  display: flex;
  flex-direction: column;
  background: url("../img/bg/hero.png") center / cover no-repeat;
  height: 100vh;
  max-height: 900px;
  color: var(--white);
}

.hero > .container {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.hero__layout {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  align-items: stretch;
}

.hero__copy {
  padding-top: 64px;
  color: var(--white);
}

.hero__title {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: var(--h1-size);
  line-height: var(--h1-line);
  letter-spacing: var(--h1-track);
  font-weight: var(--h1-weight);
  color: var(--white);
}

.hero__sub {
  margin: 0;
  font-size: var(--body-1-size);
  line-height: var(--body-1-line);
  font-weight: var(--body-1-weight);
  color: var(--white);
}

.hero__cta {
  margin-top: 48px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.hero-badges__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--body-3-size);
  line-height: var(--body-3-line);
  color: var(--white);
}
.hero-badges__item img {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

.hero__cta-mobile {
  display: none;
}

.hero__media {
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero__media img {
  height: 100%;
  width: auto;
  max-width: none;
  display: block;
}

@media (max-width: 720px) {
  .hero {
    height: auto;
    max-height: none;
    padding-bottom: 32px;
  }

  .hero > .container,
  .hero__layout,
  .hero__media {
    height: auto;
    min-height: 0;
  }

  .hero__copy {
    padding-top: 0;
  }

  .hero__title {
    margin-bottom: 16px;
    font-size: 48px;
    line-height: 0.9;
  }

  .hero__sub {
    font-size: 18px;
  }

  .hero-badges {
    margin-top: 24px;
    gap: 10px 16px;
  }
  .hero-badges__item {
    font-size: 14px;
  }

  .hero__cta--desktop {
    display: none;
  }

  .hero__cta-mobile {
    display: block;
  }

  .hero__cta--mobile {
    margin-top: 0;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    gap: 8px;
    font-size: 18px;
    line-height: 1.3;
    white-space: nowrap;
  }

  .hero__media img {
    height: auto;
    width: 100%;
    max-width: 100%;
  }
}
