/* Footer moderno y elegante */

footer {
    background: #0d0d0d;
    padding: 80px 0 30px 0;
    position: relative;
    overflow: hidden;
}

/* Patrón de fondo sutil */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(237, 86, 59, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(237, 86, 59, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Contenedor principal */
.footer-content {
    position: relative;
    z-index: 2;
}

/* Logo y descripción */
.footer-brand {
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-logo span {
    color: #ed563b;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.8;
    max-width: 350px;
}

/* Información de contacto */
.footer-contact {
    margin-bottom: 40px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    color: #ed563b;
    transform: translateX(5px);
}

.footer-contact-item i {
    font-size: 18px;
    color: #ed563b;
    margin-right: 15px;
    width: 30px;
    height: 30px;
    background: rgba(237, 86, 59, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: inherit;
    text-decoration: none;
}

/* Enlaces rápidos */
.footer-contact h4,
.footer-links h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-contact h4::after,
.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #ed563b;
}

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

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links ul li a::before {
    content: '→';
    color: #ed563b;
    margin-right: 10px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: #ed563b;
    padding-left: 20px;
}

.footer-links ul li a:hover::before {
    opacity: 1;
}

/* Redes sociales */
.footer-social {
    margin-top: 30px;
}

.footer-social h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #ed563b;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: -1;
}

.social-icon:hover::before {
    width: 100%;
    height: 100%;
}

.social-icon i {
    color: rgba(255, 255, 255, 0.8);
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 1;
}

.social-icon:hover {
    border-color: #ed563b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(237, 86, 59, 0.3);
}

.social-icon:hover i {
    color: #fff;
}

/* Newsletter */
.footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
}

.footer-newsletter h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    border-color: #ed563b;
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
    padding: 12px 30px;
    background: #ed563b;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: #d94527;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(237, 86, 59, 0.3);
}

/* Línea divisoria */
.footer-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 50px 0 30px 0;
}

/* Copyright */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 10px;
}

.copyright a {
    color: #ed563b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.copyright a:hover {
    color: #fff;
}

/* Animaciones */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.footer-logo {
    animation: float 3s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 991px) {
    footer {
        padding: 60px 0 20px 0;
    }
    
    .footer-brand,
    .footer-contact,
    .footer-links,
    .footer-newsletter {
        margin-bottom: 30px;
    }
    
    .footer-description {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    footer {
        padding: 40px 0 20px 0;
    }
    
    .footer-logo {
        font-size: 24px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}