/* FOOTER PROFESIONAL - ESTILOS CORREGIDOS */
/* Añade esto al archivo /Estilos/Footer.css */

.footer {
    background-color: #0a0a0a;
    color: #ffffff;
    padding-top: 50px;
    margin-top: 60px;
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 20px;
}

/* Secciones del footer */
.footer-section {
    padding: 0 10px;
}

/* Logo y marca */
.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    margin-right: 15px;
    border: 3px solid #d32f2f;
    object-fit: cover;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.footer-brand-accent {
    color: #d32f2f;
}

.footer-tagline {
    font-size: 0.85rem;
    color: #cccccc;
    margin-top: 8px;
    font-weight: 300;
}

.footer-description {
    color: #aaaaaa;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
    text-align: justify;
}

/* Redes sociales */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #222222;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-icon:hover {
    background-color: #d32f2f;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}

/* Títulos de sección */
.footer-title {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    position: relative;
    font-weight: 600;
}

.footer-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #d32f2f;
}

/* Listas de enlaces */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-link {
    color: #cccccc;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: #d32f2f;
}

.footer-link i {
    margin-right: 10px;
    font-size: 0.8rem;
    color: #d32f2f;
    transition: transform 0.3s ease;
}

.footer-link:hover i {
    transform: rotate(90deg);
}

/* Información de contacto */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #d32f2f;
    transition: transform 0.3s ease, background 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.08);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #222222;
    border-radius: 50%;
    color: #d32f2f;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contact-label {
    color: #aaaaaa;
    font-size: 0.85rem;
    margin-bottom: 5px;
    font-weight: 300;
}

.contact-value {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 3px;
}

.contact-value:hover {
    color: #d32f2f;
}

/* Botón de WhatsApp flotante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    overflow: hidden;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float:hover {
    width: 200px;
    border-radius: 30px;
    transform: scale(1.1);
}

.whatsapp-float i {
    font-size: 28px;
    position: absolute;
    left: 16px;
    transition: left 0.3s ease;
}

.whatsapp-text {
    opacity: 0;
    white-space: nowrap;
    margin-left: 40px;
    font-weight: 600;
    transition: opacity 0.3s ease;
    font-size: 0.9rem;
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
}

.whatsapp-float:hover i {
    left: 20px;
}

/* Línea divisoria */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #d32f2f, #666666, #d32f2f, transparent);
    margin: 50px 20px 20px;
    opacity: 0.3;
}

/* Pie inferior */
.footer-bottom {
    background-color: #000000;
    padding: 25px 20px;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    gap: 20px;
}

.copyright {
    color: #888888;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 300;
}

#current-year {
    color: #ffffff;
    font-weight: 500;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.payment-label {
    color: #888888;
    font-size: 0.9rem;
    font-weight: 300;
}

.payment-icons {
    display: flex;
    gap: 20px;
    font-size: 1.8rem;
    color: #aaaaaa;
    flex-wrap: wrap;
    justify-content: center;
}

.payment-icons i {
    transition: all 0.3s ease;
    cursor: default;
}

.payment-icons i:hover {
    color: #d32f2f;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-section:nth-child(1) {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo-img {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-title:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links li {
        display: flex;
        justify-content: center;
    }
    
    .footer-contact {
        align-items: center;
    }
    
    .contact-item {
        width: 100%;
        max-width: 400px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float:hover {
        width: 180px;
    }
    
    .whatsapp-float i {
        font-size: 24px;
        left: 15px;
    }
    
    .whatsapp-float:hover i {
        left: 18px;
    }
    
    .whatsapp-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding-top: 40px;
    }
    
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-bottom-content {
        gap: 15px;
    }
    
    .payment-icons {
        gap: 15px;
        font-size: 1.5rem;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float i {
        font-size: 22px;
        left: 14px;
    }
    
    .whatsapp-float:hover {
        width: 160px;
    }
}