.mb-site-footer {
  width: 100%;
  padding: 42px 20px 22px;
  background: #020934;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-body);
}

.mb-footer-inner {
  width: min(var(--content-max-width), 100%);
  margin: 0 auto;
}

.mb-footer-top {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.mb-footer-brand h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.2;
}

.mb-footer-brand p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.55;
}

.mb-footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  white-space: nowrap;
}

.mb-footer-contact a {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.mb-footer-contact a:hover,
.mb-footer-links a:hover {
  color: var(--color-cyan);
}

.mb-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr 0.75fr 1.25fr;
  gap: 28px;
  padding: 30px 0;
}

.mb-footer-links h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mb-footer-links ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mb-footer-links a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}

.mb-footer-links p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.55;
}

.mb-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.mb-footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .mb-footer-top,
  .mb-footer-bottom {
    flex-direction: column;
  }

  .mb-footer-contact {
    align-items: flex-start;
  }

  .mb-footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .mb-site-footer {
    padding: 34px 16px 20px;
  }

  .mb-footer-links {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* Stuff before footer. */
.mb-related-section {
  padding: 78px 0;
  background: var(--color-ice-blue);
}

.mb-related-card {
  display: grid;
  gap: 8px;
  min-height: 100%;
  padding: 26px;
  border: 1px solid rgba(3, 15, 106, 0.12);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(3, 15, 106, 0.08);
  color: var(--text-dark);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.mb-related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(3, 111, 251, 0.32);
  box-shadow: 0 18px 36px rgba(3, 15, 106, 0.13);
}

.mb-related-card strong {
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
}

.mb-related-card span {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .mb-related-section {
    padding: 54px 0;
  }
}
/* End stuff before footer. */
