.site-footer {
  padding: 0;
  background: #eaf2f5;
  border-top: 1px solid #bdd1dc;
  color: #16384f;
}

.site-footer .footer-inner {
  width: 92%;
  max-width: 1120px;
  min-height: 0;
  margin: 0 auto;
  padding: 27px 0 23px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

.site-footer .footer-brand {
  display: block;
  width: auto;
  margin: 0 auto;
  overflow: visible;
  color: #16384f;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.3;
  text-transform: none;
}

.site-footer .footer-brand::before,
.site-footer .footer-inner::after {
  content: none;
}

.site-footer .footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  flex: none;
  width: min(420px, 100%);
  min-height: 0;
  margin: 18px auto 17px;
  padding: 0;
  border: 0;
}

.site-footer .footer-nav > a,
.site-footer .contact-menu > summary {
  padding: 0 17px;
  color: #526b7c;
  font-size: 13px;
  line-height: 1.3;
  text-align: center;
}

.site-footer .footer-nav > a + a,
.site-footer .footer-nav > a + .contact-menu {
  border-left: 1px solid #9fb8c5;
}

.site-footer .contact-menu {
  position: relative;
  text-align: center;
}

.site-footer .contact-menu > summary {
  list-style: none;
  cursor: pointer;
}

.site-footer .contact-menu > summary::-webkit-details-marker {
  display: none;
}

.site-footer .contact-menu > summary:hover,
.site-footer .footer-nav > a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.site-footer .contact-menu[open] > summary {
  color: #16384f;
}

.site-footer .contact-menu-options {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  display: grid;
  gap: 6px;
  min-width: 150px;
  padding: 9px;
  background: #fff;
  border: 1px solid #9fb8c5;
  border-radius: 5px;
  box-shadow: 0 5px 18px #16384f22;
  text-align: left;
}

.site-footer .contact-menu-options a {
  display: block;
  padding: 7px 9px;
  color: #526b7c;
  font-size: 12px;
  white-space: nowrap;
}

.site-footer .contact-menu-options a + a {
  margin-left: 0;
  padding-left: 9px;
  border-top: 1px solid #9fb8c5;
  border-left: 0;
}

.site-footer .contact-menu-options a:hover {
  background: #eaf2f5;
  text-decoration: none;
}

.site-footer .footer-legal {
  margin: 0;
  color: #647f90;
  font-size: 11px;
  line-height: 1.4;
}

@media (max-width: 760px) {
  .site-footer .footer-inner {
    width: 92%;
    padding: 23px 0 20px;
    align-items: center;
    gap: 0;
  }

  .site-footer .footer-brand {
    width: auto;
    font-size: 16px;
  }

  .site-footer .footer-nav {
    width: 100%;
    margin: 16px 0 15px;
    gap: 0;
  }

  .site-footer .footer-nav > a,
  .site-footer .contact-menu > summary {
    padding: 0 11px;
    font-size: 12px;
    text-align: center;
  }

  .site-footer .footer-nav > a:first-child {
    padding-left: 11px;
  }
}
