.header__content,
.header__content--mobile {
    position: relative;
}
.header-goat {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -21px;
    height: 48px;
    overflow: visible;
    z-index: 3;
    pointer-events: none;
}
.header-goat__image {
    position: absolute;
    left: 0;
    bottom: 0;
    display: block;
    width: 48px;
    height: 48px;
    animation: header-goat-crossing 14s linear infinite;
}
@keyframes header-goat-crossing {
    0% { left: 0; opacity: 0; }
    8%, 90% { opacity: 1; }
    100% { left: calc(100% - var(--goat-size, 48px)); opacity: 0; }
}
@media (max-width: 1000px) {
    .header-goat { height: 35px; --goat-size: 35px; }
    .header-goat__image { width: 35px; height: 35px; animation-duration: 9s; }
}
@media (prefers-reduced-motion: reduce) {
    .header-goat__image { animation: none; left: calc(100% - var(--goat-size, 48px)); }
}
