nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 2rem;
  background: rgba(245, 239, 230, 0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rose-100);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(13, 27, 42, 0.07); }

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.15rem; font-weight: 600;
  color: var(--rose-600); letter-spacing: 0.1em;
  text-decoration: none; display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0;
}

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--rose-600); }

.btn-nav {
  background: var(--rose-600); color: white !important;
  padding: 0.52rem 1.3rem; border-radius: 100px; font-family: var(--font-body);
  transition: background 0.2s, transform 0.15s !important; white-space: nowrap;
}
.btn-nav:hover { background: var(--rose-700) !important; transform: translateY(-1px); }

.nav-user { display: flex; align-items: center; gap: 0.6rem; }

.nav-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--rose-100); border: 2px solid var(--rose-200);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 600; color: var(--rose-600);
  text-decoration: none; overflow: hidden; flex-shrink: 0;
}
.nav-avatar img { width: 100%; height: 100%; object-fit: cover; }
.nav-firstname { font-size: 0.82rem; font-weight: 500; color: var(--text); text-decoration: none; transition: color 0.2s; }
.nav-firstname:hover { color: var(--rose-600); }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
  padding: 4px; border-radius: 8px; transition: background 0.2s; z-index: 110;
}
.nav-hamburger:hover { background: var(--rose-100); }
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s, opacity 0.2s; transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE DRAWER ── */
.nav-drawer {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--cream); z-index: 99;
  flex-direction: column; padding: 5.5rem 2rem 2rem; gap: 0;
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-drawer.open { transform: translateX(0); }

.nav-drawer ul { list-style: none; border-top: 1px solid var(--rose-100); }
.nav-drawer ul li { border-bottom: 1px solid var(--rose-100); }
.nav-drawer ul li a {
  display: block; padding: 1.1rem 0;
  font-size: 1rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text); text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}
.nav-drawer ul li a:hover { color: var(--rose-600); padding-left: 0.5rem; }

.nav-drawer-cta { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.btn-primary-full {
  display: block; text-align: center;
  background: var(--rose-600); color: white;
  padding: 1rem; border-radius: 14px;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.05em; text-decoration: none; transition: background 0.2s;
}
.btn-primary-full:hover { background: var(--rose-700); }

.btn-ghost-full {
  display: block; text-align: center;
  border: 1.5px solid var(--rose-200); color: var(--text);
  padding: 0.9rem; border-radius: 14px;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 400;
  text-decoration: none; transition: border-color 0.2s, color 0.2s;
}
.btn-ghost-full:hover { border-color: var(--rose-400); color: var(--rose-600); }

.nav-drawer-user {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1rem 0; border-top: 1px solid var(--rose-100); margin-top: auto;
}
.nav-drawer-user .nav-avatar { width: 40px; height: 40px; font-size: 0.9rem; }
.nav-drawer-user-info { display: flex; flex-direction: column; }
.nav-drawer-user-name { font-size: 0.9rem; font-weight: 500; color: var(--text); }
.nav-drawer-user-sub  { font-size: 0.75rem; color: var(--muted); }

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 1rem 1.25rem; }
  .nav-links     { display: none; }
  .nav-hamburger { display: flex; }
  .nav-drawer    { display: flex; }
}