

@keyframes gentleFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes gentlePulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.03);
  }
}

@keyframes slowRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes calmWave {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-20px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes connectionPulse {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.6;
  }
}

.page-terapeuti-hero section[class*="bg-gradient-to-br"] img[src*="neural-network"] {
  animation: gentleFloat 25s ease-in-out infinite;
}

.page-terapeuti-hero section[class*="bg-gradient-to-br"] img[src*="organic-growth"] {
  animation: gentlePulse 5s ease-in-out infinite;
}

.page-terapeuti-hero section[class*="bg-gradient-to-br"] img[src*="balance-symbol"] {
  animation: slowRotate 40s linear infinite;
}

.page-terapeuti-hero section[class*="bg-gradient-to-br"] img[src*="flowing-shape"] {
  animation: gentleFloat 18s ease-in-out infinite reverse;
}

.page-terapeuti-hero section[class*="bg-gradient-to-br"] img[src*="connection-nodes"] {
  animation: gentlePulse 6s ease-in-out infinite;
}

.page-terapeuti-hero section[class*="bg-gradient-to-br"] img[src*="healing-flow"] {
  animation: gentleFloat 30s ease-in-out infinite;
}

.page-terapeuti-hero section[class*="bg-gradient-to-br"] img[src*="waves"] {
  animation: calmWave 10s ease-in-out infinite;
}

.page-terapeuti-hero section[class*="bg-gradient-to-br"] img[src*="accent-circles"] {
  animation: gentlePulse 4s ease-in-out infinite;
}

.page-terapeuti-hero section[class*="bg-gradient-to-br"] img[src*="accent-triangle"] {
  animation: gentleFloat 20s ease-in-out infinite;
}

.page-terapeuti-hero section[class*="bg-gradient-to-br"] > div:first-of-type > div:last-of-type {
  animation: fadeIn 2s ease-in;
}

@media (max-width: 1024px) {
  .page-terapeuti-hero section[class*="bg-gradient-to-br"] img[src*="neural-network"] {
    animation-duration: 15s;
  }

  .page-terapeuti-hero section[class*="bg-gradient-to-br"] img[src*="balance-symbol"] {
    animation-duration: 20s;
  }
}

@keyframes mchAuroraDrift {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(28px, -18px, 0) scale(1.06);
  }
}

@keyframes mchSparkleTwinkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0.6);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.mch-aurora {
  will-change: transform;
  animation: mchAuroraDrift 14s ease-in-out infinite;
}

.mch-aurora--slow    { animation-duration: 16s; animation-delay: -2s; }
.mch-aurora--slower  { animation-duration: 22s; animation-delay: -6s; }
.mch-aurora--slowest { animation-duration: 28s; animation-delay: -10s; }

.mch-sparkle {
  will-change: transform, opacity;
  animation: mchSparkleTwinkle 4.5s ease-in-out infinite;
}

.mch-sparkle--delay-1 { animation-delay: 1.2s;  animation-duration: 5.5s; }
.mch-sparkle--delay-2 { animation-delay: 2.4s;  animation-duration: 6s;   }
.mch-sparkle--delay-3 { animation-delay: 3.1s;  animation-duration: 5s;   }

@media (prefers-reduced-motion: reduce) {
  .mch-aurora,
  .mch-sparkle {
    animation: none !important;
  }
  .mch-sparkle {
    opacity: 0.85;
  }
}

[hidden] {
  display: none !important;
}

.mch-filter-toggle {
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  min-height: 48px;
  background: #ffffff;
  border: 1.5px solid rgb(229 231 235);
  border-radius: 0.875rem;
  color: #244565;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px -3px rgba(36, 69, 101, 0.10);
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 767px) {
  .mch-filter-toggle {
    display: inline-flex;
  }
}

.mch-filter-toggle:hover {
  border-color: rgba(36, 69, 101, 0.45);
  background: #fafbfc;
}

.mch-filter-toggle:focus-visible {
  outline: 2px solid #244565;
  outline-offset: 2px;
}

.mch-filter-toggle__lead {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.mch-filter-toggle__icon {
  width: 1.125rem;
  height: 1.125rem;
  color: #5d7f94;
  flex-shrink: 0;
}

.mch-filter-toggle__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.45rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #244565 0%, #5d7f94 100%);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  margin-left: 0.15rem;
  box-shadow: 0 1px 3px rgba(36, 69, 101, 0.30);
}

.mch-filter-toggle__chevron {
  width: 1.125rem;
  height: 1.125rem;
  color: #5d7f94;
  flex-shrink: 0;
  transition: transform 250ms ease;
}

.mch-filter-toggle[aria-expanded="true"] .mch-filter-toggle__chevron {
  transform: rotate(180deg);
}

.mch-filter-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 350ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms ease;
}

.mch-filter-panel[data-open="true"] {
  max-height: 1500px;
  opacity: 1;
}

.mch-filter-panel__inner {
  padding-top: 1rem;
}

@media (min-width: 768px) {
  .mch-filter-panel {
    max-height: none;
    opacity: 1;
    overflow: visible;
  }
  .mch-filter-panel__inner {
    padding-top: 0;
  }
}

@media (max-width: 767px) {
  #filtersGrid select {
    min-height: 48px;

    font-size: 16px;
    padding: 0.625rem 2.25rem 0.625rem 0.875rem;
    border-radius: 0.625rem;

    background-color: #ffffff;
  }

  #filtersGrid label {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mch-filter-panel,
  .mch-filter-toggle__chevron {
    transition: none !important;
  }
}
