/* ==========================================================================
   Home page — hero (cinematic zoom slideshow) + "what do you want to insure"
   ========================================================================== */

/* ---- Hero --------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  min-height: 460px;
  display: flex;
  align-items: center;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s var(--ease-out);
  will-change: transform, opacity;
}

.hero-slide.is-active {
  opacity: 1;
  animation: hero-kenburns 7s ease-out forwards;
}

.hero-slide:nth-child(odd) {
  transform-origin: left center;
}

.hero-slide:nth-child(even) {
  transform-origin: right center;
}

@keyframes hero-kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.12);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(20, 19, 60, 0.92) 0%,
    rgba(20, 19, 60, 0.72) 38%,
    rgba(20, 19, 60, 0.28) 68%,
    rgba(20, 19, 60, 0.12) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: 32px;
}

.hero-content .eyebrow {
  color: var(--gold-500);
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  max-width: 40ch;
  margin-bottom: 18px;
}

.hero-content > p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 46ch;
  margin-bottom: 36px;
  font-size: 1rem;
}

.hero-dots {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.4);
  transition: background-color var(--dur-fast) var(--ease-out), width var(--dur-fast) var(--ease-out);
}

.hero-dots button.is-active {
  background: var(--gold-500);
  width: 22px;
}

/* ---- Insure selector (home page inline section wrapper — the shared card
   row, swap panel and form-grid it contains live in components.css) ------- */

.insure-select {
  padding: 40px 0 96px;
}

@media (max-width: 900px) {
  .hero {
    min-height: 540px;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 320px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(20, 19, 60, 0.72), rgba(20, 19, 60, 0.88));
  }

  .hero-content {
    text-align: center;
  }

  .hero-content .eyebrow {
    font-size: 0.72rem;
  }

  .hero-content h1 {
    margin-inline: auto;
    font-size: 1.7rem;
    max-width: 40ch;
    line-height: 1.3;
  }

  .hero-break-desktop {
    display: none;
  }

  .hero-content > p,
  .feature-badges {
    display: none;
  }
}
