/* =========================================================
   CHRINO LOGISTICS — FOOTER
========================================================= */

.site-footer {
    position: relative;
    width: 100%;
    background: #061a3a;
    color: #ffffff;
    overflow: hidden;
}

.footer-container {
    width: min(1280px, calc(100% - 50px));
    margin: 0 auto;
    padding: 80px 0 25px;
}


/* =========================================================
   FOOTER GRID
========================================================= */

.footer-grid {
    display: grid;
    grid-template-columns:
        minmax(280px, 1.45fr)
        minmax(170px, .8fr)
        minmax(190px, .95fr)
        minmax(250px, 1.1fr);
    gap: 55px;
    align-items: start;
}


/* =========================================================
   COMPANY
========================================================= */

.footer-company {
    min-width: 0;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 27px;
}

.footer-logo {
    display: block;
    width: 235px;
    max-width: 100%;
    height: auto;
    max-height: 105px;
    object-fit: contain;
}

.footer-company-description {
    max-width: 420px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, .76);
    font-size: 16px;
    line-height: 1.75;
}


/* =========================================================
   SOCIAL NETWORKS
========================================================= */

.footer-socials {
    display: flex;
    align-items: center;
    gap: 11px;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    color: #ffffff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;

    text-decoration: none;

    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-social:hover {
    background: #d71920;
    border-color: #d71920;
    color: #ffffff;
    transform: translateY(-3px);
}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.footer-column {
    min-width: 0;
}

.footer-column h3 {
    position: relative;

    margin: 0 0 28px;

    color: #ffffff;

    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;

    letter-spacing: -.01em;
}

.footer-column h3::after {
    content: "";

    display: block;

    width: 42px;
    height: 3px;

    margin-top: 12px;

    background: #d71920;
    border-radius: 3px;
}


/* =========================================================
   FOOTER LINKS
========================================================= */

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;

    width: fit-content;
    max-width: 100%;

    color: rgba(255, 255, 255, .76);

    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.55;

    text-decoration: none;

    transition:
        color .25s ease,
        transform .25s ease;
}

.footer-links a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-right: 9px;

    color: #d71920;

    font-size: 22px;
    font-weight: 700;
    line-height: 1;

    transition: transform .25s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-links a:hover span {
    transform: translateX(3px);
}


/* =========================================================
   CONTACT
========================================================= */

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 21px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    color: rgba(255, 255, 255, .78);

    text-decoration: none;

    transition: color .25s ease;
}

.footer-contact-item:hover {
    color: #ffffff;
}

.footer-contact-icon {
    flex: 0 0 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 43px;
    height: 43px;

    color: #ffffff;
    background: rgba(215, 25, 32, .95);

    border-radius: 7px;
}

.footer-contact-icon svg {
    width: 21px;
    height: 21px;

    fill: currentColor;
}

.footer-contact-text {
    min-width: 0;

    padding-top: 2px;

    color: inherit;

    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.55;

    word-break: break-word;
}

.footer-contact-text small {
    display: block;

    margin-bottom: 4px;

    color: rgba(255, 255, 255, .52);

    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;

    letter-spacing: .1em;
}


/* =========================================================
   DIVIDER
========================================================= */

.footer-divider {
    width: 100%;
    height: 1px;

    margin: 65px 0 24px;

    background: rgba(255, 255, 255, .13);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    gap: 25px;

    min-height: 55px;

    color: rgba(255, 255, 255, .62);

    font-size: 14.5px;
    line-height: 1.5;
}

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 9px;
}

.footer-copyright strong {
    color: #ffffff;
    font-weight: 800;
}

.copyright-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    color: #ffffff;

    font-size: 13px;
}

.footer-bottom-center {
    color: rgba(255, 255, 255, .68);

    font-size: 14.5px;
    font-weight: 600;

    text-align: center;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 10px;

    white-space: nowrap;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, .68);

    font-size: 14.5px;
    font-weight: 500;

    text-decoration: none;

    transition: color .25s ease;
}

.footer-legal-links a:hover {
    color: #ffffff;
}

.footer-legal-links span {
    color: #d71920;
}


/* =========================================================
   BACK TO TOP
========================================================= */

.footer-back-to-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    z-index: 999;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    color: #ffffff;
    background: #d71920;

    border-radius: 50%;

    font-size: 22px;
    font-weight: 700;

    text-decoration: none;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .18);

    transition:
        background .25s ease,
        transform .25s ease;
}

.footer-back-to-top:hover {
    background: #b51218;
    transform: translateY(-4px);
}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1150px) {

    .footer-grid {
        grid-template-columns:
            minmax(260px, 1.3fr)
            minmax(160px, .8fr)
            minmax(180px, .9fr);

        gap: 45px;
    }

    .footer-company {
        grid-column: 1 / -1;
    }

    .footer-company-description {
        max-width: 650px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .footer-container {
        width: min(100% - 40px, 720px);
        padding: 70px 0 25px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 50px 35px;
    }

    .footer-company {
        grid-column: 1 / -1;
    }

    .footer-logo {
        width: 220px;
    }

    .footer-company-description {
        max-width: 680px;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        justify-items: center;

        gap: 14px;

        text-align: center;
    }

    .footer-copyright {
        justify-content: center;
    }

    .footer-legal-links {
        justify-content: center;
        flex-wrap: wrap;
        white-space: normal;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .footer-container {
        width: calc(100% - 32px);
        padding: 60px 0 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .footer-company {
        grid-column: auto;
    }

    .footer-logo {
        width: 205px;
        max-height: 95px;
    }

    .footer-company-description {
        max-width: 100%;

        font-size: 15px;
        line-height: 1.7;
    }

    .footer-column h3 {
        margin-bottom: 23px;
        font-size: 18px;
    }

    .footer-links {
        gap: 12px;
    }

    .footer-links a {
        font-size: 15px;
    }

    .footer-contact-text {
        font-size: 15px;
    }

    .footer-divider {
        margin: 50px 0 22px;
    }

    .footer-bottom {
        font-size: 14px;
    }

    .footer-bottom-center {
        font-size: 14px;
    }

    .footer-legal-links a {
        font-size: 14px;
    }

    .footer-back-to-top {
        right: 16px;
        bottom: 16px;

        width: 43px;
        height: 43px;

        font-size: 20px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .footer-logo {
        width: 185px;
    }

    .footer-company-description {
        font-size: 14.5px;
    }

    .footer-social {
        width: 41px;
        height: 41px;
    }

    .footer-contact-icon {
        flex-basis: 40px;

        width: 40px;
        height: 40px;
    }

}