/* ── HERO ── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 580px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.52) 42%,
    rgba(0, 0, 0, 0.18) 100%
  );
  z-index: 1;
}

/* Eyebrow */
.hero__eyebrow {
  position: absolute;
  top: calc(72px + var(--space-5));
  left: var(--space-5);
  font-family: var(--font-heading);
  font-weight: var(--fw-medium);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}

/* Main content */
.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-5);
  padding-bottom: var(--space-10);
}

.hero__text {
  max-width: 580px;
}

.hero__headline {
  font-family: var(--font-heading);
  font-weight: var(--fw-extrabold);
  font-size: var(--fs-h1);
  color: var(--color-white);
  line-height: 1.08;
  margin-bottom: var(--space-4);
}

.hero__headline em {
  font-style: normal;
  color: var(--color-accent);
}

.hero__sub {
  font-family: var(--font-body);
  font-weight: var(--fw-body-regular);
  font-size: var(--fs-body);
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
  max-width: 400px;
  margin-bottom: var(--space-6);
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: var(--fs-btn);
  cursor: pointer;
  transition:
    background var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-red);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.42);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-btn);
  cursor: pointer;
  transition:
    border-color var(--transition-fast),
    background var(--transition-fast),
    transform var(--transition-fast);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.07);
}

.btn-secondary:active {
  transform: scale(0.97);
}

/* Bottom-right aside */
.hero__aside {
  position: absolute;
  bottom: var(--space-10);
  right: var(--space-8);
  max-width: 210px;
  text-align: right;
  z-index: 2;
}

.hero__aside p {
  font-family: var(--font-body);
  font-weight: var(--fw-body-semibold);
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.702);
  line-height: 1.65;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  z-index: 2;
}

.hero__scroll-label {
  font-family: var(--font-heading);
  font-weight: var(--fw-medium);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.717);
}

.hero__scroll-line {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.704);
  transform-origin: top;
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.2;
    transform: scaleY(1);
  }
  50% {
    opacity: 0.7;
    transform: scaleY(0.5);
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .header {
    padding: var(--space-4) var(--space-5);
  }
  .header__nav {
    display: none;
  }

  .hero__eyebrow {
    top: calc(64px + var(--space-4));
    left: var(--space-5);
  }

  .hero__content {
    padding: var(--space-5);
    padding-bottom: var(--space-10);
  }

  .hero__aside,
  .hero__scroll {
    display: none;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-primary,
  .btn-secondary {
    justify-content: center;
  }
}
