/* Center the footer's complete design, not just its text, matching the homepage content. */
.site-footer {
  width: min(1360px, calc(100% - 24px));
  margin: 0 auto;
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  box-shadow: 0 -10px 38px rgba(6, 36, 68, 0.055);
}
.site-footer > .footer-top,
.site-footer .footer-bottom-inner {
  width: min(1280px, calc(100vw - 56px));
  margin-inline: auto;
}
/* Use previously open white space under the contact map for a useful map action. */
#contact {
  padding-bottom: 57px;
}
#contact .contact-grid {
  align-items: end;
}
#contact .map-stack {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
#contact .map-stack .contact-map {
  width: 100%;
}
#contact .map-quick-action {
  display: flex;
  justify-content: flex-end;
}
#contact .map-open-button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(100%, 380px);
  min-height: 69px;
  padding: 12px 18px;
  background: linear-gradient(110deg, #0c7648, #078546);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(5, 101, 59, 0.14);
  font-size: 16px;
  line-height: 1.35;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
#contact .map-open-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(5, 101, 59, 0.22);
}
#contact .map-open-button:focus-visible {
  outline: 3px solid #0a6cad;
  outline-offset: 4px;
}
#contact .map-open-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
}
#contact .map-open-button strong,
#contact .map-open-button small {
  display: block;
}
#contact .map-open-button strong {
  font-size: 16px;
  font-weight: 800;
}
#contact .map-open-button small {
  margin-top: 3px;
  color: #e1f9ec;
  font-size: 12px;
  font-weight: 500;
}
#contact .map-open-arrow {
  font-weight: 800;
  font-size: 22px;
  margin-left: auto;
}
@media (max-width: 1180px) {
  .site-footer > .footer-top,
  .site-footer .footer-bottom-inner {
    width: min(1140px, calc(100vw - 44px));
  }
}
@media (max-width: 950px) {
  #contact {
    padding-bottom: 60px;
  }
  #contact .contact-grid {
    align-items: center;
  }
  #contact .map-open-button {
    width: 100%;
    min-height: 62px;
  }
}
@media (max-width: 700px) {
  .site-footer {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
  }
  .site-footer > .footer-top,
  .site-footer .footer-bottom-inner {
    width: calc(100vw - 34px);
  }
  #contact {
    padding-bottom: 48px;
  }
  #contact .map-stack {
    gap: 15px;
  }
  #contact .map-open-button {
    padding: 12px 13px;
    gap: 10px;
  }
  #contact .map-open-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  #contact .map-open-button strong {
    font-size: 15px;
  }
  #contact .map-open-button small {
    font-size: 11px;
  }
}
