/* =========================================================
   components/hero.css – zdjęcie główne + sekcja CTA
   ========================================================= */

.hero {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
}

.hero__img {
  width: 100%;
  height: 70vh;
  height: 70svh;
  min-height: 22rem;
  max-height: 40rem;
  object-fit: cover;
  object-position: center;
}

/* Delikatne przejście zdjęcia w tło strony */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(11, 17, 32, 0) 0%, var(--color-bg) 100%);
  pointer-events: none;
}

@media (min-width: 48rem) {
  .hero__img {
    height: 78vh;
    max-height: 48rem;
    min-height: 26rem;
  }
}

/* Sekcja z przyciskiem CTA – lekko nachodzi na zdjęcie */
.cta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 0 var(--gutter) clamp(2rem, 5vw, 3.5rem);
  margin-top: -2rem;
}
