/* ── Mediegruppen — Shared Navbar ── */
.navbar-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fdfcf9;
  transition: box-shadow 0.2s ease;
}

.navbar {
  max-width: 1480px;
  margin: 0 auto;
  height: 73px;
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.nav-logo {
  font-family: 'Panchang', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary, #000000);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary, #111111);
  text-decoration: none;
  padding: 6px 14px;
  transition: color 0.15s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--text-primary, #000000); }
.nav-links a.active { color: var(--text-primary, #000000); font-weight: 600; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--green-100, #dcfce7);
  border: 1.5px solid var(--green-100, #dcfce7);
  color: var(--green-800, #166534);
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
  margin-left: 20px;
}

.nav-cta:hover { background: var(--green-200, #bbf7d0); border-color: var(--green-200, #bbf7d0); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  flex-shrink: 0;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary, #000000);
  border-radius: 2px;
}

/* Mobile drawer */
.mobile-nav { display: none; position: fixed; inset: 0; z-index: 200; }
.mobile-nav.open { display: block; }
.mobile-nav-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.3); }

.mobile-nav-drawer {
  position: absolute; top: 0; right: 0; width: 280px; height: 100%;
  background: var(--bg-surface, #fff); padding: 24px; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.28s cubic-bezier(.4,0,.2,1);
}

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

.mobile-nav-close {
  align-self: flex-end; background: none; border: none; cursor: pointer;
  padding: 4px; margin-bottom: 32px; color: var(--text-primary, #000000); font-size: 24px; line-height: 1;
}

.mobile-nav-drawer a {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary, #000000);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle, #f0f0f0);
}

.mobile-nav-drawer .mobile-cta {
  margin-top: 28px; padding: 14px 20px;
  background: var(--green-100, #dcfce7); color: var(--green-800, #166534);
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 16px; font-weight: 600;
  border-radius: 8px; text-align: center;
  border: none; border-bottom: none; cursor: pointer;
}

@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links { display: none !important; }
  .nav-cta { display: none !important; }
  .nav-hamburger { display: flex; }
}
