.hero {
  overflow: hidden;
  position: relative;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px 0 20px;
  gap: 2rem;
}

.hero__image-wrap {
  display: flex;
  position: relative;
}

.hero__image {
  width: 100%;
  height: auto;
  max-height: 642px;
  object-fit: contain;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.hero__title {
  font-size: 54px;
  line-height: 60px;
  color: var(--color-text-primary);
  max-width: 700px;
}

.hero__subtitle {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-body);
  max-width: 600px;
  line-height: 1.5;
}

@media (max-width: 1023px) {
  .hero__image-wrap {
    width: 400px;
  }

  .hero__title {
    font-size: 40px;
    line-height: 48px;
  }
}
@media (max-width: 1023px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
    justify-items: center;
    gap: 0.5rem;
  }

  .hero__image-wrap {
    justify-content: center;
  }

  .hero__text {
    align-items: center;
  }
}
@media (max-width: 768px) {
  .topbar__text {
    font-size: 10px;
  }

  .hero__image-wrap {
    width: 100%;
    max-width: 320px;
  }

  .hero__title {
    font-size: 32px;
    line-height: 40px;
  }
}
