/**
 * Footer Personalizado - Arya WordPress
 * Diseño corporativo oscuro con información de la empresa
 */

/* ==========================================================================
   FOOTER PRINCIPAL - Sección de Widgets
   ========================================================================== */

.custom-footer {
    background: linear-gradient(135deg, rgba(20, 4, 40, 0.95), rgba(30, 54, 83, 0.9));
    color: #edefef;
    width: 100%;
    position: relative;
    margin-top: auto;
}

.footer-widgets {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px 40px;
    background: transparent !important;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    background: transparent !important;
}

/* ==========================================================================
   COLUMNAS DEL FOOTER
   ========================================================================== */

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: transparent !important;
}

.footer-column.footer-about {
    align-items: center;
    text-align: center;
    gap: 6px;
}

.footer-column.footer-about .company-description {
    text-align: center;
}

.footer-column h3 {
    color: #1ea894;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(30, 168, 148, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column p {
    margin: 0;
    line-height: 1.6;
    color: #edefef;
    font-size: 14px;
}

/* ==========================================================================
   ENLACES DEL FOOTER
   ========================================================================== */

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-column ul li {
    margin: 0;
    padding: 0;
}

.footer-column ul li a {
    color: #edefef;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-column ul li a::before {
    content: '→';
    color: #1ea894;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.footer-column ul li a:hover {
    color: #1ea894;
    transform: translateX(5px);
}

.footer-column ul li a:hover::before {
    transform: translateX(3px);
}

/* ==========================================================================
   INFORMACIÓN DE CONTACTO
   ========================================================================== */

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #edefef;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact-item svg,
.footer-contact-item i {
    color: #1ea894;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item a {
    color: #edefef;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: #1ea894;
}

/* ==========================================================================
   REDES SOCIALES
   ========================================================================== */

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 2px;
    justify-content: center;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(30, 168, 148, 0.1);
    border: 1px solid rgba(30, 168, 148, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1ea894;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #1ea894;
    color: #140428;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(30, 168, 148, 0.4);
}

/* ==========================================================================
   BARRA DE COPYRIGHT
   ========================================================================== */

.footer-copyright {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(30, 168, 148, 0.2);
    padding: 15px 40px;
}

.copyright-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.copyright-text {
    color: #edefef;
    font-size: 14px;
    margin: 0;
}

.copyright-text a {
    color: #1ea894;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.copyright-text a:hover {
    color: #1b6983;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: #edefef;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #1ea894;
}

/* ==========================================================================
   RESPONSIVE - Tablet
   ========================================================================== */

@media (max-width: 1024px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
}

/* ==========================================================================
   RESPONSIVE - Móvil
   ========================================================================== */

@media (max-width: 768px) {
    .footer-widgets {
        padding: 40px 20px 30px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-column h3 {
        font-size: 16px;
    }

    .copyright-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-legal-links {
        justify-content: center;
    }

    .footer-copyright {
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .footer-widgets {
        padding: 30px 15px 20px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-legal-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* ==========================================================================
   ACCESIBILIDAD
   ========================================================================== */

.custom-footer a:focus-visible {
    outline: 2px solid #1ea894;
    outline-offset: 2px;
    border-radius: 2px;
}

/* ==========================================================================
   UTILIDADES
   ========================================================================== */

.footer-column .company-description {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(237, 239, 239, 0.9);
}

.footer-logo-wrap {
    margin-bottom: 6px;
    text-align: center;
}

.footer-logo-img {
    width: 350px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.footer-slogan {
    font-size: 13px;
    font-style: italic;
    color: rgba(30, 168, 148, 0.9);
    line-height: 1.6;
    margin: 0 0 4px;
    text-align: center;
}

.footer-column .company-logo {
    max-width: 180px;
    margin-bottom: 15px;
}

/* ==========================================================================
   FORZAR FONDOS TRANSPARENTES
   ========================================================================== */

/* Asegurar que TODOS los elementos del footer tengan fondo transparente */
.custom-footer *:not(.footer-social a) {
    background-color: transparent !important;
}

/* El footer principal mantiene su gradiente */
.custom-footer {
    background: linear-gradient(135deg, rgba(20, 4, 40, 0.95), rgba(30, 54, 83, 0.9)) !important;
}

/* La barra de copyright mantiene su fondo semi-transparente */
.footer-copyright {
    background: rgba(0, 0, 0, 0.3) !important;
}
