/* ── Satyakali top navbar – shared stylesheet ── */

/* Neutralise Bricks hero negative margin (old transparent header is gone) */
.hero-negative-margin.brxe-section {
  margin-top: 0 !important;
}

/* FOUC guard: reserve space while nav.js runs */
#nav-placeholder:empty {
  min-height: 74px;
  display: block;
}

header.site {
  --slate: #2F4F4F;
  --sage:  #5C8A61;
  --sage-d: #4a7150;

  position: sticky;
  top: 0;
  z-index: 9999;
}

header.site .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1280px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

header.site .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

header.site .brand img {
  height: 46px;
  width: auto;
}

header.site .brand span {
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 15px;
  color: var(--slate);
}

nav.main {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav.main a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  transition: color .2s;
}

nav.main a:hover {
  color: var(--sage);
}

nav.main a[aria-current="page"] {
  color: var(--sage);
  font-weight: 600;
}

/* Book a Visit button */
nav.main .btn {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 40px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .25s, transform .25s;
  text-decoration: none;
}

nav.main .btn-primary {
  background: var(--sage);
  color: #fff;
}

nav.main .btn-primary:hover {
  background: var(--sage-d);
  transform: translateY(-2px);
  color: #fff;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 26px;
  color: var(--slate);
  cursor: pointer;
  line-height: 1;
}

/* ── Mobile slide-in drawer ── */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10001;
  height: 100%;
  width: min(82vw, 320px);
  background: #fff;
  box-shadow: -8px 0 30px rgba(0, 0, 0, .18);
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  padding: 72px 28px 28px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-drawer.open {
  transform: translateX(0);
}

.nav-drawer .drawer-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: 0;
  font-size: 34px;
  line-height: 1;
  color: var(--slate, #2F4F4F);
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-links a {
  font-size: 17px;
  font-weight: 500;
  color: var(--slate, #2F4F4F);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  transition: color .2s;
}

.drawer-links a:hover,
.drawer-links a[aria-current="page"] {
  color: var(--sage, #5C8A61);
}

.drawer-links .btn {
  margin-top: 18px;
  border: 0;
  border-radius: 40px;
  padding: 14px 20px;
  text-align: center;
  font-weight: 600;
}

.drawer-links .btn-primary {
  background: var(--sage, #5C8A61);
  color: #fff;
}

.drawer-links .btn-primary:hover {
  background: var(--sage-d, #4a7150);
  color: #fff;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, .45);
  opacity: 0;
  transition: opacity .3s ease;
}

.nav-backdrop.open {
  opacity: 1;
}

body.nav-open {
  overflow: hidden;
}

/* These pages are intentionally unpublished until their source material is ready. */
#brx-footer li:has(> a[href*="compliance-documents"]),
#brx-footer li:has(> a[href*="corporate-profile"]) {
  display: none !important;
}

/* The drawer is mobile-only; never show it on desktop */
@media (min-width: 881px) {
  .nav-drawer,
  .nav-backdrop {
    display: none !important;
  }
}

@media (max-width: 880px) {
  nav.main {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
