/* Inner-page chrome (NEW_CHROME): sticky header from hero.css + this footer,
   reserved header height (no CLS), Ask Grok as the only bottom-right fixed
   control, and offers toast clearance so it never covers the launcher. */

.vo-foot {
  background: var(--vo-ink-950, #0B1220);
  color: #E2E8F0;
  text-align: center;
  padding: 1.75rem 1.25rem calc(2rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255,255,255,.08);
  font: 400 .9rem/1.5 var(--vo-font-body), Inter, Arial, sans-serif;
}
.vo-foot__bar, .vo-foot__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .15rem .55rem;
  margin: 0 auto;
}
.vo-foot__copy { color: #fff; margin: 0; }
.vo-foot__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.vo-foot__row li { display: inline-flex; align-items: center; }
.vo-foot__row li+li::before {
  content: "|";
  margin: 0 .5rem;
  color: #94a3b8;
}
@media (max-width: 575.98px) {
  .vo-foot__row li+li::before { display: none; }
  .vo-foot__row { gap: 0 .25rem; }
}
.vo-foot a {
  color: #94a3b8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--vo-tap, 44px);
  padding: 0 .15rem;
}
.vo-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.vo-foot__social a { min-width: var(--vo-tap, 44px); }
.vo-foot a:focus-visible {
  outline: 3px solid var(--vo-focus-on-dark, #FFB020);
  outline-offset: 3px;
}
.vo-chrome .visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Desktop nav: six links (incl. Book a Trip) must fit at 1280 without wrapping
   or crowding the Ski|Surf switch / Plan my trip CTA. Slightly tighter than the
   hero default 1.5rem gap; CTA padding trimmed a touch. Shared with /new. */
@media (min-width: 1200px) {
  .vo-hdr .vo-nav { gap: 1rem; }
  .vo-hdr .vo-hdr__cta { padding: 0 1.1rem; }
  .vo-hdr .vo-switch a { min-width: 3.5rem; padding: 0 1rem; }
}

/* Sticky .vo-hdr is in document flow at a fixed --vo-hdr-h, so main needs no
   Bootstrap pt-5 spacer (that was for the old fixed-top navbar). */
body.vo-chrome {
  margin: 0;
}
body.vo-chrome > main {
  padding-top: 0 !important;
}
/* /plan hard-codes the old 76px fixed-nav offset; cancel it under new chrome. */
body.vo-chrome .agent-page {
  min-height: calc(100vh - var(--vo-hdr-h, 3.5rem));
  padding-top: 0;
}

/* Exactly one bottom-right fixed control: Ask Grok. Hide the what's-new stack. */
body.vo-chrome .whats-new-stack { display: none !important; }

/* Offers toast: bottom-left on desktop; on phones leave the bottom-right for Grok. */
body.vo-chrome .promo-popup {
  left: 16px;
  right: auto;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: min(320px, calc(100vw - 96px));
  z-index: 10400;
}
body.vo-chrome #grok-chat-toggle { z-index: 10550; }
body.vo-chrome #grok-chat-panel { z-index: 10540; }
@media (max-width: 640px) {
  body.vo-chrome .promo-popup {
    left: 8px;
    right: auto;
    width: min(280px, calc(100vw - 88px));
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    max-height: min(22vh, 8.5rem);
  }
  body.vo-chrome #grok-chat-toggle {
    bottom: 16px;
    right: 16px;
  }
  body.vo-chrome #grok-chat-panel {
    bottom: 88px;
    right: 16px;
  }
}
