.site-contact-footer {
  background: #181b18;
  color: #e7e5df;
  padding: 0;
}

.navbar-brand img,
.subbrand img {
  display: block;
  width: auto;
  height: 48px;
}

.demo-footer-brand img {
  display: block;
  width: auto;
  height: 68px;
}

.footer-brand-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr auto;
  align-items: center;
  gap: 50px;
  padding: 54px 0 45px;
  border-bottom: 1px solid #ffffff22;
}

.demo-footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
  font: 700 11px/1.2 Manrope, sans-serif;
  letter-spacing: .13em;
}

.demo-footer-brand span {
  font: 600 31px/1 'Playfair Display', serif;
  padding: 3px 6px;
  border: 1px solid #ffffff9c;
}

.footer-brand-row > p {
  max-width: 345px;
  margin: 0;
  color: #b3b5b0;
  font-size: 13px;
  line-height: 1.7;
}

.footer-enquire {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font: 700 10px Manrope, sans-serif;
  letter-spacing: .12em;
  border-bottom: 1px solid #d6bb79;
  padding-bottom: 9px;
  white-space: nowrap;
}

.footer-enquire b {
  color: #e2c981;
  font-size: 17px;
  margin-left: 5px;
}

.footer-columns {
  display: grid;
  grid-template-columns: .75fr .9fr 1.3fr 1.25fr;
  gap: 30px;
  padding: 47px 0;
}

.footer-columns small {
  display: block;
  color: #e0c58b;
  font: 700 9px Manrope, sans-serif;
  letter-spacing: .15em;
  margin-bottom: 17px;
}

.footer-columns a:not(.footer-project):not(.footer-text-link) {
  display: block;
  color: #e2e2dd;
  text-decoration: none;
  font-size: 13px;
  margin: 9px 0;
  transition: color .25s;
}

.footer-columns a:hover {
  color: #e0c58b;
}

.footer-columns p {
  color: #aeb1ac;
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}

.footer-project {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  text-decoration: none;
  font: 500 24px 'Playfair Display', serif;
  border-bottom: 1px solid #ffffff26;
  padding: 0 0 12px;
  margin-bottom: 13px;
}

.footer-project b {
  color: #e0c58b;
  font-size: 18px;
}

.footer-text-link {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font: 700 9px Manrope, sans-serif;
  letter-spacing: .1em;
  margin-top: 17px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #ffffff22;
  padding: 18px 0 21px;
  color: #818680;
  font: 600 9px Manrope, sans-serif;
  letter-spacing: .07em;
}

@media (max-width: 900px) {
  .footer-brand-row {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .footer-enquire {
    grid-column: span 2;
    width: max-content;
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 37px;
  }

  .footer-bottom {
    font-size: 8px;
  }
}

@media (max-width: 560px) {
  .navbar-brand img,
  .subbrand img {
    height: 40px;
  }

  .demo-footer-brand img {
    height: 56px;
  }

  .footer-brand-row {
    display: block;
    padding: 38px 0;
  }

  .footer-brand-row > p {
    margin: 20px 0;
  }

  .footer-enquire {
    display: inline-block;
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
    padding: 35px 0;
    gap: 29px 20px;
  }

  .footer-project {
    font-size: 20px;
  }

  .footer-bottom {
    display: block;
    line-height: 1.8;
  }

  .footer-bottom span:last-child {
    display: block;
    margin-top: 6px;
  }
}

/* The topline is removed on the home page, so the navbar starts at the viewport edge. */
.navbar {
  top: 0;
}

.mobile-menu-brand {
  display: none;
}

@media (max-width: 576px) {
  html,
  body {
    overflow-x: hidden;
  }

  .navbar-collapse {
    position: fixed;
    z-index: 1050;
    top: 0;
    left: 0;
    width: 80vw;
    max-width: 360px;
    height: 100dvh;
    margin: 0 !important;
    padding: 78px 24px 28px;
    background: #171c23;
    transform: translateX(-105%);
    transition: transform 0.3s ease;
    display: block !important;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .navbar-collapse.show {
    transform: translateX(0);
  }

  .navbar-collapse .navbar-nav {
    display: flex;
    align-items: flex-start !important;
    gap: 0 !important;
  }

  .navbar-collapse .nav-link {
    padding: 12px 0 !important;
    border-bottom: 1px solid #ffffff20;
  }

  .navbar-collapse .nav-item:last-child {
    margin-top: 9px;
  }

  .mobile-menu-brand {
    display: block;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid #ffffff20;
  }

  .mobile-menu-brand img {
    display: block;
    width: min(170px, 75%);
    height: auto;
  }

  .navbar-toggler {
    position: relative;
    z-index: 1060;
  }

  .navbar:has(.navbar-collapse.show)::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: #0008;
    pointer-events: none;
  }
}
