.site-footer {
  margin-top: 4rem;
  padding: 0;
  background: linear-gradient(180deg, #f5f8fb 0%, #eef3f8 100%);
  border-top: 1px solid #d6e1eb;
}

.site-footer.is-empty {
  display: none !important;
}

.site-footer__wrap {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 2.5rem 1rem;
}

.site-footer__layout {
  display: block;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

.site-footer__column {
  min-width: 0;
}

.site-footer__title {
  margin: 0 0 0.9rem;
  color: #22364a;
  font-size: 1.05rem;
  font-weight: 700;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.site-footer__link {
  color: #52697f;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 1.45;
  transition: color .2s ease, transform .2s ease;
}

.site-footer__link::before {
  content: "";
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: #9db8d3;
  flex: 0 0 .42rem;
  transition: transform .2s ease, background-color .2s ease;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: #0f5fa8;
  transform: translateX(4px);
}

.site-footer__link:hover::before,
.site-footer__link:focus-visible::before {
  background: #0f5fa8;
  transform: scale(1.12);
}

.site-footer__brand {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(34, 54, 74, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.site-footer__brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.site-footer__brand-link img {
  max-width: 132px;
  width: 132px;
  height: auto;
  display: block;
  transition: transform .2s ease, opacity .2s ease;
}

.site-footer__brand-link:hover img,
.site-footer__brand-link:focus-visible img {
  transform: translateY(-2px) scale(1.04);
  opacity: .92;
}

.site-footer__brand-text {
  margin: 0;
  color: #52697f;
  line-height: 1.6;
  font-size: .92rem;
  text-align: right;
}

@media (max-width: 991px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .site-footer__wrap {
    padding: 2rem 1rem;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .site-footer__column {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(34, 54, 74, 0.08);
  }

  .site-footer__column:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .site-footer__brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__brand-text {
    text-align: left;
  }
}
