/* Stage 140: independent desktop footer; existing mobile footer unchanged. */
.mb-desktop-footer{display:none!important;}
@media(min-width:851px){
footer.mb-footer.mb-legacy-footer{display:none!important;}
footer.mb-desktop-footer{display:block!important;box-sizing:border-box!important;width:100%!important;margin:0!important;padding:24px 0 26px!important;background:linear-gradient(115deg,#05132e,#071a39)!important;color:#fff!important;border-top:2px solid #3578bd!important;font:400 14px/1.4 Roboto,Arial,sans-serif!important;}
.mb-desktop-footer .df-inner{width:min(1432px,calc(100% - 68px));margin:auto;}
.mb-desktop-footer .df-grid{display:grid;grid-template-columns:1.05fr 1.08fr 1.4fr 1.1fr 1.05fr;align-items:stretch;}
.mb-desktop-footer .df-col{min-width:0;padding:0 clamp(12px,1.7vw,30px);border-left:1px solid #8aafd064;display:flex;flex-direction:column;gap:4px;}
.mb-desktop-footer .df-col:first-child{padding-left:0;border:0;}.mb-desktop-footer .df-col:last-child{padding-right:0;}
.mb-desktop-footer p{margin:0!important;color:#fff!important;font:inherit!important;}
.mb-desktop-footer h3{margin:0 0 4px!important;padding:0!important;color:white!important;font:italic 800 17px/1.2 Roboto,Arial,sans-serif!important;}
.mb-desktop-footer a{color:white!important;text-decoration:none!important;font:inherit!important;display:inline-block;overflow-wrap:anywhere;}.mb-desktop-footer a:hover,.mb-desktop-footer a:focus-visible{color:#ffad20!important;text-decoration:underline!important;}
.mb-desktop-footer a.df-phone{color:#ff9d00!important;font-size:24px!important;font-weight:800!important;line-height:1.2!important;white-space:nowrap;}
.mb-desktop-footer .df-logo{width:175px;max-width:100%;height:auto;display:block;margin:0 0 3px;}
.mb-desktop-footer .df-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;grid-auto-flow:column;grid-template-rows:repeat(4,auto);}
.mb-desktop-footer .df-pages{grid-template-rows:repeat(5,auto);}
.mb-desktop-footer .df-gas,.mb-desktop-footer .df-social{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}.mb-desktop-footer .df-gas{font-weight:700;font-size:12px;}.mb-desktop-footer .df-gas img{width:54px;height:54px;object-fit:contain;}.mb-desktop-footer .df-social a{display:inline-flex;align-items:center;gap:7px;}.mb-desktop-footer .df-social img,.mb-desktop-footer .df-social svg{width:23px;height:23px;flex:none;}
.mb-desktop-footer .df-bottom{border-top:1px solid #8aafd064;margin-top:18px;padding-top:10px;display:flex;justify-content:space-between;gap:16px;font-size:12px;}
}
@media(min-width:851px) and (max-width:1150px){.mb-desktop-footer .df-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 0;}.mb-desktop-footer .df-col:nth-child(4){border:0;padding-left:0;}.mb-desktop-footer .df-bottom{flex-wrap:wrap;}}

/* Stage 141: compact, centred desktop footer. */
@media(min-width:1151px){
footer.mb-desktop-footer{padding:22px 0 24px!important;font-size:13px!important;line-height:1.32!important;}
.mb-desktop-footer .df-inner{width:min(1380px,calc(100% - 64px));}
.mb-desktop-footer .df-grid{grid-template-columns:1fr 1.18fr 1.42fr 1.13fr 1.12fr;align-items:stretch;}
.mb-desktop-footer .df-col{padding-inline:clamp(12px,1.45vw,24px);gap:5px;}
.mb-desktop-footer .df-logo{width:158px;margin-bottom:0;}
.mb-desktop-footer a.df-phone{font-size:22px!important;}
.mb-desktop-footer h3{font-size:16px!important;margin-bottom:2px!important;}
.mb-desktop-footer .df-links{gap:4px 10px;}
.mb-desktop-footer .df-gas{gap:8px;flex-wrap:nowrap;font-size:11px;}
.mb-desktop-footer .df-gas img{width:44px;height:44px;flex:none;}
.mb-desktop-footer .df-social{gap:12px;margin-top:7px;}
.mb-desktop-footer .df-social img,.mb-desktop-footer .df-social svg{width:20px;height:20px;}
.mb-desktop-footer .df-bottom{margin-top:16px;padding-top:11px;font-size:11px;}
}

/* Stage 142: align footer with the main content rail; compact five-column layout. */
@media(min-width:1151px){
footer.mb-desktop-footer{padding:22px 0 20px!important;font-size:12px!important;line-height:1.45!important;background:linear-gradient(110deg,#06142e,#0b2343)!important;}
.mb-desktop-footer .df-inner{width:min(1180px,calc(100% - 64px));max-width:1180px;margin-inline:auto;}
.mb-desktop-footer .df-grid{grid-template-columns:minmax(0,1.04fr) minmax(0,1.12fr) minmax(0,1.35fr) minmax(0,1.03fr) minmax(0,1fr);align-items:start;}
.mb-desktop-footer .df-col{padding-inline:18px;gap:3px;border-color:#6483a15c;min-height:112px;}
.mb-desktop-footer .df-col:first-child{padding-left:0;}
.mb-desktop-footer .df-col:last-child{padding-right:0;}
.mb-desktop-footer .df-logo{width:155px;margin:0 0 3px;}
.mb-desktop-footer a.df-phone{font-size:20px!important;letter-spacing:.15px;margin-bottom:3px;}
.mb-desktop-footer h3{font-size:15px!important;margin:0 0 5px!important;}
.mb-desktop-footer .df-links{gap:3px 12px;grid-template-columns:max-content minmax(0,1fr);}
.mb-desktop-footer .df-links a{overflow-wrap:normal;}
.mb-desktop-footer .df-gas{font-size:10px;gap:7px;line-height:1.35;}
.mb-desktop-footer .df-gas img{width:40px;height:40px;}
.mb-desktop-footer .df-social{gap:9px;margin-top:9px;font-size:11px;}
.mb-desktop-footer .df-social a{gap:4px;}
.mb-desktop-footer .df-social img,.mb-desktop-footer .df-social svg{width:18px;height:18px;}
.mb-desktop-footer .df-bottom{margin-top:15px;padding-top:10px;font-size:10px;color:#d5e0ef;}
}
@media(min-width:1151px) and (max-width:1230px){.mb-desktop-footer .df-col{padding-inline:12px;}.mb-desktop-footer .df-links{gap:3px 8px;}}

/* Stage 143: same content rail as navigation. */
@media(min-width:851px){.mb-desktop-footer .df-inner{width:min(calc(100% - 32px),1380px)!important;max-width:none!important;}}
@media(min-width:851px){#mb-about-page .mb-desktop-footer .df-inner{width:min(calc(100% - 68px),1432px)!important;}}
@media(min-width:851px) and (max-width:1430px){#mb-about-page .mb-desktop-footer .df-inner{width:calc(100% - 48px)!important;}}

/* Stage 144: readable desktop typography; preserve the navigation rail. */
@media(min-width:851px){
footer.mb-desktop-footer{font-size:15px!important;line-height:1.5!important;padding:28px 0 24px!important;}
.mb-desktop-footer .df-col{gap:5px;}
.mb-desktop-footer h3{font-size:19px!important;margin-bottom:6px!important;}
.mb-desktop-footer a.df-phone{font-size:25px!important;}
.mb-desktop-footer .df-logo{width:175px;}
.mb-desktop-footer .df-gas{font-size:13px;flex-wrap:wrap;}
.mb-desktop-footer .df-social{font-size:14px;gap:10px;}
.mb-desktop-footer .df-bottom{font-size:13px;margin-top:20px;}
.mb-desktop-footer .df-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;}
.mb-desktop-footer .df-links a{overflow-wrap:normal;}
}
@media(min-width:1151px) and (max-width:1350px){.mb-desktop-footer .df-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 0;}.mb-desktop-footer .df-col:nth-child(4){border:0;padding-left:0;}}

/* Stage 168: keep every desktop footer column within the content rail. */
@media (min-width:851px){
  footer.mb-desktop-footer{max-width:100%!important;min-width:0!important;}
  footer.mb-desktop-footer .df-inner{box-sizing:border-box!important;width:calc(100% - 48px)!important;max-width:1380px!important;min-width:0!important;margin-inline:auto!important;}
  footer.mb-desktop-footer .df-grid,footer.mb-desktop-footer .df-col{box-sizing:border-box!important;min-width:0!important;max-width:100%!important;}
  footer.mb-desktop-footer .df-grid{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 0;}
  footer.mb-desktop-footer .df-col{padding-inline:14px;overflow-wrap:anywhere;}
  footer.mb-desktop-footer .df-col:first-child,footer.mb-desktop-footer .df-col:nth-child(4){padding-left:0;border-left:0;}
  footer.mb-desktop-footer .df-links a{overflow-wrap:anywhere;}
  footer.mb-desktop-footer a.df-phone{white-space:normal;}
  footer.mb-desktop-footer .df-gas,footer.mb-desktop-footer .df-social{flex-wrap:wrap;}
  footer.mb-desktop-footer .df-bottom{flex-wrap:wrap;}
}
@media (min-width:1200px){
  footer.mb-desktop-footer .df-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,1.15fr) minmax(0,1.35fr) minmax(0,1.05fr) minmax(0,1fr);gap:0;}
  footer.mb-desktop-footer .df-col:nth-child(4){padding-left:14px;border-left:1px solid #6483a15c;}
  footer.mb-desktop-footer .df-col:last-child{padding-right:0;}
}
@media (min-width:1200px) and (max-width:1450px){
  footer.mb-desktop-footer{font-size:13px!important;}
  footer.mb-desktop-footer a.df-phone{font-size:21px!important;}
  footer.mb-desktop-footer h3{font-size:17px!important;}
  footer.mb-desktop-footer .df-social{font-size:13px;}
  footer.mb-desktop-footer .df-links{gap:4px 8px;}
}

/* Stage 169: balance the six service links across two independent columns. */
@media (min-width:851px){
  footer.mb-desktop-footer nav[aria-label="Services"] .df-links{display:block;column-count:2;column-gap:12px;}
  footer.mb-desktop-footer nav[aria-label="Services"] .df-links a{display:block;break-inside:avoid;line-height:1.35;margin:0 0 5px;overflow-wrap:normal;}
  footer.mb-desktop-footer nav[aria-label="Services"] .df-links a:nth-child(4){break-before:column;}
}
