/* Base: burger button hidden on desktop */
.nav-toggle {
  display: none;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-dark);
  margin: 3px 0;
}
body.light-mode .nav-toggle span {
  background: var(--text-light);
}
/* Portrait / narrow viewport: bigger logo, smaller nav, burger menu */
@media (max-width: 768px) {
    .hero h1 {
  font-size: 3rem;   /* or clamp(2rem, 5vw, 3rem) */
}
  header .logo img {
    height: 48px !important;
  }
  header .nav-link {
    font-size: 0.75rem;
  }
  /* Hide inline nav by default, show burger */
  header nav {
    display: none !important;
  }
  .nav-toggle {
    display: inline-block !important;
  }
  /* Mobile nav dropdown */
  body.nav-open header nav {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 64px;
    right: 0;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-dark);
    padding: 0.75rem 1.25rem;
    gap: 0.75rem !important;
    z-index: 50;
  }
  body.light-mode.nav-open header nav {
    background-color: var(--bg-light);
    border-color: var(--border-light);
  }
}
/* Portrait / narrow viewport: bigger logo, smaller nav (e.g. Samsung S9 ~360px)
@media (max-width: 768px) {
  header .logo img {
    height: 48px !important;
  }
  header .nav-link {
    font-size: 0.75rem;
  }
}
*/
/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  z-index: 60;
}
body.light-mode .whatsapp-float {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}
.whatsapp-float svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
}
/* Small phones in portrait: larger logo, tighter nav so SIGN UP stays on one line */
@media (max-width: 480px) {
    .hero h1 {
  font-size: 2rem;   /* or clamp(2rem, 5vw, 3rem) */
}
  header .logo img {
    height: 48px !important;
  }
  header .nav-link {
    font-size: 0.7rem;
  }
  header nav {
    gap: 0.5rem !important;
  }
  header > div {
    gap: 0.5rem !important;
  }
  .whatsapp-float {
    width: 48px;
    height: 48px;
    right: 1rem;
    bottom: 1rem;
  }
  .whatsapp-float svg {
    width: 22px;
    height: 22px;
  }
}