/* ── FINAL CTA ──────────────────────────────────────────────── */
.final-cta-section {
  padding: 80px 0 0px;
  overflow: hidden;
}

.final-cta-full-wrap {
  position: relative;
  width: 100%;
  /* Using a generous height to allow the image to breathe like the hero */
  height: clamp(500px, 60vw, 800px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.final-cta-full-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Perfect diffusion effect: Deep fade to white on the bottom to blend perfectly */
.final-cta-full-overlay {
  position: absolute;
  /* Slightly negative inset to ensure no 1px gaps at edges */
  inset: -1px;
  pointer-events: none;
  z-index: 1;
  background: 
    /* Top fade */
    linear-gradient(
      to bottom, 
      var(--clr-white) 0%,             
      rgba(255, 255, 255, 0) 25%
    ),
    /* Bottom fade - much deeper to fuse with the background */
    linear-gradient(
      to top, 
      var(--clr-white) 0%,
      var(--clr-white) 5%,
      rgba(255, 255, 255, 0) 50%
    ),
    /* Left & Right fade */
    linear-gradient(
      to right, 
      var(--clr-white) 0%,             
      rgba(255, 255, 255, 0) 15%,      
      rgba(255, 255, 255, 0) 85%,      
      var(--clr-white) 100%            
    );
}

.final-cta-content-inner {
  position: relative;
  z-index: 5;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.final-cta-section .section-header {
  margin-bottom: 0; /* Handled by gap in content-inner */
}

@media (max-width: 900px) {
  .final-cta-full-wrap {
    height: 600px;
  }
}

@media (max-width: 640px) {
  .final-cta-full-wrap {
    height: 500px;
  }
  .final-cta-full-overlay {
    background: 
      linear-gradient(
        to bottom, 
        var(--clr-white) 0%,             
        rgba(255, 255, 255, 0) 15%
      ),
      linear-gradient(
        to top, 
        var(--clr-white) 0%,
        var(--clr-white) 10%, /* Stronger solid base for mobile */
        rgba(255, 255, 255, 0) 50%
      );
  }
}
