/* =========================================================
   FOOTER
========================================================= */

:root {
    --footer-bg: #111111;
    --footer-bottom-bg: #0b0b0b;
    --footer-text: #ffffff;
    --footer-muted: #d0d0d0;
    --footer-red: #e30613;
    --footer-border: rgba(255, 255, 255, 0.15);
}


/* =========================================================
   FOOTER BASE
========================================================= */

.site-footer {
    width: 100%;
    background-color: var(--footer-bg);
    color: var(--footer-text);
}


/* =========================================================
   FOOTER CONTAINER
========================================================= */

.footer-container {
    width: 100%;
    max-width: 1700px;

    margin: 0 auto;

    padding-left: 70px;
    padding-right: 70px;
}


/* =========================================================
   FOOTER MAIN
========================================================= */

.footer-main {
    width: 100%;
    padding: 70px 0 60px;
}


/* =========================================================
   FOOTER GRID
========================================================= */

.footer-grid {
    display: grid;

    grid-template-columns:
        1.6fr
        1fr
        1fr
        1.2fr;

    gap: 60px;
}


/* =========================================================
   FOOTER COLUMN
========================================================= */

.footer-column {
    min-width: 0;
}


/* =========================================================
   FOOTER LOGO
========================================================= */

.footer-logo {
    margin-bottom: 25px;
}

.footer-logo a {
    display: inline-flex;
    align-items: center;

    text-decoration: none;
}

.footer-logo img {
    display: block;

    width: auto;
    max-width: 260px;
    max-height: 80px;

    object-fit: contain;
}


/* =========================================================
   FOOTER DESCRIPTION
========================================================= */

.footer-description {
    max-width: 430px;

    margin: 0;

    color: var(--footer-muted);

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   FOOTER TITLE
========================================================= */

.footer-title {
    margin: 0 0 12px;

    color: var(--footer-text);

    font-size: 17px;
    font-weight: 600;

    line-height: 1.4;
}


/* =========================================================
   FOOTER TITLE LINE
========================================================= */

.footer-title-line {
    display: block;

    width: 100%;

    height: 1px;

    margin-bottom: 18px;

    background-color: var(--footer-border);
}


/* =========================================================
   FOOTER LINKS
========================================================= */

.footer-links {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links a {
    color: var(--footer-muted);

    font-size: 15px;
    line-height: 1.5;

    text-decoration: none;

    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

.footer-links a:hover {
    color: var(--footer-text);
    padding-left: 4px;
}


/* =========================================================
   INFORMATION SECTION
========================================================= */

.footer-information {
    display: flex;
    flex-direction: column;
}

.footer-section {
    margin-bottom: 35px;
}

.footer-section:last-child {
    margin-bottom: 0;
}


/* =========================================================
   SOCIAL LINKS
========================================================= */

.footer-social-links {
    display: flex;
    align-items: center;

    gap: 15px;
}

.footer-social-links a {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--footer-text);

    border: 1px solid var(--footer-border);

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.footer-social-links a:hover {
    background-color: var(--footer-red);

    border-color: var(--footer-red);

    color: var(--footer-text);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    width: 100%;

    border-top: 1px solid var(--footer-border);

    background-color: var(--footer-bottom-bg);
}


/* =========================================================
   FOOTER BOTTOM CONTENT
========================================================= */

.footer-bottom-content {
    min-height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   COPYRIGHT
========================================================= */

.footer-copyright {
    margin: 0;

    color: var(--footer-muted);

    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   FOOTER BOTTOM RIGHT
========================================================= */

.footer-bottom-right {
    display: flex;
    align-items: center;
}


/* =========================================================
   SCROLL TO TOP
========================================================= */

.scroll-to-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: var(--footer-red);

    color: var(--footer-text);

    font-size: 18px;

    text-decoration: none;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;

    z-index: 9999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.scroll-to-top:hover {
    color: var(--footer-text);
}


/* =========================================================
   LARGE SCREEN
========================================================= */

@media (max-width: 1500px) {

    .footer-container {
        padding-left: 45px;
        padding-right: 45px;
    }

    .footer-grid {
        gap: 45px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1200px) {

    .footer-container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .footer-grid {
        grid-template-columns:
            1.5fr
            1fr
            1fr;

        gap: 40px;
    }

    .footer-information {
        grid-column: span 3;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .footer-main {
        padding: 50px 0 40px;
    }

    .footer-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .footer-information {
        grid-column: auto;
    }

    .footer-logo img {
        max-width: 220px;
    }

    .footer-description {
        max-width: 100%;
    }

    .footer-bottom-content {
        min-height: auto;

        padding: 20px 0;

        flex-direction: column;

        justify-content: center;

        gap: 10px;

        text-align: center;
    }

    .footer-copyright {
        font-size: 13px;
    }

    .footer-bottom-right {
        display: none;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 576px) {

    .footer-main {
        padding: 40px 0 30px;
    }

    .footer-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .footer-grid {
        gap: 35px;
    }

    .footer-title {
        font-size: 16px;
    }

    .footer-description,
    .footer-links a {
        font-size: 14px;
    }

    .footer-social-links a {
        width: 36px;
        height: 36px;
    }

    .scroll-to-top {
        right: 15px;
        bottom: 15px;

        width: 40px;
        height: 40px;
    }

}