/* v40d-compat */
/* ==========================================================================
   HEADER / NAVIGATION v2 (Nov 2026) — markup from nav_v2.py, loaded last
   ========================================================================== */

/* ---------- top bar ---------- */
.topbar.tb2{background:#060d18;color:rgba(255,255,255,.72);font-size:.76rem;letter-spacing:.03em;border-bottom:1px solid rgba(231,206,139,.14)}
.tb2 .wrap{min-height:38px}
.tb2 .tb-left,.tb2 .tb-right{gap:14px}
.tb2 .tb-item{display:inline-flex;align-items:center;gap:7px;color:rgba(255,255,255,.78);white-space:nowrap}
.tb2 a.tb-item:hover{color:var(--gold-2)}
.tb2 .tb-ico{width:14px;height:14px;color:var(--gold-2)}
.tb2 .tb-dot{width:4px;height:4px;border-radius:50%;background:rgba(231,206,139,.55)}
@media (max-width:1180px){ .tb2 .tb-left .tb-dot:nth-of-type(2),.tb2 .tb-left .tb-item:nth-of-type(3){display:none} }

/* ---------- header bar ---------- */
.site-header.sh2{background:rgba(10,21,38,.94);border-bottom:1px solid rgba(231,206,139,.22);
  -webkit-backdrop-filter:saturate(150%) blur(14px);backdrop-filter:saturate(150%) blur(14px);box-shadow:0 10px 30px -24px rgba(0,0,0,.9)}
.site-header.sh2.is-stuck,.site-header.sh2.is-compact{background:rgba(8,17,31,.97);box-shadow:0 18px 40px -26px rgba(0,0,0,.95)}
.sh2 .header-inner{position:relative;min-height:84px;gap:22px}
.site-header.sh2.is-compact .header-inner{min-height:68px}
.sh2 .brand-logo{height:50px}
.site-header.sh2.is-compact .brand-logo{height:42px}
.sh2 .brand:hover .brand-logo{filter:drop-shadow(0 6px 18px rgba(231,206,139,.35));opacity:1}

/* links */
.nav2{gap:2px}
.nav2>li>a{color:rgba(255,255,255,.86);font-size:.9rem;font-weight:600;padding:10px 14px;border-radius:999px;letter-spacing:.01em}
.nav2>li>a::after{display:none!important}
.nav2>li>a:hover,.nav2>li:focus-within>a,.nav2>li.has-mega:hover>a{color:#fff;background:rgba(255,255,255,.08);transform:none}
.nav2>li.is-active>a{color:#20160a;background:linear-gradient(135deg,var(--gold-2),var(--gold))}
.nav2 .caret{width:7px;height:7px;margin-left:3px;opacity:.75;transition:transform .25s}
.nav2>li.has-mega:hover .caret,.nav2>li.has-mega:focus-within .caret{transform:rotate(225deg) translate(-2px,-1px)}

/* actions */
.sh2 .header-actions{gap:14px}
.sh2 .header-phone{color:#fff;font-size:1rem;letter-spacing:.01em}
.sh2 .header-phone small{color:var(--gold-2);font-size:.6rem;letter-spacing:.18em}
.sh2 .header-phone .hp-ico{width:42px;height:42px;background:linear-gradient(135deg,var(--gold-2),var(--gold));color:#20160a;
  box-shadow:0 0 0 5px rgba(231,206,139,.12)}
.sh2 .header-phone:hover small{color:#fff}
.hp-round{display:none;width:44px;height:44px;border-radius:50%;place-items:center;color:#20160a;
  background:linear-gradient(135deg,var(--gold-2),var(--gold));box-shadow:0 0 0 4px rgba(231,206,139,.14)}
.hp-round svg{width:19px;height:19px}
.sh2 .hdr-cta{display:inline-flex;align-items:center;gap:8px;padding:13px 20px;border-radius:999px!important;font-size:.76rem;letter-spacing:.08em}
.hdr-cta-ico{width:15px;height:15px;transition:transform .25s}
.hdr-cta:hover .hdr-cta-ico{transform:translateX(3px)}
.sh2 .burger{background:transparent;border:1px solid rgba(231,206,139,.45);border-radius:12px}
.sh2 .burger span{background:#fff}

/* ---------- mega menus ---------- */
.nav2>li.has-mega{position:static}
.mega{position:absolute;top:100%;left:24px;right:24px;padding-top:12px;z-index:30;
  opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .22s ease,transform .22s ease,visibility 0s linear .22s}
.nav2>li.has-mega:hover>.mega,.nav2>li.has-mega:focus-within>.mega{opacity:1;visibility:visible;transform:none;transition:opacity .22s ease,transform .22s ease}
.mega-in{display:grid;grid-template-columns:1fr 300px;gap:22px;padding:22px;border-radius:20px;background:#fff;color:var(--ink);
  border:1px solid rgba(10,21,38,.08);border-top:3px solid var(--gold);box-shadow:0 40px 80px -30px rgba(6,13,24,.65)}
.mg-label{display:block;margin:2px 0 12px;font-size:.64rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--gold-3)}
.mg-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.mg-item{display:flex;align-items:center;gap:13px;padding:12px;border-radius:14px;transition:background .2s}
.mg-item:hover{background:#f7f3ea}
.mg-ico{flex:0 0 42px;width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#f6ecd2,#ead6a1);color:var(--gold-3)}
.mg-ico svg{width:20px;height:20px}
.mg-item:hover .mg-ico{background:linear-gradient(135deg,var(--gold-2),var(--gold));color:#20160a}
.mg-item b{display:block;font-size:.93rem;font-weight:800;color:var(--ink)}
.mg-item small{display:block;font-size:.78rem;color:var(--muted);margin-top:2px}
.mg-foot{display:flex;gap:22px;margin-top:12px;padding:14px 12px 2px;border-top:1px solid var(--line)}
.mg-foot a{display:inline-flex;align-items:center;gap:7px;font-size:.74rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--ink)}
.mg-foot a svg{width:14px;height:14px;color:var(--gold-3);transition:transform .2s}
.mg-foot a:hover{color:var(--gold-3)}
.mg-foot a:hover svg{transform:translateX(3px)}

.mg-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:8px 22px}
.mg-col a{display:block;padding:8px 10px;margin:0 -10px;border-radius:10px;font-size:.9rem;font-weight:600;color:#26364a;transition:background .2s,color .2s}
.mg-col a:hover{background:#f7f3ea;color:var(--gold-3)}
.mg-col a:last-child[href="2014-party-bus.html"]{color:var(--gold-3);font-weight:800}

.mg-promo{position:relative;display:flex;flex-direction:column;border-radius:16px;overflow:hidden;background:var(--ink);color:#fff;min-height:100%}
.mg-promo-img{display:block;aspect-ratio:16/10;overflow:hidden;background:#0b1626}
.mg-promo-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}
.mega--fleet .mg-promo-img{aspect-ratio:4/3}
.mega--fleet .mg-promo-img img{object-fit:contain}
.mg-promo:hover .mg-promo-img img{transform:scale(1.04)}
.mg-promo-txt{display:flex;flex-direction:column;gap:2px;padding:14px 16px 16px;flex:1 1 auto;justify-content:flex-end}
.mg-promo-txt small{font-size:.66rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.65)}
.mg-promo-txt b{font-family:var(--ff-display);font-size:2rem;font-weight:600;color:var(--gold-2);line-height:1.1}
.mg-promo-txt b i{font-style:normal;font-family:var(--ff-body);font-size:.8rem;color:rgba(255,255,255,.7)}
.mg-promo-txt em{display:inline-flex;align-items:center;gap:7px;margin-top:6px;font-style:normal;font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#fff}
.mg-promo-txt em svg{width:14px;height:14px;color:var(--gold-2)}

/* hide the old dropdown styles' leftovers */
.nav2 .dropdown{display:none}

/* ---------- responsive ---------- */
@media (max-width:1280px){
  .nav2>li>a{padding:9px 11px;font-size:.86rem}
  .sh2 .header-phone{display:none}
  .hp-round{display:grid}
}
@media (max-width:1040px){
  .sh2 .header-inner{min-height:72px}
  .sh2 .brand-logo{height:44px}
}
@media (max-width:640px){
  .sh2 .header-inner{min-height:66px;gap:10px}
  .sh2 .brand-logo{height:38px}
  .sh2 .hdr-cta{display:none}
  .sh2 .header-actions{gap:10px}
  .hp-round{width:42px;height:42px}
  .sh2 .burger{width:42px;height:42px}
}
@media (max-width:360px){ .sh2 .brand-logo{height:32px} }
.sh2 .header-phone .hp-ico svg{width:18px;height:18px}
.nav2>li.is-active>a,.nav2>li.is-active:hover>a,.nav2>li.is-active:focus-within>a{color:#20160a;background:linear-gradient(135deg,var(--gold-2),var(--gold))}

/* ---------- mobile drawer ---------- */
.drawer{padding:0 0 24px}
.drawer .drawer-head{background:var(--ink);margin:0;padding:14px 20px;border-bottom:2px solid var(--gold)}
.drawer .drawer-close{background:transparent;border:1px solid rgba(231,206,139,.5);color:#fff;border-radius:12px}
.drawer > ul{padding:10px 20px 0}
.drawer > ul > li > a{font-weight:700;color:var(--ink)}
.drawer > ul > li.is-current > a{color:var(--gold-3);position:relative;padding-left:14px}
.drawer > ul > li.is-current > a::before{content:"";position:absolute;left:0;top:50%;width:4px;height:18px;margin-top:-9px;border-radius:4px;background:var(--gold)}
.drawer .sub a{color:#4a5a6e}
.drawer .sub a:hover{color:var(--gold-3)}
.drawer .drawer-foot{padding:0 20px}

/* ---------- v2.1: more breathing room + site-standard buttons ---------- */
.nav2{gap:10px}
.nav2>li>a{padding:10px 16px;border-radius:7px}
.nav2>li.is-active>a,.nav2>li.is-active:hover>a,.nav2>li.is-active:focus-within>a{border-radius:7px;
  background:linear-gradient(150deg,#f8ecc9 0%,var(--gold-2) 30%,var(--gold) 66%,#b8912f 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6)}
.sh2 .header-actions{gap:18px;margin-left:22px}
/* header CTA = the same gold button used everywhere else on the site */
.sh2 .hdr-cta{padding:14px 24px;border-radius:7px!important;font-size:.82rem;letter-spacing:.06em;gap:0}
.sh2 .hdr-cta .hdr-cta-ico{display:none}
.hp-round,.sh2 .header-phone .hp-ico{border-radius:7px}
@media (max-width:1280px){
  .nav2{gap:6px}
  .nav2>li>a{padding:9px 12px}
  .sh2 .header-actions{gap:14px;margin-left:14px}
}
@media (max-width:640px){ .sh2 .burger{border-radius:7px} }
/* keep everything inside the bar at every width */
@media (max-width:1460px){
  .sh2 .header-phone{display:none}
  .hp-round{display:grid}
}
@media (max-width:1240px){
  .sh2 .brand-logo{height:44px}
  .nav2{gap:4px}
  .nav2>li>a{padding:9px 11px;font-size:.85rem}
  .sh2 .header-actions{gap:10px;margin-left:10px}
  .sh2 .hdr-cta{padding:12px 16px;font-size:.74rem}
}
@media (max-width:1120px) and (min-width:1041px){
  .sh2 .brand-logo{height:38px}
  .nav2>li>a{padding:8px 9px;font-size:.82rem}
  .hp-round{display:none}
}
.sh2 .header-inner{max-width:1400px}
.tb2 .wrap{max-width:1400px}
@media (max-width:1400px) and (min-width:1241px){
  .nav2{gap:6px}
  .nav2>li>a{padding:10px 13px}
}
/* logo left · menu centred · actions right */
.sh2 .header-inner > nav{flex:1 1 auto;display:flex;justify-content:center;min-width:0}
.sh2 .nav2{margin:0}
.sh2 .header-actions{margin-left:0}
/* v41: the "Call us 416-770-1414" text block does not fit inside the 1400px header
   (it collided with the Contact item and pushed the quote button off the edge).
   Use the compact round phone button at every desktop width instead. */
.sh2 .header-phone{display:none}
@media (min-width:1461px){ .hp-round{display:grid} }
.sh2 .header-actions{margin-left:16px}
