/* ============================================================
   Haul Country Child v2 — redesigned header & footer
   Brand: navy #0B2447 / orange #F97316
   ============================================================ */

/* ---------- top utility bar ---------- */
.hc-topbar {
  background: #0B2447;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.4;
}
.hc-topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.hc-topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}
.hc-topbar-hours { color: rgba(255, 255, 255, 0.65); }
.hc-topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.hc-topbar-phone:hover { color: #F97316; }

/* ---------- main header ---------- */
.site-head {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 18px rgba(11, 36, 71, 0.10);
}
.head-in {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 14px;
  padding-bottom: 14px;
}

/* brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: #F97316;
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.5px;
}
.brand-word {
  display: flex;
  flex-direction: column;
  color: #0B2447;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 1.5px;
  line-height: 1.05;
}
.brand-word em {
  font-style: normal;
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.6px;
  color: #5B6B82;
  margin-top: 3px;
}

/* nav */
.nav { margin-left: auto; }
.nav-burger { display: none; }
#navlist.nav-list,
ul.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list > li { position: relative; }
.nav-list .nav-link,
.nav-list > li > a {
  display: block;
  padding: 10px 14px;
  color: #0B2447;
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  border-radius: 9px;
  white-space: nowrap;
}
.nav-list > li > a:hover,
.nav-list > li.current-menu-item > a,
.nav-list > li.current-menu-ancestor > a {
  color: #EA580C;
  background: #FFF4EC;
}
/* dropdown */
.nav-list .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  background: #fff;
  border: 1px solid #E8EEF3;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(11, 36, 71, 0.16);
  padding: 8px;
  list-style: none;
  margin: 0;
  z-index: 300;
}
.nav-list > li:hover > .sub-menu,
.nav-list > li:focus-within > .sub-menu { display: block; }
.nav-list .sub-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: #1E293B;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.nav-list .sub-menu a:hover { background: #F4F6FA; color: #EA580C; }

/* header CTAs */
.head-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.hc-head-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0B2447;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  white-space: nowrap;
}
.hc-head-call:hover { color: #EA580C; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-solid {
  background: #F97316;
  color: #fff;
}
.btn-solid:hover {
  background: #EA580C;
  color: #fff;
}

/* ---------- footer ---------- */
.site-foot {
  background: #0B2447;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 0;
}
.site-foot .hazard { display: none; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.25fr;
  gap: 44px;
  padding-top: 64px;
  padding-bottom: 52px;
}
.brand-foot .brand-word { color: #fff; }
.brand-foot .brand-word em { color: rgba(255, 255, 255, 0.6); }
.foot-tag {
  font-size: 15px;
  line-height: 1.7;
  margin: 18px 0 20px;
  max-width: 320px;
}
.foot-nap { font-style: normal; font-size: 15px; line-height: 1.75; }
.foot-nap .nap-name { font-weight: 700; color: #fff; }
.foot-nap .nap-tel {
  display: inline-block;
  margin-top: 6px;
  color: #F97316;
  font-weight: 800;
  font-size: 19px;
  text-decoration: none;
}
.foot-nap .nap-tel:hover { color: #fff; }
.foot-hours { font-size: 13.5px; color: rgba(255, 255, 255, 0.55); margin-top: 10px; }

.site-foot nav h3,
.foot-cta-col h3 {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.site-foot nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-foot nav li { margin: 0 0 11px; }
.site-foot nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  text-decoration: none;
}
.site-foot nav a:hover { color: #F97316; }

.foot-phone {
  display: inline-block;
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.foot-phone:hover { color: #F97316; }
.foot-cta-text { font-size: 15px; line-height: 1.65; margin: 0 0 18px; }
.foot-cta-col .btn { margin-bottom: 18px; }
.foot-area { font-size: 13.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.55); }

.foot-base { background: #071A36; }
.foot-base-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
}
.foot-base-in p { margin: 0; }
.foot-base-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  margin-left: 18px;
}
.foot-base-links a:hover { color: #F97316; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hc-head-call { display: none; }
}
@media (max-width: 1023px) {
  .nav { margin-left: 0; }
  .nav-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: #F4F6FA;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    cursor: pointer;
    padding: 0 11px;
  }
  .nav-burger span {
    display: block;
    height: 2.5px;
    background: #0B2447;
    border-radius: 2px;
  }
  .nav-burger .sr {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  #navlist.nav-list,
  ul.nav-list {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid #E8EEF3;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(11, 36, 71, 0.20);
    padding: 10px;
    z-index: 400;
  }
  #navlist.nav-list.open,
  ul.nav-list.open { display: flex; }
  .nav-list > li > a { padding: 12px 14px; }
  .nav-list .sub-menu {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    border-left: 3px solid #F4F6FA;
    border-radius: 0;
    padding: 2px 0 2px 8px;
    margin: 2px 0 6px 10px;
    min-width: 0;
  }
  .head-ctas { margin-left: auto; }
  .head-ctas .btn { padding: 11px 18px; font-size: 14.5px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .hc-topbar-msg { display: none; }
  .hc-topbar-in { justify-content: center; }
  .head-in { gap: 14px; }
  .brand-word { font-size: 16px; }
  .brand-mark { width: 38px; height: 38px; font-size: 16px; }
  .foot-grid { grid-template-columns: 1fr; padding-top: 48px; }
  .foot-base-in { flex-direction: column; text-align: center; }
  .foot-base-links a { margin: 0 9px; }
}
