.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(66vh, 560px);
  padding: calc(var(--header-h) + 22px) 0 44px;
  background: var(--night);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero-bg.webp") left center / cover no-repeat;
  transform: scaleX(-1);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--night) 22%, rgba(28, 22, 17, 0.86) 45%, rgba(28, 22, 17, 0.35) 75%, rgba(28, 22, 17, 0.15)),
    linear-gradient(0deg, var(--night) 0%, transparent 22%);
}

.hero-inner {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: clamp(16px, 2vw, 48px) 24px;
}

.hero-content {
  max-width: 640px;
}

.hero h1 {
  color: var(--white);
}

.hero-subtitle {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  font-weight: 400;
  line-height: 1.55;
  max-width: 460px;
}

.hero-copy {
  margin: 12px 0 28px;
  color: var(--muted-light);
  font-size: var(--fs-base);
  line-height: 1.75;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.img-reveal {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
}

.img-reveal img {
  display: block;
  width: 100%;
  height: auto;
}
