/* Keep the bottom "The right partner changes everything." CTA heading
   completely static — permanently removes the 3D rotationX lean-up/down
   scroll animation across every page of the website. */

.cta h2 {
  transform: none !important;
  opacity: 1 !important;
}

/* Uniform +10% larger "Let's talk" CTA button with chat icon across every
   page that has the bottom "The right partner changes everything." section. */
.cta .talk-button,
.footer-unified .footer-hero .talk-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26.4px;
  min-width: 202px;
  min-height: 64px;
  padding: 16.5px 25.3px;
  border: 1px solid #65d4ed;
  border-radius: 999px;
  background: #00bfed;
  color: #081d55;
  font-size: 19.8px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  white-space: nowrap;
  box-shadow: 0 6px 18px #020b2914;
  transition: background .2s, box-shadow .2s, border-color .2s, transform .2s;
}

.cta .talk-button:hover,
.footer-unified .footer-hero .talk-button:hover {
  background: #8ae8f4;
  border-color: #8ae8f4;
  color: #081d55;
  box-shadow: 0 8px 24px #020b2928;
  transform: translateY(-1px);
}

.cta .talk-button > span,
.footer-unified .footer-hero .talk-button > span {
  display: grid;
  place-items: center;
  width: 28.6px;
  height: 28.6px;
  flex: none;
}

.cta .talk-button svg,
.footer-unified .footer-hero .talk-button svg {
  display: block;
  width: 26.4px;
  height: 26.4px;
}

/* ====== UNIFIED CLOSING SECTION: FULL-SIZE TALL BOX, COMPACT LOGO, VERTICALLY CENTERED HEADLINE & BUTTON ====== */
body footer.footer-unified {
  position: relative;
  z-index: 8;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 72px);
  background:
    radial-gradient(44% 25% at 22% 31%, #1a3592 0%, #112266 42%, #09133d 72%, #060d29 100%),
    #060d29;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 0 var(--gutter) 24px;
  font-family: "Archivo Pinecrest", Archivo, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body footer.footer-unified .footer-hero {
  flex: 1 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1.15fr auto 1fr;
  column-gap: clamp(32px, 5vw, 72px);
  row-gap: 0;
  width: 100%;
  max-width: none;
  min-height: clamp(460px, 54vh, 610px);
  text-align: left;
  margin: 0;
  padding: clamp(56px, 6.2vh, 80px) 0 clamp(44px, 5vh, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

body footer.footer-unified .footer-wordmark {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: end;
  display: block;
  width: clamp(150px, 13.8vw, 200px);
  padding: 0;
  margin: 0 0 clamp(16px, 2vh, 24px);
  border: 0;
  transform: none !important;
  opacity: 1 !important;
}

body footer.footer-unified .footer-wordmark > img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  margin-inline: 0;
}

body footer.footer-unified .footer-cta-title {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  align-self: center;
  margin: 0;
  font-size: clamp(38px, 5.2vw, 84px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -.042em;
  color: #ffffff;
  text-align: left;
  transform: none !important;
  opacity: 1 !important;
}

body footer.footer-unified .footer-cta-title .accent {
  display: block;
  color: inherit;
  margin-top: 0;
}

body footer.footer-unified .footer-hero .talk-button {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  align-self: center;
  margin: 0;
  flex-shrink: 0;
}

body footer.footer-unified .footer-grid {
  flex: none;
  padding: clamp(52px, 6vh, 74px) 0;
}

body footer.footer-unified .footer-bottom {
  flex: none;
  border-top-color: rgba(255, 255, 255, .16);
  padding-top: 24px;
}

body footer.footer-unified .footer-legal {
  flex: none;
  padding: 14px 24px 8px;
}

@media (max-width: 760px) {
  body footer.footer-unified {
    min-height: auto;
    padding: 0 var(--gutter) 24px;
    background:
      radial-gradient(84% 22% at 44% 21%, #1a3592 0%, #112266 44%, #09133d 74%, #060d29 100%),
      #060d29;
  }
  body footer.footer-unified .footer-hero {
    flex: none;
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    align-content: start;
    row-gap: 20px;
    padding: 64px 0 56px;
  }
  body footer.footer-unified .footer-wordmark {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    margin: 0;
    width: min(155px, 44vw);
  }
  body footer.footer-unified .footer-cta-title {
    grid-column: 1;
    grid-row: 2;
    font-size: clamp(32px, 8.8vw, 46px);
  }
  body footer.footer-unified .footer-hero .talk-button {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    align-self: start;
    margin-top: 8px;
  }
  body footer.footer-unified .footer-grid {
    padding: 44px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta .talk-button,
  .footer-unified .footer-hero .talk-button {
    transition: none;
  }
}

.motion-paused .cta .talk-button,
.motion-paused .footer-unified .footer-hero .talk-button {
  transition: none;
}
