.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.hdr.is-stuck { box-shadow: 0 6px 24px rgba(8, 26, 40, 0.28); }


.hdr__bar {

  width: min(100% - var(--gutter) * 2, var(--shell));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 0.4rem + 1.5vw, 2.1rem);

  min-height: var(--bar-h);
  padding-block: 0.65rem;
}


.hdr__logo {
  flex: none;
  display: flex;
  align-items: center;
  line-height: 0;
}
.hdr__logo img {

  width: clamp(168px, 16vw, 240px);
  height: auto;

  transform: translateY(-3px);
}

.hdr__nav { margin-left: auto; }

.hdr__list {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 0.4rem + 1.5vw, 2.1rem);
  margin: 0;
  padding: 0;
  list-style: none;
}


.hdr { --hdr-gap: clamp(24px, 2.36vw - 2px, 32px); }
.hdr__bar { gap: calc(var(--hdr-gap) - 4px); }
.hdr__list { gap: calc(var(--hdr-gap) - 8px); }




.hdr__actions.hdr__actions--desktop {


  gap: 0.85rem;
}

.hdr__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.6rem 0.25rem;
  color: #dce6ee;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--ease);
}
.hdr__link:hover, .hdr__link[aria-expanded='true'] { color: var(--green); }


button.hdr__link {
  margin: 0;
  border: 0;
  background: none;
  font-family: inherit;

  line-height: inherit;
  cursor: pointer;
}


.hdr__caret {
  width: 0.5em; height: 0.5em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.hdr__link[aria-expanded='true'] .hdr__caret { transform: translateY(1px) rotate(-135deg); }


.hdr__item { position: relative; }

.hdr__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  translate: -50% 0;
  min-width: 17rem;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: #fff;
  border-top: 3px solid var(--green);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.hdr__item:hover > .hdr__menu,
.hdr__item:focus-within > .hdr__menu,
.hdr__link[aria-expanded='true'] + .hdr__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.hdr__menu a {
  display: block;
  padding: 0.6rem 0.9rem;
  color: var(--navy);
  font-size: var(--step--1);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.hdr__menu a:hover { background: var(--paper-alt); color: var(--green-text); }


@media (min-width: 1301px) {
  .hdr__menu .hdr__hub { display: none; }
}



@media (min-width: 1301px) {
  .hdr__menu > li + li { position: relative; }
  .hdr__menu > li + li::before {
    content: '';
    position: absolute;
    inset: 0 0.9rem auto;
    border-top: 1px solid var(--line);
  }


  .hdr__menu > .hdr__hub + li::before,

  .hdr__menu > .hdr__grp + li::before { content: none; }


  .hdr__menu > li + .hdr__grp::before { content: none; }
}


.hdr__grp {

  position: relative;

  padding: 0.85rem 0.9rem 0.3rem;

  text-align: right;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hdr__actions {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 0.5rem + 1vw, 1.5rem);
  flex: none;
}


.hdr__phone { white-space: nowrap; }
.hdr__phone svg { width: 1em; height: 1em; fill: currentColor; }


.hdr .btn { padding: 0.75em 1.35em; }



.hdr .btn--ghost {
  color: #fff;
  border-width: 1px;
  padding: calc(0.75em + 1px) calc(1.35em + 1px);
}

.hdr .btn--ghost:hover,
.hdr .btn--ghost:focus-visible {
  background: var(--green);
  border-color: var(--green);
  color: var(--green-ink);
}



.hdr__menu a:has(.hdr__flags) {
  display: flex;
  align-items: center;
}

.hdr__flags {
  display: inline-flex;
  gap: 0.25em;
  margin-left: 0.5em;
}

.hdr__flag {
  width: 1.65em;
  height: auto;
  border-radius: 1.5px;
  box-shadow: 0 0 0 0.5px rgba(11, 19, 38, 0.35);
}



.hdr__toggle {
  display: none;
  flex: none;
  width: 46px; height: 46px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
}
.hdr__toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 4px auto;
  background: currentColor;

  transition: transform 0.18s var(--ease), opacity 0.1s var(--ease) 0.16s;
}


.hdr__toggle[aria-expanded='true'] span {
  transition: transform 0.18s var(--ease) 0.1s, opacity 0.1s var(--ease);
}
.hdr__toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hdr__toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.hdr__toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (prefers-reduced-motion: reduce) {
  .hdr__toggle span,
  .hdr__toggle[aria-expanded='true'] span { transition: none; }
}

@media (max-width: 1300px) {
  .hdr__toggle { display: block; }

  .hdr__nav {
    position: fixed;

    inset: var(--nav-top, var(--bar-h)) 0 0;
    margin: 0;
    padding: 1.5rem var(--gutter) 4rem;
    background: var(--navy);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s var(--ease), visibility 0.3s;
  }
  .hdr__nav.is-open { transform: none; visibility: visible; }

  .hdr__list { flex-direction: column; align-items: stretch; gap: 0; }

  .hdr__link {
    justify-content: space-between;
    padding: 1rem 0;
    font-size: var(--step-0);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hdr__menu {
    position: static;
    translate: none;
    min-width: 0;

    padding: 0 0 0 1rem;
    background: transparent;
    border-top: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .hdr__link[aria-expanded='true'] + .hdr__menu { display: block; }
  .hdr__item:hover > .hdr__menu { display: none; }
  .hdr__link[aria-expanded='true'] + .hdr__menu { display: block; }

  .hdr__menu a { color: #cfdbe5; padding: 0.7rem 0; }
  .hdr__menu a:hover { background: transparent; color: var(--green); }

  .hdr__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.75rem;
  }
  .hdr__actions .btn { width: 100%; }

  .hdr__phone { justify-content: center; }
}


@media (min-width: 1301px) {
  .hdr__item--mobile { display: none; }
}
@media (max-width: 1300px) {
  .hdr__actions--desktop { display: none; }
}

body.is-locked { overflow: hidden; }



.ftr {
  background: #000514;
  color: #c3d0da;
  font-size: var(--step--1);
}


.ftr__row {
  width: min(100% - var(--gutter) * 2, var(--shell));
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.75rem 2.5rem;
  padding-block: 2.75rem 2.25rem;
}

.ftr h2 {
  margin-bottom: 1.1rem;
  color: #8ea1b2;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.ftr ul { margin: 0; padding: 0; list-style: none; max-width: none; }

.ftr a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s var(--ease);
}
.ftr a:hover { color: var(--green); text-decoration: underline; }

.ftr__social ul { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.ftr__social li { margin: 0; }

.ftr__social li a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);

}
.ftr__social li a:hover { border-color: var(--green); background: rgba(106, 218, 53, 0.12); }
.ftr__social li svg { width: 18px; height: 18px; fill: currentColor; }


.ftr__copy {
  margin: 1.4rem 0 0;
  max-width: none;
  color: #8ea1b2;
}


.ftr__legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
  text-align: right;
}


@media (max-width: 560px) {
  .ftr__row { flex-direction: column; }
  .ftr__legal { align-items: flex-start; text-align: left; }
}



.hdr--over {
  position: absolute;
  inset: 0 0 auto;
  background: transparent;
  border-bottom: 0;
}

.hdr--over:not(.is-stuck)::before {
  content: '';
  position: absolute;

  inset: 0 0 -2.25rem;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(11, 19, 38, 0.74) 0%,
    rgba(11, 19, 38, 0.58) 45%,
    rgba(11, 19, 38, 0.24) 76%,
    rgba(11, 19, 38, 0) 100%);
}


.hdr--over.is-stuck {

  position: fixed;
  left: 0;
  right: 0;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 24px rgba(8, 14, 28, 0.28);
  animation: hdr-drop 0.25s var(--ease);
}
@keyframes hdr-drop { from { transform: translateY(-100%); } to { transform: none; } }


.hdr--over + main > :first-child { margin-top: 0; }




@media (max-width: 640px) {
  :root { --bar-h: 84px; }
  .hdr--over .hdr__logo img { width: clamp(140px, 42vw, 170px); }


  .hdr__phone,
  .hdr__login,
  .hdr__menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .hdr__phone { justify-content: center; }

  .ftr__legal a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .ftr__legal { gap: 0.2rem; }


  .hdr__logo { min-height: 44px; }


  .ftr__social a { width: 44px; height: 44px; }
}


body.is-locked .hdr--over,
body.is-locked .hdr--over.is-stuck {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
body.is-locked .hdr--over::before { opacity: 0; }

@media (max-width: 1300px) {
  .hdr__menu a {
    font-size: var(--step-0);
    font-weight: 500;
    padding-block: 0.7rem;
  }


}



@media (max-width: 1300px) {
  .hdr__link { border-bottom: 0; }
}


@media (max-width: 1300px) {

  .hdr__nav { padding-top: 0.5rem; }
  .hdr__menu li + li a { border-top: 1px solid rgba(255, 255, 255, 0.08); }


  .hdr__grp {
    color: rgba(207, 219, 229, 0.55);
    padding: 0.9rem 0 0.3rem;
  }

  .hdr__menu li + .hdr__grp { border-top: 0; }
  .hdr__menu .hdr__grp + li a { border-top: 0; }
  .hdr__list { padding-top: 0.25rem; }
  .hdr__item:first-child { margin-top: 0; }
}


@media (max-width: 560px) {
  .ftr__legal {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.2rem 1.1rem;
  }
}




@media (max-width: 560px) {
  .ftr__row { flex-direction: column-reverse; align-items: center; }
  .ftr__legal { justify-content: center; text-align: center; }
  .ftr__social { text-align: center; }
  .ftr__social ul { justify-content: center; }
  .ftr__copy { text-align: center; }
}


@media (max-width: 1300px) {
}


.ftr__data {
  margin: 0.45rem 0 0;
  max-width: 44ch;
  font-size: var(--step--2);
  line-height: 1.5;
  color: #6d8093;
}

.ftr__data a { color: inherit; text-decoration: underline; text-decoration-color: rgba(141, 162, 185, 0.4); }
.ftr__data a:hover { color: var(--green); }


.ftr__built {
  margin: 0.45rem 0 0;
  max-width: none;
  font-size: var(--step--1);
  color: #6d8093;
}


.ftr__built a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(142, 161, 178, 0.4);
}

.ftr__built a:hover {
  color: var(--green);
  text-decoration-color: currentColor;
}

@media (max-width: 860px) {
  .ftr__built { text-align: center; }
}


.hdr__nav li,
.hdr__list li,
.hdr__menu li { margin-bottom: 0; }

.hdr__menu a { padding-block: 0.775rem; }

@media (max-width: 1300px) {
  .hdr__menu a { padding-block: 0.875rem; }
}


.p-aboutus .phero,
.p-careers .phero,
.p-contact .phero,
.p-termsconditions .phero,
.p-privacy-policy .phero,
.p-claim .clm-fhero,
.p-carrier .car-hero__top,
.p-creditapp .credit-hero__top,
.p-density-calculator .dcal-band,
.p-faqs .faqs-hero,
.p-getmybol .bol-get,
.p-insurance-claims .clm-hero,
.p-schedule .sched-top,
.p-track .trk-hero {
  padding-top: calc(var(--bar-h) + var(--hero-gap));
}


.p-shipping-news .blog-intro { padding-top: calc(var(--bar-h) + var(--hero-gap)); }


.p-canada .areas-strip,
.p-usa .areas-strip { padding-top: calc(var(--bar-h) + 1.5rem); }

.p-canada .lanes-band > .wrap > h1,
.p-usa .us-open h1 { margin-top: 0; }


.hdr__find {
  display: flex;
  align-items: stretch;
  flex: none;
  height: 36px;
  margin-left: 0.4rem;

  background: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);

  border-radius: 0;
  overflow: hidden;
  transition: border-color 0.15s var(--ease);
}

.hdr__find:hover { border-bottom-color: rgba(255, 255, 255, 0.5); }
.hdr__find:focus-within { border-bottom-color: var(--green); }

.hdr__find input {
  width: 8.2rem;
  min-width: 0;
  padding: 0 0.2rem 0 0.7rem;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-size: 13px;
}
.hdr__find input::placeholder { color: rgba(255, 255, 255, 0.45); }
.hdr__find input:focus { outline: none; }


.hdr__find__go {
  display: grid;
  place-items: center;
  width: 30px;
  flex: none;
  margin: 3px;
  padding: 0;
  border: 0;
  border-radius: 0;

  background: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: color 0.15s var(--ease);
}
.hdr__find__go svg { width: 16px; height: 16px; }
.hdr__find__go:hover { color: #fff; }







.hero__find {
  height: 52px;
  margin-left: 0;
  flex: 0 1 20rem;
  background: rgba(255, 255, 255, 0.2);

  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(3px);
}
.hero__find:hover { background: rgba(255, 255, 255, 0.26); }
.hero__find:focus-within {
  background: rgba(255, 255, 255, 0.26);
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}

.hero__find input { color: #fff; }
.hero__find input::placeholder { color: rgba(255, 255, 255, 0.72); }
.hero__find input {
  width: auto;
  flex: 1;
  padding-left: 1rem;

  font-size: 16px;
}

.hero__find .hdr__find__go {
  width: 44px;

  margin: auto 3.33px;
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
  transition: background 0.15s var(--ease);
}
.hero__find .hdr__find__go:hover { background: rgba(255, 255, 255, 0.45); }
.hero__find .hdr__find__go:active { background: rgba(255, 255, 255, 0.55); }


@media (max-width: 560px) {
  .hero__find { flex: 1 1 100%; }


  .hero__find input { text-align: center; }
}


@media (max-width: 1300px) {
  .hdr__find--bar { display: none; }
}
@media (min-width: 1301px) {
  .hdr__find--drawer { display: none; }
}


.hdr__find--drawer {
  width: 100%;
  height: 46px;
  margin: 0 0 1rem;
  flex: none;
}
.hdr__find--drawer input {
  width: auto;
  flex: 1;
  padding-left: 0.9rem;

  font-size: 16px;
}
.hdr__find--drawer .hdr__find__go { width: 40px; margin: 4px; }






.hdr__list .hdr__link,
.hdr__login,
.hdr__phone,
.hdr__find input {

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hdr__find input::placeholder { text-transform: uppercase; }


.hdr__actions--desktop { margin-left: clamp(2.5rem, 1.2rem + 2.6vw, 4rem); }


.hdr { --hdr-ctl-h: 40px; }
.hdr__actions--desktop .hdr__find,
.hdr__actions--desktop .hdr__login {
  height: var(--hdr-ctl-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


.hdr__actions--desktop .hdr__find {
  flex: none;
  margin: 0;
  padding-left: 0.85rem;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 0;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.hdr__actions--desktop .hdr__find:hover { background: rgba(255, 255, 255, 0.12); }
.hdr__actions--desktop .hdr__find:focus-within { border-color: var(--green); }
.hdr__actions--desktop .hdr__find input {
  width: 9.5rem;
  padding: 0;
  color: #fff;
}
.hdr__actions--desktop .hdr__find input::placeholder { color: rgba(255, 255, 255, 0.6); }

.hdr__actions--desktop .hdr__find__go {
  width: 38px;
  height: 100%;
  margin: 0;
  background: none;
  color: rgba(255, 255, 255, 0.75);
}
.hdr__actions--desktop .hdr__find__go:hover { color: #fff; }


.hdr__trackwrap { position: relative; display: flex; align-items: center; }
.hdr__track {
  gap: 0.45rem;
  padding: 0 0.2rem;
  background: none;
  border: 0;
  color: #dce6ee;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s var(--ease);
}
.hdr__track svg { width: 16px; height: 16px; flex: none; }
.hdr__track:hover,
.hdr__track[aria-expanded='true'] { color: #fff; }


.hdr__trackpanel {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 10;
  padding: 0.7rem;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 40px rgba(4, 10, 22, 0.5);
}

.hdr__trackpanel[hidden] { display: none; }

.hdr__trackpanel .hdr__find {
  height: 38px;
  width: 15rem;
  margin: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}
.hdr__trackpanel .hdr__find input { width: 100%; font-size: 14px; }


.hdr__actions--desktop .hdr__login {
  padding-inline: 1.1rem;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 0;
  color: #fff;
  white-space: nowrap;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}



.hdr__portal { position: relative; display: inline-flex; }

.hdr__portal__hint {
  position: absolute;
  top: 100%;

  left: 50%;
  right: auto;
  translate: -50% 0;
  margin-top: 7px;
  width: max-content;
  background: #121d33;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity 0.18s var(--ease) 0.12s,
    transform 0.18s var(--ease) 0.12s,
    visibility 0.18s 0.12s;
}
.hdr__portal:hover .hdr__portal__hint,
.hdr__portal:focus-within .hdr__portal__hint {
  opacity: 1;
  visibility: visible;
  transform: none;
}


.hdr__portal__hint a {
  display: block;
  padding: 0.62rem 0.9rem;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
}
.hdr__portal__hint a:hover,
.hdr__portal__hint a:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  color: var(--green);
}

.hdr__actions--desktop .hdr__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;

  text-decoration: none;
  height: var(--hdr-ctl-h);
  padding: 0;
  background: none;
  border: 0;
  color: var(--green);
  white-space: nowrap;
  transition: color 0.15s var(--ease);
}
.hdr__actions--desktop .hdr__phone svg { width: 16px; height: 16px; flex: none; }
.hdr__actions--desktop .hdr__phone:hover { color: #8ee864; }


.hdr__call { display: none; }


@media (max-width: 1300px) {

  .hdr__call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    color: var(--green);
  }
  .hdr__call svg { width: 22px; height: 22px; }
  .hdr__toggle { margin-left: 0.25rem; }


  .hdr__actions--desktop { display: none; }


  .hdr__drawertrack svg { width: 17px; height: 17px; }
}


@media (min-width: 1301px) {
  .hdr__call { display: none; }
}


.hdr__actions--desktop .hdr__find,
.hdr__trackwrap,
.hdr__track,
.hdr__trackpanel,
.hdr__drawertrack { display: none; }


@media (max-width: 1300px) {
  .hdr__menu a { font-size: 13px; letter-spacing: 0.02em; }
  .hdr__grp { font-size: 11px; }
}




.hdr__actions--desktop .hdr__phone { font-size: 14px; }
.hdr__actions--desktop .hdr__phone svg { width: 17px; height: 17px; }


@media (max-width: 1300px) {
  .hdr__call svg { width: 23px; height: 23px; }
}

@media (max-width: 1300px) {
  .hdr__list { display: flex; flex-direction: column; }
  .hdr__item { order: 0; }
  .hdr__item--mobile:has(> a[href="/quote"]) { order: -2; }
  .hdr__item:has(> a[href="/track"]) { order: -1; }
  .hdr__item--mobile:has(> a[rel="noopener"]) { order: 1; }
}
