nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(254, 252, 249, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--sand, #E8DFD0);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--indigo, #2D3A5C);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--terracotta, #C4704B);
}

.logo .owl-fly {
  display: none;
}

.logo:hover .owl-default {
  display: none;
}

.logo:hover .owl-fly {
  display: inline;
}

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

.nav-links a {
  color: var(--indigo, #2D3A5C);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

nav a.cta-nav {
  background: var(--terracotta, #C4704B);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s ease;
}

nav a.cta-nav:hover {
  background: #b5633f;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--indigo, #2D3A5C);
  cursor: pointer;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  color: var(--indigo, #2D3A5C);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.nav-dropdown-toggle::after {
  content: ' ▾';
  font-size: 1.1rem;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--sand, #E8DFD0);
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 220px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 200;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text, #2C2419);
  text-decoration: none;
  font-size: 0.85rem;
}

.nav-dropdown-menu a:hover {
  background: var(--warm-cream, #F5F0E8);
}

footer a {
  text-underline-offset: 2px;
}

@media (max-width: 768px) {
  nav {
    position: fixed;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(254, 252, 249, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--sand, #E8DFD0);
    padding: 1rem 2rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

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

  .nav-links a {
    width: 100%;
  }

  .nav-dropdown,
  .nav-dropdown-menu {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    margin-top: 0.5rem;
    box-shadow: none;
    background: transparent;
  }
}
