.elevated-cta {
  --section-pad-top: clamp(3rem, 6vw, 6rem);
  --section-pad-bottom: clamp(3rem, 6vw, 6rem);
  padding-top: var(--section-pad-top);
  padding-bottom: var(--section-pad-bottom);
  max-width: none;
  width: 100%;
  margin: 0 auto;
}

.elevated-cta.small-pady {
  --section-pad-top: clamp(1.6rem, 2.5vw, 2.4rem);
  --section-pad-bottom: clamp(1.6rem, 2.5vw, 2.4rem);
}

.elevated-cta.medium-pady {
  --section-pad-top: clamp(3rem, 4vw, 5rem);
  --section-pad-bottom: clamp(3rem, 4vw, 5rem);
}

.elevated-cta.large-pady {
  --section-pad-top: clamp(5rem, 6vw, 8rem);
  --section-pad-bottom: clamp(5rem, 6vw, 8rem);
}

.elevated-cta.no-pady {
  --section-pad-top: 0;
  --section-pad-bottom: 0;
}

.elevated-cta.small-pady-bottom {
  --section-pad-bottom: clamp(1.6rem, 2.5vw, 2.4rem);
  padding-bottom: clamp(1.6rem, 2.5vw, 2.4rem);
}

.elevated-cta.medium-pady-bottom {
  --section-pad-bottom: clamp(3rem, 4vw, 5rem);
  padding-bottom: clamp(3rem, 4vw, 5rem);
}

.elevated-cta.large-pady-bottom {
  --section-pad-bottom: clamp(5rem, 6vw, 8rem);
  padding-bottom: clamp(5rem, 6vw, 8rem);
}

.elevated-cta.no-pady-bottom {
  --section-pad-bottom: 0;
  padding-bottom: 0;
}

/* ── Navy panel ── */

.elevated-cta .panel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background-color: var(--navy);
  max-width: calc(100% - 2rem);
  width: 100%;
  margin: 0 auto;
  padding: clamp(6rem, 9vw, 10rem) 5%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 60px -24px rgba(12, 20, 75, 0.45);
}

@media (min-width: 1460px) {
  .elevated-cta .panel { max-width: 1440px; }
}

.elevated-cta .background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Top sheen + faint mint underglow */
.elevated-cta .background::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 55% at 50% 0%, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0) 55%),
    radial-gradient(90% 40% at 50% 115%, rgba(179, 252, 228, 0.1) 0%, rgba(179, 252, 228, 0) 60%);
}

/* ── Mesh gradient blobs ── */

.elevated-cta .mesh-blob {
  position: absolute;
  border-radius: 50%;
  aspect-ratio: 1/1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  will-change: transform;
  filter: blur(70px);
}

.elevated-cta .mesh-blob--1 {
  top: 10%;
  left: 15%;
  width: 70%;
  background: radial-gradient(circle, rgba(77, 87, 245, 0.65) 0%, rgba(77, 87, 245, 0) 70%);
}

.elevated-cta .mesh-blob--2 {
  top: 15%;
  left: 92%;
  width: 80%;
  background: radial-gradient(circle, rgba(28, 188, 252, 0.38) 0%, rgba(28, 188, 252, 0) 70%);
}

.elevated-cta .mesh-blob--3 {
  top: 95%;
  left: 82%;
  width: 78%;
  background: radial-gradient(circle, rgba(74, 87, 225, 0.55) 0%, rgba(74, 87, 225, 0) 70%);
}

.elevated-cta .mesh-blob--4 {
  top: 100%;
  left: 22%;
  width: 60%;
  background: radial-gradient(circle, rgba(179, 252, 228, 0.26) 0%, rgba(179, 252, 228, 0) 70%);
}

.elevated-cta .mesh-blob--5 {
  top: 50%;
  left: 55%;
  width: 95%;
  background: radial-gradient(circle, rgba(30, 35, 102, 0.5) 0%, rgba(30, 35, 102, 0) 70%);
}

@media (max-width: 599px) {
  .elevated-cta .mesh-blob { filter: blur(46px); }
  .elevated-cta .mesh-blob--1 { width: 110%; }
  .elevated-cta .mesh-blob--3 { width: 120%; }
}

/* Self-contained slow drift (theme.js drift only targets specific
   containers, so this module animates its own blobs) */
@media (prefers-reduced-motion: no-preference) {
  .elevated-cta .mesh-blob--1 { animation: elevated-cta-drift-a 22s ease-in-out infinite alternate; }
  .elevated-cta .mesh-blob--2 { animation: elevated-cta-drift-b 26s ease-in-out infinite alternate; }
  .elevated-cta .mesh-blob--3 { animation: elevated-cta-drift-a 24s ease-in-out infinite alternate-reverse; }
  .elevated-cta .mesh-blob--4 { animation: elevated-cta-drift-b 28s ease-in-out infinite alternate-reverse; }
  .elevated-cta .mesh-blob--5 { animation: elevated-cta-drift-a 30s ease-in-out infinite alternate; }
}

@keyframes elevated-cta-drift-a {
  from { transform: translate(-50%, -50%) scale(1); }
  to   { transform: translate(-44%, -56%) scale(1.08); }
}

@keyframes elevated-cta-drift-b {
  from { transform: translate(-50%, -50%) scale(1.05); }
  to   { transform: translate(-56%, -46%) scale(0.96); }
}

/* ── Content ── */

.elevated-cta .content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}

.elevated-cta .overline {
  color: var(--mint);
  letter-spacing: 0.08em;
  padding: 0;
  margin-bottom: 0;
}

.elevated-cta .cta-heading {
  font-family: var(--aller);
  font-size: clamp(3rem, 3.5vw, 4.8rem);
  font-weight: var(--bold);
  line-height: 1.1;
  color: var(--white);
  margin: 0;
  max-width: var(--heading-max-width, 52rem);
  text-wrap: balance;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .elevated-cta .cta-heading {
    background: linear-gradient(180deg, #ffffff 15%, rgba(179, 252, 228, 0.92) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* keep descenders inside the painted area (line-height is tight) */
    padding-bottom: 0.15em;
    margin-bottom: -0.15em;
  }
}

.elevated-cta .cta-copy {
  font-family: var(--aller);
  font-size: clamp(1.8rem, 2.2vw, 2.2rem);
  font-weight: var(--light);
  line-height: 1.4;
  color: var(--white);
  opacity: 0.9;
  max-width: var(--copy-max-width, 56rem);
  text-wrap: pretty;
}

.elevated-cta .cta-copy p {
  font: inherit;
  margin: 0 0 0.5em;
}

.elevated-cta .cta-copy p:last-child {
  margin-bottom: 0;
}

.elevated-cta .cta-copy b,
.elevated-cta .cta-copy strong {
  font-weight: var(--bold);
  color: var(--mint);
}

/* ── Actions ── */

.elevated-cta .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  margin-top: 1rem;
}

.elevated-cta .action-button {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.elevated-cta .action-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(77, 87, 245, 0.6);
}

.elevated-cta .action-button:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}
