/* ---------- Footer ---------- */
#site-footer {
    min-height: 268px;
    background: var(--secondary);
    color: var(--background);
    margin-top: 70px;
}
 
.footer-inner {
    padding: 50px 144px;
    display: flex;
    align-items: center;            
    justify-content: space-between;
}
 
/* ----- left: logo + copyright (hugs its content, ~137 tall) ----- */
.footer-logo {
    width: 115px;
    height: 65px;
    display: block;
    margin-bottom: 18px;
}
 
.footer-copyright p {
    margin: 0;
    font-size: 14px;
    line-height: 27px;
    font-weight: 300;
}
 
/* ----- right: Menu + Office Location (hugs its content, 168 tall) ----- */
.footer-nav {
    display: flex;
    align-items: flex-start;
    width: 400px;
    gap: 30px;
}
 
.footer-column {
    width: 170px;
    height: 168px;
}
 
.footer-column h3 {
    margin: 0 0 26px;
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
}
 
.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
 
.footer-column a,
.footer-column address {
    font-size: 14px;
    line-height: 21px;
    font-weight: 300;
    font-style: normal;
}
 
.footer-column a {
    color: var(--background);
    text-decoration: none;
}
 
.footer-column a:hover {
    text-decoration: underline;
}
 
/* ---------- Mobile ---------- */
@media screen and (min-width: 320px) and (max-width: 424px){
    #site-footer {
        min-height: 398px;
    }
 
    .footer-inner {
        padding: 20px 24px;
        flex-direction: column;
        gap: 32px;
    }
    /* LEFT SIDE */
    .footer-brand {
        display: contents;
    }
 
    /* new order on mobile: logo -> menu/location -> copyright */
    .footer-logo {
        order: 1;
        width: 99px;
        height: 56px;
        margin-bottom: 0;
    }
    .footer-copyright {
        order: 3;
        text-align: center;
    }
    .footer-copyright p {
        font-size: 10px;
    }

    /* RIGHT SIDE */
    .footer-nav {
        order: 2;
        width: 100%;
        max-width: 400px;
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .footer-column {
        flex: none;
        width: 100%;
        height: auto;
        text-align: center;
    }
    .footer-column h3{
        margin: 0 0 3px;
        font-size: 16px;
    }
    .footer-column address,
    .footer-column a {
        font-size: 10px;
    }
    .footer-column ul {
        gap: 1px;
        align-items: center;
    }
    .footer-column address {
        text-align: center;
    }
}
@media screen and (min-width: 425px) and (max-width: 767.98px) {
    #site-footer {
        min-height: 398px;
    }
 
    .footer-inner {
        padding: 20px 24px;
        flex-direction: column;
        gap: 32px; 
    }
    .footer-brand {
        display: contents;
    }
 
    /* new order on mobile: logo -> menu/location -> copyright */
    .footer-logo {
        order: 1;
        width: 99px;
        height: 56px;
        margin-bottom: 0;
    }
 
    .footer-nav {
        order: 2;
        width: 100%;
        max-width: 400px;
    }
 
    .footer-column {
        flex: 1;
        width: auto;
        height: auto;
    }
    .footer-column h3{
        margin: 0 0 10px;
    }
    .footer-copyright {
        order: 3;
        text-align: center;
    }
}
@media screen and (min-width: 768px) {
    .footer-inner {
        padding: 50px;
    }

    .footer-nav {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        width: 330px;
        gap: 10px;
    }
}
@media screen and (min-width: 897px) {
    .footer-inner {
        padding: 50px 80px;
    }

    .footer-nav {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        width: 340px;
        gap: 10px;
    }
}
@media screen and (min-width: 1025px) and (max-width: 1232px) {
    .footer-inner {
        padding: 50px 120px;
    }
    
}