@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-left {
  from {
    opacity: 0;
    transform: translateX(-32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.3);
  }
  50% {
    box-shadow: 0 0 24px 4px rgba(74, 222, 128, 0.15);
  }
}

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

.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-left {
  animation: slide-in-left 0.7s ease-out forwards;
}

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

.animate-count-pulse {
  animation: count-pulse 2s 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;
}

.hero-bg-overlay {
  background: linear-gradient(
    135deg,
    rgba(14, 18, 11, 0.92) 0%,
    rgba(14, 18, 11, 0.75) 50%,
    rgba(14, 18, 11, 0.88) 100%
  );
}

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

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

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
  background-color: rgba(74, 222, 128, 0.15);
  border-color: #4ade80;
  color: #86efac;
}

.swiper-button-prev-custom.swiper-button-disabled,
.swiper-button-next-custom.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.nav-link--active {
  color: #4ade80;
  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;
  border-radius: 9999px;
}

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

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}

.mobile-menu.is-open {
  pointer-events: auto;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu.is-open .mobile-menu__backdrop {
  opacity: 1;
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(20rem, 100%);
  height: 100%;
  padding: 1.5rem;
  background: #181e14;
  border-left: 1px solid #2a3524;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

body.mobile-menu-open {
  overflow: hidden;
}

.form-field--error input,
.form-field--error textarea {
  border-color: #f87171;
}

.form-field--error input:focus,
.form-field--error textarea:focus {
  border-color: #f87171;
  outline-color: #f87171;
}

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

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

.form-checkbox--error {
  outline: 1px solid #f87171;
  outline-offset: 2px;
  border-radius: 0.25rem;
}

.form-toast {
  position: fixed;
  top: 5.5rem;
  right: 1rem;
  z-index: 200;
  max-width: 22rem;
  padding: 1rem 1.25rem;
  background: #181e14;
  border: 1px solid #4ade80;
  border-radius: 0.75rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transform: translateX(calc(100% + 2rem));
  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);
}

.cookie-banner-enter {
  animation: fade-in-up 0.4s ease-out forwards;
}

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