/* ============================================================
   SISTEMA DE CONTROL ELECTORAL
   Archivo: assets/css/footer.css
   Descripción: Estilos del pie de página global (compacto)
   ============================================================ */

/* ============ FOOTER BASE ============ */
.sice-footer {
    background: #111827;
    color: #e5e7eb;
    padding: 1rem 1.25rem .6rem;   /* ↓ antes 2rem 1.5rem 1rem */
    margin-top: auto;
    font-size: .9rem;             /* ↓ antes .9rem */
    line-height: 1.35;             /* ↓ antes 1.5 */
}

.sice-footer a {
    text-decoration: none;
    transition: color .15s ease;
}

/* ============ BLOQUE PRINCIPAL ============ */
.sice-footer-main {
    padding-bottom: .75rem;        /* ↓ antes 1.5rem */
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

/* Reducir separación horizontal entre columnas */
.sice-footer-main.row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: .75rem;         /* ↓ antes g-4 (~1.5rem) */
}

/* ============ TÍTULOS ============ */
.sice-footer-title {
    color: #fff;
    font-weight: 600;
    font-size: .80rem;             /* ↓ antes .95rem */
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .4rem;          /* ↓ antes .85rem */
    display: flex;
    align-items: center;
}

.sice-footer-title i {
    color: var(--bs-primary, #3b82f6);
    font-size: .8rem;              /* ↓ antes 1rem (heredado) */
}

/* ============ LISTAS (Contacto, Recursos) ============ */
.sice-footer-list {
    padding-left: 0;
}

.sice-footer-list li {
    margin-bottom: .15rem;         /* ↓ antes .45rem */
    font-size: .78rem;             /* ↓ antes .9rem */
    color: #cbd5e1;
    display: flex;
    align-items: flex-start;
    gap: .3rem;
    line-height: 1.3;
}

.sice-footer-list li i {
    color: #94a3b8;
    width: .9rem;
    flex-shrink: 0;
    margin-top: .1rem;
    font-size: .75rem;
}

.sice-footer-list a {
    color: #cbd5e1;
}

.sice-footer-list a:hover {
    color: #fff;
    text-decoration: underline;
}

/* ============ REDES SOCIALES ============ */
.sice-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;                   /* ↓ antes .5rem */
    margin-bottom: .4rem;          /* ↓ antes .75rem */
}

.sice-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;                   /* ↓ antes 38px */
    height: 28px;                  /* ↓ antes 38px */
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: #e5e7eb;
    font-size: .8rem;              /* ↓ antes 1.05rem */
    transition: background .15s ease, color .15s ease, transform .15s ease;
}

.sice-footer-social a:hover {
    background: var(--bs-primary, #3b82f6);
    color: #fff;
    transform: translateY(-1px);   /* ↓ antes -2px */
}

.sice-footer-note {
    font-size: .7rem;              /* ↓ antes .8rem */
    color: #94a3b8;
    margin-bottom: 0;
    line-height: 1.25;
}

/* ============ LÍNEA INFERIOR ============ */
.sice-footer-bottom {
    padding-top: .6rem;            /* ↓ antes 1rem */
    font-size: .72rem;             /* ↓ antes .85rem */
    color: #94a3b8;
    line-height: 1.3;
}

.sice-footer-bottom strong {
    color: #e5e7eb;
}

.sice-footer .text-dim {
    color: #94a3b8;
}

/* ============ VARIANTE LANDING ============ */
.sice-footer-landing {
    background: #0b1220;
    padding: 1.5rem 1.25rem .75rem; /* ↓ antes 3rem 1.5rem 1.25rem */
}

/* ============ RESPONSIVE ============ */
@media (max-width: 767.98px) {
    .sice-footer {
        padding: .85rem .85rem .5rem;  /* ↓ antes 1.5rem 1rem .75rem */
        text-align: center;
    }

    .sice-footer-title {
        justify-content: center;
        margin-bottom: .3rem;
    }

    .sice-footer-list li {
        justify-content: center;
        margin-bottom: .1rem;
    }

    .sice-footer-social {
        justify-content: center;
        margin-bottom: .35rem;
    }

    .sice-footer-bottom {
        justify-content: center !important;
        text-align: center;
        padding-top: .5rem;
    }

    .sice-footer-bottom > div {
        width: 100%;
    }
}

/* ============ MODO OSCURO ============ */
[data-bs-theme="dark"] .sice-footer {
    background: #0a0f1a;
}