/* =============================================
   FOOTER MODERNO - UOM San Francisco
   ============================================= */

.site-footer {
    background: #0a1f10;
    color: #c8d6cc;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 40px;
}

/* Franja superior verde */
.footer-accent {
    height: 4px;
    background: linear-gradient(90deg, #0B5C21 0%, #c8a84e 50%, #0B5C21 100%);
}

/* Grid principal */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding: 48px 0 36px;
}

/* Títulos de columna */
.footer-col h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(200, 168, 78, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =====================
   COL 1: Afiliación
   ===================== */

.footer-afil-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    margin-bottom: 12px;
    text-decoration: none;
    color: #c8d6cc;
    transition: all 0.2s;
    border: 1px solid rgba(255,255,255,0.06);
}

.footer-afil-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(200, 168, 78, 0.3);
    color: #fff;
    transform: translateX(4px);
}

.footer-afil-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(11, 92, 33, 0.4);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-afil-icon i {
    font-size: 18px;
    color: #4ade80;
}

.footer-afil-body strong {
    display: block;
    font-size: 14px;
    color: #fff;
    margin-bottom: 3px;
}

.footer-afil-body span {
    font-size: 12px;
    color: #9aab9f;
    line-height: 1.4;
}

/* =====================
   COL 2: Contacto
   ===================== */

.footer-contacto-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contacto-item i {
    width: 18px;
    text-align: center;
    color: #4ade80;
    font-size: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contacto-item p {
    margin: 0;
    color: #c8d6cc;
}

.footer-contacto-item a {
    color: #c8d6cc;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contacto-item a:hover {
    color: #4ade80;
}

.footer-horario {
    margin-top: 18px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border-radius: 8px;
    border-left: 3px solid #c8a84e;
}

.footer-horario strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #c8a84e;
    margin-bottom: 4px;
}

.footer-horario span {
    font-size: 13px;
    color: #c8d6cc;
}

/* =====================
   COL 3: Enlaces + Redes
   ===================== */

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c8d6cc;
    text-decoration: none;
    font-size: 13px;
    padding: 5px 0;
    transition: all 0.2s;
}

.footer-links a::before {
    content: '\f105';
    font-family: FontAwesome;
    color: #4ade80;
    font-size: 12px;
    width: 12px;
    transition: transform 0.2s;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 6px;
}

.footer-links a:hover::before {
    transform: translateX(2px);
}

/* Redes sociales */
.footer-redes-titulo {
    font-size: 13px;
    font-weight: 600;
    color: #9aab9f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.footer-redes {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-red {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    color: #c8d6cc;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.25s;
    border: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
}

.footer-red:hover {
    transform: translateY(-3px);
    color: #fff;
}

.footer-red.r-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.footer-red.r-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #dc2743;
}

.footer-red.r-youtube:hover {
    background: #e52d27;
    border-color: #e52d27;
}

.footer-red.r-twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.footer-red.r-whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
}

/* =====================
   BARRA INFERIOR (Copyright)
   ===================== */

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 12px;
    color: #6b7f6f;
    line-height: 1.7;
}

.footer-bottom a {
    color: #9aab9f;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: #c8a84e;
}

/* =====================
   RESPONSIVE
   ===================== */

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    /* Afiliación ocupa todo el ancho arriba */
    .footer-col:first-child {
        grid-column: 1 / -1;
    }

    .footer-col:first-child .footer-afil-items {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .footer-afil-item {
        margin-bottom: 0;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px 0 24px;
    }

    .footer-col:first-child .footer-afil-items {
        grid-template-columns: 1fr;
    }

    .footer-col h3 {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .footer-afil-item {
        padding: 12px;
    }

    .footer-afil-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

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

    .footer-bottom p {
        font-size: 11px;
    }
}
