/* ============================================================
   SMARTOUCH — NAV CSS
   Shared navigation, hamburger, mobile menu
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(4,5,15,.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--b);
  transition: background .3s;
}
.nav.scrolled {
  background: rgba(4,5,15,.97);
  border-bottom-color: var(--b2);
}

/* Logo */
.nl {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fd);
  font-size: 17px;
  font-weight: 800;
  color: var(--w);
  text-decoration: none;
}
.ni {
  width: 32px;
  height: 32px;
  background: var(--grad);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(240,35,79,.4);
  flex-shrink: 0;
}

/* Desktop menu */
.nm {
  display: flex;
  gap: 2px;
}
.na {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--w40);
  cursor: pointer;
  transition: .15s;
  text-decoration: none;
}
.na:hover { color: var(--w); background: var(--w06); }
.na.act   { color: var(--w); background: var(--w06); }

/* CTA button */
.nb {
  padding: 9px 20px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(240,35,79,.32);
  transition: .18s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.nb:hover {
  box-shadow: 0 6px 24px rgba(240,35,79,.52);
  transform: translateY(-1px);
}

/* Hamburger */
.ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  background: none;
  border: none;
}
.ham span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--w80);
  border-radius: 1px;
  transition: .2s;
}
.ham.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ham.open span:nth-child(2) { opacity: 0; }
.ham.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mob {
  display: none;
  position: fixed;
  top: var(--nav);
  left: 0; right: 0;
  background: rgba(4,5,15,.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--b);
  padding: 12px 20px;
  flex-direction: column;
  gap: 2px;
  z-index: 999;
}
.mob.open { display: flex; }
.mob-lk {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--w40);
  transition: .15s;
  text-decoration: none;
}
.mob-lk:hover { color: var(--w); background: var(--w06); }
.mob-ct {
  margin-top: 10px;
  padding: 13px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  display: block;
  text-decoration: none;
}

/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  .nav  { padding: 0 20px; }
  .nm   { display: none; }
  .nb   { display: none; }
  .ham  { display: flex; }
}
