/* Footer Wrapper with Floating CTA Banner */
.sp-footer-wrap {
  position: relative;
  background-color: var(--sp-white);
  padding-top: 56px;
}

.sp-footer {
  background-color: var(--sp-navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 0 0 0;
  position: relative;
}

.sp-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Floating Blue CTA Card Overlapping Top Edge */
.sp-footer-cta-slot {
  transform: translateY(-50%);
  margin-bottom: -24px;
}

.sp-footer-cta {
  background: linear-gradient(135deg, #104a8a 0%, var(--sp-blue) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 26px 32px;
  box-shadow: 0 18px 40px rgba(7, 29, 66, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sp-footer-cta__left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.sp-footer-cta__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--sp-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sp-footer-cta__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bfdbfe;
  margin-bottom: 4px;
}

.sp-footer-cta__title {
  margin: 0 0 4px;
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 800;
  color: var(--sp-white);
  line-height: 1.2;
}

.sp-footer-cta__sub {
  margin: 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.86);
}

.sp-footer-cta__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.sp-footer-cta__btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--sp-white);
  color: var(--sp-navy);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 13px 20px;
  border-radius: var(--sp-radius-md);
  white-space: nowrap;
  transition: transform var(--sp-transition), background-color var(--sp-transition);
}

.sp-footer-cta__btn-white:hover {
  background-color: #eef5ff;
  transform: translateY(-1px);
}

.sp-footer-cta__btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background-color: transparent;
  color: var(--sp-white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 12px 20px;
  border-radius: var(--sp-radius-md);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  transition: background-color var(--sp-transition), border-color var(--sp-transition);
}

.sp-footer-cta__btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--sp-white);
}

/* 5-Column Main Footer Grid */
.sp-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.72fr 1.05fr 1fr 0.95fr;
  gap: 28px;
  padding: 12px 0 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Brand Column */
.sp-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 14px;
}

.sp-footer__logo-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--sp-radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

.sp-footer__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sp-footer__brand-name {
  display: block;
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--sp-white);
}

.sp-footer__brand-tag {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-top: 2px;
}

.sp-footer__desc {
  margin: 0 0 20px;
  font-size: 13.8px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 310px;
}

.sp-footer__follow-label {
  display: block;
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sp-white);
  margin-bottom: 10px;
}

.sp-footer__socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sp-footer__social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--sp-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color var(--sp-transition), transform var(--sp-transition);
}

.sp-footer__social-btn:hover {
  background-color: var(--sp-blue);
  transform: translateY(-2px);
}

/* Link Columns with Short Blue Underline */
.sp-footer__heading {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 10px;
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sp-white);
}

.sp-footer__heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  background-color: #38bdf8;
  border-radius: 2px;
}

.sp-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sp-footer__link {
  font-size: 13.8px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--sp-transition), padding-left var(--sp-transition);
}

.sp-footer__link:hover {
  color: var(--sp-white);
  padding-left: 4px;
}

/* Contact Column */
.sp-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sp-footer__contact-item {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.8px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  word-break: break-word;
}

.sp-footer__contact-item svg {
  margin-top: 2px;
  flex-shrink: 0;
}

.sp-footer__contact-item:hover {
  color: var(--sp-white);
}

/* Bottom Copyright Bar */
.sp-footer__bottom {
  padding: 20px 72px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
}

.sp-footer__bottom p {
  margin: 0;
}

.sp-footer__legal {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.sp-footer__legal a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--sp-transition);
}

.sp-footer__legal a:hover,
.sp-footer__legal a:visited:hover {
  color: var(--sp-white);
  text-decoration: underline;
}

.sp-footer__legal a:visited {
  color: rgba(255, 255, 255, 0.86);
}

.sp-footer__credit-link {
  color: #93c5fd;
  font-weight: 700;
  text-decoration: none;
  transition: color var(--sp-transition);
}

.sp-footer__credit-link:hover {
  color: var(--sp-white);
  text-decoration: underline;
}

/* Tablet */
@media (max-width: 1023px) {
  .sp-footer-wrap {
    padding-top: 32px;
  }

  .sp-footer__inner {
    padding: 0 20px;
  }

  .sp-footer-cta-slot {
    transform: translateY(-28px);
    margin-bottom: 0;
  }

  .sp-footer-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .sp-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }
}

/* Mobile */
@media (max-width: 639px) {
  .sp-footer-wrap {
    padding-top: 24px;
  }

  .sp-footer__inner {
    padding: 0 16px;
  }

  .sp-footer-cta-slot {
    transform: translateY(-20px);
  }

  .sp-footer-cta {
    padding: 20px 18px;
  }

  .sp-footer-cta__left {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .sp-footer-cta__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .sp-footer-cta__btn-white,
  .sp-footer-cta__btn-outline {
    justify-content: center;
  }

  .sp-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 32px;
  }

  .sp-footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px 0 24px;
    gap: 10px;
  }

  .sp-footer__legal {
    justify-content: center;
    gap: 6px 10px;
    font-size: 12px;
  }
}
