.brand-footer {
  max-width: var(--contact-panel-width);
  padding-top: clamp(36px, 5.5vw, 80px);
  border-top: 1px solid var(--business-line);
  font-size: var(--site-type-label-size);
  line-height: var(--site-type-label-leading);
  scroll-margin-top: 96px;
}

.brand-footer-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--site-space-24);
}

.brand-footer-nav h2 {
  margin: 0 0 10px;
  color: var(--business-muted);
  font: inherit;
  font-weight: 500;
}

.brand-footer-nav ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brand-footer a {
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.brand-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.brand-footer :is(a, summary):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.brand-footer-nav li a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-weight: 500;
}

.brand-footer-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: var(--site-space-16);
  margin-top: clamp(38px, 6vw, 82px);
  color: var(--business-muted);
}

.brand-footer-meta p {
  margin: 0;
  text-align: center;
}

.brand-footer-mark {
  justify-self: start;
}

.brand-footer-mark img {
  display: block;
  width: 102px;
  height: auto;
}

.brand-footer-locale {
  position: relative;
  justify-self: end;
}

.brand-footer-locale summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding-inline: 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #202020;
  color: var(--site-text);
  list-style: none;
  white-space: nowrap;
  cursor: pointer;
}

.brand-footer-locale summary::-webkit-details-marker {
  display: none;
}

.brand-footer-locale summary:hover,
.brand-footer-locale[open] summary {
  background: #2c2c2c;
}

.brand-footer-locale-region {
  color: var(--business-muted);
}

.brand-footer-locale-panel {
  position: absolute;
  z-index: 2;
  inset-inline-end: 0;
  bottom: calc(100% + 8px);
  width: min(216px, calc(100vw - 48px));
  padding: 14px;
  border: 1px solid var(--business-line);
  border-radius: 16px;
  background: #171717;
  color: var(--site-text);
  box-shadow: 0 12px 28px #0008;
}

.brand-footer-locale-panel p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 5px;
  text-align: start;
}

.brand-footer-locale-panel .brand-footer-locale-title {
  margin-bottom: 4px;
  border-bottom: 1px solid var(--business-line);
  color: var(--business-muted);
}

.services-item[id^='service-'] {
  scroll-margin-top: 94px;
}

@media (max-width: 940px) {
  .brand-footer-meta {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .brand-footer-mark {
    justify-self: center;
  }

  .brand-footer-locale {
    justify-self: center;
  }

  .brand-footer-locale-panel {
    inset-inline-end: auto;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 700px) {
  .brand-footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 18px;
  }

  .brand-footer-nav li a {
    min-height: 36px;
  }

  .services-item[id^='service-'] {
    scroll-margin-top: 74px;
  }
}
