/* Mobile menu — tiny, loads on every page since header.php uses it everywhere */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
}
.mobile-menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #0f172a;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.mobile-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  background: #fff;
  border-top: 1px solid #e2e8f0;
}
.mobile-menu.is-open { max-height: 70vh; overflow-y: auto; }
.mobile-menu-cta {
  display: none;
  width: calc(100% - 48px);
  margin: 14px 24px 4px;
  text-align: center;
  padding: 12px 0;
}
.mobile-menu-list { list-style: none; margin: 0; padding: 8px 24px 16px; }
.mobile-menu-list li { border-bottom: 1px solid #f1f5f9; }
.mobile-menu-list a {
  display: block;
  padding: 12px 4px;
  font-weight: 600;
  font-size: 15px;
  color: #0f172a;
  text-decoration: none;
}

body.mobile-menu-open { overflow: hidden; }

@media (max-width: 1080px) {
  .mobile-menu-toggle { display: flex; }
  .mobile-menu { display: block; }
}

/* Below this width the header's inline "Start Free Trial" button no
   longer comfortably fits alongside the logo, WhatsApp icon, and
   hamburger — move it into the mobile menu drawer instead of letting
   the top bar wrap awkwardly to two crowded rows. */
@media (max-width: 480px) {
  .nav-actions > .btn-primary { display: none; }
  .mobile-menu-cta { display: block; }
}
