/* Carousel layout: homepage + products + success (loaded where needed) */

.has-carousel-layout .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: none;
}

.has-carousel-layout .site-header-inner {
  max-width: 1120px;
}

.has-carousel-layout .nav-links a {
  color: rgba(255, 255, 255, 0.92);
}

.has-carousel-layout .brand-sub {
  color: rgba(255, 255, 255, 0.55);
}

.has-carousel-layout:not(.page-home) > main {
  padding-top: 28px;
  position: relative;
  z-index: 2;
}

/* ─── Hero carousel ───────────────────────────────────────────── */
.home-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.home-hero--fullscreen {
  height: 100vh;
  min-height: 520px;
}

.home-hero--banner {
  height: clamp(240px, 42vh, 420px);
  min-height: 220px;
}

.home-hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero__layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  pointer-events: none;
}

.home-hero__layer.is-visible {
  opacity: 1;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.home-hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px 20px 52px;
  max-width: 1120px;
  margin: 0 auto;
}

.home-hero__headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5.4vw, 58px);
  line-height: 1.02;
  letter-spacing: 1px;
  color: #fff;
  max-width: 920px;
  margin-bottom: 14px;
}

.home-hero__sub {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 760px;
  margin-bottom: 22px;
}

.home-hero__cta.btn {
  background: var(--gold);
  color: var(--navy);
  border: none;
}

/* ─── Problem ─────────────────────────────────────────────────── */
.home-section {
  padding: 72px 0;
}

.home-section--midtone {
  background: rgba(26, 42, 68, 0.35);
}

.home-section__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 36px;
  max-width: 900px;
}

.home-problem-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .home-problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-block {
  background: rgba(26, 42, 68, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 4px;
  padding: 22px 20px;
}

.home-block h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.home-block p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

/* ─── How it works (timeline) ─────────────────────────────────── */
.home-steps {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.home-step {
  flex: 0 0 min(280px, 85vw);
  scroll-snap-align: start;
  background: rgba(26, 42, 68, 0.45);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 4px;
  padding: 18px 16px;
}

.home-step__num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 8px;
}

.home-step h3 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.home-step p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

/* ─── Accent sections (photo) ─────────────────────────────────── */
.home-accent {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.home-hero--fallback {
  background: var(--navy);
}

.home-accent__shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: 0;
}

.home-accent .shell {
  position: relative;
  z-index: 1;
}

.home-outcome-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 900px) {
  .home-outcome-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.home-data-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 720px) {
  .home-data-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  max-width: 820px;
  margin-bottom: 28px;
}

/* ─── Venue cards ─────────────────────────────────────────────── */
.home-venue-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 720px) {
  .home-venue-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .home-venue-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-venue-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.home-venue-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

/* ─── Stats ───────────────────────────────────────────────────── */
.home-stats-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 900px) {
  .home-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home-stat {
  background: rgba(26, 42, 68, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 4px;
  padding: 20px 18px;
}

.home-stat__value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 10px;
}

.home-stat__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
  margin-bottom: 12px;
}

.home-stat__source {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  font-style: italic;
}

/* ─── Final CTAs ─────────────────────────────────────────────── */
.home-final-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.home-final-ctas .btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.home-final-ctas .btn-outline {
  border-color: var(--gold);
  color: var(--gold);
}
