/* ============================================================
   1. Hero — full viewport, photo bg fades cream/light on the
   left (per asset analysis), so content sits LEFT.
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-block: var(--space-9) var(--space-8);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: var(--z-hero-media);
  will-change: transform;
  max-height: 100%;
}

.hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.12); /* headroom for the parallax translate */
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: var(--z-hero-scrim);
  background: linear-gradient(
    100deg,
    rgba(247, 247, 247, 0.92) 0%,
    rgba(247, 247, 247, 0.89) 32%,
    rgba(201, 201, 201, 0.07) 60%
  );
}

.hero__content {
  position: relative;
  z-index: var(--z-hero-content);
  padding: 0  25px;
}

.hero__eyebrow {
  color: var(--color-accent-primary-hover);
  margin-bottom: var(--space-5);
}

.hero h1 {
  max-width: 640px;
  margin-bottom: var(--space-5);
  color: var(--color-bg-inverte);
  font-weight: 700;
  font-size: clamp(22px, 10px + 4vw, 50px);
}

.hero .highlight {
  color: var(--color-accent-primary-hover);
}

.hero__lead {
  font-size: var(--text-lead);
  color: var(--color-bg-inverte);
  max-width: 580px;
  font-weight: 200;
  margin-bottom: var(--space-7);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero__scroll-cue {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-hero-content);
  width: 40px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  color: var(--color-text-body);
  animation: hero-scroll-cue 2.2s ease-in-out infinite;
}

.hero__scroll-cue svg {
  width: 16px;
  height: 16px;
}

@keyframes hero-scroll-cue {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 6px);
  }
}

@media (min-width: 640px) {
  .hero__scroll-cue {
    display: flex;
  }
}


@media (max-width: 639px) {
  .hero {
    align-items: flex-start;
    text-align: center;
    min-height: 130svh;
    padding-block: var(--space-6) var(--space-7);
  }

  .hero__eyebrow {
    margin-bottom: var(--space-3);
  }
  .hero__content{
    margin-top:50px;
  }

  .hero h1 {
    margin-bottom: var(--space-3);
  }

  .hero__lead {
    font-size: 16px;
    margin-bottom: var(--space-5);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__media img {
    object-position: center top;
    transform: scale(1.05);
  }

  .hero__scrim {
    display: none;
  }
}
