/* ============================================================
   FINAL CTA — bright blue running into navy, with a soft light-blue
   glow in the top-left corner. Copy on the left with the button
   underneath it; the logo's three peaks sit bottom-right as a pale
   silhouette; the bottom edge fades into the footer's dark navy.
   ============================================================ */

.closing {
  position: relative;
  overflow: hidden;
  padding: 150px 0 170px;
  background:
    radial-gradient(ellipse 55% 110% at 0% 0%, rgba(123, 159, 212, 0.32) 0%, rgba(123, 159, 212, 0) 62%),
    linear-gradient(110deg, var(--blue) 0%, var(--blue) 30%, var(--navy) 78%, var(--dark) 100%);
  color: var(--white);
}

/* Bottom edge melts into the footer */
.closing::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60%;
  /* Long, eased fade (several stops) so there is no visible band */
  background: linear-gradient(180deg,
    rgba(13, 31, 66, 0) 0%,
    rgba(13, 31, 66, 0.08) 22%,
    rgba(13, 31, 66, 0.24) 42%,
    rgba(13, 31, 66, 0.5) 62%,
    rgba(13, 31, 66, 0.8) 82%,
    var(--dark) 100%);
  pointer-events: none;
}

/* images/mountains-mark.svg turned into a single pale silhouette, so all
   three peaks show on the dark end of the gradient */
.closing-peaks {
  position: absolute;
  right: -6rem;
  bottom: -0.5rem;
  width: min(44rem, 60vw);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.2;
  /* The peaks dissolve towards their base instead of ending on a hard line */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 30%, transparent 92%);
          mask-image: linear-gradient(180deg, #000 0%, #000 30%, transparent 92%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  gap: 2.25rem;
}

.closing-title {
  margin: 0 0 1rem;
  font-size: clamp(2.3rem, 5.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--white);
  text-wrap: balance;
}
.closing-sub { max-width: 40rem; margin: 0; font-size: 1.1rem; line-height: 1.6; color: rgba(255, 255, 255, 0.92); }

.closing-btn {
  gap: 0.75rem;
  padding: 1.3rem 2.6rem;
  background: var(--white);
  border-color: var(--white);
  font-size: 1.1rem;
  color: var(--navy);
  box-shadow: 0 12px 34px rgba(13, 31, 66, 0.4);
}
.closing-btn:hover { background: var(--off-white); border-color: var(--off-white); transform: translateY(-2px); box-shadow: 0 14px 38px rgba(13, 31, 66, 0.5); }
.closing-btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.closing-arrow { width: 1.25rem; height: 1.25rem; transition: translate var(--transition); }
.closing-btn:hover .closing-arrow { translate: 4px 0; }

@media (max-width: 900px) {
  .closing {
    padding: 100px 0 130px;
    background:
      radial-gradient(ellipse 110% 55% at 0% 0%, rgba(123, 159, 212, 0.32) 0%, rgba(123, 159, 212, 0) 62%),
      linear-gradient(165deg, var(--blue) 0%, var(--blue) 30%, var(--navy) 78%, var(--dark) 100%);
  }
  .closing-peaks { right: -4rem; width: 130vw; opacity: 0.15; }
  .closing-inner { gap: 2rem; }
  .closing-btn { padding: 1.2rem 2.2rem; font-size: 1.05rem; }
}
