/* P16: Dedicated route directory + three-part footer. Designed for XG00 + SQL(18).
   Scope: qnvf-p16-routes section and qnvf-p16-footer only. */
body.qnvf-p15-home .qnvf-p16-routes {
  background:#f1f7fc; padding:48px 0 56px; color:#173956;
}
body.qnvf-p15-home .qnvf-p16-routes .qnvf-p16-routes-inner {
  box-sizing:border-box; max-width:1280px!important; width:calc(100% - 40px)!important;
  margin-inline:auto!important; padding:0!important;
}
.qnvf-p16-routes-heading {
 display:flex; justify-content:space-between; gap:26px; align-items:flex-end; margin-bottom:24px;
}
.qnvf-p16-eyebrow{display:block;font-size:12px;font-weight:800;letter-spacing:.095em;color:#2876ad;margin-bottom:9px}
body.qnvf-p15-home .qnvf-p16-routes-heading h2 {
 margin:0 0 7px; color:#173956!important; font-size:clamp(23px,2.25vw,32px)!important;
 font-weight:800; line-height:1.25;
}
.qnvf-p16-routes-heading p{margin:0;color:#59738a;font-size:14px;line-height:1.6}
.qnvf-p16-routes-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;flex:none}
.qnvf-p16-routes-actions a,.qnvf-p16-routes-actions button{
 display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:43px;padding:10px 15px;
 border:1px solid #c1dbea;border-radius:9px;font-size:13px;line-height:1.3;font-weight:800;
 text-decoration:none;white-space:nowrap;cursor:pointer;box-shadow:none}
.qnvf-p16-routes-phone{background:#ffc72f;color:#173b57!important;border-color:#ffc72f!important}
.qnvf-p16-routes-book{background:#fff;color:#17699d;border-color:#b8d5e7}
.qnvf-p16-routes-actions a:hover,.qnvf-p16-routes-actions button:hover{filter:brightness(.96)}
.qnvf-p16-routes-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.qnvf-p16-routes-column{list-style:none;padding:12px 17px!important;margin:0!important;min-width:0;
 border:1px solid #dce9f2;border-radius:14px;background:#fff;box-shadow:0 6px 22px rgba(15,56,88,.035)}
.qnvf-p16-routes-column li{margin:0!important;padding:0!important;list-style:none}
.qnvf-p16-routes-column li+li{border-top:1px solid #e8f0f5}
.qnvf-p16-routes-column a{display:flex;align-items:center;gap:11px;min-height:49px;padding:10px 1px;
 text-decoration:none!important;color:#1e4463!important;font-size:13.5px;font-weight:650;line-height:1.35}
.qnvf-p16-routes-column a:hover{color:#0a74b8!important}
.qnvf-p16-route-dot{flex:none;display:grid;place-items:center;width:27px;height:27px;border-radius:8px;
 background:#eaf5fc;color:#2d86bb;font-size:14px;font-weight:900}
.qnvf-p16-route-arrow{flex:none;margin-left:auto;color:#8aa9bf;font-size:15px}
/* Four equal base tracks: company spans two, the two navigation columns one each. */
body footer.qnvf-p05-footer.qnvf-p16-footer .trf61-grid,
body.qnvf-p15-home footer.qnvf-p05-footer.qnvf-p16-footer .trf61-grid,
body.qnvf-p15-home footer.qnvf-footer-no-vehicles.qnvf-p16-footer .trf61-grid{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:30px!important;align-items:start!important;
}
body footer.qnvf-p05-footer.qnvf-p16-footer .trf61-company{
 grid-column:span 2!important;grid-row:auto!important;min-width:0;
}
body footer.qnvf-p05-footer.qnvf-p16-footer .trf61-nav{grid-column:span 1;min-width:0}
body footer.qnvf-p05-footer.qnvf-p16-footer .trf61-brand h2{line-height:1.2}
body footer.qnvf-p05-footer.qnvf-p16-footer .trf61-intro{max-width:580px}
body footer.qnvf-p05-footer.qnvf-p16-footer .trf61-company-info{max-width:610px}
body footer.qnvf-p05-footer.qnvf-p16-footer .trf61-inner{max-width:1280px!important;width:calc(100% - 40px)!important;
 margin-inline:auto!important;box-sizing:border-box;padding-left:0!important;padding-right:0!important}
body footer.qnvf-p05-footer.qnvf-p16-footer .trf61-list a{min-width:0;overflow-wrap:anywhere}
@media (max-width:1050px){
 body footer.qnvf-p05-footer.qnvf-p16-footer .trf61-grid,
 body.qnvf-p15-home footer.qnvf-p05-footer.qnvf-p16-footer .trf61-grid,
 body.qnvf-p15-home footer.qnvf-footer-no-vehicles.qnvf-p16-footer .trf61-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:26px!important;
 }
 body footer.qnvf-p05-footer.qnvf-p16-footer .trf61-company{grid-column:1/-1!important;grid-row:auto!important}
 .qnvf-p16-routes-grid{gap:12px}
}
@media (max-width:767px){
 body.qnvf-p15-home .qnvf-p16-routes{padding:34px 0 38px}
 .qnvf-p16-routes-heading{display:block;margin-bottom:18px}
 .qnvf-p16-routes-actions{margin-top:14px}
 .qnvf-p16-routes-grid{grid-template-columns:1fr;gap:10px}
 .qnvf-p16-routes-column{padding:5px 14px!important}
 .qnvf-p16-routes-column a{min-height:44px}
}
@media (max-width:580px){
 body footer.qnvf-p05-footer.qnvf-p16-footer .trf61-grid,
 body.qnvf-p15-home footer.qnvf-p05-footer.qnvf-p16-footer .trf61-grid,
 body.qnvf-p15-home footer.qnvf-footer-no-vehicles.qnvf-p16-footer .trf61-grid{
  grid-template-columns:1fr!important;gap:24px!important;
 }
 body footer.qnvf-p05-footer.qnvf-p16-footer .trf61-company{grid-column:auto!important}
 body.qnvf-p15-home .qnvf-p16-routes .qnvf-p16-routes-inner,
 body footer.qnvf-p05-footer.qnvf-p16-footer .trf61-inner{width:calc(100% - 28px)!important}
}
