/* ===========================
   FOOTER NUEVO (AISLADO)
   No depende de bootstrap
=========================== */

.footer-custom {
    background: #fff;
    border-top: 1px solid #f0f0f0;
    padding: 16px 0;
    width: 100%;
}

/* Contenedor interno propio */
.footer-custom .footer-inner {
    width: min(1100px, 92%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

/* Texto */
.footer-custom .footer-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-custom .footer-main {
    margin: 0;
    font-weight: 700;
    font-size: 0.95rem;
    color: #20232a;
}

.footer-custom .footer-rights {
    margin: 0;
    font-size: 0.78rem;
    color: #8b8b8b;
}

/* Redes */
.footer-custom .footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-custom .footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #f2f3f5;
    color: #444;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease,
        box-shadow 0.15s ease;
}

.footer-custom .footer-social a:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

/* Colores hover/active exactos */
.footer-custom .footer-social a.footer-facebook:hover,
.footer-custom .footer-social a.footer-facebook:active {
    background: #1877f2;
    color: #fff;
}
.footer-custom .footer-social a.footer-instagram:hover,
.footer-custom .footer-social a.footer-instagram:active {
    background: #e1306c;
    color: #fff;
}
.footer-custom .footer-social a.footer-whatsapp:hover,
.footer-custom .footer-social a.footer-whatsapp:active {
    background: #25d366;
    color: #fff;
}
.footer-custom .footer-social a.footer-telegram:hover,
.footer-custom .footer-social a.footer-telegram:active {
    background: #0088cc;
    color: #fff;
}

/* ===========================
   TABLET
=========================== */
@media (max-width: 991px) {
    .footer-custom .footer-inner {
        width: min(900px, 94%);
    }
}

/* ===========================
   MÓVIL (CENTRADO REAL)
=========================== */
@media (max-width: 575px) {
    .footer-custom {
        padding: 18px 0 70px; /* aire abajo por nav móvil */
    }

    .footer-custom .footer-inner {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .footer-custom .footer-text {
        align-items: center;
    }

    .footer-custom .footer-social {
        justify-content: center;
        gap: 14px;
    }

    .footer-custom .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 1.05rem;
    }
}
