/* Анимации hero — подключать после style.css */

#hero .hero-visual .hero-stamp {
  position: absolute;
  right: 0;
  top: 12%;
  z-index: 3;
  width: clamp(100px, 17vw, 132px);
  height: clamp(100px, 17vw, 132px);
  flex-shrink: 0;
}

#hero .hero-stamp__flower {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 50%;
  height: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(54, 51, 48, 0.08));
}

#hero .hero-stamp__flower img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#hero .hero-stamp__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

#hero .hero-stamp__ring-spin {
  transform-origin: 60px 60px;
  animation: hero-stamp-rotate 32s linear infinite;
  will-change: transform;
}

#hero .hero-stamp__word {
  fill: var(--accent);
  font-family: var(--font-nunito);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: lowercase;
}

@keyframes hero-stamp-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  #hero .hero-stamp__ring-spin {
    animation: none;
  }
}

@media (max-width: 1024px) {
  #hero .hero-visual .hero-stamp {
    width: clamp(104px, 28vw, 120px);
    height: clamp(104px, 28vw, 120px);
    margin-left: auto;
  }

  #hero .hero-stamp__word {
    font-size: 10px;
    letter-spacing: 0.26em;
  }

  #hero .hero-stamp__ring-spin {
    animation-duration: 36s;
  }
}
