html,
body {
    min-height: 100%;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

@supports not (overflow: clip) {
    html,
    body {
        overflow-x: hidden;
    }
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1 0 auto;
}

.main-page-header {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 2.5rem;
    position: relative;
}

.main-page-header__media {
    width: 100%;
}

.main-page-header__media img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center top;
    display: block;
    box-shadow: 0 36px 36px -22px rgba(247, 167, 54, 0.9);
}

.hero-scroll-down {
    position: absolute;
    right: clamp(0.8rem, 2.6vw, 2.25rem);
    top: min(calc(100vh - 5.4rem), calc(100% - 6rem));
    bottom: auto;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.85rem;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-scroll-down:hover {
    color: #fff;
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.hero-scroll-down:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.hero-scroll-down__mouse {
    width: 20px;
    height: 32px;
    border: 2px solid currentColor;
    border-radius: 999px;
    position: relative;
    flex-shrink: 0;
}

.hero-scroll-down__wheel {
    position: absolute;
    top: 5px;
    left: 50%;
    width: 4px;
    height: 7px;
    border-radius: 999px;
    transform: translateX(-50%);
    background: currentColor;
    animation: hero-scroll-wheel 1.5s ease-in-out infinite;
}

.hero-scroll-down__text {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.hero-scroll-down .fa-angles-down {
    font-size: 0.85rem;
    animation: hero-scroll-arrow 1.5s ease-in-out infinite;
}

@keyframes hero-scroll-wheel {
    0% {
        opacity: 0;
        transform: translate(-50%, -1px);
    }
    30% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, 10px);
    }
}

@keyframes hero-scroll-arrow {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(4px);
    }
}

@media (max-width: 767.98px) {
    .hero-scroll-down {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-scroll-down,
    .hero-scroll-down__wheel,
    .hero-scroll-down .fa-angles-down {
        animation: none;
        transition: none;
    }
}

.onas-stats .stats-container {
    box-shadow: -50px 0 36px -30px rgba(247, 167, 54, 0.9), 50px 0 36px -30px rgba(247, 167, 54, 0.9);
}

.site-footer__contacts a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    overflow-wrap: anywhere;
}

.site-footer__contacts i {
    color: #f7a736;
}


.site-footer {
    margin-top: auto;
    background: #111;
    color: #fff;
    padding: 28px 16px;
}

.site-footer .container {
    background: transparent;
}

.site-footer__inner {
    justify-content: space-between;
}

.site-footer,
.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer a:hover {
    color: #f7a736;
}
