.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3d6647;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: #16a34a;
}

.nav-link--active {
  background-color: #f0fdf4;
  color: #16a34a;
  font-weight: 600;
}

.nav-link--mobile {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3d6647;
}

.nav-link--mobile:hover {
  background-color: #f0fdf4;
}

.nav-link--mobile.nav-link--active {
  background-color: #f0fdf4;
  color: #16a34a;
  font-weight: 600;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
}

.site-logo__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0a1f0f;
  line-height: 1.2;
}

.site-logo--footer .site-logo__name {
  color: #ffffff;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse-soft {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@keyframes count-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.3);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(22, 163, 74, 0);
  }
}

.animate-fade-in-up {
  animation: fade-in-up 0.7s ease-out forwards;
}

.animate-fade-in {
  animation: fade-in 0.6s ease-out forwards;
}

.animate-slide-in-right {
  animation: slide-in-right 0.7s ease-out forwards;
}

.animate-pulse-soft {
  animation: pulse-soft 3s ease-in-out infinite;
}

.animate-count-glow {
  animation: count-glow 2.5s ease-in-out infinite;
}

.animation-delay-100 {
  animation-delay: 0.1s;
}

.animation-delay-200 {
  animation-delay: 0.2s;
}

.animation-delay-300 {
  animation-delay: 0.3s;
}

.animation-delay-400 {
  animation-delay: 0.4s;
}

.opacity-0-start {
  opacity: 0;
}

.stat-number.is-visible {
  animation: fade-in-up 0.5s ease-out forwards;
}

.hero-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.burger-line {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger-btn.is-active .burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger-btn.is-active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-btn.is-active .burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  transition: max-height 0.35s ease, opacity 0.35s ease;
}

.mobile-nav.is-closed {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.mobile-nav.is-open {
  max-height: 480px;
  opacity: 1;
}

.cookie-banner {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner.is-hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
  transform: scale(1.05);
}

.swiper-button-prev-custom:focus-visible,
.swiper-button-next-custom:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.form-field--error .form-input {
  border-color: #dc2626;
}

.form-field--error .form-input:focus {
  outline-color: #dc2626;
}

.form-error {
  display: none;
  margin-top: 0.375rem;
  font-size: 0.75rem;
  color: #dc2626;
}

.form-field--error .form-error {
  display: block;
}

.form-toast {
  position: fixed;
  top: 5.5rem;
  right: 1rem;
  z-index: 60;
  max-width: 22rem;
  transform: translateX(calc(100% + 1.5rem));
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  pointer-events: none;
}

.form-toast.is-visible {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item.is-open .faq-item__answer {
  grid-template-rows: 1fr;
}

.faq-item__answer-inner {
  overflow: hidden;
}

.faq-item__icon {
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(180deg);
}
