/* MindRank — shared site header (all pages) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #E4D8C7;
  box-shadow:
    0 1px 0 rgba(14, 33, 25, 0.05),
    0 8px 28px -10px rgba(14, 33, 25, 0.14);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 60px;
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.site-header .logo {
  flex-shrink: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: #0E2119;
  text-decoration: none;
  line-height: 1;
}

.site-header .logo span {
  color: #0D7A52;
  font-style: italic;
}

.site-header .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex: 1 1 auto;
  min-width: 0;
}

.site-header .nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  color: #1A4832;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
  padding: 4px 0;
}

.site-header .nav-links a:hover {
  color: #095E3F;
}

.site-header .nav-links a.active {
  color: #095E3F;
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-left: auto;
}

.site-header .nav-cta {
  background: #0D7A52;
  color: #ffffff;
  padding: 11px 20px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px -10px rgba(9, 94, 63, 0.6);
  transition: background 0.2s, transform 0.2s;
}

.site-header .nav-cta:hover {
  background: #095E3F;
  transform: translateY(-1px);
}

.nav-cta-short {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0E2119;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #FBF8F3;
  border-bottom: 1px solid #E4D8C7;
  padding: 8px 22px 24px;
  box-shadow: 0 16px 40px -8px rgba(14, 33, 25, 0.18);
  flex-direction: column;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #1A4832;
  text-decoration: none;
  padding: 13px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #E4D8C7;
}

.mobile-menu a:hover {
  color: #0D7A52;
}

.mobile-menu .m-cta {
  background: #0D7A52;
  color: #fff !important;
  justify-content: center;
  border-radius: 100px;
  margin-top: 16px;
  border-bottom: none;
  padding: 14px 20px;
  font-weight: 600;
  box-shadow: 0 8px 20px -8px rgba(9, 94, 63, 0.5);
}

@media (max-width: 900px) {
  .nav-inner {
    padding: 12px 22px;
    gap: 12px;
  }

  .site-header .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-cta-full {
    display: none;
  }

  .nav-cta-short {
    display: inline;
  }

  .site-header .nav-cta {
    font-size: 12px;
    padding: 10px 14px;
  }
}

@media (max-width: 400px) {
  .site-header .logo {
    font-size: 22px;
  }
}
