/* ===========================================================
   1. ESTILOS DE ESCRITORIO (PC) - TAMAÑO EQUILIBRADO
   =========================================================== */
footer {
    background: transparent;
    color: #dbeeff;
    padding: 1.05rem 0 1.15rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Tarjeta Flotante PC */
.footer-colored {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00)), rgba(10, 7, 15, 0.68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.8rem;
    margin: 0 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.02);
    overflow: hidden;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0.6rem 1rem;
}

.footer-section {
    flex: 1 1 220px;
    margin: 0.45rem;
    min-width: 160px;
}

.footer-section h2 {
    margin-bottom: 0.8rem;
    color: #e7f6ff;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
}

.footer-section p, 
.footer-section ul, 
.footer-section a {
    color: #cfe9ff;
    margin-bottom: .5rem;
    font-size: 0.95rem;
}

.footer-section ul { list-style: none; padding: 0; }

.footer-section a {
    text-decoration: none;
    transition: color 0.18s ease, transform 0.18s ease;
    color: #bfe8ff;
    display: inline-block;
}

.footer-section a:hover {
    color: #00d0ff;
    transform: translateY(-1px);
}

/* --- REDES SOCIALES PC (AJUSTE: TAMAÑO MEDIO) --- */
.footer-section.social .social-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Columnas */
    gap: 12px; /* Espacio equilibrado */
    max-width: 180px; /* Ancho ajustado para que no se vea enorme */
}

.footer-section.social .social-icons div {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.6rem; /* Padding medio */
    border-radius: 12px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.2s;
}

.footer-section.social .social-icons div:hover {
    background: rgba(0, 208, 255, 0.08);
    border-color: rgba(0, 208, 255, 0.25);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.1);
}

/* Ocultar texto en PC para mantener el cuadro limpio */
.footer-section.social .social-icons a {
    font-size: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.footer-section.social img {
    width: 34px;  /* AJUSTADO: Ni chico (28) ni gigante (42) */
    height: 34px; 
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}
/* ----------------------------------------------- */

.footer-bottom {
    text-align: center;
    padding: .8rem 0 .5rem;
    background: transparent;
    border-top: 1px solid rgba(0, 191, 255, 0.08);
    margin-top: 0.8rem;
}

.footer-bottom p {
    margin: 0;
    font-size: .8rem;
    letter-spacing: .3px;
    line-height: 1.3;
    font-weight: 500;
    color: #cfeaff;
}


/* ===========================================================
   2. ESTILOS MÓVIL (INTACTO - DISEÑO PREMIUM 2x2)
   =========================================================== */
@media (max-width: 992px) {
    footer { padding: 0; margin-top: 30px; }
    
    .footer-colored {
        margin: 0; border-radius: 30px 30px 0 0; border: none; border-top: 1px solid rgba(255,255,255,0.15);
        background: #121216; backdrop-filter: none; padding: 2rem 1.5rem;
        box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
    }

    .footer-container { flex-direction: column; align-items: center; text-align: center; padding: 0; gap: 2rem; }
    .footer-section { width: 100%; margin: 0; min-width: 0; }

    .footer-section h2 {
        font-size: 0.9rem; color: #6b7280; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 700;
    }

    .footer-section.links ul {
        display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0;
    }
    
    .footer-section.links a {
        display: block; background: linear-gradient(145deg, #1c1c24, #23232b); padding: 14px 5px;
        border-radius: 12px; font-size: 0.95rem; color: #e0e0e0; border: 1px solid rgba(255,255,255,0.05);
        box-shadow: 0 4px 6px rgba(0,0,0,0.2); font-weight: 500;
    }

    /* Redes en Móvil (Tamaño normal, grid 2x2) */
    .footer-section.social .social-icons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        justify-content: center;
        margin: 0 auto;
        max-width: 180px;
    }
    
    .footer-section.social .social-icons div {
        background: #1c1c24; padding: 0; border-radius: 15px; border: 1px solid rgba(255,255,255,0.1);
        width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; margin: 0 auto;
    }
    
    .footer-section.social .social-icons a {
        display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; font-size: 0;
    }

    .footer-section.social img { width: 32px; height: 32px; }

    .footer-section.about p, .footer-section.contact p { color: #9ca3af; line-height: 1.6; font-size: 0.9rem; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; margin-top: 1rem; width: 100%; }
    .footer-bottom p { font-size: 0.75rem; color: #555; }
}