/* Contact: the closing navy panel with the call to action. */
/* contact panel */
.cta-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 64px;
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(60% 90% at 15% 20%, rgba(37, 99, 235, 0.55), transparent 70%),
    linear-gradient(150deg, #0f2a5e, var(--navy) 50%, var(--night-2));
  box-shadow: 0 40px 90px rgba(11, 31, 68, 0.28);
}
.cta-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to left, #000, transparent 70%);
  mask-image: linear-gradient(to left, #000, transparent 70%);
}
.cta-copy {
  display: grid;
  gap: 14px;
  justify-items: start;
}
.cta-copy h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
}
.cta-copy > p {
  color: var(--on-night-soft);
  font-size: 18px;
}
.cta-copy .hero-cta {
  justify-content: flex-start;
  margin-top: 14px;
}
.cta-copy .btn svg {
  width: 20px;
  height: 20px;
}
.cta-logo {
  justify-self: center;
  width: min(260px, 100%);
}
@media (max-width: 820px) {
  .cta-panel {
    grid-template-columns: 1fr;
    padding: 40px 26px;
    text-align: center;
    border-radius: 26px;
  }
  .cta-copy {
    justify-items: center;
  }
  .cta-copy .hero-cta {
    justify-content: center;
  }
  .cta-logo {
    order: -1;
    width: 190px;
  }
}
