/* SunAmper — Premium FULL-BLEED Hero v1.2
   Scope: homepage Hero only.
   The supplied hero image fills the complete Hero area.
   No external fonts, libraries, trackers or dependencies.
*/

.hero-premium {
  position: relative;
  overflow: hidden;
  min-height: clamp(680px, 78vh, 860px);
  display: flex;
  align-items: stretch;
  background: #071426;
  isolation: isolate;
}

/* Full-bleed media: the image is the Hero background, not a side card. */
.hero-premium__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: #071426;
  box-shadow: none;
}

.hero-premium__media picture,
.hero-premium__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-premium__media img {
  object-fit: cover;
  object-position: 58% center;
}

.hero-premium__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(3,13,27,.94) 0%,
      rgba(3,13,27,.82) 28%,
      rgba(3,13,27,.48) 52%,
      rgba(3,13,27,.12) 76%,
      rgba(3,13,27,.18) 100%),
    linear-gradient(180deg,
      rgba(3,13,27,.22) 0%,
      rgba(3,13,27,.02) 42%,
      rgba(3,13,27,.46) 100%);
  pointer-events: none;
}

.hero-premium__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 28%, rgba(245,166,35,.12), transparent 30%),
    linear-gradient(90deg, rgba(245,166,35,.035), transparent 48%);
}

.hero-premium .hero-bg,
.hero-premium .hero-grid {
  display: none;
}

.hero-premium__wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  align-items: center;
  min-height: clamp(680px, 78vh, 860px);
  padding-top: clamp(70px, 8vw, 110px);
  padding-bottom: clamp(60px, 7vw, 90px);
}

.hero-premium__content {
  min-width: 0;
  max-width: 780px;
  color: #fff;
}

.hero-premium__content h1 {
  color: #fff;
  max-width: 760px;
  text-wrap: balance;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
  text-shadow: 0 2px 22px rgba(0,0,0,.20);
}

.hero-premium__content h1 em {
  color: #f5a623;
  font-style: normal;
}

.hero-premium__content .lead {
  max-width: 680px;
  color: rgba(255,255,255,.88);
  text-shadow: 0 1px 10px rgba(0,0,0,.25);
}

.hero-premium .badge {
  color: #f5a623;
  border-color: rgba(245,166,35,.65);
  background: rgba(7,20,38,.42);
  backdrop-filter: blur(8px);
}

.hero-premium .hero-btns {
  margin-top: 30px;
}

.hero-premium .trust {
  margin-top: 32px;
  padding-top: 22px;
  border-top-color: rgba(255,255,255,.20);
  color: rgba(255,255,255,.92);
}

.hero-premium .trust div {
  text-shadow: 0 1px 8px rgba(0,0,0,.25);
}

.hero-premium__caption {
  position: absolute;
  z-index: 4;
  left: clamp(22px, 4vw, 60px);
  right: clamp(22px, 4vw, 60px);
  bottom: clamp(20px, 3vw, 36px);
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-premium__caption span {
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px;
  background: rgba(5,17,32,.52);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.hero-premium a:focus-visible,
.hero-premium button:focus-visible {
  outline: 3px solid #f5a623;
  outline-offset: 4px;
}

@media (max-width: 1050px) {
  .hero-premium {
    min-height: 720px;
  }

  .hero-premium__wrap {
    min-height: 720px;
  }

  .hero-premium__content {
    max-width: 720px;
  }

  .hero-premium__media img {
    object-position: 62% center;
  }

  .hero-premium__media::before {
    background:
      linear-gradient(90deg,
        rgba(3,13,27,.94) 0%,
        rgba(3,13,27,.78) 42%,
        rgba(3,13,27,.34) 72%,
        rgba(3,13,27,.18) 100%),
      linear-gradient(180deg, rgba(3,13,27,.18), rgba(3,13,27,.55));
  }
}

@media (max-width: 767px) {
  .hero-premium {
    min-height: 760px;
  }

  .hero-premium__wrap {
    min-height: 760px;
    align-items: flex-start;
    padding-top: 58px;
    padding-bottom: 70px;
  }

  .hero-premium__content {
    max-width: 100%;
  }

  .hero-premium__content h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 10.5vw, 3.4rem);
    line-height: .98;
  }

  .hero-premium__content .lead {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-premium__media img {
    object-position: 64% center;
  }

  .hero-premium__media::before {
    background:
      linear-gradient(180deg,
        rgba(3,13,27,.91) 0%,
        rgba(3,13,27,.70) 36%,
        rgba(3,13,27,.18) 70%,
        rgba(3,13,27,.56) 100%);
  }

  .hero-premium__caption {
    left: 18px;
    right: 18px;
    bottom: 18px;
    justify-content: flex-start;
  }

  .hero-premium__caption span {
    font-size: .70rem;
    padding: 7px 9px;
  }

  .hero-premium .hero-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-premium .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-premium .trust {
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
  }
}

@media (max-width: 430px) {
  .hero-premium {
    min-height: 800px;
  }

  .hero-premium__wrap {
    min-height: 800px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-premium .trust {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-premium *,
  .hero-premium *::before,
  .hero-premium *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
