/**
 * Site footer: desktop layout (four columns) and a mobile layout (collapsible
 * accordion sections), per the Figma navigation-components frame. Same
 * 1024px breakpoint as the header.
 */

.site-footer {
    background-color: var(--color-primary-green);
}

/* ---- Desktop footer (>= 1024px) ---- */

.site-footer__desktop {
    display: none;
}

@media (min-width: 1024px) {
    .site-footer__desktop {
        display: flex;
        flex-direction: column;
        gap: 64px;
        padding: 80px 64px 40px;
    }

    .site-footer__columns {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 32px;
    }

    .site-footer__logo-image {
        display: block;
        height: 56px;
        width: auto;
        margin: 0 0 20px;
    }

    .site-footer__col-brand {
        width: 320px;
    }

    .site-footer__description {
        font-family: var(--font-body);
        font-weight: 400;
        font-size: 14px;
        line-height: 1.6;
        color: var(--color-ivory);
        opacity: 0.7;
        margin: 0;
    }

    .site-footer__col-heading {
        font-family: var(--font-body);
        font-weight: 700;
        font-size: 12px;
        text-transform: uppercase;
        color: var(--color-champagne-gold);
        margin: 0 0 16px;
    }

    .site-footer__link-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .site-footer__link-list a {
        font-family: var(--font-body);
        font-weight: 400;
        font-size: 14px;
        color: var(--color-ivory);
        text-decoration: none;
    }

    .site-footer__link-list a:hover {
        color: var(--color-champagne-gold);
    }

    .site-footer__col-contact {
        width: 280px;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .site-footer__address {
        font-family: var(--font-body);
        font-weight: 400;
        font-size: 14px;
        line-height: 1.5;
        color: var(--color-ivory);
        margin: 0;
    }

    .site-footer__phone-link {
        font-family: var(--font-body);
        font-weight: 400;
        font-size: 14px;
        color: var(--color-light-gold);
        text-decoration: none;
    }

    .site-footer__email-link {
        font-family: var(--font-body);
        font-weight: 400;
        font-size: 14px;
        color: var(--color-ivory);
        text-decoration: none;
    }

    .site-footer__whatsapp-link {
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: var(--font-body);
        font-weight: 600;
        font-size: 13px;
        color: var(--color-light-gold);
        text-decoration: none;
    }

    .site-footer__whatsapp-link img {
        width: 16px;
        height: 16px;
    }

    .site-footer__divider {
        border: none;
        border-top: 1px solid rgba(250, 247, 242, 0.15);
        margin: 0;
    }

    .site-footer__bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .site-footer__copyright {
        font-family: var(--font-body);
        font-weight: 400;
        font-size: 12px;
        color: var(--color-ivory);
        opacity: 0.6;
        margin: 0;
    }

    .site-footer__socials {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .site-footer__socials img {
        width: 18px;
        height: 18px;
        display: block;
    }

    .site-footer__legal {
        display: flex;
        align-items: center;
        gap: 24px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .site-footer__legal a {
        font-family: var(--font-body);
        font-weight: 400;
        font-size: 12px;
        color: var(--color-ivory);
        opacity: 0.6;
        text-decoration: none;
    }

    .site-footer__legal a:hover {
        opacity: 1;
    }
}

/* ---- Mobile footer (< 1024px) ---- */

/* Confirmed a different (darker) background than the desktop footer's
   --color-primary-green - node 27:322, not a rounding of the same token. */
.site-footer__mobile {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 48px 20px 40px;
    background-color: #062217;
}

@media (min-width: 1024px) {
    .site-footer__mobile {
        display: none;
    }
}

.site-footer__mobile-logo-image {
    display: block;
    height: 48px;
    width: 64px;
    margin: 0 0 20px;
}

.site-footer__mobile-description {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-ivory);
    opacity: 0.7;
    margin: 0;
}

/* Plain, always-visible stacked lists - confirmed from node 27:322, no
   expand/collapse component (the earlier accordion version didn't match
   this frame and has been removed). */
.site-footer__mobile-lists {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
}

.site-footer__mobile-list-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.site-footer__mobile-list-heading {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--color-champagne-gold);
    margin: 0;
}

.site-footer__mobile-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
}

.site-footer__mobile-list a,
.site-footer__mobile-list p {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-ivory);
    opacity: 0.8;
    margin: 0;
    text-decoration: none;
}

.site-footer__mobile-whatsapp-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--color-champagne-gold);
    text-decoration: underline;
    opacity: 1;
}

.site-footer__mobile-whatsapp-link img {
    width: 14px;
    height: 14px;
    display: block;
}

.site-footer__mobile-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.site-footer__mobile-socials {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-footer__mobile-socials img {
    width: 16px;
    height: 16px;
    display: block;
}

.site-footer__mobile-copyright {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 11px;
    color: var(--color-ivory);
    opacity: 0.5;
    text-align: left;
    margin: 0;
}

.site-footer__mobile-copyright a {
    color: inherit;
    text-decoration: underline;
}
