.final-cta {
  position: relative;
  padding: 80px 24px 120px;
  overflow: hidden;
  background: #fff;
}

.final-cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 320px;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(24, 95, 165, 0.16) 0%,
    rgba(24, 95, 165, 0.08) 35%,
    rgba(24, 95, 165, 0.03) 60%,
    transparent 100%
  );
}

.final-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
  box-shadow: none;
}

.final-cta__title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 800;
  color: var(--text);
  max-width: 760px;
  margin: 0 auto 16px;
}

.final-cta__text {
  max-width: 525px;
  margin: 0 auto 24px;
  color: var(--text2);
  line-height: 1.75;
  font-size: .95rem;
}

.final-cta__btn {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
}

.to-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;

  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.96);
  pointer-events: none;

  cursor: pointer;
  transition:
    opacity .25s ease,
    visibility .25s ease,
    transform .25s ease,
    background .18s ease,
    border-color .18s ease;
}

[data-theme="dark"] .to-top-btn {
  background: rgba(10, 18, 33, 0.9);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}

.to-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.to-top-btn:hover {
  background: var(--surface2);
  border-color: var(--border2);
  transform: translateY(-2px) scale(1);
}

.to-top-btn .material-symbols-rounded {
  font-size: 26px;
}

@media (max-width: 760px) {
  .to-top-btn {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}