/* Shared premium footer */
.footer {
  position: relative;
  padding: 0 0 0 !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 10%, rgba(29, 103, 203, 0.22), transparent 30%),
    linear-gradient(135deg, #061a3b 0%, #071f49 52%, #061735 100%) !important;
  color: #b9c7da;
}

.footer::before {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -190px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.018),
    0 0 0 110px rgba(255, 255, 255, 0.012);
  pointer-events: none;
}

.footer > .container {
  position: relative;
  z-index: 1;
  padding-top: 52px;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 52px;
  padding: 29px 32px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background:
    linear-gradient(105deg, rgba(13, 91, 199, 0.96), rgba(7, 59, 143, 0.96)),
    #073b8f;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.2);
}

.footer-cta-copy {
  max-width: 700px;
}

.footer-cta-kicker {
  display: block;
  margin-bottom: 7px;
  color: #bcd9ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.footer-cta h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(23px, 2.6vw, 32px);
  line-height: 1.25;
  font-weight: 780;
}

.footer-cta p {
  max-width: none !important;
  margin: 0 !important;
  color: #d6e6fb !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}

.footer-cta-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.footer-cta-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 9px;
  color: #fff;
  font-size: 11px;
  font-weight: 750;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.footer-cta-actions .primary {
  border-color: #fff;
  background: #fff;
  color: #073b8f;
}

.footer-cta-actions a:hover {
  color: #073b8f;
  background: #fff;
  transform: translateY(-2px);
}

.footer .row.g-4,
.footer .row.gy-4 {
  --bs-gutter-x: 42px;
  --bs-gutter-y: 36px;
  padding-bottom: 46px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 19px;
}

.footer-brand-mark {
  position: relative;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.footer-brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

.footer-brand-name {
  display: block;
  color: #fff;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.footer-brand-name span {
  color: #ff5d69;
}

.footer-brand-tagline {
  display: block;
  margin-top: 5px;
  color: #91a7c5;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.75px;
}

.footer .col-lg-4:first-of-type > p,
.footer .col-lg-4:first-of-type > a + p {
  max-width: 390px;
  margin: 0;
  color: #aebed2;
  font-size: 12px;
  line-height: 1.8;
}

.footer-socials {
  display: flex;
  gap: 9px;
  margin-top: 20px;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  color: #d8e4f3;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.footer-socials a:hover {
  color: #fff;
  background: #0d5bc7;
  transform: translateY(-3px);
}

.footer h5,
.footer .met-footer-menu h4 {
  position: relative;
  margin: 4px 0 20px;
  padding-bottom: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
}

.footer h5::after,
.footer .met-footer-menu h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: #4d9bff;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer ul li {
  margin: 0 0 11px;
  color: #aebed2;
  font-size: 12px;
  line-height: 1.55;
}

.footer ul li a {
  color: #aebed2;
  transition: color 160ms ease, padding-left 160ms ease;
}

.footer ul li a:hover {
  padding-left: 3px;
  color: #fff;
}

.footer ul li i {
  width: 18px;
  color: #70adff;
  text-align: center;
}

.footer-bottom,
.footer .footer-bottom.text-center {
  margin: 0 !important;
  padding: 20px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.footer-bottom .row {
  padding-bottom: 0;
}

.footer-bottom p,
.footer .footer-bottom.text-center p {
  margin: 0;
  color: #8fa4bf;
  font-size: 10.5px;
}

@media (max-width: 991.98px) {
  .footer-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .footer > .container {
    padding-top: 36px;
  }

  .footer-cta {
    margin-bottom: 42px;
    padding: 24px;
  }

  .footer-cta-actions {
    width: 100%;
  }

  .footer-cta-actions a {
    flex: 1;
  }

  .footer-bottom .row {
    gap: 8px;
  }

  .footer-bottom,
  .footer-bottom .text-md-end {
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .footer-cta-actions {
    flex-direction: column;
  }

  .footer-cta-actions a {
    width: 100%;
  }
}
