.site-footer {
  padding: clamp(1.5rem, 4vw, 3rem) 0;
  border-top: 0;
  background: linear-gradient(180deg, #f8fbff, #f3f7fd);
}

.footer-card {
  overflow: hidden;
  border: 1px solid #d8e4f5;
  border-radius: clamp(1rem, 2vw, 1.5rem);
  background:
    radial-gradient(circle at 50% 15%, rgb(238 245 255 / 45%), transparent 34%),
    rgb(255 255 255 / 94%);
  box-shadow: 0 12px 34px rgb(6 29 92 / 5%);
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(280px, 1fr) minmax(240px, 0.9fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.footer-brand,
.footer-links {
  min-width: 0;
}

.footer-brand {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1.5rem;
}

.footer-brand-mark {
  display: inline-flex;
  max-width: 100%;
}

.footer-logo-image {
  width: min(100%, 330px);
  height: auto;
  max-height: 110px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand p {
  max-width: 34rem;
  margin: 0;
  color: #3d557d;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.footer-links h3 {
  margin: 0 0 0.5rem;
  color: var(--sb-navy);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 800;
}

.footer-links a {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  min-width: 0;
  color: #3d557d;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.footer-links a .material-symbols-outlined {
  color: var(--sb-navy);
  font-size: 1.35rem;
}

.footer-links a span:last-child {
  overflow-wrap: anywhere;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--sb-blue);
}

.footer-links a:hover .material-symbols-outlined,
.footer-links a:focus-visible .material-symbols-outlined {
  color: var(--sb-blue);
}

.footer-bottom {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  margin: 0 clamp(2rem, 5vw, 4.5rem);
  padding: 1.5rem 0 clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid #dfe7f2;
  color: #3d557d;
  font-size: 0.95rem;
}

.footer-made-for {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  min-width: 0;
  text-align: right;
}

.footer-made-for .material-symbols-outlined {
  flex: 0 0 auto;
  color: var(--sb-navy);
}

@media (max-width: 991.98px) {
  .footer-shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767.98px) {
  .site-footer {
    padding: 1rem 0 calc(6rem + env(safe-area-inset-bottom));
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-logo-image {
    width: min(100%, 250px);
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    margin-inline: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .footer-made-for {
    text-align: left;
  }
}

@media (max-width: 389.98px) {
  .footer-shell {
    padding: 1.25rem;
  }

  .footer-bottom {
    margin-inline: 1.25rem;
  }
}
