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

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

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

.site-animate-delay-1 {
  animation-delay: 0.08s;
}

.site-animate-delay-2 {
  animation-delay: 0.16s;
}

.site-animate-delay-3 {
  animation-delay: 0.24s;
}

.site-stat-number {
  font-variant-numeric: tabular-nums;
}

.site-hero-bg {
  animation: site-fade-in 1s ease-out both;
}

.site-nav-active {
  cursor: default;
}

i[class^="flaticon-"] {
  display: inline-block;
  font-style: normal;
  line-height: 1;
}

.site-mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background-color: rgb(43 34 48 / 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.site-mobile-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-mobile-panel {
  position: fixed;
  inset: 0;
  left: auto;
  z-index: 50;
  display: flex;
  width: 100%;
  max-width: 20rem;
  flex-direction: column;
  background-color: #ffffff;
  box-shadow: -8px 0 24px rgb(43 34 48 / 0.12);
  transform: translateX(100%);
  transition: transform 0.28s ease, visibility 0.28s ease;
  visibility: hidden;
  pointer-events: none;
}

.site-mobile-panel.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

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

@media (min-width: 1024px) {
  .site-mobile-backdrop,
  .site-mobile-panel {
    display: none !important;
  }

  body.site-mobile-open {
    overflow: auto;
  }
}

.site-toast-visible {
  animation: site-fade-in 0.35s ease-out both;
}

body.auth-modal-open {
  overflow: hidden;
}


.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 40rem;
  margin-inline: auto;
  display: none;
  background-color: #FFFFFF;
  border: 1px solid #E8DDEB;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgb(18 26 12 / 0.25);
  padding: 1.5rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner__title { font-size: 1.125rem; font-weight: 700; color: #2B2230; margin-bottom: 0.5rem; }
.cookie-banner__text { color: #78677E; font-size: 0.875rem; line-height: 1.6; margin-bottom: 1.25rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cookie-panel {
  position: fixed; inset: 0; z-index: 210; display: none;
  align-items: center; justify-content: center; padding: 1rem;
  background-color: rgb(18 26 12 / 0.55);
}
.cookie-panel.is-visible { display: flex; }
.cookie-panel__dialog {
  width: min(100%, 32rem); max-height: min(90vh, 40rem); overflow: auto;
  background-color: #FFFFFF; border-radius: 1rem; border: 1px solid #E8DDEB;
  box-shadow: 0 25px 50px -12px rgb(18 26 12 / 0.25); padding: 1.5rem;
}
.cookie-panel__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.cookie-panel__header h2 { font-size: 1.25rem; font-weight: 700; color: #2B2230; }
.cookie-panel__close {
  width: 44px; height: 44px; border: 1px solid #E8DDEB; border-radius: 0.5rem;
  background-color: #FFFFFF; color: #2B2230; flex-shrink: 0;
}
.cookie-panel__close:hover { background-color: #f3eaf3; border-color: #9C4D9E; }
.cookie-panel__text { color: #78677E; font-size: 0.875rem; line-height: 1.6; margin-bottom: 1.25rem; }
.cookie-panel__options { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.cookie-option {
  display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; padding: 1rem;
  border: 1px solid #E8DDEB; border-radius: 0.75rem; background-color: #f3eaf3;
}
.cookie-option input { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; accent-color: #9C4D9E; }
.cookie-option__title { font-weight: 700; color: #2B2230; }
.cookie-option__desc { margin: 0; color: #78677E; font-size: 0.875rem; }
.cookie-panel__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cookie-toggle {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 190;
  min-width: 44px; min-height: 44px; padding: 0.7rem 0.95rem; border-radius: 999px;
  border: 1px solid #E8DDEB; background-color: #9C4D9E; color: #ffffff;
  box-shadow: 0 10px 15px -3px rgb(18 26 12 / 0.25); display: inline-flex; align-items: center;
  gap: 0.4rem; font-size: 0.875rem; font-weight: 600;
}
.cookie-toggle:hover { background-color: #854186; }
.cookie-btn {
  min-height: 44px; padding: 0.625rem 1.25rem; border-radius: 0.5rem;
  font-size: 0.875rem; font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.cookie-btn--primary { background-color: #9C4D9E; color: #ffffff; border: 0; }
.cookie-btn--primary:hover { background-color: #854186; }
.cookie-btn--secondary { background-color: #f3eaf3; color: #9C4D9E; border: 1px solid #E8DDEB; }
.cookie-btn--secondary:hover { border-color: #9C4D9E; }
.cookie-btn--ghost { background-color: #FFFFFF; color: #78677E; border: 1px solid #E8DDEB; }
.cookie-btn--ghost:hover { background-color: #f3eaf3; color: #9C4D9E; }
@media (min-width: 768px) {
  .cookie-banner { left: auto; right: 1.5rem; bottom: 5.5rem; margin-inline: 0; }
  .cookie-toggle { right: 1.5rem; bottom: 1.5rem; }
}
