/* Reusable cinematic banner - sf-hero (all inner pages) */

.sf-hero {
  --sf-hero-gold: #c4a574;
  --sf-hero-accent: #e9204f;
  --sf-hero-text: #f4f4f5;
  --sf-hero-muted: rgba(255, 255, 255, 0.64);
  --sf-hero-ease: cubic-bezier(0.22, 0.9, 0.22, 1);
  --sf-header-offset: 92px;
  position: relative;
  margin: 0;
  padding: 0;
  min-height: clamp(420px, 58vh, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.sf-hero--tall {
  min-height: clamp(520px, 72vh, 780px);
}

.sf-hero--compact {
  min-height: clamp(340px, 45vh, 460px);
}

.sf-hero--align-left .sf-hero__inner {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

.sf-hero--align-left .sf-hero__actions {
  justify-content: flex-start;
}

.sf-hero--align-left .sf-hero__subtitle {
  margin-left: 0;
}

/* Media layer */
.sf-hero__media-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #050506;
}

.sf-hero__media-bg {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.sf-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.sf-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(5, 5, 6, 0.88) 0%, rgba(5, 5, 6, 0.45) 42%, rgba(5, 5, 6, 0.55) 100%),
    linear-gradient(0deg, rgba(8, 8, 10, 0.95) 0%, rgba(8, 8, 10, 0.2) 42%, rgba(8, 8, 10, 0.35) 100%);
}

.sf-hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.55);
}

.sf-hero__grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.22;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.sf-hero__leak {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.35;
  border-radius: 50%;
}

.sf-hero__leak--gold {
  width: 280px;
  height: 280px;
  top: 15%;
  left: 8%;
  background: radial-gradient(circle, rgba(196, 165, 116, 0.45), transparent 70%);
}

.sf-hero__leak--accent {
  width: 220px;
  height: 220px;
  bottom: 10%;
  right: 12%;
  background: radial-gradient(circle, rgba(233, 32, 79, 0.35), transparent 70%);
}

.sf-hero__fade-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(4rem, 12vw, 8rem);
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--sf-page-bg, #08080a));
}

/* Content */
.sf-hero__inner {
  position: relative;
  z-index: 5;
  width: min(1280px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding:
    calc(var(--sf-header-offset) + 1.5rem)
    0
    clamp(3.5rem, 8vw, 5rem);
}

.sf-hero__panel {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2rem);
  border-radius: 20px;
  background: rgba(10, 10, 14, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.sf-hero--align-left .sf-hero__panel {
  margin-left: 0;
}

.sf-hero__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  justify-content: center;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.78rem;
  color: var(--sf-hero-muted);
}

.sf-hero--align-left .sf-hero__breadcrumbs {
  justify-content: flex-start;
}

.sf-hero__breadcrumbs a {
  color: var(--sf-hero-muted) !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.sf-hero__breadcrumbs a:hover {
  color: var(--sf-hero-gold) !important;
}

.sf-hero__breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  opacity: 0.45;
}

.sf-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sf-hero-gold);
  margin: 0 0 0.9rem;
}

.sf-hero__eyebrow::before,
.sf-hero__eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sf-hero-gold));
}

.sf-hero__eyebrow::after {
  background: linear-gradient(90deg, var(--sf-hero-gold), transparent);
}

.sf-hero__title {
  font-family: 'Jost', sans-serif;
  font-size: clamp(2.15rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 0.85rem;
  text-wrap: balance;
}

.sf-hero__subtitle {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(0.95rem, 1.55vw, 1.12rem);
  line-height: 1.7;
  color: var(--sf-hero-muted);
  margin: 0 auto 1.65rem;
  max-width: 54ch;
  text-wrap: pretty;
}

.sf-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding-top: 0.25rem;
}

.sf-hero--align-left .sf-hero__stats {
  justify-content: flex-start;
}

.sf-hero__stat strong {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sf-hero-gold);
}

.sf-hero__stat span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sf-hero-muted);
}

.sf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 0.9rem;
}

.sf-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 1.55rem;
  flex: 0 0 auto;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  line-height: 1;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  transform: translateY(0);
  transition:
    transform 0.35s var(--sf-hero-ease),
    box-shadow 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease;
}

.sf-hero__btn:hover,
.sf-hero__btn:focus-visible {
  transform: translateY(-3px);
  outline: none;
}

.sf-hero__btn--primary {
  color: #fff !important;
  background: linear-gradient(135deg, #c41e3a 0%, var(--sf-hero-accent) 55%, #a81835 100%);
  box-shadow: 0 6px 18px rgba(233, 32, 79, 0.32);
}

.sf-hero__btn--primary:hover,
.sf-hero__btn--primary:focus-visible {
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(233, 32, 79, 0.4);
}

.sf-hero__btn--ghost {
  color: var(--sf-hero-text) !important;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
}

.sf-hero__btn--ghost:hover,
.sf-hero__btn--ghost:focus-visible {
  color: var(--sf-hero-gold) !important;
  border-color: rgba(196, 165, 116, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.sf-hero__btn--outline {
  color: var(--sf-hero-gold) !important;
  background: transparent;
  border-color: rgba(196, 165, 116, 0.45);
}

.sf-hero__btn--outline:hover,
.sf-hero__btn--outline:focus-visible {
  color: #fff !important;
  border-color: rgba(196, 165, 116, 0.65);
  background: rgba(196, 165, 116, 0.1);
}

.sf-hero .sf-hero__btn--primary:visited {
  color: #fff !important;
}

.sf-hero__scroll {
  position: absolute;
  bottom: 1.35rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Jost', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.35s var(--sf-hero-ease);
}

.sf-hero__scroll i {
  font-size: 0.95rem;
  animation: sf-hero-scroll-pulse 2.2s var(--sf-hero-ease) infinite;
}

.sf-hero__scroll:hover {
  color: var(--sf-hero-gold);
  transform: translateX(-50%) translateY(3px);
}

@keyframes sf-hero-scroll-pulse {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(5px); opacity: 1; }
}

@media (max-width: 640px) {
  .sf-hero__panel {
    padding: 1.25rem 1rem;
  }

  .sf-hero__eyebrow::before,
  .sf-hero__eyebrow::after {
    width: 16px;
  }

  .sf-hero__title {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sf-hero__scroll i {
    animation: none;
  }

  .sf-hero__btn {
    transition: none;
  }
}
