/* ============================================================
   nav.css — Primary site navigation
   Trimble Aviation — White airy, charcoal theme
   ============================================================ */

:root {
  --nav-utility-h:    48px;
  --nav-main-h:       120px;
  --nav-total-h:      168px;
  --nav-z:            1000;

  --nav-bg:           #FFFFFF;
  --nav-utility-bg:   #F4F1EC;
  --nav-border:       #E5E7EB;
  --nav-text:         #111827;
  --nav-text-muted:   #9CA3AF;
  --nav-accent:       #E8971A;
  --nav-hover-bg:     rgba(17, 24, 39, 0.05);

  --panel-bg:         #FFFFFF;
  --panel-border:     #F3F4F6;
  --panel-shadow:     0 32px 80px -16px rgba(0,0,0,.14), 0 4px 20px -4px rgba(0,0,0,.07);
  --panel-label:      #9CA3AF;
  --panel-text:       #111827;
  --panel-text-muted: #6B7280;
  --panel-row-hover:  #F9FAFB;
  --panel-accent:     #E8971A;

  --mob-bg:           #FFFFFF;
  --mob-divider:      #F3F4F6;
  --mob-sub-bg:       #F9FAFB;

  --font-nav:         'Jost', system-ui, sans-serif;

  --ease-out:         cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:          cubic-bezier(0.4, 0, 1, 1);
  --dur-fast:         140ms;

  --r-sm: 5px;
  --r-md: 8px;
}

[x-cloak] { display: none !important; }

/* ─── PANEL TRANSITIONS — graceful spring in, snappy out ─────── */
.panel-enter {
  transition: opacity 280ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.panel-enter-from { opacity: 0; transform: translateY(-10px); }
.panel-enter-to   { opacity: 1; transform: translateY(0); }

.panel-leave {
  transition: opacity 180ms cubic-bezier(0.4, 0, 1, 1),
              transform 180ms cubic-bezier(0.4, 0, 1, 1);
}
.panel-leave-from { opacity: 1; transform: translateY(0); }
.panel-leave-to   { opacity: 0; transform: translateY(-6px); }

.dropdown-enter {
  transition: opacity 200ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}
.dropdown-leave {
  transition: opacity 150ms cubic-bezier(0.4, 0, 1, 1),
              transform 150ms cubic-bezier(0.4, 0, 1, 1);
}

.mobile-enter {
  transition: opacity 260ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-leave {
  transition: opacity 180ms cubic-bezier(0.4, 0, 1, 1),
              transform 180ms cubic-bezier(0.4, 0, 1, 1);
}

/* ─── SKIP LINK ──────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: calc(var(--nav-z) + 10);
  padding: 8px 18px;
  background: var(--nav-accent);
  color: #fff;
  font-family: var(--font-nav);
  font-size: .8125rem;
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  text-decoration: none;
  transition: top var(--dur-fast) ease;
}
.skip-link:focus { top: 0; }

/* ─── BUTTON RESET ───────────────────────────────────────────── */
button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

/* ─── HEADER SHELL ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--nav-z);
  font-family: var(--font-nav);
  background: #FFFFFF;
  box-shadow: 0 2px 20px -4px rgba(17, 24, 39, .10);
  -webkit-font-smoothing: antialiased;
}

/* ─── UTILITY BAR ────────────────────────────────────────────── */
.nav-utility-bar {
  height: var(--nav-utility-h);
  background: #F4F1EC;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #E8E3D9;
}

.nav-utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-tagline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .70rem;
  font-weight: 500;
  color: #6B6355;
  letter-spacing: .10em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-tagline::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--nav-accent);
  flex-shrink: 0;
}

.nav-utility-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.nav-utility-actions::before {
  content: '';
  display: block;
  width: 1px;
  height: 16px;
  background: #D4CFC6;
}

/* "A Passion for Instruction" video button */
.nav-watch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: #111827;
}
.nav-watch-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--nav-accent);
  color: #fff;
  flex-shrink: 0;
  transition: transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.nav-watch:hover .nav-watch-icon,
.nav-watch:focus-visible .nav-watch-icon {
  transform: scale(1.08);
  box-shadow: 0 0 0 4px rgba(232, 151, 26, .18);
}
.nav-watch-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-watch-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: #111827;
}
.nav-watch-sub {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-text-muted, #6b7280);
}
@media (max-width: 600px) { .nav-watch { display: none; } }

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 600;
  color: #3D3A35;
  text-decoration: none;
  letter-spacing: .02em;
  transition: color var(--dur-fast) ease;
}
.nav-phone svg {
  color: var(--nav-accent);
  opacity: .85;
}
.nav-phone:hover,
.nav-phone:focus-visible { color: var(--nav-accent); }

/* Utility CTA — amber outline, secondary to main nav CTA */
.nav-utility-cta {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  font-family: var(--font-nav);
  font-size: .70rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--nav-accent);
  text-decoration: none;
  background: transparent;
  border: 1.5px solid rgba(232, 151, 26, .55);
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.nav-utility-cta:hover,
.nav-utility-cta:focus-visible {
  background: rgba(232, 151, 26, .08);
  border-color: var(--nav-accent);
}

/* FBO Services — black/yellow pill in the utility bar (matches the CALL FBO
   button's hangar-roof scheme). Hidden on desktop (the main nav FBO pill takes
   over ≥1024px); shown on mobile/tablet so pilots always have a one-tap entry. */
.nav-utility-fbo {
  --fbo-yellow: #F5C518;
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  font-family: var(--font-nav);
  font-size: .70rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fbo-yellow);
  text-decoration: none;
  background: var(--color-primary, #111827);
  border: 1.5px solid var(--color-primary, #111827);
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.nav-utility-fbo:hover,
.nav-utility-fbo:focus-visible {
  background: #1b2536;
  border-color: #1b2536;
}
@media (min-width: 1024px) {
  .nav-utility-fbo { display: none; }
}

/* FBO page: prominent tap-to-call button in the utility bar.
   Replaces the phone/FBO/Book cluster so a pilot on the go calls in one tap. */
.nav-utility-call {
  /* Button-local yellow (hangar-roof) so the rest of the site keeps its amber accent */
  --fbo-yellow: #F5C518;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 7px 14px 9px 8px;
  text-decoration: none;
  color: var(--fbo-yellow);
  background: var(--color-primary, #111827);
  border: none;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(17, 24, 39, .22);
  transition: background var(--dur-fast) ease, box-shadow var(--dur-fast) ease, transform var(--dur-fast) ease;
}
.nav-utility-call:hover,
.nav-utility-call:focus-visible {
  background: #1b2536;
  box-shadow: 0 6px 18px rgba(17, 24, 39, .32);
  transform: translateY(-1px);
}
.nav-utility-call:focus-visible {
  outline: 2px solid var(--fbo-yellow);
  outline-offset: 2px;
}

/* Black/yellow caution-stripe accent along the bottom — the hangar-roof nod */
.nav-utility-call::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background-color: var(--fbo-yellow);
  background-image: repeating-linear-gradient(-45deg, #111827 0 6px, transparent 6px 12px);
}

/* On the FBO page the bar grows to fit the call button so it isn't crammed
   against the top edge — applies on desktop too, not just mobile. */
.nav-utility-bar:has(.nav-utility-call) {
  height: auto;
  min-height: var(--nav-utility-h);
  padding: 7px 0;
}

/* Yellow icon badge — bright against the black button */
.nav-utility-call-badge {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--fbo-yellow);
  color: var(--color-primary, #111827);
  flex-shrink: 0;
}
.nav-utility-call-badge svg { display: block; }

.nav-utility-call-lead {
  font-family: var(--font-nav);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--fbo-yellow);
  opacity: .82;
}
.nav-utility-call-num {
  font-family: var(--font-nav);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--fbo-yellow);
}

/* On mobile the call button is the whole point of the bar — give it room to breathe */
@media (max-width: 600px) {
  .nav-utility-bar:has(.nav-utility-call) {
    height: auto;
    padding: 9px 0;
  }
  .nav-utility-actions:has(.nav-utility-call) { flex: 1; }
  .nav-utility-call {
    width: 100%;
    justify-content: center;
    gap: 13px;
    padding: 13px 22px;
    border-radius: 13px;
  }
  .nav-utility-call-badge { width: 31px; height: 31px; }
  .nav-utility-call-lead { font-size: .66rem; }
  .nav-utility-call-num { font-size: 1.05rem; }
}

/* ─── MAIN NAV BAR ───────────────────────────────────────────── */
.main-nav {
  position: relative;
  height: var(--nav-main-h);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #F0EDE8;
}

.nav-wrap {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-bar-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 8px;
}

/* ─── LOGO ───────────────────────────────────────────────────── */
.nav-logo {
  flex-shrink: 0;
  margin-right: 24px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  outline-offset: 4px;
}
.nav-logo img {
  height: 78px;
  width: auto;
  display: block;
}

/* ─── DESKTOP NAV LIST ───────────────────────────────────────── */
.nav-list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 0;
  flex: 1;
  height: 100%;
}

.nav-list > li {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
}

.nav-list > li.has-mega {
  position: static;
}

/* ─── NAV LINK & TRIGGER ─────────────────────────────────────── */
.nav-link,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  border-radius: var(--r-sm);
  font-family: var(--font-nav);
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .01em;
  white-space: nowrap;
  color: #111827;
  text-decoration: none;
  position: relative;
  transition: color var(--dur-fast) ease, background var(--dur-fast) ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--nav-accent);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 200ms var(--ease-out);
}

.nav-link:hover,
.nav-trigger:hover { background: var(--nav-hover-bg); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link.is-active { font-weight: 600; }
.nav-trigger.is-active { font-weight: 600; }
.nav-link.is-active::after { transform: scaleX(1); }

.nav-link:focus-visible,
.nav-trigger:focus-visible {
  outline: 2px solid var(--nav-accent);
  outline-offset: 2px;
}

.nav-link--muted { color: var(--nav-text-muted); font-size: .85rem; }
.nav-link--muted:hover { color: #111827; }

/* ─── CHEVRON ────────────────────────────────────────────────── */
.chevron {
  flex-shrink: 0;
  opacity: .40;
  color: #111827;
  transition: transform var(--dur-fast) ease, opacity var(--dur-fast) ease;
}
.chevron.flipped { transform: rotate(180deg); opacity: .75; }

/* ─── DESKTOP RIGHT CTAs ─────────────────────────────────────── */
.nav-actions {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

/* FBO button — amber outline, sits between Reviews and Contact Us */
.nav-fbo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-family: var(--font-nav);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--nav-accent);
  text-decoration: none;
  background: transparent;
  border: 1.5px solid rgba(232, 151, 26, .45);
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.nav-fbo-btn:hover,
.nav-fbo-btn:focus-visible {
  background: rgba(232, 151, 26, .07);
  border-color: var(--nav-accent);
  box-shadow: 0 2px 12px rgba(232, 151, 26, .18);
}
.nav-fbo-btn:focus-visible {
  outline: 2px solid var(--nav-accent);
  outline-offset: 2px;
}

.nav-fbo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nav-accent);
  flex-shrink: 0;
}

/* FBO pill — solid amber, high-visibility entry point for pilots.
   Sits between Reviews and Contact Us; stands out against the charcoal CTA. */
.nav-fbo-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  /* Match .nav-cta-btn metrics exactly so both buttons are the same size */
  padding: 10px 24px;
  font-family: var(--font-nav);
  font-size: .80rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-primary, #111827);
  text-decoration: none;
  background: var(--nav-accent);
  border: 2px solid var(--nav-accent);
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: background var(--dur-fast) ease, box-shadow var(--dur-fast) ease, transform var(--dur-fast) ease;
}
.nav-fbo-pill svg { flex-shrink: 0; }
.nav-fbo-pill:hover,
.nav-fbo-pill:focus-visible,
.nav-fbo-pill.is-active {
  background: var(--color-accent-dark, #C97008);
  border-color: var(--color-accent-dark, #C97008);
  box-shadow: 0 4px 16px rgba(232, 151, 26, .35);
  transform: translateY(-1px);
}
.nav-fbo-pill:focus-visible {
  outline: 2px solid var(--nav-accent);
  outline-offset: 2px;
}

/* Mobile FBO pill — first item in the menu, primary pilot entry point */
.mob-fbo-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  /* Inset 20px to match the menu items / CONTACT US button so it never touches the edges */
  margin: 8px 20px 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--nav-accent);
  color: var(--color-primary, #111827);
  text-decoration: none;
}
.mob-fbo-pill:hover,
.mob-fbo-pill:focus-visible { background: var(--color-accent-dark, #C97008); }
.mob-fbo-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(17, 24, 39, .12);
  color: var(--color-primary, #111827);
}
.mob-fbo-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.mob-fbo-title {
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
}
.mob-fbo-sub { font-size: .72rem; font-weight: 500; color: rgba(17, 24, 39, .72); }
.mob-fbo-arrow { flex-shrink: 0; font-size: 1.15rem; line-height: 1; color: var(--color-primary, #111827); }

/* Main nav CTA — solid charcoal, primary action */
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  font-family: var(--font-nav);
  font-size: .80rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  background: #111827;
  border: 2px solid #111827;
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease, transform var(--dur-fast) ease;
}
.nav-cta-btn:hover,
.nav-cta-btn:focus-visible {
  background: var(--nav-accent);
  border-color: var(--nav-accent);
  box-shadow: 0 4px 16px rgba(232, 151, 26, .28);
  transform: translateY(-1px);
}
.nav-cta-btn:focus-visible {
  outline: 2px solid var(--nav-accent);
  outline-offset: 2px;
}

/* ─── MEGA PANEL ─────────────────────────────────────────────── */
.mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 2px solid var(--nav-accent);
  border-bottom: 1px solid #E5E7EB;
  box-shadow: 0 32px 80px -16px rgba(0,0,0,.18), 0 4px 20px -4px rgba(0,0,0,.08);
  z-index: calc(var(--nav-z) - 1);
  isolation: isolate;
  will-change: opacity, transform;
}

/* ─── MEGA INNER GRID ────────────────────────────────────────── */
.mega-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  gap: 0;
}

.mega-inner--3col {
  grid-template-columns: 300px minmax(260px, 1fr) minmax(260px, 1fr);
}
.mega-inner--4col {
  grid-template-columns: 300px minmax(200px, 1fr) minmax(200px, 1fr) minmax(200px, 1fr);
}

/* ─── FEATURED HERO COLUMN ───────────────────────────────────── */
.mega-col--hero {
  background: #111827;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  gap: 24px;
}

.mega-hero-eyebrow {
  display: block;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--nav-accent);
  margin-bottom: 12px;
}

.mega-hero-title {
  font-family: 'Cormorant Garant', Georgia, serif;
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 1.2;
  color: #FFFFFF;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.mega-hero-desc {
  font-size: .845rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .55);
  margin: 0 0 28px;
  flex: 1;
}

.mega-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-nav);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #111827;
  text-decoration: none;
  background: var(--nav-accent);
  border-radius: var(--r-sm);
  width: fit-content;
  transition: background var(--dur-fast) ease, box-shadow var(--dur-fast) ease, transform var(--dur-fast) ease;
}
.mega-hero-cta:hover,
.mega-hero-cta:focus-visible {
  background: var(--color-accent-dark);
  box-shadow: 0 4px 16px rgba(232, 151, 26, .35);
  transform: translateY(-1px);
}

/* ─── STANDARD MEGA COLUMNS ──────────────────────────────────── */
.mega-col {
  padding: 28px 32px;
  border-left: 1px solid #F3F4F6;
}
.mega-col--hero + .mega-col { border-left: none; }

.mega-label {
  display: block;
  font-family: var(--font-nav);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9CA3AF;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #F3F4F6;
}

/* ─── MEGA LINKS ─────────────────────────────────────────────── */
.mega-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 10px;
  font-size: .9rem;
  font-weight: 400;
  color: #111827;
  text-decoration: none;
  border-radius: var(--r-md);
  border-left: 2px solid transparent;
  transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease, padding-left var(--dur-fast) ease;
}
.mega-link:hover,
.mega-link:focus-visible {
  background: #F9FAFB;
  border-left-color: var(--panel-accent);
  padding-left: 14px;
}
.mega-link.is-active {
  color: var(--panel-accent);
  font-weight: 500;
  border-left-color: var(--panel-accent);
}
.mega-link:focus-visible {
  outline: 2px solid var(--panel-accent);
  outline-offset: 1px;
}

.mega-link-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: #F3F4F6;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9CA3AF;
  margin-top: 1px;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
}
.mega-link:hover .mega-link-icon {
  background: rgba(232, 151, 26, .10);
  color: var(--panel-accent);
}
.mega-link.is-active .mega-link-icon {
  background: rgba(232, 151, 26, .12);
  color: var(--panel-accent);
}

.mega-link-name {
  display: block;
  font-size: .9rem;
  font-weight: 500;
  color: #111827;
  line-height: 1.3;
  transition: color var(--dur-fast) ease;
}
.mega-link-desc {
  display: block;
  font-size: .76rem;
  color: #9CA3AF;
  line-height: 1.4;
  margin-top: 2px;
}
.mega-link.is-active .mega-link-name { color: var(--panel-accent); }

.mega-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--panel-accent);
  text-decoration: none;
  letter-spacing: .01em;
  transition: gap var(--dur-fast) ease, color var(--dur-fast) ease;
}
.mega-view-all:hover { gap: 10px; color: #C97008; }

/* ─── STANDARD DROPDOWN (Careers) ───────────────────────────── */
.dropdown-panel {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  background: #FFFFFF;
  border-top: 2px solid var(--nav-accent);
  border: 1px solid #E5E7EB;
  border-radius: 0 0 var(--r-md) var(--r-md);
  box-shadow: 0 12px 32px rgba(0,0,0,.10);
  min-width: 220px;
  z-index: 900;
  overflow: hidden;
  will-change: opacity, transform;
}

.dropdown-list {
  list-style: none;
  margin: 0;
  padding: 8px;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: .9rem;
  font-weight: 400;
  color: #111827;
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
}
.dropdown-link:hover,
.dropdown-link:focus-visible {
  background: #F9FAFB;
  color: var(--nav-accent);
}
.dropdown-link.is-active {
  color: var(--nav-accent);
  font-weight: 500;
}
.dropdown-link:focus-visible {
  outline: 2px solid var(--panel-accent);
  outline-offset: -1px;
}

/* ─── HAMBURGER ──────────────────────────────────────────────── */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 9px;
  margin-left: auto;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  transition: background var(--dur-fast) ease;
}
.hamburger:hover { background: var(--nav-hover-bg); }
.hamburger:focus-visible {
  outline: 2px solid var(--nav-accent);
  outline-offset: 2px;
}

.ham-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #111827;
  border-radius: 1px;
  transform-origin: center;
  transition: transform 240ms var(--ease-out), opacity 180ms ease;
}
.ham-bar--t { transform: translateY(7px) rotate(45deg); }
.ham-bar--m { opacity: 0; transform: scaleX(0); }
.ham-bar--b { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE MENU ────────────────────────────────────────────── */
.mobile-menu {
  background: #FFFFFF;
  border-top: 1px solid #F3F4F6;
  max-height: calc(100svh - var(--nav-total-h));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  box-shadow: 0 16px 40px -8px rgba(0,0,0,.10);
}

.mob-list {
  list-style: none;
  margin: 0;
  padding: 8px 0 32px;
}

.mob-link,
.mob-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  font-family: var(--font-nav);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  color: #111827;
  text-decoration: none;
  border-bottom: 1px solid #F3F4F6;
  text-align: left;
  transition: color var(--dur-fast) ease, background var(--dur-fast) ease;
}
.mob-link:hover,
.mob-trigger:hover,
.mob-link:focus-visible,
.mob-trigger:focus-visible {
  color: var(--nav-accent);
  background: rgba(17, 24, 39, .033);
}
.mob-link.is-active,
.mob-trigger.is-active {
  color: var(--nav-accent);
  font-weight: 600;
}
.mob-link:focus-visible,
.mob-trigger:focus-visible {
  outline: 2px solid var(--nav-accent);
  outline-offset: -2px;
}

.mob-chevron {
  flex-shrink: 0;
  opacity: .38;
  color: #111827;
  transition: transform var(--dur-fast) ease, opacity var(--dur-fast) ease;
}
.mob-chevron.flipped { transform: rotate(180deg); opacity: .70; }

.mob-sub {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  background: #F9FAFB;
  border-bottom: 1px solid #F3F4F6;
}

.mob-sub-link {
  display: block;
  padding: 11px 20px 11px 40px;
  font-size: .9rem;
  font-weight: 400;
  color: #9CA3AF;
  text-decoration: none;
  transition: color var(--dur-fast) ease, padding-left var(--dur-fast) ease;
}
.mob-sub-link:hover,
.mob-sub-link:focus-visible {
  color: var(--nav-accent);
  padding-left: 46px;
}
.mob-sub-link--featured {
  font-weight: 600;
  color: #111827;
}
.mob-sub-link:focus-visible {
  outline: 2px solid var(--nav-accent);
  outline-offset: -2px;
}

.mob-cta-row {
  padding: 20px 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mob-cta-btn {
  display: flex;
  justify-content: center;
  padding: 14px 20px;
  font-family: var(--font-nav);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  background: #111827;
  border-radius: var(--r-sm);
  transition: background var(--dur-fast) ease;
}
.mob-cta-btn:hover,
.mob-cta-btn:focus-visible { background: var(--nav-accent); }

/* Mobile "watch video" link */
.mob-watch-link {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-family: var(--font-nav);
  font-size: .92rem;
  font-weight: 600;
  color: #111827;
  background: transparent;
  border: 0;
  border-top: 1px solid #ECE7DD;
  cursor: pointer;
  text-align: left;
}
.mob-watch-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--nav-accent);
  color: #fff;
  flex-shrink: 0;
}
.mob-watch-sub {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-text-muted, #6b7280);
  margin-left: 4px;
}

.mob-phone-link {
  display: block;
  text-align: center;
  font-size: .9rem;
  font-weight: 500;
  color: #9CA3AF;
  text-decoration: none;
  transition: color var(--dur-fast) ease;
}
.mob-phone-link:hover { color: #111827; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  .nav-tagline { display: none; }
  .nav-utility-actions::before { display: none; }
  .nav-logo img { height: 62px; }
  /* Center the phone · FBO · Book group in the bar (was left-anchored) */
  .nav-utility-inner { justify-content: center; }
  .nav-utility-actions { gap: 12px; justify-content: center; }
  .nav-utility-fbo,
  .nav-utility-cta { padding: 6px 14px; letter-spacing: .06em; }
}
@media (max-width: 400px) {
  /* tighten just enough to stay clean on small phones */
  .nav-phone { font-size: .72rem; }
  .nav-utility-actions { gap: 9px; }
  .nav-utility-fbo,
  .nav-utility-cta { padding: 6px 12px; }
}

@media (min-width: 1024px) {
  .nav-list    { display: flex; }
  .nav-actions { display: flex; }
  .hamburger   { display: none; }
  .mobile-menu { display: none !important; }
}

@media (min-width: 1024px) and (max-width: 1380px) {
  .nav-link,
  .nav-trigger  { padding: 6px 9px; font-size: .845rem; }
  .nav-cta-btn,
  .nav-fbo-pill { padding: 9px 16px; }
  .nav-logo img { height: 68px; }
  .mega-inner--3col { grid-template-columns: 260px minmax(220px, 1fr) minmax(220px, 1fr); }
  .mega-inner--4col { grid-template-columns: 260px minmax(180px, 1fr) minmax(180px, 1fr) minmax(180px, 1fr); }
}