/* Water Cleanic Boreholes V60 — GLOBAL FOOTER COMPACT ALIGNMENT
   Purpose: match the compact visual proportions of the main watercleanic.com footer.
   STRICT SCOPE: .wc-global-footer only. No sidebar, header, content, forms or page layout. */

.wc-global-footer{
  margin:0 !important;
}

.wc-global-footer .wc-footer-container{
  width:min(1180px,calc(100% - 40px)) !important;
  margin-inline:auto !important;
}

.wc-global-footer .wc-footer-main{
  display:grid !important;
  grid-template-columns:1.45fr 1fr .85fr .9fr .65fr 1.05fr !important;
  align-items:start !important;
  gap:24px !important;
  padding-top:34px !important;
  padding-bottom:30px !important;
}

.wc-global-footer .wc-footer-brand{
  grid-column:auto !important;
  min-width:0 !important;
}

.wc-global-footer .wc-footer-brand img{
  width:92px !important;
  height:auto !important;
  margin:0 0 10px !important;
}

.wc-global-footer .wc-footer-tagline{
  margin:0 0 7px !important;
  line-height:1.35 !important;
}

.wc-global-footer .wc-footer-copy{
  margin:0 0 14px !important;
  max-width:260px !important;
  line-height:1.5 !important;
}

.wc-global-footer .wc-footer-main h4{
  margin:2px 0 10px !important;
  line-height:1.25 !important;
}

.wc-global-footer .wc-footer-main a,
.wc-global-footer .wc-footer-item{
  margin:0 0 7px !important;
  line-height:1.35 !important;
}

.wc-global-footer .wc-footer-socials{
  gap:8px !important;
  margin-top:10px !important;
}

.wc-global-footer .wc-footer-socials a{
  width:34px !important;
  height:34px !important;
  margin:0 !important;
}

.wc-global-footer .wc-footer-legal{
  padding-top:16px !important;
  padding-bottom:18px !important;
  gap:12px !important;
  line-height:1.35 !important;
}

/* Tablet: compact two-column structure rather than long single-column stacking. */
@media (max-width:900px){
  .wc-global-footer .wc-footer-container{
    width:min(100% - 32px,760px) !important;
  }

  .wc-global-footer .wc-footer-main{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:24px 28px !important;
    padding-top:30px !important;
    padding-bottom:26px !important;
  }

  .wc-global-footer .wc-footer-brand{
    grid-column:1 / -1 !important;
  }

  .wc-global-footer .wc-footer-copy{
    max-width:520px !important;
  }

  .wc-global-footer .wc-footer-main > div:last-child{
    grid-column:1 / -1 !important;
  }

  .wc-global-footer .wc-footer-legal{
    display:grid !important;
    grid-template-columns:1fr auto !important;
    align-items:start !important;
    gap:8px 16px !important;
  }

  .wc-global-footer .wc-footer-legal > span:last-child{
    grid-column:1 / -1 !important;
  }
}

/* Mobile: preserve two-column footer like the main site to avoid excessive length. */
@media (max-width:640px){
  .wc-global-footer .wc-footer-container{
    width:calc(100% - 36px) !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }

  .wc-global-footer .wc-footer-main{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:22px 18px !important;
    padding-top:26px !important;
    padding-bottom:22px !important;
  }

  .wc-global-footer .wc-footer-brand{
    grid-column:1 / -1 !important;
  }

  .wc-global-footer .wc-footer-brand img{
    width:86px !important;
  }

  .wc-global-footer .wc-footer-copy{
    max-width:none !important;
    margin-bottom:12px !important;
  }

  .wc-global-footer .wc-footer-main h4{
    margin-bottom:8px !important;
  }

  .wc-global-footer .wc-footer-main a,
  .wc-global-footer .wc-footer-item{
    margin-bottom:6px !important;
  }

  .wc-global-footer .wc-footer-main > div:last-child{
    grid-column:1 / -1 !important;
  }

  .wc-global-footer .wc-footer-legal{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:8px !important;
    padding-top:14px !important;
    padding-bottom:16px !important;
  }
}

/* Very narrow phones only: keep content readable without sideways movement. */
@media (max-width:360px){
  .wc-global-footer .wc-footer-main{
    grid-template-columns:1fr !important;
  }

  .wc-global-footer .wc-footer-brand,
  .wc-global-footer .wc-footer-main > div:last-child{
    grid-column:auto !important;
  }
}