/*
 * NexZion Solutions V27 — compact, accessible, genuinely usable footer.
 * Respect the existing layout on tablets/desktops and the existing links.
 * No new scripts, third-party assets, promotional badges or animations.
 */

/* Dark footer: clear link focus instead of relying on a faint color shift. */
body:not(.home) footer.nxzf12 :is(a,button):focus-visible{
  outline:3px solid #b6ff00!important;
  outline-offset:3px!important;
  border-radius:6px;
}
body:not(.home) footer.nxzf12 .nxzf12-bottom a{
  text-underline-offset:3px;
}
body:not(.home) footer.nxzf12 .nxzf12-contact a{
  overflow-wrap:anywhere;
  text-underline-offset:3px;
}
body:not(.home) footer.nxzf12 .nxz-site-footer-toggle{
  touch-action:manipulation;
}

/* Give narrow phones a single, readable footer column.
 * At this width, the existing two-column layout squeezes long service links
 * and leaves an oddly empty second column beside contact information. */
@media(max-width:600px){
  body:not(.home) footer.nxzf12 .nxzf12-main{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:0!important;
    padding-top:23px!important;
  }
  body:not(.home) footer.nxzf12 .nxzf12-main > .nxzf12-brand{
    grid-column:1/-1!important;
    min-width:0!important;
    padding:0 0 19px!important;
  }
  body:not(.home) footer.nxzf12 .nxzf12-main > .nxzf12-col{
    grid-column:1/-1!important;
    min-width:0!important;
    width:100%!important;
    margin:0!important;
  }
  body:not(.home) footer.nxzf12 .nxzf12-col.nxz-site-footer-collapsible{
    padding:4px 0!important;
    border-top:1px solid rgba(198,220,236,.18)!important;
  }
  body:not(.home) footer.nxzf12 .nxz-site-footer-toggle{
    min-height:53px!important;
    padding:10px 2px!important;
    font-size:16px!important;
    line-height:1.4!important;
  }
  body:not(.home) footer.nxzf12 .nxz-site-footer-toggle::after{
    width:29px!important;
    height:29px!important;
    flex-basis:29px!important;
    border-radius:8px!important;
  }
  body:not(.home) footer.nxzf12 .nxzf12-col.nxz-site-footer-open > a{
    display:flex!important;
    min-height:44px!important;
    padding:8px 4px!important;
    color:#d1deeb!important;
    font-size:14px!important;
    line-height:1.5!important;
    align-items:center!important;
  }
  body:not(.home) footer.nxzf12 .nxzf12-contact{
    padding-top:18px!important;
    padding-bottom:16px!important;
    margin-top:8px!important;
    border-top:1px solid rgba(198,220,236,.18)!important;
  }
  body:not(.home) footer.nxzf12 .nxzf12-contact h3{
    font-size:17px!important;
    line-height:1.4!important;
    font-weight:760!important;
    margin-bottom:10px!important;
  }
  body:not(.home) footer.nxzf12 .nxzf12-contact a[href^="tel:"],
  body:not(.home) footer.nxzf12 .nxzf12-contact a[href^="mailto:"]{
    min-height:44px!important;
    display:inline-flex!important;
    align-items:center!important;
    color:#d1deeb!important;
    font-size:14px!important;
    line-height:1.55!important;
  }
  body:not(.home) footer.nxzf12 .nxzf12-contact a[href*="wa.me"]{
    min-height:44px!important;
    display:inline-flex!important;
    align-items:center!important;
  }
  body:not(.home) footer.nxzf12 .nxzf12-bottom{
    gap:8px 14px!important;
    padding-bottom:24px!important;
  }
  body:not(.home) footer.nxzf12 .nxzf12-bottom a{
    min-height:42px!important;
    font-size:13px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body:not(.home) footer.nxzf12 :is(a,button){
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}
