.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.nav.scrolled {
  background: rgba(15, 61, 54, 0.97);
  box-shadow: 0 1px 0 rgba(92, 196, 181, 0.12);
  padding: 14px 0;
  backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.nav-brand-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}

.nav-brand-icon svg {
  width: 100%;
  height: 100%;
}

.nav-brand-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(
    135deg,
    #5cc4b5 0%,
    #ffffff 25%,
    #5cc4b5 50%,
    #ffffff 75%,
    #5cc4b5 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shell-shimmer 6s ease-in-out infinite;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(240, 239, 235, 0.6);
  transition: color 0.15s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #f0efeb;
}

.nav-cta {
  padding: 8px 20px !important;
  background: var(--teal);
  color: #fff !important;
  border-radius: 5px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--teal-hover) !important;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(92, 196, 181, 0.18);
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: #f0efeb;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  color: rgba(240, 239, 235, 0.5);
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--teal-on-dark);
}

.footer-eu {
  font-size: 13px;
  color: rgba(240, 239, 235, 0.45);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@keyframes shell-shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
  }
}
