.hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #08152f;
}

.hero-background .hero-video,
.hero-background .hero-campaign-image,
.hero-background .hero-fallback-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 800ms ease;
}

.hero-background .hero-video-fallback {
  z-index: 0;
}

.hero-background .hero-video {
  z-index: 1;
}

.hero-fallback-placeholder {
  background:
    radial-gradient(circle at 70% 35%, rgba(232, 198, 93, .2), transparent 28%),
    linear-gradient(135deg, #102d61, #08152f 68%);
}

.hero-background .active {
  opacity: 1;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  min-height: 100vh;
  padding-block: 132px 90px;
}

.hero-background .hero-overlay {
  z-index: 2;
}

.hero-label {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(7, 27, 69, .32);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.hero-content h2 {
  margin: -12px 0 18px;
  color: #fff;
  font-size: clamp(24px, 3vw, 38px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-weight: 700;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .9);
  font-size: 13px;
}

.hero-campaign-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  min-height: 12px;
  margin-top: 24px;
}

.hero-campaign-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: width 200ms ease, background-color 200ms ease;
}

.hero-campaign-dot.is-active {
  width: 30px;
  background: var(--secondary, #e8c65d);
}

.hero-package .package-card {
  width: min(100%, 500px);
}

.hero-package-button {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: 22px;
}

.hero .scroll-indicator {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: 34px;
  }

  .hero-content h1 {
    font-size: clamp(46px, 6vw, 64px);
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 150px 110px;
    text-align: center;
  }

  .hero-content,
  .hero-content p {
    max-width: 720px;
    margin-inline: auto;
  }

  .hero-actions,
  .hero-trust,
  .hero-campaign-controls,
  .hero-package {
    justify-content: center;
  }

  .hero-package {
    margin-top: 10px;
  }
}

@media (max-width: 560px) {
  .hero-grid {
    width: min(calc(100% - 28px), 100%);
    padding-block: 126px 92px;
    gap: 30px;
  }

  .hero-content h1 {
    font-size: clamp(38px, 12vw, 52px);
    overflow-wrap: anywhere;
  }

  .hero-content h2 {
    font-size: 23px;
  }

  .hero-content p {
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-label {
    max-width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .hero-actions {
    flex-direction: column;
    gap: 14px;
  }

  .hero-actions .btn-primary,
  .hero-actions .hero-link {
    width: 100%;
    justify-content: center;
  }

  .hero-package .package-card {
    border-radius: 24px;
  }

  .hero .scroll-indicator {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-background .hero-video,
  .hero-background .hero-campaign-image,
  .hero-background .hero-fallback-placeholder {
    transition: none;
  }
}
