/* PEX Matching — Mobile Nav CSS */
/* Mobile-first: links hidden, hamburger visible by default */
.nav-links { display: none !important; }
.hamburger { display: flex !important; }

/* Desktop only: show links, hide hamburger */
@media (min-width: 769px) {
  .nav-links { display: flex !important; }
  .hamburger { display: none !important; }
}

/* Trust pills hidden on mobile */
@media (max-width: 768px) {
  .hero-trust { display: none !important; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: rgba(7,9,10,0.98);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 32px 48px;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  pointer-events: none;
  -webkit-transform: translateX(100%);
  -webkit-transition: -webkit-transform 0.35s ease;
}
.mobile-drawer.open {
  transform: translateX(0) !important;
  -webkit-transform: translateX(0) !important;
  pointer-events: all;
}
.drawer-nav {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  gap: 4px;
}
.drawer-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 300;
  color: #ddeae3;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: block;
  -webkit-text-decoration: none;
}
.drawer-nav a:last-child { border-bottom: none; }
.drawer-cta { color: #3abf7e !important; }
.drawer-footer {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.drawer-footer a {
  font-size: 14px;
  color: rgba(200,225,212,0.5);
  text-decoration: none;
}
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  -webkit-transition: opacity 0.35s;
}
.drawer-overlay.open {
  opacity: 1 !important;
  pointer-events: all;
}
.hamburger {
  width: 44px; height: 44px;
  background: rgba(58,191,126,0.12);
  border: 1px solid rgba(58,191,126,0.4);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  -webkit-flex-direction: column;
  justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  -webkit-align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: #3abf7e;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
  transform-origin: center;
  -webkit-transform-origin: center;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  -webkit-transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  -webkit-transform: translateY(-7px) rotate(-45deg);
}
