/* =========================================
   Pie de Página (Footer Tecnológico)
   ========================================= */

.tech-footer {
    background-color: var(--color-blue);
    color: var(--color-white);
    width: 100%;
    padding: 4rem 5% 1rem 5%;
    margin-top: 4rem; /* Separación con la sección anterior */
    font-family: 'Inter', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* --- Marca y Descripción --- */
.footer-brand h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}


.footer-social {
    text-align: center;
}

.footer-brand h3 span {
    color: var(--color-orange);
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #D1D5DB; /* Un gris muy claro para no cansar la vista */
}

/* --- Títulos de las Columnas --- */
.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    position: relative;
    display: inline-block;
}

/* Pequeña línea naranja debajo de los títulos (Ahora centrada) */
.footer-links h4::after,
.footer-contact h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    left: 50%; /* Mueve el inicio a la mitad de la palabra */
    transform: translateX(-50%); /* Lo centra perfectamente */
    bottom: -8px;
    width: 30px;
    height: 3px;
    background-color: var(--color-orange);
    border-radius: 2px;
}

/* --- Enlaces de Servicios --- */
.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #D1D5DB;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-orange);
    transform: translateX(5px); /* Efecto tecnológico de desplazamiento hacia la derecha */
}

/* --- Información de Contacto --- */
.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #D1D5DB;
}

.contact-info-list .icon {
    font-size: 1.1rem;
}

/* --- Redes Sociales --- */
.social-icons {
    display: flex;
    justify-content: center; /* Esta es la propiedad mágica para centrar horizontalmente */
    gap: 1rem;
    margin-top: 1rem; /* Un pequeño respiro visual entre el título y los botones */
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 8px;
    
    /* Agregamos el tamaño del ícono aquí */
    font-size: 1.2rem; 
    
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--color-orange);
    border-color: var(--color-orange);
    transform: translateY(-5px);
}

/* --- Derechos de Autor --- */
.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    color: #9CA3AF;
    font-size: 0.85rem;
}

/* =========================================
   Ajustes Responsivos para Móviles
   ========================================= */
@media (max-width: 768px) {
    .tech-footer {
        padding: 3rem 1.5rem 1.5rem 1.5rem;
    }
    
    .footer-container {
        gap: 2.5rem;
        text-align: center; /* Centrar todo en móviles se ve mucho más ordenado */
    }
    
    .footer-links h4::after,
    .footer-contact h4::after,
    .footer-social h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-info-list li {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }
}