/* ============================================================
   Singdia — Hero (block 2)
   Full-bleed video, ~85vh so the next section peeks. Content is
   anchored bottom-left on a directional scrim (no floating card),
   so nothing reflows when the rotating headline changes length.
   ============================================================ */

.hero {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 600px;
  max-height: 940px;
  display: flex;
  align-items: flex-end;
  padding-top: var(--header-h);
  padding-bottom: 64px;
  overflow: hidden;
  background: var(--ink);
}

/* Video bg */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__video-poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 60% 30%, rgba(217,164,65,0.6) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 80%, rgba(201,79,109,0.5) 0%, transparent 60%),
    linear-gradient(135deg, #4a0820 0%, #2a0a18 100%);
  transition: opacity 0.6s ease;
}
.hero__video.is-loaded + .hero__video-poster { opacity: 0; }

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255,255,255,0.06) 0.5px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(255,255,255,0.04) 0.5px, transparent 1px);
  background-size: 6px 6px, 9px 9px;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Directional scrim: dark top (keeps header/logo legible),
   strong bottom-left (carries the headline), clean center-right
   so the video subject stays visible. */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(18,3,8,0.62) 0%, rgba(18,3,8,0.18) 14%, rgba(18,3,8,0) 26%),
    linear-gradient(0deg, rgba(18,3,8,0.92) 0%, rgba(18,3,8,0.6) 24%, rgba(18,3,8,0.12) 52%, rgba(18,3,8,0) 70%),
    linear-gradient(75deg, rgba(18,3,8,0.78) 0%, rgba(18,3,8,0.3) 34%, rgba(18,3,8,0) 62%);
}

/* Content rail */
.hero__inner {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 40px;
}

.hero__content {
  max-width: 660px;
  color: #fff;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.24);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(217,164,65,0.3);
}

/* Headline — fixed-height stage so the rotating titles never push
   the rest of the hero around. Baseline-anchored to the bottom. */
.hero__title {
  position: relative;
  height: 2.12em;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 400;
  color: #fff;
  margin: 20px 0 22px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.45);
}
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-soft);
}
.hero__title-rotator {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  text-wrap: balance;
  transition: opacity 0.48s ease, transform 0.48s ease;
  will-change: opacity, transform;
}
.hero__title-rotator.is-in {
  opacity: 1;
  transform: translateY(0);
}
.hero__title-rotator.is-out {
  opacity: 0;
  transform: translateY(0.16em);
}
@media (prefers-reduced-motion: reduce) {
  .hero__title-rotator { transition: opacity 0.48s ease; }
  .hero__title-rotator.is-out { transform: none; }
}

.hero__sub {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
  color: rgba(255,255,255,0.86);
  margin: 0 0 26px;
  max-width: 540px;
  text-wrap: pretty;
  text-shadow: 0 1px 16px rgba(0,0,0,0.4);
}

/* Pills */
.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.01em;
}
.hero__pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  width: 16px;
  height: 16px;
}

/* Actions: CTAs + the (formerly floating) live trust marker,
   now part of the composition. */
.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
}
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__cta-secondary {
  background: rgba(255,255,255,0.14);
  border: 1.5px solid rgba(255,255,255,0.28);
  color: #fff;
  font-weight: 500;
  padding: 16px 26px;
  font-size: 15px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
  font-family: var(--font-body);
}
.hero__cta-secondary:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.42);
}

.hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}
.hero__trust strong {
  color: #fff;
  font-weight: 600;
}
.hero__trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6b6b;
  box-shadow: 0 0 0 4px rgba(255,107,107,0.25);
  animation: hero-pulse 1.6s ease-in-out infinite;
}
@keyframes hero-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,107,107,0.25); }
  50%      { box-shadow: 0 0 0 9px rgba(255,107,107,0); }
}

/* ============================================================
   Mobile
   ============================================================ */
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 86vh;
    max-height: none;
    padding-top: var(--header-h-mobile);
    padding-bottom: 40px;
  }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(18,3,8,0.6) 0%, rgba(18,3,8,0) 22%),
      linear-gradient(0deg, rgba(18,3,8,0.94) 0%, rgba(18,3,8,0.6) 30%, rgba(18,3,8,0.05) 64%, rgba(18,3,8,0) 80%);
  }
  .hero__inner {
    padding: 0 18px;
  }
  .hero__content {
    max-width: 100%;
  }
  .hero__title {
    font-size: clamp(30px, 9vw, 40px);
    height: 2.6em;
    margin: 16px 0 18px;
  }
  .hero__sub {
    font-size: 14px;
    margin-bottom: 22px;
  }
  .hero__pills {
    gap: 8px;
    margin-bottom: 24px;
  }
  .hero__pill {
    padding: 7px 12px;
    font-size: 12px;
  }
  .hero__actions {
    gap: 16px;
  }
  .hero__ctas {
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero__ctas .btn,
  .hero__cta-secondary {
    width: 100%;
    padding: 15px 22px;
  }
}
