:root {
  --bayta-nav-navy: #0b1f3a;
  --bayta-nav-blue: #1d4ed8;
  --bayta-nav-sky: #38bdf8;
  --bayta-nav-bg: rgba(248, 250, 252, 0.92);
  --bayta-nav-card: #ffffff;
  --bayta-nav-line: #e2e8f0;
  --bayta-nav-text: #0f172a;
  --bayta-nav-muted: #475569;
  --bayta-nav-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.bayta-site-header,
.bayta-site-header * {
  box-sizing: border-box;
}

.bayta-site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1050;
  background: var(--bayta-nav-bg);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
}

.bayta-nav-shell {
  width: min(1160px, calc(100% - 40px));
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

.bayta-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.bayta-brand:hover,
.bayta-brand:focus {
  color: inherit;
  text-decoration: none;
}

.bayta-brand-logo {
  width: 176px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
  flex: 0 0 auto;
}

.bayta-brand-product {
  display: block;
  min-width: 0;
  padding-left: 15px;
  border-left: 1px solid rgba(148, 163, 184, 0.45);
}

.bayta-brand-product small,
.bayta-brand-product strong {
  display: block;
}

.bayta-brand-product small {
  margin-bottom: 3px;
  color: var(--bayta-nav-blue);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-transform: uppercase;
}

.bayta-brand-product strong {
  color: var(--bayta-nav-navy);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
}

.bayta-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: visible;
  color: var(--bayta-nav-muted);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
}

.bayta-nav-item {
  float: none;
  border-right: 0;
}

.bayta-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--bayta-nav-muted);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.bayta-nav-link:hover,
.bayta-nav-link:focus {
  color: var(--bayta-nav-blue);
  background: #eef6ff;
  text-decoration: none;
}

.bayta-nav-cta {
  color: #ffffff;
  background: var(--bayta-nav-blue);
  box-shadow: 0 12px 24px rgba(29, 78, 216, 0.22);
}

.bayta-nav-cta:hover,
.bayta-nav-cta:focus {
  color: #ffffff;
  background: #1e40af;
}

.bayta-nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--bayta-nav-line);
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
}

.bayta-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--bayta-nav-text);
}

body.bayta-nav-open {
  overflow: hidden;
}

.bayta-legacy-content {
  margin-top: 96px !important;
}

.bayta-legacy-intro {
  max-width: 920px;
  margin-bottom: 22px;
  padding: 22px 24px;
  border: 1px solid var(--bayta-nav-line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.bayta-legacy-intro h1 {
  margin: 0 0 10px;
  color: var(--bayta-nav-navy);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.12;
}

.bayta-legacy-intro p {
  margin: 0;
  color: var(--bayta-nav-muted);
}

@media (max-width: 980px) {
  .bayta-nav-shell {
    min-height: 76px;
  }

  .bayta-brand-logo {
    width: 148px;
    height: 42px;
  }

  .bayta-brand-product {
    padding-left: 12px;
  }

  .bayta-brand-product small {
    font-size: 0.6rem;
  }

  .bayta-brand-product strong {
    font-size: 0.92rem;
  }

  .bayta-nav-toggle {
    display: block;
  }

  .bayta-nav-links {
    position: fixed;
    inset: 86px 20px auto 20px;
    display: grid;
    gap: 4px;
    max-height: calc(100vh - 106px);
    padding: 18px;
    border: 1px solid var(--bayta-nav-line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--bayta-nav-shadow);
    opacity: 0;
    overflow-y: auto;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .bayta-nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .bayta-nav-link {
    width: 100%;
    justify-content: flex-start;
    min-height: 46px;
    padding: 0 12px;
    border-radius: 12px;
    text-align: left;
  }

  .bayta-nav-cta {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .bayta-nav-shell {
    width: min(100% - 28px, 1160px);
    gap: 12px;
  }

  .bayta-brand-logo {
    width: 128px;
  }

  .bayta-brand-product {
    display: none;
  }
}
