/* ===== FOOTER STYLES ===== */
.mls-footer {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    margin-top: auto;
}
.mls-footer-top {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 50%, #ecfdf5 100%);
    border-bottom: 1px solid #e5e7eb;
}
.mls-footer-main {
    background: #ffffff;
}
.mls-footer-bottom {
    background: #1f2937;
    border-top: 1px solid #374151;
}
.mls-footer-bottom p, .mls-footer-bottom a {
    color: #9ca3af;
}
.mls-footer-heading {
    font-size: 0.875rem;
    font-weight: 700;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #16a34a;
    display: inline-block;
}
.mls-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mls-footer-links li {
    margin-bottom: 0.625rem;
}
.mls-footer-links a {
    color: #4b5563;
    text-decoration: none;
    font-size: 0.8125rem;
    transition: color 0.15s, padding-left 0.15s;
    display: inline-block;
}
.mls-footer-links a:hover {
    color: #16a34a;
    padding-left: 4px;
}

/* Mobile: Collapsible sections */
@media (max-width: 767px) {
    .mls-footer-col {
        margin-bottom: 0.5rem;
    }
    .mls-footer-heading {
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid #e5e7eb;
        margin-bottom: 0;
        transition: color 0.2s;
    }
    .mls-footer-heading::after {
        content: '+';
        font-size: 1.25rem;
        color: #16a34a;
        font-weight: 400;
        transition: transform 0.2s;
    }
    .mls-footer-heading[aria-expanded="true"]::after {
        transform: rotate(45deg);
    }
    .mls-footer-links {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    .mls-footer-links.open {
        max-height: 400px;
    }
    .mls-footer-links li {
        padding: 0.375rem 0;
    }
    .mls-footer-links a {
        font-size: 0.875rem;
        color: #6b7280;
    }
}

/* Desktop: Multi-column */
@media (min-width: 768px) {
    .mls-footer-heading::after {
        content: '';
    }
    .mls-footer-heading {
        cursor: default;
        border-bottom: 2px solid #16a34a;
        display: inline-block;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .mls-footer-links,
    .mls-footer-links a,
    .mls-footer-heading::after {
        transition: none;
    }
}
