
/* JOVIK 4.1.3 — bottom/footer repair */

/* The footer was still constrained by the old page container.
   Force it to the viewport while keeping its contents aligned to the site grid. */
footer{
  position:relative!important;
  left:50%!important;
  right:auto!important;
  width:100vw!important;
  max-width:none!important;
  min-width:100vw!important;
  margin-left:-50vw!important;
  margin-right:0!important;
  box-sizing:border-box!important;
  padding-left:max(24px,calc((100vw - 1240px)/2))!important;
  padding-right:max(24px,calc((100vw - 1240px)/2))!important;
  min-height:165px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:28px!important;
  overflow:hidden!important;
}

/* Prevent a parent/container rule from clipping the final section. */
body, main, body>main, .site-shell{
  overflow-x:clip!important;
  max-width:none!important;
}
main{
  padding-bottom:0!important;
}

/* Give the pricing area a clean and deliberate finish above the footer. */
.plan-grid{
  margin-bottom:76px!important;
}
.plan-grid + footer{
  margin-top:0!important;
}

/* Footer brand group */
footer .brand{
  flex:0 0 auto!important;
  white-space:nowrap!important;
}
footer p{
  flex:1 1 auto!important;
  margin:0!important;
}
footer>span{
  flex:0 0 auto!important;
  white-space:nowrap!important;
}

/* Desktop widths from screenshot */
@media(min-width:981px){
  footer{
    padding-top:42px!important;
    padding-bottom:42px!important;
  }
}

/* Tablet */
@media(max-width:980px){
  footer{
    padding-left:24px!important;
    padding-right:24px!important;
    min-height:150px!important;
  }
}

/* Mobile: stack cleanly rather than squeezing content */
@media(max-width:650px){
  footer{
    min-width:100vw!important;
    width:100vw!important;
    padding:32px 18px!important;
    min-height:auto!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    justify-items:start!important;
    gap:12px!important;
  }
  footer p,footer>span{
    white-space:normal!important;
  }
  .plan-grid{
    margin-bottom:48px!important;
  }
}
