/* --- Mobile navigation: burger + drawer --- */
.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.nav-burger:hover { background: rgba(0,137,123,0.06); }
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1A1D26;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s;
  margin: 0 auto;
}
.nav-burger span:nth-child(1) { transform: translateY(-6px); }
.nav-burger span:nth-child(3) { transform: translateY(6px); }
.nav-burger.active span:nth-child(1) { transform: rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(26,29,38,0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nav-overlay.visible { opacity: 1; pointer-events: auto; }

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 101;
  width: min(320px, 85vw);
  height: 100dvh;
  background: #F5F1EC;
  border-left: 1px solid #E2DFD9;
  display: flex;
  flex-direction: column;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
}
.nav-drawer.visible { transform: translateX(0); visibility: visible; }

.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #E2DFD9;
}
.nav-drawer-close {
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.nav-drawer-close:hover { background: rgba(0,0,0,0.05); }
.nav-drawer-close svg { width: 20px; height: 20px; color: #6B7080; }

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
}
.nav-drawer-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  color: #1A1D26;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.2s;
}
.nav-drawer-links a:hover { background: rgba(0,137,123,0.06); }
.nav-drawer-links a .drawer-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0,137,123,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-drawer-links a .drawer-icon svg { width: 18px; height: 18px; color: #00897B; }

.nav-drawer-cta {
  padding: 16px 24px;
  margin-top: auto;
  border-top: 1px solid #E2DFD9;
}
.nav-drawer-cta a {
  display: block;
  width: 100%;
  padding: 14px 0;
  border-radius: 12px;
  background: #00897B;
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-drawer-cta a:hover { background: #005F56; }

@media (max-width: 768px) {
  .nav { padding: 12px 16px; }
  .nav-right { display: none; }
  .nav-burger { display: block; }
}
