/* ============================================
   BLOCK 9 — Finale (cinematic overlay)
   Full-bleed image bg + gradient overlay + centered content + convive ribbon + CTA
   ============================================ */

.home_block_9 {
  position: relative;
  padding: 10rem 0 8rem;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: var(--bg-deeper);
}

.home_block_9_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  z-index: 0;
  filter: saturate(1.15);
}

.home_block_9::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at center,
      rgba(139, 16, 22, 0.28) 0%,
      transparent 60%
    ),
    linear-gradient(180deg, rgba(14, 7, 7, 0.7) 0%, rgba(8, 4, 4, 0.92) 100%);
  z-index: 1;
  pointer-events: none;
}

.home_block_9::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--gold) 50%,
    transparent 100%
  );
  opacity: 0.5;
  z-index: 2;
}

.home_block_9_content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  text-align: center;
  width: 100%;
}

.home_block_9_content > h2 {
  color: var(--white);
}

.home_block_9_content > h2 > span {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.home_block_9_content > .text-m {
  color: var(--text-muted);
}

/* ===== Convive ribbon — 7 keywords with gold dots ===== */

.home_block_9_convive {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  padding: 1.6rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 1rem 0;
  position: relative;
}

.home_block_9_convive::before,
.home_block_9_convive::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: var(--rounded-full);
}

.home_block_9_convive::before {
  top: -1px;
}

.home_block_9_convive::after {
  bottom: -1px;
}

.home_block_9_convive > span {
  display: inline-flex;
  align-items: baseline;
  padding: 0 0.8rem;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.3s ease;
}

.home_block_9_convive > span:not(:first-child)::before {
  content: "●";
  color: var(--gold);
  font-size: 0.5em;
  margin-right: 1.6rem;
  transform: translateY(-0.2em);
}

.home_block_9_convive > span:hover {
  color: var(--gold);
}

/* ===== Finale text with emphasis ===== */

.home_block_9_finale {
  color: var(--text-muted);
}

.home_block_9_finale > strong {
  color: var(--gold);
  font-weight: 700;
}

/* ===== CTA ===== */

.home_block_9_content > .primary_button {
  margin-top: 1.2rem;
}

/* ===== Mobile ===== */

@media (max-width: 1024px) {
  .home_block_9 {
    padding: 12rem 0 10rem;
    min-height: auto;
  }

  .home_block_9_bg {
    opacity: 0.38;
  }

  .home_block_9_content {
    gap: 3rem;
  }

  .home_block_9_convive {
    padding: 3rem 0;
    gap: 1rem 0;
    margin: 2rem 0;
  }

  .home_block_9_convive::before,
  .home_block_9_convive::after {
    width: 10rem;
    height: 3px;
  }

  .home_block_9_convive > span {
    font-size: 2.4rem;
    padding: 0 1.2rem;
  }

  .home_block_9_convive > span:not(:first-child)::before {
    margin-right: 2rem;
  }

  .home_block_9_content > .primary_button {
    margin-top: 2rem;
  }
}
