/* =========================================================
   BUNGE LA MWANANCHI — COMPACT OFFICIAL FOOTER
   ========================================================= */

.site-footer {
    --footer-bg: #172027;
    --footer-panel: #202c34;
    --footer-soft: rgba(255, 255, 255, 0.06);
    --footer-border: rgba(255, 255, 255, 0.16);
    --footer-muted: rgba(255, 255, 255, 0.72);

    position: relative;
    overflow: hidden;
    background: var(--footer-bg);
    color: var(--paper);
}

.site-footer a {
    color: inherit;
}

.site-footer a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* =========================================================
   COMPACT CALL TO ACTION
   ========================================================= */

.footer-callout {
    position: relative;
    background:
        linear-gradient(
            120deg,
            var(--footer-panel),
            #263740
        );
    border-top: 4px solid var(--green);
    border-bottom: 1px solid var(--footer-border);
}

.footer-callout::after {
    content: "";
    position: absolute;
    top: -110px;
    right: -90px;
    width: 260px;
    height: 260px;
    border: 42px solid rgba(215, 181, 109, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.footer-callout-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 48px;
    align-items: center;
    padding-top: 44px;
    padding-bottom: 44px;
}

.footer-callout h2 {
    max-width: 680px;
    margin: 12px 0 0;
    color: var(--paper);
    font-size: clamp(34px, 4.8vw, 58px);
    font-weight: 950;
    line-height: 0.93;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.footer-callout-copy {
    padding-left: 24px;
    border-left: 2px solid rgba(255, 255, 255, 0.28);
}

.site-footer .footer-callout-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.55;
}

.footer-callout-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.footer-callout-actions .btn {
    min-height: 44px;
    padding: 11px 17px;
    font-size: 11px;
}

/* =========================================================
   MAIN FOOTER
   ========================================================= */

.footer-main-grid {
    display: grid;
    grid-template-columns:
        minmax(230px, 1.15fr)
        minmax(120px, 0.55fr)
        minmax(210px, 0.85fr)
        minmax(270px, 1.1fr);
    gap: 38px;
    align-items: start;
    padding-top: 48px;
    padding-bottom: 46px;
}

/* =========================================================
   BRAND
   ========================================================= */

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    width: fit-content;
}

.footer-logo {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    padding: 5px;
    object-fit: contain;
    background: var(--paper);
    border-radius: 50%;
}

.footer-brand > span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-brand strong {
    max-width: 210px;
    color: var(--paper);
    font-size: 14px;
    font-weight: 950;
    line-height: 1.1;
    letter-spacing: 0.065em;
    text-transform: uppercase;
}

.footer-brand small {
    color: var(--accent);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-style: italic;
}

.site-footer .footer-summary {
    max-width: 360px;
    margin: 22px 0 0;
    color: var(--footer-muted);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.6;
}

.site-footer .footer-motto {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 20px 0 0;
    color: var(--accent);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-motto::before {
    content: "";
    width: 22px;
    height: 2px;
    background: currentColor;
}

/* =========================================================
   COLUMNS
   ========================================================= */

.footer-column h3 {
    position: relative;
    margin: 0 0 20px;
    padding-bottom: 11px;
    color: var(--paper);
    font-size: 12px;
    font-weight: 950;
    line-height: 1.1;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.site-footer .footer-column > p {
    margin: -8px 0 15px;
    color: var(--footer-muted);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    line-height: 1.5;
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.footer-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 5px 0 5px 15px;
    color: var(--footer-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-nav a::before {
    content: "";
    position: absolute;
    left: 0;
    width: 6px;
    height: 6px;
    border: 1px solid var(--accent);
    transform: rotate(45deg);
}

.footer-nav a:hover {
    color: var(--paper);
    transform: translateX(3px);
}

.footer-nav a:hover::before {
    background: var(--accent);
}

/* =========================================================
   CONTACT
   ========================================================= */

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 17px;
    margin: 0;
    font-style: normal;
}

.footer-contact-list > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-contact-label {
    color: var(--accent);
    font-size: 9px;
    font-weight: 950;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.footer-contact-list strong,
.footer-contact-list a {
    width: fit-content;
    color: var(--paper);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
}

.footer-contact-list > div > span:not(.footer-contact-label) {
    color: var(--footer-muted);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
}

.footer-contact-list a {
    overflow-wrap: anywhere;
}

.footer-contact-list a:hover {
    color: var(--accent);
}

.site-footer .footer-session-note {
    margin: 21px 0 0;
    padding: 12px 14px;
    color: rgba(255, 255, 255, 0.76);
    background: var(--footer-soft);
    border-left: 3px solid var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    line-height: 1.55;
}

/* =========================================================
   SOCIAL LINKS
   ========================================================= */

.site-footer .social-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
}

.site-footer .social-link {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 52px;
    padding: 7px 10px 7px 7px;
    color: var(--paper);
    background: var(--footer-soft);
    border: 1px solid var(--footer-border);
    text-transform: none;
    letter-spacing: normal;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.site-footer .social-link:hover {
    color: var(--paper);
    background: rgba(0, 96, 48, 0.45);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateX(4px);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--footer-bg);
    background: var(--paper);
    border-radius: 50%;
}

.social-icon svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.social-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 1px;
}

.social-copy strong {
    color: var(--paper);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.social-copy small {
    overflow: hidden;
    color: rgba(255, 255, 255, 0.65);
    font-size: 10px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.social-arrow {
    color: var(--accent);
    font-size: 15px;
    font-weight: 900;
}

/* =========================================================
   BOTTOM BAR
   ========================================================= */

.site-footer .footer-bottom {
    padding: 0;
    color: var(--footer-muted);
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--footer-border);
    text-align: left;
    text-transform: none;
    letter-spacing: normal;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    min-height: 54px;
    padding-top: 13px;
    padding-bottom: 13px;
}

.site-footer .footer-bottom p {
    margin: 0;
    color: var(--footer-muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer .footer-bottom-motto {
    color: var(--accent);
    text-align: right;
}

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

@media (max-width: 1100px) {
    .footer-main-grid {
        grid-template-columns: 1.1fr 0.65fr 1fr;
    }

    .footer-social-column {
        grid-column: 1 / -1;
    }

    .site-footer .social-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .footer-callout-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .footer-callout-copy {
        max-width: 680px;
        padding-left: 18px;
    }

    .footer-main-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 28px;
    }

    .footer-brand-column,
    .footer-social-column {
        grid-column: 1 / -1;
    }

    .site-footer .social-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .footer-callout-grid {
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .footer-callout h2 {
        font-size: clamp(32px, 11vw, 48px);
    }

    .footer-callout-actions {
        flex-direction: column;
    }

    .footer-callout-actions .btn {
        width: 100%;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 40px;
        padding-bottom: 38px;
    }

    .footer-brand-column,
    .footer-social-column {
        grid-column: auto;
    }

    .site-footer .social-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .site-footer .footer-bottom-motto {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer *,
    .site-footer *::before,
    .site-footer *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* =========================================================
   RESTORE ORIGINAL FOOTER CALLOUT BACKGROUND
   Keep the compact sizing while preserving Bunge green.
   ========================================================= */

.footer-callout {
    background:
        linear-gradient(
            120deg,
            var(--green) 0%,
            var(--green-dark) 55%,
            var(--green-deep) 100%
        );
    border-top: 2px solid var(--ink);
}


/* =========================================================
   SEPARATE FOOTER SITTINGS BAR
   ========================================================= */

.footer-sittings {
    background: rgba(255, 255, 255, 0.045);
    border-top: 1px solid var(--footer-border);
}

.footer-sittings-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 64px;
    padding-top: 13px;
    padding-bottom: 13px;
}

.footer-sittings-title {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 9px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.footer-sittings-title::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--green);
}

.footer-sittings-schedule {
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: 0;
}

.footer-sitting-item {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    color: var(--footer-muted);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    line-height: 1.5;
}

.footer-sitting-item strong {
    color: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.footer-sittings-divider {
    width: 1px;
    height: 24px;
    flex: 0 0 1px;
    background: var(--footer-border);
}

@media (max-width: 720px) {
    .footer-sittings-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .footer-sittings-schedule {
        flex-wrap: wrap;
        gap: 8px 18px;
    }

    .footer-sitting-item {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .footer-sittings-schedule {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .footer-sittings-divider {
        width: 100%;
        height: 1px;
        flex-basis: 1px;
    }
}

/* =========================================================
   FOOTER SITTINGS — CENTRED LAYOUT
   ========================================================= */

.footer-sittings-inner {
    justify-content: center;
    text-align: center;
}

.footer-sittings-title {
    justify-content: center;
}

.footer-sittings-schedule {
    justify-content: center;
}

.footer-sitting-item {
    justify-content: center;
    text-align: center;
}

/* =========================================================
   FOOTER LOGO — LARGER, CLEAN AND CLICKABLE
   ========================================================= */

.footer-brand {
    position: relative;
    cursor: pointer;
}

.footer-logo {
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 50%;
    clip-path: circle(47% at 50% 50%);
    object-fit: cover;
    transition:
        transform 0.22s ease,
        filter 0.22s ease;
}

.footer-brand:hover .footer-logo {
    transform: scale(1.06);
    filter: brightness(1.06);
}

@media (max-width: 720px) {
    .footer-sittings-inner {
        align-items: center;
        text-align: center;
    }

    .footer-sittings-schedule {
        justify-content: center;
        width: 100%;
    }

    .footer-sitting-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-sittings-schedule {
        align-items: center;
    }

    .footer-sittings-divider {
        width: min(220px, 100%);
    }

    .footer-logo {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }
}

/* =========================================================
   FOOTER SITTINGS — WHITE BACKGROUND
   ========================================================= */

.footer-sittings {
    background: var(--paper);
    border-top: 1px solid var(--grey);
    border-bottom: 1px solid var(--grey);
}

.footer-sittings-title {
    color: var(--green);
}

.footer-sittings-title::before {
    background: var(--green);
}

.footer-sitting-item {
    color: rgba(11, 15, 13, 0.76);
}

.footer-sitting-item strong {
    color: var(--ink);
}

.footer-sittings-divider {
    background: rgba(11, 15, 13, 0.22);
}


/* =========================================================
   FOOTER SITTINGS — WHITE BACKGROUND
   ========================================================= */

.footer-sittings {
    background: var(--paper);
    border-top: 1px solid var(--grey);
    border-bottom: 1px solid var(--grey);
}

.footer-sittings-title {
    color: var(--green);
}

.footer-sittings-title::before {
    background: var(--green);
}

.footer-sitting-item {
    color: rgba(11, 15, 13, 0.76);
}

.footer-sitting-item strong {
    color: var(--ink);
}

.footer-sittings-divider {
    background: rgba(11, 15, 13, 0.22);
}

