/* ==========================================================
   LODAGU - FOOTER.CSS
   Footer corporativo
   ========================================================== */

.site-footer {
    color: #FFFFFF;
    background-color: #1C455A;
}

.footer-main {
    display: grid;
    grid-template-columns: 0.95fr 1.45fr;
    gap: 70px;
    align-items: start;
    padding-top: 70px;
    padding-bottom: 55px;
}

.site-footer h2 {
    margin-bottom: 24px;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 600;
}

.footer-contact {
    display: grid;
    gap: 16px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.footer-contact i {
    min-width: 18px;
    margin-top: 4px;
    color: #D4AF37;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.25s ease;
}

.footer-contact a:hover {
    color: #D4AF37;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.footer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    background-color: transparent;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.footer-button:hover {
    color: #1C455A;
    background-color: #FFFFFF;
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

.footer-download {
    gap: 9px;
    color: #1C455A;
    background-color: #FFFFFF;
    border-color: #FFFFFF;
}

.footer-download:hover {
    color: #FFFFFF;
    background-color: #123547;
    border-color: #123547;
}

.footer-regulation {
    min-width: 0;
}

.footer-regulation h2 {
    text-align: left;
}

.footer-logos {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 24px !important;
    width: 100% !important;
    margin-top: 14px !important;
}

.footer-logos img {
    display: block !important;
    width: auto !important;
    height: 30px !important;
    max-width: 95px !important;
    max-height: 30px !important;
    object-fit: contain !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0.95;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.footer-logos img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-logos img[alt="UNE"] {
    height: 36px !important;
    max-height: 36px !important;
    max-width: 105px !important;
}

.footer-logos img[alt="CONDUSEF"] {
    height: 25px !important;
    max-height: 25px !important;
    max-width: 92px !important;
}

.footer-logos img[alt="Buró de Entidades Financieras"] {
    height: 30px !important;
    max-height: 30px !important;
    max-width: 46px !important;
}

.footer-logos img[alt="ASOFOM"] {
    height: 28px !important;
    max-height: 28px !important;
    max-width: 104px !important;
}

.footer-logos img[alt="CNBV"] {
    height: 26px !important;
    max-height: 26px !important;
    max-width: 68px !important;
}

/* Botón Asociados */

.footer-associated {
    display: flex;
    justify-content: flex-start;
    margin-top: 28px;
}

.footer-associated .footer-button {
    min-width: 170px;
    gap: 9px;
}

.footer-legal {
    padding: 28px 0;
    background-color: #102F3E;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-legal .container {
    display: grid;
    gap: 12px;
}

.footer-legal p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    line-height: 1.7;
}

.footer-bottom {
    padding: 22px 0;
    text-align: center;
    background-color: #0B2230;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}

@media (max-width: 1100px) {

    .footer-main {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-regulation h2 {
        text-align: center;
    }

    .footer-logos {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 20px !important;
    }

    .footer-associated {
        justify-content: center;
    }
}

@media (max-width: 680px) {

    .footer-main {
        padding-top: 55px;
        padding-bottom: 45px;
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
        text-align: left;
    }

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

    .footer-button {
        width: 100%;
    }

    .footer-logos {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(90px, 1fr)) !important;
        gap: 20px 16px !important;
        justify-items: center !important;
    }

    .footer-logos img,
    .footer-logos img[alt="UNE"],
    .footer-logos img[alt="CONDUSEF"],
    .footer-logos img[alt="Buró de Entidades Financieras"],
    .footer-logos img[alt="ASOFOM"],
    .footer-logos img[alt="CNBV"] {
        width: auto !important;
        height: 30px !important;
        max-width: 95px !important;
        max-height: 30px !important;
    }

    .footer-associated .footer-button {
        width: 100%;
    }
}

@media (max-width: 420px) {

    .footer-logos {
        grid-template-columns: 1fr !important;
    }
}
