.site-footer,
.bb-footer,
.hh-footer {
  width: 100%;
  margin: clamp(54px, 7vw, 88px) 0 0;
  padding: clamp(34px, 5vw, 54px) clamp(18px, 4vw, 32px);
  border-top: 1px solid rgba(222,219,211,.9);
  background: #f8f8f2;
  color: #263246;
  font-family: Poppins, Inter, "Open Sans", Arial, sans-serif;
}
.site-footer *,
.bb-footer *,
.hh-footer * {
  box-sizing: border-box;
}
.site-footer__inner,
.bb-footer > .bb-shell,
.hh-footer {
  width: min(100%, 1180px);
  margin: 0 auto;
}
.site-footer__brand-block {
  display: grid;
  align-content: start;
  justify-items: start;
}
.site-footer__brand {
  display: block;
  width: min(260px, 100%);
  margin: 0 0 10px;
}
.site-footer__brand img {
  display: block;
  width: 100%;
  height: auto;
}
.site-footer__tagline {
  margin: 0;
  color: #4b5567;
  font-size: 16px;
  line-height: 1.5;
}
.site-footer__social,
.bb-footer .bb-social,
.hh-footer .hh-social {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
}
.site-footer__social a,
.bb-footer .bb-social a,
.hh-footer .hh-social a {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0;
  border: 1px solid rgba(73,107,72,.24);
  color: #496b48;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}
.site-footer__social a:hover,
.bb-footer .bb-social a:hover,
.hh-footer .hh-social a:hover {
  border-color: #496b48;
  background: #496b48;
  color: #fff;
  transform: translateY(-1px);
}
.site-footer__grid,
.bb-footer__grid,
.hh-footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
}
.site-footer__group,
.bb-footer__grid > div,
.hh-footer__grid > div {
  display: grid;
  align-content: start;
  gap: 0;
}
.site-footer h2,
.site-footer h3,
.bb-footer h2,
.bb-footer h3,
.hh-footer h2,
.hh-footer h3 {
  margin: 0 0 22px;
  color: #263246;
  font-family: Poppins, Inter, "Open Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .32em;
  line-height: 1.2;
  text-transform: uppercase;
}
.site-footer a,
.bb-footer a,
.hh-footer a {
  display: block;
  width: fit-content;
  margin: 0 0 16px;
  color: #4b5567;
  font-family: Poppins, Inter, "Open Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  text-decoration: none;
  transition: color .16s ease, transform .16s ease;
}
.site-footer a:hover,
.bb-footer a:hover,
.hh-footer a:hover {
  color: #496b48;
  transform: translateX(2px);
}
.site-footer__bottom,
.bb-footer__bottom,
.hh-footer__bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 18px;
  margin-top: clamp(34px, 5vw, 54px);
  padding-top: 28px;
  border-top: 1px solid rgba(222,219,211,.9);
  color: #7a8290;
  font-family: Poppins, Inter, "Open Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .26em;
  line-height: 1.8;
  text-transform: uppercase;
}
.site-footer__bottom > div:nth-child(2) {
  text-align: center;
}
.site-footer__bottom > div:nth-child(3) {
  text-align: right;
}
.site-footer__bottom a,
.bb-footer__bottom a,
.hh-footer__bottom a {
  display: inline;
  width: auto;
  margin: 0;
  color: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}
.site-footer__bottom a:hover,
.bb-footer__bottom a:hover,
.hh-footer__bottom a:hover {
  color: #496b48;
  transform: none;
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.site-footer__credit {
  margin-top: 10px;
  color: #a7adb6;
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1.6;
  text-align: left;
  text-transform: none;
}
.site-footer__credit a {
  display: inline;
  width: auto;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-footer__credit a:hover {
  color: #496b48;
}
@media (max-width: 760px) {
  .site-footer,
  .bb-footer,
  .hh-footer {
    margin-top: 46px;
    padding: 30px 18px;
  }
  .site-footer__social,
  .bb-footer .bb-social,
  .hh-footer .hh-social {
    justify-content: center;
  }
  .site-footer__brand-block {
    grid-column: 1 / -1;
    justify-items: center;
    text-align: center;
  }
  .site-footer__brand {
    width: min(220px, 82vw);
  }
  .site-footer__grid,
  .bb-footer__grid,
  .hh-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 26px;
    text-align: left;
  }
  .site-footer h2,
  .site-footer h3,
  .bb-footer h2,
  .bb-footer h3,
  .hh-footer h2,
  .hh-footer h3 {
    margin-bottom: 18px;
    font-size: 12px;
    letter-spacing: .26em;
  }
  .site-footer a,
  .bb-footer a,
  .hh-footer a {
    font-size: 15px;
  }
  .site-footer__bottom,
  .bb-footer__bottom,
  .hh-footer__bottom {
    grid-template-columns: 1fr;
    margin-top: 42px;
    text-align: center;
  }
  .site-footer__bottom > div:nth-child(2),
  .site-footer__bottom > div:nth-child(3) {
    text-align: center;
  }
  .site-footer__credit {
    text-align: center;
  }
}
@media (max-width: 440px) {
  .site-footer__grid,
  .bb-footer__grid,
  .hh-footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .site-footer__group {
    justify-items: center;
  }
  .site-footer__legal {
    justify-content: center;
  }
}
