footer.site-footer {
  display: block;
  padding: clamp(32px, 5vw, 70px) max(20px, 6.5vw) 20px;
  border-top: 1px solid #c9dce9;
  background: linear-gradient(154deg, #f1f8fd, #e8f2f9 80%);
  color: #142f44;
}

.site-footer-inner {
  max-width: 1200px;
  margin-inline: auto;
}

.site-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  margin-bottom: clamp(24px, 4vw, 44px);
}

.site-footer-brand {
  display: inline-block;
  margin-bottom: 24px;
}

.site-footer-brand img {
  display: block;
  width: min(230px, 100%);
  height: auto;
}

.site-footer-office h2 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -.02em;
}

.site-footer-office address,
.site-footer-phone,
.site-footer-email {
  display: block;
  margin: 0;
  color: #39576c;
  font: inherit;
  font-size: 14px;
  line-height: 1.65;
}

.site-footer-phone {
  margin-top: 8px;
}

.site-footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.site-footer-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid #9ab5c8;
  border-radius: 7px;
  color: #173b54;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.site-footer-contact a:hover {
  background: #fff;
  border-color: #477897;
}

.site-footer .footer-range {
  justify-self: end;
  width: min(100%, 600px);
  margin: 0;
}

.site-footer .footer-range img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #c7d9e6;
  border-radius: 14px;
  box-shadow: 0 8px 24px #24465e14;
}

.site-footer .site-footer-nav,
.site-footer .site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0 20px;
  margin: 0;
}

.site-footer .site-footer-nav {
  padding: 6px 0;
  border-top: 1px solid #c9dce9;
  border-bottom: 1px solid #c9dce9;
}

.site-footer-nav a,
.site-footer-legal a,
.site-footer-credit a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  text-underline-offset: 3px;
}

.site-footer-nav a {
  color: #142f44;
  font-size: 13px;
  font-weight: 600;
}

.site-footer-legal a,
.site-footer-credit {
  color: #39576c;
  font-size: 12px;
}

.site-footer-nav a:hover,
.site-footer-legal a:hover,
.site-footer-credit a:hover {
  text-decoration: underline;
}

.site-footer-bottom,
.site-footer-credit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 22px;
}

.site-footer-bottom {
  justify-content: space-between;
  padding-top: 6px;
}

.site-footer-credit small {
  font-size: inherit;
}

.site-footer-credit a {
  gap: 7px;
  color: inherit;
}

.site-footer-credit img {
  object-fit: contain;
}

.site-footer a:focus-visible {
  outline: 2px solid #176a9e;
  outline-offset: 3px;
}

@media (max-width: 650px) {
  .site-footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .site-footer .footer-range {
    justify-self: start;
  }

  .site-footer-brand {
    margin-bottom: 18px;
  }

  .site-footer-brand img {
    width: min(200px, 100%);
  }

  .site-footer .site-footer-nav,
  .site-footer .site-footer-legal {
    gap: 0 16px;
  }
}
