/* Mobile nav: matches the site's existing 700px breakpoint. Desktop nav is unchanged. */
.menu-btn{
  display:none;
  margin-left:auto;
  flex-shrink:0;
  min-width:48px;
  height:48px;
  padding:0 14px;
  gap:10px;
  border:2px solid #5aba47;
  border-radius:10px;
  background:#5aba47;
  color:#0b0b0b;
  font-weight:800;
  font-size:15px;
  line-height:1;
  font-family:inherit;
  letter-spacing:.02em;
  text-transform:uppercase;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  position:relative;
  z-index:60;
  -webkit-tap-highlight-color:transparent;
}
.menu-btn-label{display:inline-block;color:#0b0b0b;}
.menu-btn:focus-visible{
  outline:3px solid #fff;
  outline-offset:3px;
}
.menu-btn-bars,
.menu-btn-bars::before,
.menu-btn-bars::after{
  display:block;
  width:20px;
  height:3px;
  border-radius:2px;
  background:#0b0b0b;
  position:relative;
  transition:transform .15s ease,opacity .15s ease,top .15s ease;
}
.menu-btn-bars::before,
.menu-btn-bars::after{
  content:"";
  position:absolute;
  left:0;
}
.menu-btn-bars::before{top:-7px;}
.menu-btn-bars::after{top:7px;}
nav.is-open .menu-btn-bars{background:transparent;}
nav.is-open .menu-btn-bars::before{top:0;transform:rotate(45deg);}
nav.is-open .menu-btn-bars::after{top:0;transform:rotate(-45deg);}

@media (max-width:700px){
  nav{position:relative;z-index:40;}
  .menu-btn{display:inline-flex;}
  .links{
    display:none;
    position:absolute;
    top:100%;
    right:6%;
    left:auto;
    width:min(280px, calc(100vw - 12%));
    max-width:calc(100vw - 12%);
    margin:6px 0 0;
    padding:8px 0 12px;
    background:#0b0b0b;
    border:2px solid #5aba47;
    border-radius:14px;
    box-shadow:0 16px 40px rgba(0,0,0,.5);
    z-index:50;
    box-sizing:border-box;
  }
  nav.is-open .links{
    display:flex;
    flex-direction:column;
    align-items:stretch;
  }
  .links a{
    margin:0;
    display:block;
    padding:12px 18px;
    color:#ddd;
    font-size:15px;
    font-weight:700;
    text-decoration:none;
    border:0;
    background:none;
    border-radius:0;
  }
  .links a:hover,
  .links a:focus-visible{
    background:#111;
    color:#fff;
  }
  .links a.btn{
    margin:10px 18px 4px;
    padding:12px 20px;
    text-align:center;
    background:#5aba47;
    color:#0b0b0b;
    border-radius:30px;
    font-weight:800;
  }
  .links a.btn:hover,
  .links a.btn:focus-visible{
    background:#5aba47;
    color:#0b0b0b;
  }
}

@media (min-width:701px){
  .menu-btn{display:none !important;}
}

/* Keep See Services immediately beside Get Directions when the hero row wraps. */
.hero-cta-pair{display:flex;gap:12px;flex-wrap:wrap;}

/* Small phones: keep the brand and Menu button on one row. */
@media (max-width:400px){
  nav .brand b{font-size:16px;white-space:nowrap;}
  nav .brand img{width:34px;height:34px;}
  .menu-btn{padding:0 11px;gap:8px;font-size:14px;}
}

/* Nov 21 2026 title-wrap fix: balanced line breaks only, wording unchanged */
h1,h2,h3{text-wrap:balance}
.hero-copy h1 span{display:block}
@media (min-width:1100px){
  .hero h1{max-width:820px}
  .hero h1 span{display:block}
}
.dol h2 span{white-space:nowrap}
@media (max-width:700px){
  .dol h2{font-size:26px}
}
@media (max-width:340px){
  .dol h2 span{white-space:normal}
}
@media (min-width:1100px),(min-width:341px) and (max-width:700px){
  .hero-copy h1 span{white-space:nowrap}
}

/* Nov 21 2026 overflow fixes: long email/URL in contact cards; tiny (<=340px) phones */
.grid>.card{min-width:0}
.card small,.card .price{overflow-wrap:anywhere}
@media (max-width:340px){
  nav{padding-left:4%;padding-right:4%}
  nav .brand{gap:6px}
  nav .brand b{font-size:14px}
  .menu-btn{padding:0 9px;gap:6px;font-size:13px}
}

/* Nov 29 2026: keep the desktop menu + Join button on one row once there is room for Fleet Booking */
@media (min-width:1280px){
  nav .links{display:flex;align-items:center;flex-wrap:nowrap;white-space:nowrap;}
  nav .links a{margin-left:16px;}
  nav .links a.btn{margin-left:18px;}
}

/* Nov 21 2026: home hero three-button row (Join / See all of our services / Get Directions) */
.hero-copy .row .btn{white-space:nowrap;text-align:center;}
@media (max-width:700px){
  .hero-copy .row,.hero-copy .hero-cta-pair{flex-direction:column;align-items:stretch;width:100%;}
  .hero-copy .row .btn{display:block;width:100%;}
}
