/* SPDA — Footer institucional 40 años */

.spda-ftr,
.spda-ftr * {
    box-sizing: border-box;
}

.spda-ftr {
    position: relative !important;
    width: 100%;
    padding: 95px 0 115px;
    margin: 0;
    background: #000;
    color: #fff;
    z-index: 5;
    font-family: "SPDA Gotham Book", Arial, sans-serif;
    font-weight: 400;
    line-height: 1.4;
}

.spda-ftr__inner {
    width: 90%;
    max-width: 1800px;
    margin: 0 auto;
}

.spda-ftr__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.spda-ftr__col {
    min-width: 0;
}

.spda-ftr__brand {
    flex: 0 0 150px;
}

.spda-ftr__brand a {
    display: inline-block;
}

.spda-ftr__brand img {
    display: block;
    width: 148px;
    max-width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.spda-ftr__contact {
    flex: 0 0 250px;
}

.spda-ftr__legal {
    flex: 0 1 450px;
}

.spda-ftr__languages {
    flex: 0 0 90px;
}

.spda-ftr__social {
    flex: 0 0 auto;
}

.spda-ftr a,
.spda-ftr a:visited {
    color: #fff !important;
    text-decoration: none;
}

.spda-ftr a:hover,
.spda-ftr a:focus-visible {
    color: #a93228 !important;
}

.spda-ftr__contact a,
.spda-ftr__legal a,
.spda-ftr__copyright {
    display: block;
    margin: 0 0 9px;
    font-family: "SPDA Gotham Book", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: -0.1px;
}

.spda-ftr__copyright {
    margin-top: 11px;
}

.spda-ftr__languages nav {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.spda-ftr__languages a,
.spda-ftr__slash {
    font-size: 15px;
    line-height: 1.4;
    color: #fff;
}

.spda-ftr__languages a.is-current {
    font-family: "SPDA Gotham Bold", Arial, sans-serif;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.spda-ftr__social nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.spda-ftr__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
}

.spda-ftr__social img {
    display: block;
    height: 28px;
    width: auto;
    max-width: 35px;
    filter: brightness(0) invert(1);
    transition: filter .2s ease, opacity .2s ease;
}

.spda-ftr__social a:hover img {
    filter: none;
}

/* Tabletas */
@media (max-width: 1250px) {
    .spda-ftr__row {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 35px 55px;
    }

    .spda-ftr__brand,
    .spda-ftr__contact,
    .spda-ftr__legal {
        flex: 1 1 240px;
    }

    .spda-ftr__languages,
    .spda-ftr__social {
        flex: 0 0 auto;
    }
}

/* Celulares */
@media (max-width: 760px) {
    .spda-ftr {
        padding: 56px 0 68px;
    }

    .spda-ftr__inner {
        width: calc(100% - 48px);
    }

    .spda-ftr__row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .spda-ftr__col {
        width: 100%;
        min-width: 0;
        flex: none;
    }

    .spda-ftr__brand {
        order: 1;
    }

    .spda-ftr__contact {
        order: 2;
    }

    .spda-ftr__languages {
        order: 3;
    }

    .spda-ftr__social {
        order: 4;
    }

    .spda-ftr__legal {
        order: 5;
    }

    .spda-ftr__brand img {
        width: 148px;
    }

    .spda-ftr__contact a,
    .spda-ftr__legal a,
    .spda-ftr__copyright {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 6px;
    }

    .spda-ftr__social nav {
        flex-wrap: wrap;
        gap: 22px;
    }

    .spda-ftr__social img {
        height: 27px;
    }

    .spda-ftr__copyright {
        margin-top: 12px;
    }
}

/* Corrección de ubicación en Avada Blank */
.spda-ftr {
    clear: both !important;
}

.spda-ftr__row {
    width: 100% !important;
}

/* Ajustes finales: ancho completo y unión con la cronología */
body.home .spda-ftr {
    width: 100vw !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

body.home .spda-tl {
    padding-bottom: 0 !important;
}

/* Evitar el selector de WPML duplicado debajo del footer */
body.home .wpml-ls-statics-footer {
    display: none !important;
}

/* Fondo de ancho completo sin desbordamiento horizontal */
body.home .spda-ftr {
    width: 100% !important;
    left: auto !important;
    transform: none !important;
    position: relative !important;
}

body.home .spda-ftr::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #000;
    z-index: 0;
    pointer-events: none;
}

body.home .spda-ftr__inner {
    position: relative;
    z-index: 1;
}

