body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
body > main {
  flex: 1 0 auto;
}
body > .site-footer {
  flex-shrink: 0;
  width: 100%;
  max-width: none;
  margin: auto 0 0;
  padding: 52px clamp(24px, 4vw, 72px) 24px;
  background: #f5f7f9;
  color: #27313b;
  border: 0;
  position: relative;
  box-sizing: border-box;
  font:
    14px/1.7 system-ui,
    sans-serif;
  text-align: start;
}
.site-footer * {
  box-sizing: border-box;
}
.site-footer .footer-inner {
  max-width: 1440px;
  margin-inline: auto;
}
.site-footer .footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(260px, 0.9fr);
  align-items: start;
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: 36px;
}
.site-footer a {
  color: inherit;
  text-decoration: none;
}
.site-footer a:focus-visible,
.site-footer button:focus-visible,
.site-footer summary:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 4px;
  border-radius: 5px;
}
.site-footer .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: auto;
  max-width: 100%;
  font-size: clamp(21px, 1.8vw, 27px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.04em;
}
.site-footer .footer-logo img {
  display: block;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
}
.site-footer .footer-logo span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.site-footer .footer-local-services {
  display: block;
  max-width: 43ch;
  margin: 18px 0 20px;
  padding: 0;
  font-size: 14px;
  line-height: 1.85;
  color: #606b76;
  text-align: start;
}
.site-footer .footer-address {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
}
.site-footer .footer-address > svg {
  flex: none;
  margin-top: 3px;
  color: #647588;
}
.site-footer .footer-address span span {
  display: block;
}
.site-footer .footer-address span span + span {
  font-size: 13px;
  font-weight: 400;
  color: #606b76;
}
.site-footer .footer-address:hover {
  color: #1d4ed8;
}
.site-footer .footer-location-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.site-footer .footer-location-button {
  flex: none;
  max-width: 100%;
  min-height: 40px;
  padding: 9px 13px;
  border: 0;
  border-radius: 9px;
  background: #e2eaf3;
  color: #294d77;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
}
.site-footer .footer-location-button:hover {
  background: #d4e2f1;
  color: #1d4ed8;
}
.site-footer .footer-location-button[aria-busy='true'] {
  opacity: 0.6;
  cursor: progress;
}
.site-footer h2 {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: #606b76;
}
.site-footer .footer-navigation {
  padding-top: 6px;
  min-width: 0;
}
.site-footer .footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
}
.site-footer .footer-links a {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.site-footer .footer-links a:hover {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-footer .footer-care {
  min-width: 0;
  padding: 24px;
  background: #e9eff5;
  border-radius: 18px;
}
.site-footer .footer-care h2 {
  margin-bottom: 8px;
}
.site-footer .footer-phone {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.4;
  white-space: nowrap;
}
.site-footer .footer-phone:hover {
  color: #1d4ed8;
}
.site-footer .footer-inquiry {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 20px;
  padding: 11px 18px;
  background: #273b50;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.site-footer .footer-inquiry:hover {
  background: #1d4ed8;
  color: #fff;
}
.site-footer .business-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  max-width: none;
  margin: 0;
  padding: 24px 0;
  font-size: 12px;
  line-height: 1.8;
  color: #65707a;
  border-top: 1px solid #dde3e9;
}
.site-footer .business-info > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  min-width: 0;
}
.site-footer .business-info dt {
  font-weight: 600;
  color: #4c5762;
}
.site-footer .business-info dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.site-footer .business-info .business-address {
  flex-basis: 100%;
}
.site-footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  border-top: 1px solid #dde3e9;
  padding-top: 18px;
  padding-right: 120px;
  font-size: 12px;
  color: #65707a;
}
.site-footer .footer-bottom p {
  flex: 1 1 300px;
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
}
.site-footer .footer-bottom > .footer-policies {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  order: 0;
}
.site-footer button {
  font: inherit;
  background: none;
  color: inherit;
  border: 0;
  padding: 4px 0;
  cursor: pointer;
}
.site-footer button:hover {
  color: #1d4ed8;
}
.site-footer .privacy {
  font-weight: 700;
}
.site-footer .footer-languages {
  flex: 0 1 auto;
  position: relative;
}
.site-footer .footer-languages summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 600;
}
.site-footer .footer-languages summary::-webkit-details-marker {
  display: none;
}
.site-footer .footer-languages summary::after {
  content: '+';
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
}
.site-footer .footer-languages[open] {
  flex-basis: 100%;
}
.site-footer .footer-languages[open] summary::after {
  content: '−';
}
.site-footer .language-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px 20px;
  margin: 12px 0 0;
  padding: 16px;
  background: #e9eff5;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.7;
}
.site-footer .language-links a {
  padding: 4px 0;
  text-decoration: none;
}
.site-footer .language-links a:hover,
.site-footer .language-links a[aria-current='page'] {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body:not(.admin-login):has(#manager) > .site-footer {
  margin-left: 260px;
  width: calc(100% - 260px);
}
@media (min-width: 768px) and (max-width: 1100px) {
  .site-footer .footer-top {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 28px 36px;
  }
  .site-footer .footer-brand {
    grid-row: span 2;
  }
  .site-footer .footer-care {
    padding: 20px;
  }
  .site-footer .footer-inquiry {
    margin-top: 14px;
  }
}
@media (max-width: 767px) {
  body > .site-footer {
    padding: 30px 20px 24px;
  }
  .site-footer .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 28px;
  }
  .site-footer .footer-logo {
    gap: 12px;
    font-size: 24px;
  }
  .site-footer .footer-logo img {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }
  .site-footer .footer-local-services {
    max-width: none;
    font-size: 13px;
    margin: 14px 0 16px;
  }
  .site-footer .footer-navigation {
    padding-top: 0;
  }
  .site-footer h2 {
    margin-bottom: 12px;
  }
  .site-footer .footer-links {
    gap: 12px 24px;
  }
  .site-footer .footer-care {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 14px;
    padding: 20px;
    border-radius: 14px;
  }
  .site-footer .footer-care h2 {
    grid-column: 1;
    margin-bottom: 6px;
    font-size: 11px;
  }
  .site-footer .footer-phone {
    grid-column: 1;
    font-size: clamp(19px, 5.5vw, 24px);
  }
  .site-footer .footer-inquiry {
    grid-column: 2;
    grid-row: 1 / 3;
    max-width: 128px;
    margin: 0;
    padding: 12px 16px;
    font-size: 13px;
    overflow-wrap: anywhere;
  }
  .site-footer .business-info {
    flex-direction: column;
    gap: 7px;
    padding: 20px 0;
    font-size: 11px;
  }
  .site-footer .business-info .business-address {
    flex-basis: auto;
  }
  .site-footer .footer-bottom {
    gap: 12px 16px;
    align-items: center;
    flex-direction: row;
    padding-top: 16px;
  }
  .site-footer .footer-bottom p {
    flex-basis: 100%;
    font-size: 11px;
  }
  .site-footer .footer-bottom > .footer-policies {
    gap: 14px;
  }
  .site-footer .footer-languages {
    margin-inline-start: auto;
  }
  .site-footer .footer-languages[open] {
    margin-inline-start: 0;
  }
  .site-footer .language-links {
    gap: 6px 16px;
    padding: 14px;
  }
  .site-footer .footer-languages summary {
    font-size: 11px;
  }
  body:not(.admin-login):has(#manager) > .site-footer {
    margin-left: 0;
    width: 100%;
  }
}
@media (max-width: 360px) {
  .site-footer .footer-care {
    padding: 16px;
    column-gap: 10px;
  }
  .site-footer .footer-inquiry {
    padding: 10px 12px;
    max-width: 100px;
  }
  .site-footer .footer-phone {
    font-size: 19px;
  }
}
@media (max-width: 767px) {
  .site-footer .footer-bottom {
    padding-right: 52px;
  }
}
