/* 
   ===========================
   ESTILOS PARA EL FOOTER
   ===========================
*/

.footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 120px 0 20px;
    position: relative;
    overflow: hidden;
}

/* Onda decorativa del footer */
.footer-wave-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave {
    position: relative;
    display: block;
    width: 100%;
    height: 80px;
    transform: translateY(-100%);
}

.footer-wave:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* Estructura del contenido del footer */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
}

/* Información del footer */
.footer-info {
    position: relative;
}

.footer-logo img {
    height: auto;
    max-width: 350px;
    margin-bottom: 30px;
    display: block;
}

.footer-description {
    margin-bottom: 20px;
    opacity: 0.7;
    line-height: 1.8;
    padding-left: 5px;
}

/* Títulos en el footer */
.footer h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

/* Lista de contacto */
.contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-list i {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Enlaces rápidos */
.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--light-color);
    opacity: 0.7;
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
}

.footer-links ul li a:before {
    content: '→';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
}

/* Iconos sociales */
.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-icon-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    border-radius: 50%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Newsletter */
.newsletter h4 {
    margin-bottom: 15px;
    font-size: 1rem;
}

.newsletter-form {
    display: flex;
    position: relative;
}

.newsletter-form input {
    width: 100%;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--light-color);
    border-radius: 4px;
    padding-right: 45px;
}

/* Footer copyright */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Media queries */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        margin-top: 15px;
        justify-content: center;
    }
} 