footer#home-footer.bb-footer {
  --footer-bg: #17241e;
  --footer-ink: #f5f1e7;
  --footer-muted: #bac4b8;
  --footer-rule: #556358;
  --footer-accent: #e4c7a5;
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin: 0;
  padding: clamp(44px, 5vw, 76px) 0 18px;
  border: 0;
  background: var(--footer-bg);
  color: var(--footer-ink);
  font: 500 16px/1.5 Manrope, Arial, sans-serif;
  scroll-margin-top: 75px;
}

.bb-footer .bb-footer-inner {
  display: block;
  width: min(86%, 1240px);
  margin-inline: auto;
}

.bb-footer-grid {
  display: grid;
  grid-template-columns: 1.02fr .84fr 1.04fr 1.12fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.bb-footer .bb-footer-local p {
  margin: 17px 0 0;
  color: var(--footer-muted);
  font: inherit;
}

.bb-footer-mark {
  display: block;
  position: relative;
  width: 33px;
  height: 43px;
  overflow: hidden;
}

.bb-footer .bb-footer-mark img {
  position: absolute;
  top: -17px;
  left: -3px;
  display: block;
  max-width: none;
  width: 287px;
  height: auto;
  filter: brightness(0) invert(1);
}

.bb-footer .bb-footer-group {
  display: block;
  margin: 0;
  padding: 0;
}

.bb-footer .bb-footer-group h2 {
  margin: 0 0 17px;
  color: var(--footer-muted);
  font: 600 .875rem/1.4 Manrope, Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.bb-footer .bb-footer-group ul {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bb-footer .bb-footer-group li {
  margin: 0;
  padding: 0;
}

.bb-footer a, .bb-footer button {
  color: inherit;
  font: inherit;
}

.bb-footer .bb-footer-group a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-decoration: none;
}

.bb-footer a:hover, .bb-footer button:hover {
  text-decoration: underline;
  text-underline-offset: .24em;
}

.bb-footer a:focus-visible, .bb-footer button:focus-visible {
  outline: 2px solid var(--footer-accent);
  outline-offset: 4px;
}

.bb-footer a.bb-footer-enquire {
  box-sizing: border-box;
  gap: 18px;
  justify-content: space-between;
  min-height: 46px;
  min-width: min(100%, 205px);
  padding: 10px 14px;
  background: var(--footer-accent);
  color: var(--footer-bg);
  font-weight: 700;
}

.bb-footer a.bb-footer-enquire:after {
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
  transform: rotate(45deg);
  content: "";
}

.bb-footer-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 19px;
  margin-top: 8px;
  color: var(--footer-muted);
}

.bb-footer .bb-footer-wordmark {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 6.2;
  width: 100%;
  margin-top: clamp(34px, 4vw, 65px);
  margin-bottom: 17px;
}

.bb-footer .bb-footer-wordmark img {
  position: absolute;
  top: 50%;
  left: -1.5%;
  display: block;
  width: 106.3%;
  max-width: none;
  height: auto;
  transform: translateY(-50%);
  filter: brightness(0) invert(1);
}

.bb-footer .bb-footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 5px;
  border-top: 1px solid var(--footer-rule);
  color: var(--footer-muted);
  font-size: .8125rem;
}

.bb-footer .bb-footer-legal p {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  margin: 0;
  font: inherit;
}

.bb-footer .bb-footer-legal div {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}

.bb-footer .bb-footer-legal :is(a,button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.bb-footer .bb-footer-legal :is(a,button):hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .bb-footer .bb-footer-inner { width: calc(100% - 56px); }
  .bb-footer-grid { gap: 24px; }
}

@media (max-width: 700px) {
  footer#home-footer.bb-footer { padding-top: 32px; padding-bottom: 13px; }
  .bb-footer .bb-footer-inner { width: calc(100% - 40px); }
  .bb-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .bb-footer .bb-footer-local {
    display: flex;
    align-items: center;
    grid-column: 1 / -1;
    gap: 12px;
  }
  .bb-footer .bb-footer-local p { margin: 0; }
  .bb-footer .bb-footer-contact {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 16px;
    align-items: center;
  }
  .bb-footer .bb-footer-contact h2 { grid-column: 1 / -1; margin-bottom: 10px; }
  .bb-footer .bb-footer-contact-links { margin-top: 0; gap: 0 11px; }
  .bb-footer .bb-footer-group h2 { margin-bottom: 7px; }
  .bb-footer .bb-footer-group a { min-height: 44px; }
  .bb-footer a.bb-footer-enquire { min-width: 0; min-height: 46px; }
  .bb-footer .bb-footer-legal { flex-wrap: wrap; padding-top: 12px; }
}

@media (max-width: 360px) {
  .bb-footer .bb-footer-local p, .bb-footer .bb-footer-group a { font-size: .9375rem; }
}

@media (min-width: 901px) {
  .bb-footer .bb-footer-wordmark {
    width: 85%;
    margin-inline: auto;
  }
}
