/* ==================================================================
   FOOTER
================================================================== */

.site-footer {
    background: var(--navy-deep);
    color: var(--white-text);

    padding-block: 60px 40px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}


/* ==================================================================
   FOOTER GRID
================================================================== */

.footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1.3fr;

    gap: clamp(30px, 5vw, 70px);

    align-items: start;
}


/* ==================================================================
   FOOTER COLUMNS
================================================================== */

.footer-column {
    min-width: 0;
}


/* ==================================================================
   FOOTER BRAND
================================================================== */

.footer-brand {
    max-width: 360px;
}

.footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.footer-logo img {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transform: scale(1.8);
}

.footer-brand p {
    margin: 0;
    text-align: center;
    max-width: 340px;
    color: rgba(255, 255, 255, 0.7);

    font-size: 14px;
    line-height: 1.7;
}


/* ==================================================================
   SOCIAL MEDIA
================================================================== */

.footer-social-media {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: 24px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;

    color: #ffffff;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-social-link:hover {
    background: var(--primary);
    border-color: var(--primary);

    color: #ffffff;

    transform: translateY(-2px);
}

.footer-social-link svg {
    width: 17px;
    height: 17px;

    fill: currentColor;
}

/* ==================================================================
   FOOTER BOTTOM
================================================================== */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 50px;
    padding-top: 22px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    color: rgba(255, 255, 255, 0.55);

    font-size: 12px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;

    gap: 10px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.55);

    text-decoration: none;

    transition: color 0.25s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

.footer-bottom-links span {
    color: rgba(255, 255, 255, 0.25);
}

/* ==================================================================
   FOOTER HEADINGS
================================================================== */

.footer-column h4 {
    margin: 0 0 18px;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
}


/* ==================================================================
   FOOTER LIST
================================================================== */

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column ul li {
    margin: 0;
    padding: 0;
}


/* ==================================================================
   FOOTER LINKS
================================================================== */

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    text-decoration: none;

    transition:
        color 0.25s ease,
        padding-left 0.25s ease;
}

.footer-column ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}


/* ==================================================================
   FOOTER CONTACT
================================================================== */

.footer-contact-line {
    display: flex;
    align-items: center;
    gap: 10px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 13px;
    line-height: 1.5;
}

.footer-contact-line svg {
    width: 16px;
    height: 16px;

    flex-shrink: 0;

    margin-top: 2px;

    color: var(--primary);

    fill: currentColor;
}

.footer-contact-line a {
    min-width: 0;
    overflow-wrap: anywhere;
}

/* ==================================================================
   FOOTER BOTTOM
================================================================== */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 50px;
    padding-top: 22px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    color: rgba(255, 255, 255, 0.55);

    font-size: 12px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;

    gap: 10px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.55);

    text-decoration: none;

    transition: color 0.25s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

.footer-bottom-links span {
    color: rgba(255, 255, 255, 0.25);
}



/* ==================================================================
   TABLET
   768px - 1023px
================================================================== */

@media (min-width: 768px) and (max-width: 1023px) {

    .site-footer {
        padding-block: 50px 35px;
    }

    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));

        gap: 35px 25px;
    }


    /* Brand spans entire first row */
    .footer-brand {
        grid-column: 1 / -1;

        max-width: 600px;
    }

    .footer-logo img {
        width: 200px;
    }

    .footer-brand p {
        max-width: 550px;
    }


    .footer-social-media {
        margin-top: 20px;
    }


    .footer-column h4 {
        margin-bottom: 15px;
        font-size: 15px;
    }


    .footer-column ul {
        gap: 10px;
    }


    .footer-column ul li a,
    .footer-contact-line {
        font-size: 12px;
    }

    .footer-bottom {
        margin-top: 40px;
        padding-top: 20px;
        font-size: 11px;
    }

}


/* ==================================================================
   MOBILE
   0px - 767px
================================================================== */

@media (max-width: 767px) {

    .site-footer {
        padding-block: 40px 30px;
    }


    /* ==============================================================
       FOOTER GRID
    ============================================================== */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 32px;
    }


    /* ==============================================================
       BRAND
    ============================================================== */

    .footer-brand {
        max-width: none;
    }

    .footer-logo {
        margin-bottom: 14px;
    }

    .footer-logo img {
        width: 180px;
    }

    .footer-brand p {
        max-width: none;

        font-size: 13px;
        line-height: 1.6;
    }


    /* ==============================================================
       SOCIAL MEDIA
    ============================================================== */

    .footer-social-media {
        gap: 8px;

        margin-top: 18px;
    }

    .footer-social-link {
        width: 36px;
        height: 36px;
    }

    .footer-social-link svg {
        width: 16px;
        height: 16px;
    }


    /* ==============================================================
       FOOTER COLUMNS
    ============================================================== */

    .footer-column{
        margin: 0 auto;
    }

    .footer-column h4 {
        margin-bottom: 14px;
        text-align: center;
        font-size: 15px;
    }

    .footer-column ul {
        text-align: center;
        gap: 10px;
    }


    /* ==============================================================
       LINKS
    ============================================================== */

    .footer-column ul li a {
        font-size: 13px;
    }


    /* ==============================================================
       CONTACT
    ============================================================== */

    .footer-contact-line {
        gap: 8px;

        font-size: 13px;
    }

    .footer-contact-line svg {
        width: 15px;
        height: 15px;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 12px;

        margin-top: 35px;
        padding-top: 20px;

        text-align: center;

        font-size: 11px;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;

        gap: 8px;
    }

   
}