/* Nav + Mobile menu + WhatsApp float */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 80;
  padding: 18px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease, padding .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11,11,12,0.72);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom-color: var(--line-darker);
  padding: 12px var(--pad-x);
}
.nav.on-light.scrolled {
  background: rgba(250,247,242,0.82);
  border-bottom-color: var(--line-lighter);
}
.nav.on-light { color: var(--ink); }
.nav.on-dark { color: var(--warm-white); }

.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 22px; letter-spacing: -0.01em;
}
.brand-mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: var(--warm-white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600; font-size: 13px;
  letter-spacing: -0.02em;
}
.on-light .brand-mark { background: var(--ink); color: var(--warm-white); }
.brand-name { font-weight: 400; }
.brand-name em { font-style: italic; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  font-size: 14px; list-style: none; margin: 0; padding: 0;
}
.nav-links li a {
  display: block; padding: 8px 14px;
  border-radius: 999px;
  color: currentColor;
  opacity: .78;
  transition: opacity .25s, background .25s;
}
.nav-links li a:hover { opacity: 1; background: rgba(127,127,127,0.10); }
.nav-right { display: flex; align-items: center; gap: 12px; }

.hamburger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  border-radius: 999px;
  padding: 0; position: relative;
  color: inherit;
}
.on-light .hamburger { border-color: rgba(11,11,12,0.18); }
.hamburger span {
  position: absolute; left: 11px; right: 11px;
  height: 1px; background: currentColor;
  transition: transform .3s, top .3s;
}
.hamburger span:nth-child(1) { top: 16px; }
.hamburger span:nth-child(2) { top: 22px; }
.hamburger.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .nav-links, .nav-right .btn { display: none; }
  .hamburger { display: block; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 70;
  background: var(--ink); color: var(--warm-white);
  padding: 96px var(--pad-x) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  transform: translateY(-100%);
  transition: transform .55s cubic-bezier(.7,0,.2,1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  font-family: var(--display);
  font-size: clamp(36px, 9vw, 64px);
  line-height: 1.0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
  letter-spacing: -0.02em;
}
.mobile-menu .mm-foot {
  display: flex; flex-direction: column; gap: 18px;
  font-size: 13px; color: var(--dim);
}
.mobile-menu .mm-foot .btn { align-self: flex-start; }

.wa-float {
  position: fixed; right: 22px; bottom: 22px;
  z-index: 60;
  display: flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--warm-white);
  padding: 10px 18px 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  box-shadow: 0 14px 44px rgba(0,0,0,0.22);
  transition: transform .3s, background .3s;
  font-size: 13px;
}
.wa-float:hover { transform: translateY(-2px); background: var(--blue); }
.wa-float .wa-dot {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: #25D366;
  display: grid; place-items: center;
  color: white; font-size: 14px;
}
@media (max-width: 600px) {
  .wa-float { padding: 10px; }
  .wa-float .wa-label { display: none; }
}
