﻿/* ===================================================================
   FOOTER, REDES Y FIRMA
   =================================================================== */
footer {
    padding: 30px 0;
    border-top: 1px solid rgba(36,75,92,.10);
    background: #ffffff;
    color: var(--muted);
    font-size: 14px;
}

.foot {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* 3 columnas, la del medio se ajusta al contenido */
    align-items: center;
    gap: 20px;
}

.foot-copy {
    font-weight: 500;
}

/* Redes Sociales en el Centro */
.foot-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
}

    .foot-socials a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(36,75,92,.06);
        color: var(--brandDark);
        transition: all 0.3s ease;
    }

        .foot-socials a svg {
            width: 18px;
            height: 18px;
        }

        .foot-socials a:hover {
            background: var(--brandDark);
            color: #ffffff;
            transform: translateY(-3px);
            box-shadow: 0 6px 16px rgba(16,24,40,.1);
        }

/* Sección de SG Informática */
.foot-dev {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Alinea a la derecha en escritorio */
    gap: 8px;
    font-weight: 600;
}

    .foot-dev a:not(.dev-wa-btn) {
        color: var(--brandDark);
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .foot-dev a:not(.dev-wa-btn):hover {
            color: #1877F2;
        }

/* El mini botón de WhatsApp */
.dev-wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #25D366;
    color: white !important;
    border-radius: 50%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-left: 4px;
}

    .dev-wa-btn svg {
        width: 14px;
        height: 14px;
    }

    .dev-wa-btn:hover {
        transform: scale(1.1) translateY(-2px);
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }

/* =========================================
   RESPONSIVE DEL FOOTER
   ========================================= */
@media (max-width: 992px) {
    .foot {
        grid-template-columns: 1fr; /* Pasa a 1 sola columna vertical */
        text-align: center;
        gap: 24px;
    }

    .foot-dev {
        justify-content: center;
        /* Una pequeña línea separadora en móvil para tu firma */
        padding-top: 20px;
        border-top: 1px solid rgba(36,75,92,.08);
    }
}
