/* =========================================================
   Footer Component — EGL Global Footer
   Replaces old .site-footer placeholder styles.
   Classes use BEM: egl-footer__*
   ========================================================= */

.egl-footer {
    background: #fdfdfd;
    border-top: 1px solid #e5e7eb;
    padding: 4rem 2rem 2rem;
}

.egl-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 768px) {
    .egl-footer__inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Brand column */
.egl-footer__brand {
    flex: 1;
}

.egl-footer__logo {
    height: 40px;
    width: auto;
    margin-block-end: 1rem;
}

.egl-footer__desc {
    color: #6b7280;
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* Social icons */
.egl-footer__social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.egl-footer__social-link img {
    height: 24px;
    width: 24px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.egl-footer__social-link:hover img {
    opacity: 1;
}

/* Link columns */
.egl-footer__columns {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: flex-end;
}

[dir="rtl"] .egl-footer__columns {
    justify-content: flex-start;
}

.egl-footer__col {
    min-width: 140px;
}

.egl-footer__col-title {
    font-weight: 600;
    font-size: 0.9375rem;
    margin: 0 0 1.5rem 0;
    color: #1f2937;
}

.egl-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.egl-footer__links a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.egl-footer__links a:hover {
    color: #1f2937;
}

/* Bottom bar */
.egl-footer__bottom {
    max-width: 1280px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 0.875rem;
    text-align: center;
}

.egl-footer__bottom p {
    margin: 0;
}
