/* =========================================================
   Shared final CTA panel — Reserve Studies + Platform (.pcta)
   Reference: wide dark navy panel, gold eyebrow, Playfair headline.
   ========================================================= */
.pcta {
  position: relative;
  padding: clamp(64px, 8vw, 96px) 0 clamp(72px, 9vw, 104px);
  overflow: hidden;
}

.pcta > .wrap {
  max-width: 1180px;
  padding-left: clamp(20px, 4vw, 44px);
  padding-right: clamp(20px, 4vw, 44px);
}

.pcta-panel {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(44px, 5.5vw, 64px) clamp(28px, 5vw, 72px);
  text-align: center;
  border-radius: 14px;
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(201, 162, 75, 0.07), transparent 52%),
    radial-gradient(90% 70% at 12% 100%, rgba(78, 124, 168, 0.06), transparent 55%),
    linear-gradient(168deg, #0f1828 0%, #0a101c 48%, #070b14 100%);
  border: 1px solid rgba(201, 162, 75, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(242, 213, 151, 0.14),
    0 28px 64px -40px rgba(0, 0, 0, 0.65);
}

.pcta-panel::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 0;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(242, 213, 151, 0.55) 18%,
    rgba(224, 185, 120, 0.85) 50%,
    rgba(242, 213, 151, 0.55) 82%,
    transparent
  );
  pointer-events: none;
}

.pcta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #d4ad6a;
}

.pcta-eyebrow::before,
.pcta-eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(212, 173, 106, 0.85);
  flex: none;
}

.pcta-headline {
  margin: 22px auto 0;
  max-width: 16ch;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: clamp(32px, 3.8vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: #f8fafc;
  text-wrap: balance;
}

.pcta-body {
  margin: 18px auto 0;
  max-width: 52ch;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: clamp(16px, 1.55vw, 18px);
  line-height: 1.62;
  color: rgba(184, 197, 216, 0.92);
  text-wrap: pretty;
}

.pcta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.pcta-secondary {
  margin-top: 18px;
}

.pcta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 28px;
  white-space: nowrap;
  transition:
    transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.22s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.22s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.22s cubic-bezier(0.22, 0.61, 0.36, 1),
    background 0.22s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.pcta-btn .arr {
  transition: transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.pcta-btn:hover .arr {
  transform: translateX(4px);
}

.pcta-btn--primary {
  color: #1a1305;
  border: 1px solid rgba(242, 213, 151, 0.55);
  background: linear-gradient(180deg, #f2d597 0%, #e0b978 55%, #c9954a 100%);
  box-shadow:
    0 10px 26px rgba(201, 149, 74, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.pcta-btn--primary:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow:
    0 12px 30px rgba(201, 149, 74, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.pcta-btn--secondary {
  color: #e8d4a8;
  background: rgba(8, 12, 22, 0.55);
  border: 1px solid rgba(201, 162, 75, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pcta-btn--secondary:hover {
  color: #f4e9d7;
  border-color: rgba(224, 185, 120, 0.62);
  background: rgba(201, 162, 75, 0.08);
  transform: translateY(-1px);
}

.pcta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #d4ad6a;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.pcta-link:hover {
  color: #f0d49a;
}

.pcta-link .arr {
  transition: transform 0.2s ease;
}

.pcta-link:hover .arr {
  transform: translateX(4px);
}

@media (max-width: 720px) {
  .pcta-panel {
    padding: 40px 22px 44px;
    border-radius: 12px;
  }

  .pcta-headline {
    max-width: none;
  }

  .pcta-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 28px;
  }

  .pcta-actions--dual .pcta-btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .pcta-btn--primary {
    width: 100%;
  }
}
