/* Compact public footer: keep LAZE + Navigate + Customers + Legal on one fluid horizontal row. */
@media (max-width:1180px){
  .site-footer{
    padding-top:30px!important;
  }
  .site-footer .footer-grid{
    display:grid!important;
    grid-template-columns:clamp(92px,10vw,118px) max-content max-content max-content!important;
    align-items:start!important;
    justify-content:space-between!important;
    column-gap:clamp(10px,2.2vw,34px)!important;
    row-gap:0!important;
    width:calc(100% - clamp(28px,4vw,56px))!important;
    max-width:1240px!important;
    margin-inline:auto!important;
    padding-bottom:28px!important;
  }
  .site-footer .footer-grid>div,
  .site-footer .footer-grid>div:last-child,
  .site-footer .footer-brand{
    grid-column:auto!important;
    grid-row:auto!important;
    min-width:0!important;
    margin:0!important;
  }
  .site-footer .footer-brand{
    width:100%!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    text-align:center!important;
  }
  .site-footer .footer-brand a.logo[data-laze-brand="header"]{
    width:min(100px,100%)!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:400/197!important;
    flex:0 1 auto!important;
    margin-inline:auto!important;
  }
  .site-footer .footer-brand p{
    max-width:112px!important;
    margin:7px auto 0!important;
    line-height:1.4!important;
    text-align:center!important;
  }
  .site-footer .footer-grid>div:not(.footer-brand){
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    width:max-content!important;
    max-width:100%!important;
  }
}

/* Real phone layout: four explicit columns, one row, no fallback stacking. */
@media (max-width:700px){
  .site-footer{
    padding-top:20px!important;
  }
  .site-footer .footer-grid{
    display:grid!important;
    grid-template-columns:minmax(70px,.9fr) repeat(3,minmax(0,1fr))!important;
    grid-auto-flow:column!important;
    align-items:start!important;
    justify-content:stretch!important;
    column-gap:clamp(7px,2vw,13px)!important;
    row-gap:0!important;
    width:calc(100% - 20px)!important;
    max-width:none!important;
    margin-inline:auto!important;
    padding-bottom:18px!important;
  }
  .site-footer .footer-grid>div,
  .site-footer .footer-grid>div:last-child,
  .site-footer .footer-brand{
    grid-row:1!important;
    min-width:0!important;
    width:auto!important;
    max-width:none!important;
    margin:0!important;
  }
  .site-footer .footer-grid>div:nth-child(1){grid-column:1!important}
  .site-footer .footer-grid>div:nth-child(2){grid-column:2!important}
  .site-footer .footer-grid>div:nth-child(3){grid-column:3!important}
  .site-footer .footer-grid>div:nth-child(4){grid-column:4!important}

  .site-footer .footer-brand{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    text-align:center!important;
  }
  .site-footer .footer-brand a.logo[data-laze-brand="header"]{
    width:clamp(58px,18vw,76px)!important;
    min-width:0!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    margin:0 auto!important;
  }
  .site-footer .footer-brand p{
    max-width:82px!important;
    margin:6px auto 0!important;
    font-size:clamp(6.8px,1.9vw,8.2px)!important;
    line-height:1.3!important;
    text-align:center!important;
    overflow-wrap:anywhere!important;
  }
  .site-footer .footer-grid>div:not(.footer-brand){
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    min-width:0!important;
    width:100%!important;
    gap:8px!important;
  }
  .site-footer .footer-grid b{
    font-size:clamp(7.1px,1.95vw,8.4px)!important;
    line-height:1.25!important;
    margin-bottom:2px!important;
    white-space:nowrap!important;
  }
  .site-footer .footer-grid a:not(.logo){
    display:block!important;
    width:100%!important;
    min-width:0!important;
    font-size:clamp(6.9px,1.85vw,8.2px)!important;
    line-height:1.35!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }

  /* Keep the fixed WhatsApp CTA from covering the footer metadata on phones. */
  .site-footer .footer-bottom{
    justify-content:flex-start!important;
    gap:clamp(20px,8vw,42px)!important;
    padding-right:112px!important;
    font-size:6.5px!important;
  }
  .site-footer .footer-bottom span:last-child{
    display:none!important;
  }
  .mobile-whatsapp{
    right:10px!important;
    bottom:10px!important;
    padding:10px 12px!important;
    font-size:8px!important;
  }
}

@media (max-width:380px){
  .site-footer .footer-grid{
    grid-template-columns:minmax(60px,.86fr) repeat(3,minmax(0,1fr))!important;
    column-gap:5px!important;
    width:calc(100% - 14px)!important;
  }
  .site-footer .footer-brand a.logo[data-laze-brand="header"]{
    width:62px!important;
  }
  .site-footer .footer-brand p,
  .site-footer .footer-grid b,
  .site-footer .footer-grid a:not(.logo){
    font-size:6.7px!important;
  }
  .site-footer .footer-grid>div:not(.footer-brand){
    gap:7px!important;
  }
}
