/* Footer */

footer.footer {
    background-color: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 30px 0;
}

.footer .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-gap-large);
}

/* Left: Logo + divider + address */
.footer .footer-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.footer .footer-logo {
    width: 170px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.footer .footer-logo svg {
    width: 100%;
    height: auto;
}

.footer .footer-diviser {
    width: 1px;
    background-color: rgba(0, 0, 0, 0.15);
    align-self: stretch;
}

.footer .footer-address {
    font-size: 14px;
    line-height: 21px;
    color: #635A4D;
}

/* Right: Legal links + social */
.footer .footer-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.footer .footer-legal-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer .footer-legal-links a,
.footer .footer-legal-links span {
    font-size: 14px;
    line-height: 19px;
    color: #635A4D;
    transition: color 0.2s ease;
}

.footer .footer-legal-links a:hover {
    color: var(--color-accent-primary);
}

.footer .footer-social {
    display: flex;
    align-items: center;
    gap: var(--spacing-gap-small);
}

.footer .footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
}

.footer .footer-social a img {
    width: auto;
    height: 30px;
    filter: brightness(0) opacity(0.4);
    transition: filter 0.2s ease;
}

.footer .footer-social a:hover img {
    filter: brightness(0) opacity(0.8);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1200px) {
    .footer .wrapper {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {

    footer.footer { padding:50px 0 30px 0;}
    .footer .footer-left {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        width: 100%;
    }

    .footer .wrapper { gap:0; }

    .footer .footer-diviser {
        display: none;
    }

    .footer .footer-address {
        text-align: center;
        padding: 20px 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        width: 100%;
    }

    .footer .footer-right {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
        text-align: center;
        padding: 25px 0 0 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .footer .footer-logo {
        width: 90%;
        height: auto;
    }

    .footer .footer-legal-links {
        width: 100%;
        justify-content: center;
        gap: 25px;
    }

    .footer .footer-social {
        gap: calc(var(--spacing-gap-small) + 10px);
    }
}
