.site-footer {
    background: #f2f2f2;
    color: #22262a;
    border-top: 1px solid #b2b2b2;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;

    @media (max-width:960px) {
        grid-template-columns: 1fr;
    }
}

/* Left: 3 columns */
.footer-cols{
    display: flex;
    padding: 2rem 2rem 2rem 0;
    gap: 1rem;

    @media (min-width: 1280px) {
        gap: 2rem;
    }
    @media (min-width: 960px) {
        flex-flow: wrap;
    }
    @media (max-width: 960px) {
        flex-direction: column;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.footer-col li {
    margin: 0;
}

.footer-col h4{
    font-size: 1.25rem;
    line-height: 1;
    margin: 0 0 .5rem;
    font-weight: 500;

    @media (max-width: 960px) {
        border-bottom: 1px solid rgba(0,0,0,.1);
        padding-bottom: .5rem;
        text-transform: uppercase;
        font-size: 1rem;
    }


}

.footer-col ul{
    line-height: 1;
    padding: 0;
    margin: 0;
    display: grid;
}

.footer-col a{
    color: #5e696e;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.4;
}

.footer-col a:hover{
    color: #22262a;
    text-decoration: underline;
}

/* Right: cards */
.footer-cards{
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: .75rem;
    padding: 2rem 0;

    @media (max-width: 960px) {
        padding: 0 0 2rem;
    }

    @media (max-width: 640px) {
        grid-template-columns: 1fr;
    }
}

.mob-footer-cards-title{
    display: none;
    @media (max-width: 960px) {
        display: block;
        font-size: 1rem;
        text-transform: uppercase;
        font-weight: 500;
        margin-bottom: .5rem;
    }
}

.footer-card{
    display: grid;
    border-radius: .5rem;
    overflow: hidden;
    box-shadow: 0 2px 0 rgba(0,0,0,.12);
}

.footer-card-img{
    background: #32373b;
    aspect-ratio: 2 / 1;
    width: 100%;
    height:100%;
}

.footer-card-label{
    background: #ccc;
    padding: 10px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
}

/* Middle row: payment icons left, social right */
.footer-mid{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;

    @media (max-width: 960px) {
        flex-direction: column;
        gap: 0;
        padding: 0 0 1rem;
    }
}

.footer-payments{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.footer-payments img{
    height: 1.75rem;
    width: auto;
    display: block;

    @media (max-width: 960px) {
        display: none;
    }
}

.mob-footer-payments{
    display: none;

    @media (max-width: 960px) {
        display: block;
    }

    img {
        height: 1.55rem;
    }
}

.footer-social{
    display: flex;
    gap: 18px;
    align-items: center;
}

.footer-social a{
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.footer-social img{
    width: auto;
    height: 1.75rem;
    display: block;

    @media (max-width: 960px) {
        height: 1.55rem;
    }
}

/* Bottom row: copyright left, legal right */
.footer-bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 1rem 0;
    border-top: 1px solid rgba(0,0,0,.1);

    @media (max-width: 960px) {
        flex-direction: column;
        align-items: center;
    }
}

.footer-copy {
    margin: 0;
    color: #5e696e;
    font-size: .75rem;

    @media (max-width: 960px) {
        display: none;
    }
}

.mob-footer-copy {
    display: none;
    @media (max-width: 960px) {
        display: block;
        text-align: center;
        font-size: .75rem;
        border-top: 1px solid rgba(0,0,0,.1);
        width: 100%;
        padding: .5rem 0 0;
        margin: 0;
    }
}

.footer-legal{
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-end;

    @media (max-width: 960px) {
        flex-direction: column;
    }

    @media (max-width:640px) {
        justify-content: flex-start;
    }
}

.footer-legal a{
    color: #32373b;
    text-decoration: none;
    font-size: .875rem;

    @media (max-width: 960px) {
        text-align: center;
        line-height: 1.2;
    }
}

.footer-legal a:hover{
    color: #22262a;
    text-decoration: underline;
}
