/* =========================================================
   T-Dev Footer
========================================================= */


/* =========================================================
   SITE FOOTER
========================================================= */

.site-footer {

    background: var(--footer-bg);

    color: var(--footer-text);

    padding: 70px 20px 25px;
}

.footer-container {

    max-width: 1100px;

    margin: 0 auto;
}

.footer-main {

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 50px;
}


/* =========================================================
   FOOTER BRAND
========================================================= */

.footer-brand {

    max-width: 320px;
}

.footer-logo {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--white);

    text-decoration: none;

    font-size: 20px;

    font-weight: 700;
}

.footer-logo-mark {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 34px;

    height: 34px;

    border-radius: var(--radius-md);

    background: var(--primary);

    color: var(--white);

    font-size: 16px;

    font-weight: 700;
}

.footer-brand p {

    margin: 18px 0 0;

    color: var(--footer-muted);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.footer-column h3 {

    margin: 0 0 18px;

    color: var(--white);

    font-size: 15px;

    line-height: 1.3;
}

.footer-column ul {

    list-style: none;

    margin: 0;

    padding: 0;
}

.footer-column li {

    margin-bottom: 11px;
}

.footer-column a {

    color: var(--footer-muted);

    text-decoration: none;

    font-size: 14px;

    transition: color 0.2s ease;
}

.footer-column a:hover {

    color: var(--white);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding-top: 25px;

    border-top: 1px solid var(--border);
}

.footer-bottom p {

    margin: 0;

    color: var(--footer-muted);

    font-size: 13px;
}


/* =========================================================
   FOOTER RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    .site-footer {

        padding: 60px 20px 25px;
    }

    .footer-main {

        grid-template-columns: repeat(2, 1fr);

        gap: 35px;
    }

    .footer-brand {

        grid-column: 1 / -1;

        max-width: 100%;
    }

    .footer-bottom {

        flex-direction: column;

        align-items: flex-start;
    }
}


@media (max-width: 480px) {

    .site-footer {

        padding: 50px 16px 20px;
    }

    .footer-main {

        grid-template-columns: 1fr 1fr;

        gap: 30px 20px;
    }

    .footer-brand {

        grid-column: 1 / -1;
    }

    .footer-column h3 {

        font-size: 14px;
    }

    .footer-column a {

        font-size: 13px;
    }
}