/* =========================================================
   GLOBAL FOOTER
========================================================= */

.site-footer {
    position: relative;

    background-color: var(--color-dark-section);
    color: var(--color-white);

    border-top: 1px solid rgba(255, 255, 255, 0.16);
}


/* =========================================================
   FOOTER MAIN
========================================================= */

.footer-main {
    display: grid;

    grid-template-columns:
        1.4fr
        1fr
        1fr
        1.35fr;

    gap: 60px;

    padding-top: 56px;
    padding-bottom: 50px;
}


/* =========================================================
   FOOTER COLUMN
========================================================= */

.footer-column {
    min-width: 0;
}


/* =========================================================
   COMPANY
========================================================= */

.footer-company-name {
    position: relative;

    margin: 0;
    padding-left: 14px;

    color: var(--color-white);

    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 400;
    line-height: 1.1;

    text-transform: uppercase;
}


/* Red brand marker */

.footer-company-name::before {
    content: "";

    position: absolute;
    left: 0;
    top: 2px;

    width: 3px;
    height: calc(100% - 4px);

    background-color: var(--brand-red);
}


.footer-company-description {
    max-width: 310px;

    margin: 20px 0 0;

    color: rgba(255, 255, 255, 0.68);

    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   UPTIME
========================================================= */

.footer-uptime {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-top: 20px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}


.footer-uptime span {
    width: 7px;
    height: 7px;

    flex: 0 0 7px;

    display: inline-block;

    background-color: var(--brand-red);

    border-radius: 50%;

    box-shadow:
        0 0 0 3px rgba(225, 7, 7, 0.12);
}


/* =========================================================
   FOOTER HEADINGS
========================================================= */

.footer-heading {
    position: relative;

    margin: 0 0 20px;
    padding-bottom: 10px;

    color: var(--color-white);

    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 400;
    line-height: 1;

    text-transform: uppercase;
}


/* Small red underline */

.footer-heading::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 24px;
    height: 2px;

    background-color: var(--brand-red);
}


/* =========================================================
   FOOTER LINKS
========================================================= */

.footer-links {
    display: flex;
    flex-direction: column;

    gap: 11px;
}


.footer-links a {
    position: relative;

    width: fit-content;

    color: rgba(255, 255, 255, 0.68);

    text-decoration: none;

    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.4;

    transition:
        color var(--transition-base),
        transform var(--transition-base);
}


.footer-links a:hover {
    color: var(--color-white);

    transform: translateX(4px);
}


/* =========================================================
   CONTACT LABEL
========================================================= */

.footer-contact-label {
    margin: 0 0 9px;

    color: rgba(255, 255, 255, 0.76);

    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.15em;
    text-transform: uppercase;
}


/* =========================================================
   ADDRESS
========================================================= */

.footer-address {
    margin: 0 0 18px;

    color: rgba(255, 255, 255, 0.68);

    font-family: var(--font-body);

    font-size: 12px;
    font-style: normal;
    line-height: 1.7;
}


/* =========================================================
   CONTACT ITEMS
========================================================= */

.footer-contact-item {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    margin-bottom: 10px;

    color: rgba(255, 255, 255, 0.68);

    text-decoration: none;

    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.45;

    transition:
        color var(--transition-base);
}


.footer-contact-item:hover {
    color: var(--color-white);
}


.footer-contact-item .material-symbols-outlined {
    flex: 0 0 auto;

    margin-top: 1px;

    color: var(--brand-red);

    font-size: 16px;
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    min-height: 72px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}


/* =========================================================
   COPYRIGHT
========================================================= */

.footer-copyright {
    margin: 0;

    color: rgba(255, 255, 255, 0.52);

    font-family: var(--font-body);

    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   LEGAL LINKS
========================================================= */

.footer-legal-links {
    display: flex;
    align-items: center;

    gap: 24px;
}


.footer-legal-links a {
    color: rgba(255, 255, 255, 0.58);

    text-decoration: none;

    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.10em;
    text-transform: uppercase;

    transition:
        color var(--transition-base);
}


.footer-legal-links a:hover {
    color: var(--color-white);
}


/* =========================================================
   FOOTER RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .footer-main {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 44px 50px;

        padding-top: 48px;
        padding-bottom: 44px;
    }


    .footer-company-description {
        max-width: 360px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .footer-main {
        grid-template-columns: 1fr;

        gap: 36px;

        padding-top: 42px;
        padding-bottom: 38px;
    }


    .footer-company-description {
        max-width: 100%;
    }


    .footer-heading {
        margin-bottom: 17px;
    }


    .footer-links {
        gap: 10px;
    }


    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;

        gap: 14px;

        min-height: auto;

        padding-top: 22px;
        padding-bottom: 22px;
    }


    .footer-copyright {
        font-size: 10px;
    }


    .footer-legal-links {
        flex-wrap: wrap;

        gap: 12px 20px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .footer-main {
        gap: 32px;
    }


    .footer-company-name {
        font-size: 21px;
    }


    .footer-company-description {
        font-size: 12px;
    }


    .footer-links a {
        font-size: 12px;
    }


    .footer-address,
    .footer-contact-item {
        font-size: 11px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .footer-links a,
    .footer-contact-item,
    .footer-legal-links a {
        transition: none;
    }
}