.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg-dark);
  margin-top: calc(-1 * var(--space-section));
  margin-bottom: var(--space-section);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(36, 34, 34, 0.78);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding-block: clamp(3rem, 8vw, 6rem);
}

.hero__rating {
  margin-bottom: 0;
  color: var(--color-white);
  font-weight: 600;
}

.hero__rating-stars {
  color: var(--color-gold);
  letter-spacing: 0.2em;
}

.hero__title {
  max-width: 46rem;
}

.hero__subtitle {
  max-width: 40rem;
  margin-bottom: 0;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
}

.hero__cta {
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .hero__inner {
    gap: 1.25rem;
  }
}
