:root {
  --header-blue: #2468ff;
  --header-purple: #6337ff;
  --header-dark: #050505;
  --header-muted: #64748b;
  --header-line: rgba(15, 23, 42, .08);
}

.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-22px) scale(.98);
  transition: opacity .36s ease, transform .36s ease;
}

.site-header.visible,
.site-header.menu-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.header-shell {
  position: relative;
  width: min(1180px, calc(100% - 42px));
  min-height: 64px;
  padding: 8px 9px 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--header-line);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(248,251,255,.78));
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  box-shadow:
    0 20px 60px rgba(15, 23, 42, .11),
    inset 0 1px 0 rgba(255,255,255,.75);
  pointer-events: auto;
  overflow: hidden;
}

.header-shell::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 0%, rgba(36,104,255,.12), transparent 28%),
    radial-gradient(circle at 86% 10%, rgba(99,55,255,.12), transparent 24%);
}

.header-progress {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  width: min(1120px, calc(100% - 78px));
  height: 3px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: left center;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--header-blue), var(--header-purple));
  box-shadow: 0 8px 18px rgba(36,104,255,.24);
  pointer-events: none;
}

.brand-wordmark {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1px;
  min-width: 190px;
  text-decoration: none;
  color: var(--header-dark);
}

.brand-wordmark .brand-kicker {
  color: var(--header-blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.brand-wordmark strong {
  font-size: 17px;
  line-height: .96;
  font-weight: 900;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.nav-links {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 3px;
  align-items: center;
  padding: 6px;
  border: 1px solid rgba(15, 23, 42, .055);
  border-radius: 999px;
  background: rgba(244, 247, 255, .84);
}

.nav-links a {
  position: relative;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: #5b6472;
  font-size: 13px;
  font-weight: 900;
  transition: color .22s ease, background .22s ease, transform .22s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--header-blue);
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(15, 23, 42, .07);
}

.header-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
}

.header-status {
  height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  border: 1px solid rgba(36, 104, 255, .13);
  background: rgba(255,255,255,.72);
  color: #334155;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.header-status i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #19c37d;
  box-shadow: 0 0 0 6px rgba(25,195,125,.12);
  animation: statusPulse 1.7s ease-in-out infinite;
}

.header-status b {
  color: var(--header-blue);
}

@keyframes statusPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 6px rgba(25,195,125,.12); }
  50% { transform: scale(.82); box-shadow: 0 0 0 9px rgba(25,195,125,.06); }
}

.header-cta {
  height: 46px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--header-blue), var(--header-purple));
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(36,104,255,.24);
  transition: transform .22s ease, box-shadow .22s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(36,104,255,.30);
}

.menu-btn {
  position: relative;
  z-index: 3;
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #f1f5ff;
  cursor: pointer;
}

.menu-btn span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 99px;
  background: #0f172a;
  transition: transform .25s ease, top .25s ease;
}

.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 27px; }

.site-header.menu-open .menu-btn span:first-child {
  top: 22px;
  transform: rotate(45deg);
}

.site-header.menu-open .menu-btn span:last-child {
  top: 22px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: none;
  padding: 92px 18px 18px;
  background: rgba(248, 251, 255, .68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: auto;
}

.mobile-menu-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 30px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 28px 80px rgba(15,23,42,.14);
  transform: translateY(-10px);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}

.site-header.menu-open .mobile-menu-card {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  color: var(--header-blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.mobile-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f1f5ff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.mobile-menu a:not(.mobile-book-btn) {
  padding: 15px 16px;
  border-radius: 18px;
  background: #f8fbff;
  color: #111827;
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.035em;
}

.mobile-route-mini {
  margin-top: 4px;
  padding: 16px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 0% 0%, rgba(36,104,255,.16), transparent 34%),
    #f8fbff;
  border: 1px solid rgba(36,104,255,.11);
}

.mobile-route-mini small,
.mobile-route-mini span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.mobile-route-mini b {
  display: block;
  margin: 6px 0;
  color: var(--header-blue);
  font-size: 20px;
  letter-spacing: -.05em;
}

.mobile-book-btn {
  min-height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--header-blue), var(--header-purple));
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 16px 32px rgba(36,104,255,.24);
}

body.menu-locked {
  overflow: hidden;
}

@media (max-width: 1060px) {
  .header-status {
    display: none;
  }

  .brand-wordmark {
    min-width: 160px;
  }

  .nav-links a {
    padding-inline: 12px;
  }
}

@media (max-width: 820px) {
  .site-header {
    top: 10px;
  }

  .header-shell {
    width: calc(100% - 24px);
    min-height: 60px;
    padding-left: 18px;
  }

  .brand-wordmark {
    min-width: 0;
  }

  .brand-wordmark strong {
    font-size: 15px;
  }

  .nav-links,
  .header-actions {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .mobile-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
  }

  .site-header.menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
  }
}


.header-status.is-not-set {
  color: #64748b;
}

.header-status.is-not-set i {
  background: #94a3b8;
  box-shadow: 0 0 0 6px rgba(148,163,184,.14);
  animation: none;
}

.header-status.is-set i {
  background: #19c37d;
}
