/* Clean, full-image homepage hero inspired by the HornMe mobile onboarding. */

.photo-hero {
  position: relative;
  display: block;
  min-height: 0;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.photo-hero .hero-carousel {
  min-height: clamp(620px, 70vh, 760px);
  border-radius: 28px;
  background: #171717;
  box-shadow: 0 28px 70px rgba(10, 10, 10, 0.16);
}

.photo-hero .hero-carousel::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.08) 38%, rgba(0, 0, 0, 0.74) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 55%);
  content: "";
  pointer-events: none;
}

.photo-hero .hero-slide img,
.photo-hero .hero-slide:first-child img {
  object-position: center 42%;
}

.photo-hero .hero-slide:first-child img {
  object-position: center 38%;
}

.photo-hero .hero-copy {
  position: absolute;
  z-index: 2;
  inset: 2rem 1.5rem 4rem;
  display: flex;
  max-width: none;
  padding: clamp(2rem, 6vw, 5rem);
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  text-align: center;
  color: #fff;
  pointer-events: none;
}

.photo-hero .hero-logo {
  position: absolute;
  top: clamp(2rem, 6vw, 4rem);
  width: clamp(170px, 20vw, 250px);
  height: auto;
  filter: none;
}

.photo-hero .eyebrow {
  display: block;
  margin-bottom: 0.7rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.photo-hero h1 {
  max-width: 900px;
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  line-height: 0.95;
  text-wrap: balance;
}

.photo-hero h1 em {
  color: #fff;
}

.photo-hero .hero-intro {
  max-width: 620px;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.photo-hero .actions {
  justify-content: center;
  margin-bottom: 1rem;
  pointer-events: auto;
}

.photo-hero .button {
  min-width: 190px;
  box-shadow: 0 10px 28px rgba(223, 16, 24, 0.32);
}

.photo-hero .text-link {
  color: #fff;
}

.photo-hero .text-link:hover {
  color: #ffd7d9;
}

.photo-hero .fine-print {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.photo-hero .carousel-controls {
  z-index: 4;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: clamp(1.25rem, 3vw, 2rem);
  left: clamp(1.25rem, 4vw, 3rem);
}

.photo-hero .carousel-arrow {
  background: rgba(255, 255, 255, 0.94);
}

.photo-hero .carousel-dots {
  background: rgba(20, 20, 20, 0.48);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.photo-hero .carousel-dot {
  background: rgba(255, 255, 255, 0.46);
}

.photo-hero .carousel-dot.is-active {
  background: #fff;
}

@media (max-width: 720px) {
  .photo-hero {
    width: 100%;
    padding: 0 0 2.5rem;
  }

  .photo-hero .hero-carousel {
    min-height: calc(100svh - 82px);
    border-radius: 0 0 28px 28px;
  }

  .photo-hero .hero-copy {
    inset: 0 1rem 2.5rem;
    padding: 1.5rem 1.25rem 5rem;
  }

  .photo-hero .hero-logo {
    top: 2rem;
    width: 180px;
  }

  .photo-hero h1 {
    font-size: clamp(2.5rem, 12vw, 4.2rem);
  }

  .photo-hero .hero-intro {
    max-width: 340px;
  }

  .photo-hero .actions {
    width: 100%;
    gap: 0.8rem;
    flex-direction: column;
  }

  .photo-hero .button,
  .photo-hero .text-link {
    width: min(100%, 360px);
    justify-content: center;
  }

  .photo-hero .carousel-arrow {
    width: 40px;
    height: 40px;
  }
}
