.site-footer {
    position: relative;
    z-index: 1;
    padding: 0 20px 24px;
}

.site-footer-inner {
    width: min(100%, 1400px);
    overflow: hidden;
    margin: 0 auto;
    background: #080b0f;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
}

.footer-motion {
    position: relative;
    height: 190px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-motion::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(6, 8, 11, 0.28),
        transparent 20%,
        transparent 80%,
        rgba(6, 8, 11, 0.28)
    );
    pointer-events: none;
}

.footer-motion img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    align-items: center;
    gap: 48px;
    padding: 34px 44px;
}

.footer-brand a {
    display: inline-block;
    margin-bottom: 7px;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    text-decoration: none;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
}

.footer-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 34px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-nav .footer-primary-link {
    color: #d7ff00;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 44px;
    padding: 22px 0 24px;
    color: rgba(255, 255, 255, 0.52);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
}

.footer-bottom a:hover,
.footer-bottom a span {
    color: #d7ff00;
}

.footer-bottom a span {
    margin-left: 8px;
    font-size: 17px;
}

@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-nav {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 18px 28px;
    }
}

@media (max-width: 620px) {
    .site-footer {
        padding: 0 12px 12px;
    }

    .footer-motion {
        height: 135px;
    }

    .footer-motion img {
        width: auto;
        min-width: 900px;
        max-width: none;
        object-position: center;
        transform: translateX(-25%);
    }

    .footer-main {
        gap: 24px;
        padding: 28px 20px;
    }

    .footer-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column-reverse;
        margin: 0 20px;
        padding: 20px 0;
    }
}
