/* ===== FOOTER PROFESIONAL SERMACOM ===== */
.main-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--blanco-puro);
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--azul-profesional), transparent);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
}

/* ===== SECCIÓN SUPERIOR ===== */
.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* LOGO CORREGIDO - SIN DEFORMACIÓN */
.footer-logo {
    max-width: 280px;
    height: auto;
    object-fit: contain;
}

.footer-tagline {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #a0a0a0;
    font-weight: 400;
    max-width: 300px;
}

.footer-values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.value-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transicion-rapida);
}

.value-tag:hover {
    background: var(--azul-profesional);
    transform: translateY(-2px);
}

/* ===== ENLACES DEL FOOTER ===== */
.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.link-column {
    display: flex;
    flex-direction: column;
}

.column-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--blanco-puro);
    position: relative;
}

.column-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--azul-profesional);
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: #a0a0a0;
    text-decoration: none;
    font-weight: 400;
    transition: var(--transicion-rapida);
    position: relative;
    padding-left: 0;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 1px;
    background: var(--azul-profesional);
    transition: var(--transicion-rapida);
}

.footer-link:hover {
    color: var(--blanco-puro);
    padding-left: 1rem;
}

.footer-link:hover::before {
    width: 0.5rem;
}

/* ===== INFORMACIÓN DE CONTACTO ===== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-text p {
    margin: 0;
    color: #a0a0a0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.contact-link {
    color: #a0a0a0;
    text-decoration: none;
    transition: var(--transicion-rapida);
    font-weight: 500;
    font-size: 0.95rem;
}

.contact-link:hover {
    color: var(--azul-profesional);
}

/* ===== DIVISOR ===== */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    margin: 2rem 0;
}

/* ===== SECCIÓN INFERIOR ===== */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
}

.footer-copyright {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-copyright p {
    margin: 0;
    color: #a0a0a0;
    font-size: 0.95rem;
}

.footer-slogan {
    color: var(--azul-profesional) !important;
    font-weight: 500;
    font-style: italic;
}

/* ===== REDES SOCIALES FOOTER ===== */
.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social .social-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: var(--transicion-rapida);
    text-decoration: none;
}

.footer-social .social-btn:hover {
    background: var(--azul-profesional);
    border-color: var(--azul-profesional);
    transform: translateY(-2px);
}

.footer-social .social-img {
    width: 20px;
    height: 20px;
    transition: var(--transicion-rapida);
    filter: brightness(0) invert(1);
}

/* ===== RESPONSIVE FOOTER ===== */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-container {
        padding: 3rem 1.5rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-values {
        justify-content: center;
    }
    
    .footer-container {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-tagline {
        text-align: center;
        max-width: none;
    }
    
    .footer-logo {
        max-width: 250px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .footer-top {
        gap: 2rem;
    }
    
    .footer-logo {
        max-width: 220px;
    }
    
    .footer-tagline {
        font-size: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-icon {
        margin-top: 0;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-values {
        gap: 0.4rem;
    }
    
    .value-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* ===== ANIMACIONES FOOTER ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-footer {
    animation: fadeInUp 0.8s ease-out;
}

.footer-brand,
.link-column {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}