/* --- NAVIGATION --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
}

.nav_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav_right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav_left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  margin-left: 0;
  padding-left: 0.5rem;
}

.nav_logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: inherit;
}

.nav_logo-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav_logo-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.show-desktop {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .show-desktop {
    display: none !important;
  }

  .hide-desktop {
    display: block !important;
  }
}

/* --- SECTIONS & SPACING --- */
.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* --- MOBILE NAV MENU --- */
.w-nav-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  text-align: center;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

/* Base menu hidden by default */
.w-nav-menu {
  display: none !important;
}

/* Full-width dropdown when open */
.w-nav-menu.is-open {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: absolute !important;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  margin: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  z-index: 1002;
}

/* Tidy up link spacing */
.w-nav-menu.is-open a,
.w-nav-menu.is-open .w-button {
  width: 100%;
}

.nav_menu-list.w-list-unstyled {
  width: 90%
}

.nav_menu-list li {
  margin: 0.5rem 0;
  /* Adds vertical spacing between items */
}

/* Keep hamburger clickable above all */
.w-nav-button {
  position: relative;
  z-index: 1003;
}

.nav.is-secondary {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  padding: 0.75rem 0;
  /* Adds subtle breathing space */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}