.qp-hero{
  position: relative;
  min-height: clamp(420px, 70vh, 760px);
  display: grid;
  place-items: center;
  padding: clamp(56px, 8vw, 120px) 18px;
  background-color: #111;
  overflow: hidden;
}

.qp-hero::before,
.qp-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--qp-hero-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1);
  transform-origin: center;
  opacity: 0;
  will-change: transform, opacity;
}

/* Two-layer zoom + crossfade = continuous zoom-in (no visible reset). */
.qp-hero::before{
  animation: qp-hero-zoom-fade 8s linear infinite;
}
.qp-hero::after{
  animation: qp-hero-zoom-fade 8s linear infinite;
  animation-delay: 4s;
}

@keyframes qp-hero-zoom-fade{
  0%{ transform: scale(1); opacity: 0; }
  10%{ opacity: 1; }
  90%{ opacity: 1; }
  100%{ transform: scale(1.12); opacity: 0; }
}

.qp-hero__overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.45) 45%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.qp-hero__inner{
  position: relative;
  z-index: 2;
  width: min(960px, 100%);
  text-align: center;
}

.qp-hero__title{
  margin: 0 0 14px;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  font-size: clamp(34px, 5vw, 64px);
}

.qp-hero__description{
  margin: 3rem auto 3rem;
  max-width: 78ch;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
  font-size: 16px;
}

.qp-hero__actions{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 26px;
}

.qp-hero__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  text-decoration: none !important;
  font-weight: 500;
  color: var(--e-global-color-19a9565, #ffffff) !important;
  background-color: transparent;
  background-image: radial-gradient(at top left, #39dfd8 0%, #3a208b 95%);
  border-radius: 30px 30px 30px 30px;
  border: 0;
  transition: filter 180ms ease, transform 180ms ease;
}

.qp-hero__btn--secondary{
  padding: 12px 0;
  background-image: none;
  border-radius: 0;
  color: rgba(255,255,255,0.92) !important;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.qp-hero__btn--secondary:hover,
.qp-hero__btn--secondary:focus-visible{
  filter: none;
  transform: none;
  color: #ffffff !important;
  outline: none;
}

.qp-hero__btn--secondary:focus {
  outline: none;
}

.qp-hero__btn:hover,
.qp-hero__btn:focus-visible{
  filter: brightness(1.06);
}

.qp-hero__btn:focus-visible{
  outline: 2px solid rgba(255,255,255,0.7);
  outline-offset: 3px;
}

.qp-hero__btn-icon{
  margin-left: 10px;
  display: inline-flex;
  line-height: 1;
  font-size: 1.05em;
}


