@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 pulse-accent {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(230, 57, 70, 0);
  }
}

@keyframes stat-count {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

.animate-pulse-accent {
  animation: pulse-accent 2.5s ease-in-out infinite;
}

.animate-stat {
  animation: stat-count 0.6s ease-out forwards;
}

.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-visible .stat-number {
  animation: stat-count 0.6s ease-out forwards;
}

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

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
  background-color: #e63946;
  color: #ede8e1;
}

.swiper-pagination-custom .swiper-pagination-bullet {
  background: #998c7d;
  opacity: 1;
}

.swiper-pagination-custom .swiper-pagination-bullet-active {
  background: #e63946;
}

.mobile-nav-open {
  overflow: hidden;
}

.nav-link--active {
  color: #e63946;
  font-weight: 600;
}

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

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

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

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

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(18rem, 85vw);
  height: 100%;
  padding: 1.25rem 1.5rem 2rem;
  background-color: #1c1712;
  border-left: 1px solid #342b20;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

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

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #342b20;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu__links a {
  display: block;
  padding: 0.875rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #998c7d;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-menu__links a:hover {
  background-color: rgba(230, 57, 70, 0.1);
  color: #ede8e1;
}

.mobile-menu__links a.nav-link--active {
  color: #e63946;
  font-weight: 600;
  background-color: rgba(230, 57, 70, 0.1);
}

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

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

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

.form-toast {
  position: fixed;
  top: 5.5rem;
  right: 1rem;
  z-index: 70;
  max-width: 22rem;
  padding: 1rem 1.25rem;
  border: 1px solid #342b20;
  border-left: 4px solid #e63946;
  border-radius: 0.75rem;
  background-color: #1c1712;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateX(120%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

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

.faq-item__answer {
  display: none;
}

.faq-item.is-open .faq-item__answer {
  display: block;
}

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

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