nav {
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0;
}

.logo {
  font-family: var(--font-header);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-charcoal);
  text-decoration: none;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  margin-left: 40px;
  text-decoration: none;
  color: var(--c-charcoal);
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--c-red);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-charcoal);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  nav {
    padding: 20px 0;
  }

  nav:not(.has-menu) {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  nav:not(.has-menu) .logo {
    font-size: 1.25rem;
    white-space: nowrap;
  }

  nav:not(.has-menu) .nav-links {
    flex-wrap: wrap;
    gap: 14px 22px;
  }

  nav:not(.has-menu) .nav-links a {
    margin-left: 0;
    font-size: 0.9rem;
  }

  nav.has-menu {
    position: relative;
  }

  nav.has-menu .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--c-white);
    flex-direction: column;
    align-items: stretch;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(44, 38, 37, 0.12);
    padding: 16px 0;
    min-width: 160px;
    z-index: 100;
  }

  nav.has-menu .nav-links.open {
    display: flex;
  }

  nav.has-menu .nav-links a {
    margin-left: 0;
    padding: 12px 24px;
    font-size: 1rem;
  }

  nav.has-menu .hamburger {
    display: flex;
  }

  nav.has-menu .logo {
    font-size: 1.1rem;
  }
}
