/* =====================================================================
   Отзывы — каждая карточка живёт: лёгкое парение со своим ритмом, наклон за мышкой
   ===================================================================== */
@keyframes zeya-card-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.zeya-motion .zeya-review.is-done { animation: zeya-card-float 6s ease-in-out infinite; }
.zeya-motion .zeya-review.is-done:nth-child(3n+2) { animation-duration: 7s; animation-delay: -2s; }
.zeya-motion .zeya-review.is-done:nth-child(3n) { animation-duration: 8s; animation-delay: -4s; }
.zeya-review { transform: perspective(900px) rotateX(var(--zeya-rx, 0deg)) rotateY(var(--zeya-ry, 0deg)); transition: transform .25s ease-out, box-shadow .4s, border-color .4s; }
.zeya-review .zeya-review__avatar { transition: scale .4s cubic-bezier(.3, 1.6, .5, 1), rotate .4s; }
@media (hover: hover) {
	.zeya-review:hover { border-color: rgba(193, 132, 255, .9); animation-play-state: paused; }
	.zeya-review:hover .zeya-review__avatar { scale: 1.12; rotate: -6deg; }
}

/* =====================================================================
   Звёзды-подложки в «Контактах»: медленно дрейфуют и мерцают
   ===================================================================== */
@keyframes zeya-drift-a { 0%, 100% { rotate: -1.5deg; translate: 0 0; } 50% { rotate: 1.5deg; translate: 0 -10px; } }
@keyframes zeya-twinkle { 0%, 100% { filter: brightness(1) saturate(1); } 50% { filter: brightness(1.25) saturate(1.2) drop-shadow(0 0 18px rgba(186, 161, 255, .5)); } }
.zeya-section .zeya-space img { animation: zeya-drift-a 9s ease-in-out infinite, zeya-twinkle 4s ease-in-out infinite; transform-origin: 50% 50%; }
.zeya-section .zeya-space > .wp-block-column:nth-child(2) img { animation-duration: 11s, 5s; animation-delay: -3s, -1s; }
.zeya-section .zeya-space > .wp-block-column:nth-child(3) img { animation-duration: 10s, 4.5s; animation-delay: -6s, -2s; animation-direction: reverse, normal; }

/* ---------- Воздух перед подвалом ---------- */
#contacts.zeya-section { padding-bottom: 110px; }
@media (max-width: 767px) { #contacts.zeya-section { padding-bottom: 80px; } }

/* Без анимаций для «уменьшить движение» */
@media (prefers-reduced-motion: reduce) {
	.zeya-hero-clip { display: none; }
	.zeya-section .wp-block-image.is-style-zeya-map img, .zeya-section .zeya-space img,
	.wp-block-button .wp-block-button__link, .zeya-header__cta, .zeya-review { animation: none !important; }
	.wp-block-button .wp-block-button__link::after, .zeya-header__cta::after, .zeya-hero-logo .zeya-hero-layer::after { display: none; }
}
