/* HAL SUPREME shared site header: one menu on every page (desktop tabs + More, phone sheet).
   Self-contained: its own tokens and class names (hs-*) so it looks the same on portal.css and trip.css pages. */
.hs-head {
  --hs-bg: rgba(8, 9, 11, 0.86);
  --hs-panel: #12151a;
  --hs-line: rgba(57, 67, 83, 0.7);
  --hs-text: #f5f7fa;
  --hs-muted: #a7b0bc;
  --hs-accent: #2b8cff;
  --hs-accent-soft: rgba(43, 140, 255, 0.16);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: var(--hs-bg);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--hs-line);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--hs-text);
  box-sizing: border-box;
}
.hs-head *, .hs-head *::before, .hs-head *::after { box-sizing: border-box; }
.hs-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.hs-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--hs-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.hs-brand img { width: 30px; height: 30px; border-radius: 9px; display: block; }
.hs-tabs { display: flex; align-items: center; gap: 2px; }
.hs-tabs > a, .hs-more > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--hs-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: color .15s ease, background-color .15s ease;
}
.hs-tabs > a:hover, .hs-more > summary:hover, .hs-more[open] > summary { color: var(--hs-text); background: rgba(255, 255, 255, 0.06); }
.hs-tabs > a[aria-current="page"], .hs-more > summary[aria-current="page"] { color: var(--hs-text); background: var(--hs-accent-soft); }
.hs-ext { opacity: .7; font-size: .85em; margin-left: 2px; }
.hs-cta.hs-cta { color: #fff; background: var(--hs-accent); }
.hs-cta.hs-cta:hover { background: #4b9dff; }
.hs-more { position: relative; }
.hs-more > summary, .hs-mobile > summary { list-style: none; }
.hs-more > summary::-webkit-details-marker, .hs-mobile > summary::-webkit-details-marker { display: none; }
.hs-more > summary::after {
  content: "";
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .15s ease;
}
.hs-more[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.hs-drop {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 240px;
  padding: 8px;
  display: grid;
  gap: 2px;
  background: var(--hs-panel);
  border: 1px solid var(--hs-line);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
.hs-drop a, .hs-sheet a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--hs-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 550;
}
.hs-drop a small, .hs-sheet a small { color: var(--hs-muted); font-size: 12px; font-weight: 450; }
.hs-drop a:hover, .hs-sheet a:hover { background: rgba(255, 255, 255, 0.06); }
.hs-drop a[aria-current="page"], .hs-sheet a[aria-current="page"] { background: var(--hs-accent-soft); }
.hs-head a:focus-visible, .hs-head summary:focus-visible { outline: 2px solid var(--hs-accent); outline-offset: 2px; }

/* phone and small tablet: one Menu button that opens a full-width sheet */
.hs-mobile { display: none; }
@media (max-width: 900px) {
  .hs-tabs { display: none; }
  .hs-mobile { display: block; }
  .hs-mobile > summary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--hs-line);
    border-radius: 12px;
    color: var(--hs-text);
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
  }
  .hs-burger, .hs-burger::before, .hs-burger::after {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }
  .hs-burger { position: relative; }
  .hs-burger::before, .hs-burger::after { content: ""; position: absolute; left: 0; }
  .hs-burger::before { top: -5px; }
  .hs-burger::after { top: 5px; }
  .hs-mobile[open] .hs-burger { background: transparent; }
  .hs-mobile[open] .hs-burger::before { transform: translateY(5px) rotate(45deg); }
  .hs-mobile[open] .hs-burger::after { transform: translateY(-5px) rotate(-45deg); }
  .hs-sheet {
    position: fixed;
    left: 0;
    right: 0;
    top: 64px;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    padding: 10px 16px calc(36px + env(safe-area-inset-bottom, 0px));
    background: #0b0d10;
    border-bottom: 1px solid var(--hs-line);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  }
  .hs-sheet h2 {
    margin: 16px 12px 6px;
    color: var(--hs-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .hs-sheet a { min-height: 48px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-head * { transition: none !important; }
}
