.site-footer {
    min-height: 85px;
    background: #0b094e;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
}

.site-footer__container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100%, 1366px);
    min-height: 85px;
    margin: 0 auto;
    padding: 0 30px;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 180px;
}

.site-footer__logo {
    width: 90px;
    height: auto;
    object-fit: contain;
    animation: footerFloat 6s ease-in-out infinite;
}

.site-footer__copyright,
.site-footer__tagline {
    margin: 0;
    color: #ffffff;
    line-height: 1.2;
}

.site-footer__copyright {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: min(58vw, 620px);
    text-align: center;
    font-size: 15px;
    font-weight: 500;
}

.site-footer__tagline {
    flex: 0 0 340px;
    text-align: right;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes footerFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

@media (max-width: 900px) {
    .site-footer__container {
        display: grid;
        grid-template-columns: 64px minmax(0, 1fr) 150px;
        column-gap: 12px;
        padding: 0 20px;
    }

    .site-footer__brand,
    .site-footer__copyright,
    .site-footer__tagline {
        position: static;
        transform: none;
        width: auto;
        max-width: none;
    }

    .site-footer__brand {
        flex: 0 1 auto;
        justify-content: flex-start;
    }

    .site-footer__copyright {
        justify-self: center;
        width: max-content;
        max-width: 100%;
        text-align: center;
        font-size: clamp(10.5px, 1.7vw, 12.5px);
        white-space: nowrap;
    }

    .site-footer__tagline {
        flex: 0 1 auto;
        justify-self: end;
        width: min(100%, 150px);
        font-size: clamp(11px, 1.7vw, 13px);
        letter-spacing: .8px;
    }

    .site-footer__logo {
        width: 64px;
    }
}

@media (max-width: 640px) {
    .site-footer {
        min-height: auto;
    }

    .site-footer__container {
        flex-direction: column;
        justify-content: center;
        gap: 15px;
        min-height: auto;
        padding: 20px 24px;
        text-align: center;
    }

    .site-footer__brand,
    .site-footer__copyright,
    .site-footer__tagline {
        position: static;
        transform: none;
        flex: 0 1 auto;
        width: 100%;
        max-width: none;
    }

    .site-footer__brand {
        justify-content: center;
    }

    .site-footer__copyright,
    .site-footer__tagline {
        text-align: center;
    }

    .site-footer__copyright {
        font-size: 16px;
    }

    .site-footer__tagline {
        font-size: 14px;
    }
}
