/*
 * Pie de página en columnas (como Mavis). Usa las clases del tema
 * (footer__widget, footer__widget--inner) para que en celular cada columna
 * se abra y cierre al tocar su título.
 */

.site-footer .main__footer {
    padding: 4.8rem 0 4rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

@media (min-width: 768px) {
    .site-footer__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 3.6rem 3rem;
    }
}

@media (min-width: 1200px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1.45fr 0.95fr 1.25fr 1fr 0.95fr;
        gap: 3rem;
    }
}

.site-footer .footer__widget {
    margin-bottom: 0;
}

.site-footer .footer__widget--title {
    margin-bottom: 1.4rem;
    font-size: 1.6rem;
    letter-spacing: 0.02em;
}

.site-footer .footer__widget--menu__list {
    margin-bottom: 0.4rem;
}

.site-footer .footer__widget--menu__text {
    color: #c9cad1;
    font-size: 1.45rem;
    line-height: 2.5rem;
}

.site-footer a.footer__widget--menu__text:hover,
.site-footer a.footer__widget--menu__text:focus-visible {
    color: #f8ca48;
}

/* El correo conserva su color amarillo (contact-channels.css); se corta después de la @. */
.site-footer .footer__widget--menu__text.footer-business-email {
    font-size: 1.3rem;
    overflow-wrap: normal;
}

.site-footer__email span {
    display: block;
    color: #9a9ba5;
    font-size: 1.3rem;
    line-height: 1.9rem;
}

/* Sucursales: nombre (abre Google Maps), ciudad y teléfono. */
.site-footer__branches .site-footer__branch {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.2rem;
}

.site-footer .site-footer__branch-name {
    color: #ffffff;
    font-weight: 600;
    line-height: 2.2rem;
}

.site-footer__branch-city {
    color: #9a9ba5;
    font-size: 1.3rem;
    line-height: 1.9rem;
}

.site-footer__branch-phone {
    color: #f8ca48;
    font-size: 1.4rem;
    line-height: 2.1rem;
}

.site-footer__branch-phone:hover,
.site-footer__branch-phone:focus-visible {
    color: #ffffff;
}

.site-footer__more {
    display: inline-block;
    margin-top: 0.4rem;
    color: #f8ca48;
    font-size: 1.4rem;
    font-weight: 600;
}

.site-footer__more:hover {
    color: #ffffff;
}

.site-footer__hours .footer__widget--menu__list {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.8rem;
    color: #ffffff;
    font-size: 1.45rem;
    line-height: 2.1rem;
}

.site-footer__hours span {
    color: #9a9ba5;
    font-size: 1.3rem;
}

/* Franja inferior: logo y texto, políticas y redes. */
.site-footer .footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem 3rem;
    padding: 2.4rem 0;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    min-width: 0;
}

.site-footer .footer__logo--link img {
    width: 150px;
}

.site-footer .copyright__content {
    max-width: 44rem;
    margin: 0;
    color: #9a9ba5;
    font-size: 1.3rem;
    line-height: 1.9rem;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__legal a,
.site-footer__legal button {
    padding: 0;
    border: 0;
    background: none;
    color: #c9cad1;
    font-size: 1.3rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.site-footer__legal a:hover,
.site-footer__legal button:hover {
    color: #f8ca48;
}

.site-footer .site-footer__social {
    margin: 0;
}

@media (max-width: 767.98px) {
    .site-footer .main__footer {
        padding: 3rem 0 2rem;
    }

    .site-footer .footer__widget {
        padding: 1.4rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .site-footer .footer__widget--title {
        margin-bottom: 0;
    }

    .site-footer .footer__widget.active .footer__widget--inner {
        margin-top: 1.2rem;
    }

    .site-footer__brand {
        flex-direction: column;
        align-items: flex-start;
    }
}
