/* ==========================================
   FOOTER CSS - Diseño Moderno y Vibrante
   ========================================== */

.footer {
    background: linear-gradient(135deg, #0F172A 0%, #1a2d4d 100%);
    color: white;
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
    border-top: 3px solid #FF6B35;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #FF6B35, transparent);
}

/* ===== CONTENEDOR ===== */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

/* ===== SECCIONES ===== */
.footer-section {
    animation: slideInUp 0.6s ease-out;
}

.footer-section h3,
.footer-section h4 {
    color: #FFD700;
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #FF6B35, #FFD700);
    border-radius: 2px;
}

.footer-section p {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.8;
    color: #E2E8F0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
    padding-left: 0;
}

.footer-section a {
    color: #BCC9D4;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-section a:hover {
    color: #FFD700;
    transform: translateX(6px);
}

.footer-section a::before {
    content: '→';
    opacity: 0;
    transition: all 0.3s;
}

.footer-section a:hover::before {
    opacity: 1;
}

/* ===== REDES SOCIALES ===== */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255, 107, 53, 0.15);
    border: 2px solid #FF6B35;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #FF6B35;
}

.footer-social a:hover {
    background: #FF6B35;
    color: white;
    transform: translateY(-6px) scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

/* ===== NEWSLETTER ===== */
.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 13px;
    transition: all 0.3s;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.newsletter-form button {
    background: linear-gradient(135deg, #FF6B35, #FF8C42);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

/* ===== LÍNEA DIVISORIA ===== */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.footer-bottom p {
    margin: 8px 0;
    font-size: 13px;
    opacity: 0.8;
    color: #BCC9D4;
}

.footer-bottom a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ===== LINKS RÁPIDOS ===== */
.footer-quick-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-quick-links a {
    font-size: 12px;
    color: #BCC9D4;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.footer-quick-links a:hover {
    color: #FFD700;
}

/* ===== ANIMACIONES ===== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.footer-section:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-section:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-section:nth-child(3) {
    animation-delay: 0.3s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 1.5rem 1.5rem;
    }
    
    .footer-container {
        gap: 2rem;
        grid-template-columns: 1fr;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 15px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
    
    .footer-quick-links {
        gap: 16px;
        font-size: 11px;
    }
    
    .footer-bottom {
        margin: 1.5rem 0 0;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 1rem 1rem;
        margin-top: 2rem;
    }
    
    .footer-container {
        gap: 1.5rem;
    }
    
    .footer-social {
        gap: 8px;
    }
    
    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}