/* Shared responsive and navigation refinements */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 0;
  overflow-x: hidden;
}

img,
svg,
video {
  max-width: 100%;
}

/* Keep the homepage Navigator card focused on the vehicle, not the aircraft. */
.fleet-grid > div:nth-child(3) > div:first-child {
  background-position: 84% 52% !important;
  background-size: 145% !important;
}

.fleet-grid > div:nth-child(3) p {
  overflow-wrap: anywhere;
}

.nav-brand,
.nav-right,
.nav-links,
.nav-links > li {
  min-width: 0;
}

@media (min-width: 901px) {
  .nav-links > li > .dropdown {
    top: calc(100% + 36px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 244px;
    padding: 10px 0;
    border: 1px solid rgba(196, 150, 58, 0.24);
    border-radius: 4px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  }

  .nav-links > li > .dropdown::before {
    top: -38px;
    right: 0;
    left: 0;
    height: 38px;
  }

  .nav-links > li > .dropdown::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #111110;
    border-top: 1px solid rgba(196, 150, 58, 0.24);
    border-left: 1px solid rgba(196, 150, 58, 0.24);
    transform: translateX(-50%) rotate(45deg);
  }

  .mobile-menu.open {
    display: none !important;
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  nav {
    padding-right: 3.5% !important;
    padding-left: 3.5% !important;
  }

  .nav-right {
    gap: 18px !important;
  }

  .nav-links {
    gap: 17px !important;
  }

  .nav-links > li > a {
    font-size: 10px !important;
    letter-spacing: 0.11em !important;
  }

  .nav-right > .btn-outline {
    padding-right: 15px !important;
    padding-left: 15px !important;
    letter-spacing: 0.14em !important;
  }
}

@media (max-width: 900px) {
  nav {
    height: 72px !important;
    padding-right: 5% !important;
    padding-left: 5% !important;
  }

  .nav-links,
  .nav-right > .btn-outline {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
    width: 44px !important;
    min-width: 44px;
    height: 44px !important;
    min-height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px !important;
  }

  .hamburger span {
    width: 22px !important;
    margin: 0 !important;
  }

  .mobile-menu {
    position: fixed !important;
    top: 72px !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 999 !important;
    display: none;
    max-height: calc(100dvh - 72px);
    padding: 14px 6% 24px !important;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #111110 !important;
    border-top: 0 !important;
    border-bottom: 1px solid rgba(196, 150, 58, 0.24) !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
    -webkit-overflow-scrolling: touch;
  }

  .mobile-menu.open {
    display: block !important;
  }

  .mobile-menu a {
    display: block !important;
    height: auto !important;
    min-height: 40px;
    padding: 11px 0 !important;
    overflow: visible !important;
    font-size: 11px !important;
    line-height: 1.55 !important;
    letter-spacing: 0.13em !important;
    color: rgba(245, 242, 237, 0.62) !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055) !important;
  }

  .mobile-menu a:hover,
  .mobile-menu a:focus-visible,
  .mobile-menu a[style*="var(--gold)"] {
    color: var(--gold) !important;
  }

  .mobile-menu .mob-cat {
    margin: 0 !important;
    padding: 17px 0 6px !important;
    font-size: 9px !important;
    line-height: 1.4;
    letter-spacing: 0.28em !important;
    color: var(--gold) !important;
  }

  main,
  section,
  footer,
  .footer-inner,
  .two-col,
  .three-col,
  .pricing-grid {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .nav-brand-primary {
    font-size: 15px !important;
    letter-spacing: 0.075em !important;
  }

  .nav-brand-sub {
    gap: 5px !important;
    font-size: 7px !important;
    letter-spacing: 0.3em !important;
  }

  .nav-brand-sub::before,
  .nav-brand-sub::after {
    width: 10px !important;
  }
}
