.metrai-header {
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 60;
  height: 80px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  font-family: "DM Sans", system-ui, sans-serif;
}
.metrai-header *, .metrai-header *::before, .metrai-header *::after { box-sizing: border-box; }
.metrai-header .metrai-header-inner {
  position: relative;
  width: min(1280px, calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.metrai-header .metrai-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  color: #0f172a;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
}
.metrai-header .metrai-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #4f46e5;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}
.metrai-header .metrai-nav {
  display: flex;
  align-items: center;
  gap: 23px;
  flex: 1;
  min-width: 0;
  margin: 0 0 0 auto;
  justify-content: flex-end;
}
.metrai-header .metrai-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  color: #475569;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  white-space: nowrap;
}
.metrai-header .metrai-link:hover,
.metrai-header .metrai-link[aria-current="page"] { color: #4f46e5; }
.metrai-header .metrai-booking {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  min-height: 44px;
  margin-left: 6px;
  padding: 12px 18px;
  border-radius: 9px;
  background: #4f46e5;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  transition: background 160ms ease-out;
}
.metrai-header .metrai-booking:hover { background: #4338ca; }
.metrai-header .metrai-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: #ffffff;
  color: #0f172a;
  cursor: pointer;
}
.metrai-header .metrai-menu-toggle svg { width: 22px; height: 22px; }
.metrai-header .metrai-menu-close { display: none; }
.metrai-header .metrai-menu-toggle[aria-expanded="true"] .metrai-menu-open { display: none; }
.metrai-header .metrai-menu-toggle[aria-expanded="true"] .metrai-menu-close { display: block; }
.metrai-header a:focus-visible, .metrai-header button:focus-visible {
  outline: 3px solid #0e7490;
  outline-offset: 4px;
}
.metrai-skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 6px;
  background: #0f172a;
  color: #ffffff;
  font: 600 14px system-ui, sans-serif;
}
.metrai-skip-link:focus { top: 12px; }
@media (max-width: 1179px) {
  .metrai-header { height: 72px; }
  .metrai-header .metrai-header-inner { width: calc(100% - 40px); }
  .metrai-header .metrai-menu-toggle { display: inline-flex; }
  .metrai-header .metrai-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: -20px;
    right: -20px;
    margin: 0;
    padding: 16px 20px 24px;
    max-height: calc(100dvh - 73px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 12px 22px rgba(15, 23, 42, .08);
  }
  .metrai-header .metrai-nav.is-open { display: flex; }
  .metrai-header .metrai-link { padding: 12px 8px; min-height: 48px; font-size: 15px; }
  .metrai-header .metrai-booking { margin: 12px 0 0; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .metrai-header * { transition: none; }
}
