/* =================================
   STICKY FOOTER PAGE STRUCTURE
================================= */

html {
    min-height: 100%;
}

body.site-body {
    min-height: 100vh;
    margin: 0;

    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1 0 auto;
    width: 100%;
}

.main-footer {
    flex-shrink: 0;
    width: 100%;
    margin-top: auto;

    background: #020819;
    color: #cbd5e1;

    padding: 60px 7% 0;

    border-top: 1px solid rgba(255,255,255,0.08);
}


/* FOOTER GRID */

.footer-container {
    max-width: 1400px;
    margin: auto;

    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;

    gap: 45px;
    padding-bottom: 45px;
}


/* LOGO */

.footer-brand {
    display: inline-block;
}

.footer-brand img {
    width: 180px;
    height: 100px;

    object-fit: contain;
    display: block;
    margin-bottom: 15px;
}


/* ABOUT */

.footer-about p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.8;
    max-width: 310px;
}


/* HEADINGS */

.footer-container h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;

    margin-bottom: 25px;
    position: relative;
}

.footer-container h3::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: -10px;

    width: 38px;
    height: 2px;

    background: #ed1c24;
    border-radius: 5px;
}


/* LINKS */

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;

    font-size: 14px;
    margin-bottom: 14px;

    transition: 0.3s;
}

.footer-links a:hover {
    color: #ed1c24;
    padding-left: 7px;
}


/* SOCIAL ICONS */

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.footer-social a {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #151e30;
    color: #cbd5e1;

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

    font-size: 17px;
    text-decoration: none;

    transition: 0.3s;
}

.footer-social a:hover {
    background: #ed1c24;
    color: white;
    border-color: #ed1c24;

    transform: translateY(-5px);
}


/* CONTACT */

.footer-contact p {
    color: #94a3b8;
    font-size: 14px;

    margin-bottom: 18px;
    line-height: 1.7;
}

.footer-contact i {
    color: #ed1c24;
    margin-right: 10px;
}


/* COPYRIGHT BOTTOM */

.footer-bottom {
    max-width: 1400px;
    margin: auto;

    border-top: 1px solid rgba(255,255,255,0.1);

    padding: 22px 0;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.footer-bottom p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.footer-bottom span {
    color: #ed1c24;
}

.developer-credit strong {
    color: #ed1c24;
    font-weight: 600;
}


/* TABLET */

@media (max-width: 992px) {

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-bottom {
        flex-wrap: wrap;
    }
}


/* MOBILE */

@media (max-width: 576px) {

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

    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand img {
        width: 160px;
        height: 90px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }

    .footer-bottom p {
        font-size: 12px;
        line-height: 1.7;
    }

}




body.site-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

.main-footer {
    margin-top: auto;
}