/* ==========================================
   FOOTER - ENLACES COMPACTOS Y ELEGANTES
   Portal SAFIN Campeche
========================================== */

.footer-enlaces {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    /* Ancho máximo del conjunto */
    width: 100%;
    max-width: 750px;
    margin: 0 auto;

    /* Separación entre columnas */
    gap: 14px;
}

/* ==========================================
   COLUMNAS
========================================== */

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

/* ==========================================
   LISTA DE ENLACES
========================================== */

.footer-enlaces__lista {
    list-style: none;
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-enlaces__lista li {
    margin: 0;
    padding: 0;
}

/* ==========================================
   BOTONES DEL FOOTER
========================================== */

.footer-enlaces__lista a {
    display: block;
    padding: 8px 12px;

    /* Tipografía */
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;

    /* Apariencia */
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 6px;

    /* Transición suave */
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

/* ==========================================
   EFECTO AL PASAR EL CURSOR
========================================== */

.footer-enlaces__lista a:hover {
    background-color: #b7a387;
    color: #4f172d;
    font-weight: 700;

    border-color: #b7a387;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

/* ==========================================
   ACCESIBILIDAD CON TECLADO
========================================== */

.footer-enlaces__lista a:focus-visible {
    outline: 2px solid #b7a387;
    outline-offset: 2px;
}

/* ==========================================
   TABLETAS
========================================== */

@media (max-width: 768px) {
    .footer-enlaces {
        max-width: 600px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

/* ==========================================
   CELULARES
========================================== */

@media (max-width: 480px) {
    .footer-enlaces {
        max-width: 320px;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer-enlaces__lista a {
        padding: 10px 12px;
    }
}