.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-hero-bg);
}

.hero__media {
  position: absolute;
  top: 15px;
  left: calc(50% - 116px);
  width: 1031px;
  height: 993px;
  pointer-events: none;
}

.hero__media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 197px;
  padding-bottom: 80px;
  min-height: 675px;
}

.hero__title {
  font-family: var(--font-sans);
  font-size: clamp(36px, 5vw, 70px);
  line-height: 1.19;
  letter-spacing: 0.0143em;
}

.hero__title-light {
  display: block;
  font-weight: 300;
}

.hero__title-medium {
  display: block;
  font-weight: 500;
}

.hero__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 408px;
}

.hero__text {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
}

.hero .translation-notice {
  position: absolute;
  bottom: 0;
  margin-left: max(
    calc(var(--gutter) - 16px),
    calc((100% - var(--max-width)) / 2 + var(--gutter) - 16px)
  );
}

@media (max-width: 768px) {
  .hero {
    min-height: 975px;
  }

  .hero__media {
    top: 293px;
    left: -57px;
    width: 661.38px;
    height: 637px;
  }

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

  .hero__content {
    padding-top: 152px;
    padding-bottom: 60px;
    padding-inline: 20px;
    min-height: auto;
    gap: 24px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero .translation-notice {
    margin-left: 4px;
  }

  .hero__body {
    gap: 20px;
  }
}
