
/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    --footer-red: #EA0001;
    --footer-black: #000000;
    --footer-white: #ffffff;
    --footer-text: #d1d1d1;
    --footer-muted: #8d8d8d;
    --footer-border: rgba(255, 255, 255, 0.12);

    background: var(--footer-black);
    color: var(--footer-white);
    font-family: inherit;
}

ul.site-footer__links li a {
    color: #fff;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
    box-sizing: border-box;
}

.site-footer .footer-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   MAIN FOOTER
========================================================= */

.footer-main {
    padding: 70px 0 65px;
    border-top: 2px solid var(--footer-red);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 40px;
}


/* =========================================================
   BRAND / ABOUT
========================================================= */

.footer-brand {
    min-width: 0;
    padding-right: 20px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 22px;
    text-decoration: none;
}

.footer-logo img {
    display: block;
    width: auto;
    max-width: 220px;
    max-height: 70px;
    height: auto;
}

.footer-site-name {
    display: inline-block;
    margin-bottom: 20px;

    color: var(--footer-white);
    font-size: 25px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
}

.footer-description {
    max-width: 350px;
    margin: 0 0 25px;

    color: var(--footer-text);
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   CONTACT
========================================================= */

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.footer-contact a {
    display: inline-block;

    color: var(--footer-white);
    font-size: 15px;
    line-height: 1.5;
    text-decoration: none;

    transition: color .25s ease;
}

.footer-contact a:hover {
    color: var(--footer-red);
}


/* =========================================================
   BUTTON
========================================================= */

.footer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 26px;

    background: var(--footer-red);
    color: var(--footer-white);

    border-radius: 50px;

    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;

    transition:
        background .25s ease,
        transform .25s ease;
}

.footer-button:hover {
    background: #c90001;
    color: var(--footer-white);
    transform: translateY(-2px);
}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.footer-column {
    min-width: 0;
    padding-left: 28px;
    border-left: 1px solid var(--footer-border);
}

.footer-column-title {
    position: relative;

    margin: 0 0 24px;
    padding: 0 0 13px;

    color: var(--footer-white);

    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
}

.footer-column-title::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 42px;
    height: 2px;

    background: var(--footer-red);
}


/* =========================================================
   MENU
========================================================= */

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin: 0 0 12px;
    padding: 0;
}

.footer-menu li:last-child {
    margin-bottom: 0;
}

.footer-menu a {
    display: inline-block;

    color: var(--footer-text);

    font-size: 14px;
    line-height: 1.55;
    text-decoration: none;

    transition:
        color .2s ease,
        transform .2s ease;
}

.footer-menu a:hover {
    color: var(--footer-red);
    transform: translateX(3px);
}


/* Hide mobile toggle on desktop */

.footer-toggle {
    display: none;
}


/* =========================================================
   TRUST BAR
========================================================= */

.footer-trust {
    border-top: 1px solid var(--footer-border);
    border-bottom: 1px solid var(--footer-border);
}

.footer-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.footer-trust-item {
    display: flex;
    align-items: center;
    gap: 15px;

    min-height: 95px;
    padding: 20px 30px;

    border-right: 1px solid var(--footer-border);
}

.footer-trust-item:first-child {
    padding-left: 0;
}

.footer-trust-item:last-child {
    padding-right: 0;
    border-right: 0;
}

.footer-trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    border: 2px solid var(--footer-red);
    border-radius: 50%;

    color: var(--footer-red);
    font-size: 12px;
    font-weight: 700;
}

.footer-trust-content strong {
    display: block;

    margin-bottom: 4px;

    color: var(--footer-white);
    font-size: 14px;
    line-height: 1.4;
}

.footer-trust-content span {
    display: block;

    color: var(--footer-muted);
    font-size: 13px;
    line-height: 1.4;
}


/* =========================================================
   BOTTOM FOOTER
========================================================= */

.footer-bottom {
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.footer-copyright {
    color: var(--footer-muted);
    font-size: 13px;
    line-height: 1.5;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px 20px;

    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-bottom-links a {
    color: var(--footer-text);
    font-size: 13px;
    text-decoration: none;

    transition: color .2s ease;
}

.footer-bottom-links a:hover {
    color: var(--footer-red);
}


/* =========================================================
   SOCIAL
========================================================= */

.footer-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;

    color: var(--footer-white);

    font-size: 11px;
    font-weight: 600;
    text-decoration: none;

    transition: all .25s ease;
}

.footer-social a:hover {
    background: var(--footer-red);
    border-color: var(--footer-red);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 650px;
        padding-right: 0;
    }

    .footer-column:nth-child(2),
    .footer-column:nth-child(3) {
        border-left: 0;
        padding-left: 0;
    }

    .footer-trust-item {
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-trust-item:first-child {
        padding-left: 0;
    }

    .footer-trust-item:last-child {
        padding-right: 0;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .site-footer .footer-container {
        width: min(100% - 30px, 600px);
    }

    .footer-main {
        padding: 45px 0 35px;
    }

    .footer-grid {
        display: block;
    }


    /* Brand */

    .footer-brand {
        max-width: none;
        margin-bottom: 30px;
    }

    .footer-logo img {
        max-width: 190px;
        max-height: 60px;
    }

    .footer-description {
        max-width: none;
    }

    .footer-button {
        width: 100%;
    }


    /* Columns */

    .footer-column {
        border-left: 0;
        border-top: 1px solid var(--footer-border);

        padding: 0;
    }

    .footer-column:last-child {
        border-bottom: 1px solid var(--footer-border);
    }

    .footer-column-title {
        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;

        margin: 0;
        padding: 18px 0;

        cursor: pointer;
    }

    .footer-column-title::after {
        display: none;
    }

    .footer-toggle {
        display: block;

        color: var(--footer-red);

        font-size: 24px;
        font-weight: 300;
        line-height: 1;

        transition: transform .25s ease;
    }

    .footer-column.is-open .footer-toggle {
        transform: rotate(45deg);
    }

    .footer-menu-wrap {
        display: none;
        padding: 0 0 20px;
    }

    .footer-column.is-open .footer-menu-wrap {
        display: block;
    }


    /* Trust */

    .footer-trust-grid {
        display: block;
    }

    .footer-trust-item,
    .footer-trust-item:first-child,
    .footer-trust-item:last-child {
        min-height: auto;

        padding: 20px 0;

        border-right: 0;
        border-bottom: 1px solid var(--footer-border);
    }

    .footer-trust-item:last-child {
        border-bottom: 0;
    }


    /* Bottom */

    .footer-bottom {
        padding: 25px 0;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .footer-bottom-links {
        gap: 8px 16px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .footer-description {
        font-size: 14px;
    }

    .footer-trust-item {
        gap: 12px;
    }

    .footer-trust-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

}