/* Navanith Nest — site header (logo image | nav | call CTA) */
.nn-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  /* Match index.html: Inter for all nav text (overrides body Roboto on Bootstrap pages) */
  font-family: "Inter", system-ui, sans-serif;
}

.nn-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.nn-brand {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  flex-shrink: 0;
}

.nn-brand-logo {
  display: block;
  height: auto;
  max-height: 52px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
}

.nn-nav--desktop {
  display: none;
  align-items: center;
  gap: 2.25rem;
  flex: 1;
  justify-content: center;
}

@media (min-width: 992px) {
  .nn-nav--desktop {
    display: flex;
  }

  .nn-burger {
    display: none !important;
  }
}

.nn-link {
  font-family: "Inter", "Roboto", system-ui, sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none !important;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nn-link:hover {
  color: #65a30d;
}

.nn-link.nn-link--active {
  color: #65a30d !important;
}

.nn-dropdown {
  position: relative;
  /* Padding bridges the gap to the panel; negative margin avoids extra blank space in the bar */
  padding-bottom: 12px;
  margin-bottom: -12px;
}

.nn-dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.25;
  color: #475569;
}

.nn-dropdown-btn:hover {
  color: #65a30d;
}

.nn-dropdown-btn .nn-chevron {
  font-size: 10px;
  opacity: 0.85;
}

.nn-dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0;
  min-width: 240px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 12px 0;
  z-index: 1040;
}

.nn-dropdown:hover .nn-dropdown-panel {
  display: block;
}

.nn-submenu {
  padding: 10px 16px;
}

.nn-submenu + .nn-submenu {
  border-top: 1px solid #f1f5f9;
  margin-top: 4px;
  padding-top: 14px;
}

.nn-submenu-label {
  display: block;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 8px;
  font-weight: 700;
}

.nn-dropdown-panel a {
  display: block;
  padding: 8px 0;
  color: #334155;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
}

.nn-dropdown-panel a:hover {
  color: #65a30d;
}

.nn-dropdown-panel a.nn-link--active {
  color: #65a30d;
  font-weight: 700;
}

.nn-call-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 9999px;
  background: #a3e635;
  color: #0f172a !important;
  font-family: "Inter", "Roboto", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none !important;
  box-shadow: 0 2px 10px rgba(163, 230, 53, 0.35);
  transition: background 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.nn-call-btn:hover {
  background: #8cd12a;
  color: #0f172a !important;
}

@media (min-width: 576px) {
  .nn-call-btn.nn-call-btn--desktop {
    display: inline-flex;
  }
}

.nn-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nn-burger span {
  display: block;
  height: 2px;
  background: #0f172a;
  border-radius: 1px;
}

.nn-mobile-drawer {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1020;
  background: #fff;
  padding: 16px 24px 32px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.nn-mobile-drawer.is-open {
  display: block;
}

.nn-mobile-drawer .nn-link {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
}

.nn-mobile-drawer .nn-mobile-sub {
  padding: 8px 0 8px 12px;
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
}

.nn-mobile-drawer .nn-mobile-sub a {
  display: block;
  padding: 8px 0;
  color: #334155;
  text-decoration: none !important;
  font-weight: 500;
}

.nn-mobile-drawer .nn-mobile-sub a:hover {
  color: #65a30d;
}

.nn-mobile-drawer .nn-call-btn {
  display: inline-flex;
  width: 100%;
  margin-top: 16px;
  justify-content: center;
}

body.nn-has-site-header {
  padding-top: 72px;
}

@media (max-width: 991px) {
  body.nn-has-site-header {
    padding-top: 68px;
  }
}
