/* ====================================================
   ARQ Interior Design Studio - four-column footer
   Shared by all five pages, loaded after custom.css.
   Re-uses the theme's footer typography (.footer-links,
   .footer-contact-*) and only adds the four-column grid,
   the logo/about block and the centred copyright line.
   ==================================================== */

.footer-four .footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 1.15fr 1.35fr;
  column-gap: 48px;
  row-gap: 40px;
  align-items: start;
}

.footer-four .footer-brand-logo img {
  display: block;
  width: 100%;
  max-width: 146px;
  height: auto;
}

.footer-four .footer-brand p {
  max-width: 330px;
  margin: 24px 0 0;
  line-height: 1.65;
  color: var(--white-color);
}

/* the theme limits .footer-links to a share of a flex row; here the grid sets the width */
.footer-four .footer-links,
.footer-four .footer-contact-links {
  max-width: none;
  min-width: 0;
}

.footer-four .footer-links > h3 {
  margin-bottom: 26px;
}

.footer-four .footer-links ul li {
  margin-bottom: 16px;
}

.footer-four .footer-links ul li:last-child {
  margin-bottom: 0;
}

.footer-four .footer-contact-item {
  align-items: flex-start;
  flex-wrap: nowrap;
  margin-bottom: 22px;
}

.footer-four .footer-contact-item:last-child {
  margin-bottom: 0;
}

.footer-four .footer-contact-item .icon-box {
  flex: none;
}

.footer-four .footer-contact-content {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}

.footer-four .footer-contact-content h3 {
  font-size: 17px;
  line-height: 1.3;
  color: var(--white-color);
}

.footer-four .footer-contact-content p {
  margin: 4px 0 0;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

/* centred copyright under a subtle divider (theme's .footer-copyright-text-metal supplies the divider and centring) */
.footer-four .footer-copyright-text-metal {
  margin-top: 56px;
  padding: 28px 0 36px;
}

/* developer credit: white throughout, centred under the copyright, never underlined */
.footer-four .footer-credit {
  margin-top: 6px;
}

.footer-four .footer-credit,
.footer-four .footer-credit a,
.footer-four .footer-credit a:visited,
.footer-four .footer-credit a:hover,
.footer-four .footer-credit a:focus,
.footer-four .footer-credit a:active {
  color: #ffffff;
  text-decoration: none;
}

.footer-four .footer-credit a {
  transition: opacity 0.3s ease;
}

.footer-four .footer-credit a:hover,
.footer-four .footer-credit a:focus-visible {
  opacity: 0.8;
}

@media only screen and (max-width: 1199px) {
  .footer-four .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 44px;
  }

  .footer-four .footer-brand p {
    max-width: 420px;
  }
}

@media only screen and (max-width: 575px) {
  .footer-four .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 36px;
  }

  .footer-four .footer-copyright-text-metal {
    margin-top: 40px;
    padding: 24px 0 34px;
  }

  /* keep the centred lines clear of the fixed buttons: WhatsApp/Call on the left (5px + 45px), Back to Top on the right (15px + 44px);
     padding is on the paragraphs so the divider keeps its full width */
  .footer-four .footer-copyright-text-metal p {
    padding: 0 52px;
  }
}
