.appbar nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.appbar nav a:hover,
.appbar nav a.is-on {
  color: var(--ink);
}

.nav-drop {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-drop-btn {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
}

.nav-drop-btn:hover,
.nav-drop:hover .nav-drop-btn,
.nav-drop-btn.is-on {
  color: var(--ink);
}

.nav-drop-btn:focus {
  outline: none;
}

.nav-drop-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 40;
  min-width: 230px;
  padding: 8px;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(23, 25, 29, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(4px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0.15s;
}

.nav-drop-menu::before {
  content: '';
  position: absolute;
  inset: -12px 0 auto;
  height: 12px;
}

.nav-drop:hover .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-drop-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  white-space: nowrap;
}

.nav-drop-menu a:hover,
.nav-drop-menu a.is-on {
  background: rgba(23, 25, 29, 0.05);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: #17191d;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .appbar nav {
    display: none;
  }

  .appbar-inner > .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 19, 29, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mobile-nav-panel {
  position: absolute;
  top: 88px;
  right: 12px;
  left: 12px;
  max-height: calc(100vh - 104px);
  overflow: auto;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 40px rgba(23, 25, 29, 0.14);
}

.mobile-nav-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 25, 29, 0.06);
  color: #17191d;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
}

.mobile-nav-links > a {
  padding: 12px 10px;
  border-radius: 12px;
  color: #5e646c;
  font-size: 16px;
}

.mobile-nav-links > a:hover,
.mobile-nav-links > a.is-on {
  background: rgba(23, 25, 29, 0.05);
  color: #17191d;
}

.mobile-nav-label {
  margin: 16px 10px 6px;
  color: #5e646c;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mobile-nav-cta {
  width: 100%;
  margin-top: 20px;
}

.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow:
    0 4px 20px rgba(37, 211, 102, 0.45),
    0 2px 8px rgba(23, 25, 29, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wa-fab:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 28px rgba(37, 211, 102, 0.5),
    0 4px 12px rgba(23, 25, 29, 0.14);
}

.wa-fab svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

@media (max-width: 900px) {
  .wa-fab {
    right: 16px;
    bottom: 16px;
  }
}
