/* Стрелка прокрутки на первом экране zoo-mir.ru. Отдельные стили. */
.hero { position: relative; }
.hero .hero__scroll-down {
  position: absolute;
  left: 50%;
  bottom: 32px;
  z-index: 20;
  box-sizing: border-box;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #ff8c32;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 5px 22px rgba(0,0,0,.3);
  animation: zoomir-arrow-bounce 1.7s ease-in-out infinite;
  cursor: pointer;
}
.hero .hero__scroll-down svg {
  width: 34px;
  height: 34px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero .hero__scroll-down:hover,
.hero .hero__scroll-down:focus-visible {
  background: #ed7017;
  outline: 3px solid rgba(255,255,255,.85);
  outline-offset: 3px;
  animation-play-state: paused;
}
@keyframes zoomir-arrow-bounce {
  0%, 100% { opacity: .78; transform: translate(-50%, -7px); }
  50% { opacity: 1; transform: translate(-50%, 6px); }
}
@media (max-width: 767px) {
  .hero .hero__scroll-down { bottom: 15px; width: 48px; height: 48px; }
  .hero .hero__scroll-down svg { width: 29px; height: 29px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .hero__scroll-down { animation: none; opacity: 1; transform: translateX(-50%); }
}

/* Плавная прокрутка по нажатию на стрелку и другие якорные ссылки. */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
