/* ================================== */
/* FOOTER PROFESIONAL - ALUMINIOS OCHOA */
/* Esquema de colores: Blanco y Rojo Granate */
/* ================================== */

/* Footer principal */
.footer-professional {
    background: #ffffff;
    color: #333333;
    padding: 4rem 0 0 0;
    position: relative;
    overflow: hidden;
    border-top: 3px solid #6f191d;
}

/* Efecto de onda animada en el fondo */
.footer-professional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #6f191d, #8b2326, #6f191d);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Sección de badges de confianza */
.trust-badges-section {
    background: #f8f8f8;
    padding: 2.5rem 0;
    margin-bottom: 3rem;
    border-radius: 15px;
    border: 2px solid #e0e0e0;
}

.trust-badges-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.trust-badge {
    background: #ffffff;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #6f191d;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.trust-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(111, 25, 29, 0.1), transparent);
    transition: left 0.6s;
}

.trust-badge:hover::before {
    left: 100%;
}

.trust-badge:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 35px rgba(111, 25, 29, 0.3);
    border-color: #8b2326;
    background: #fff5f5;
}

.trust-badge img {
    width: 220px;
    height: auto;
    display: block;
    transition: filter 0.3s;
}

.trust-badge:hover img {
    filter: brightness(1.1);
}

/* Sección de contenido del footer */
.footer-content {
    padding: 0 2rem 2rem 2rem;
}

.footer-column {
    margin-bottom: 2rem;
}

.footer-column h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #6f191d;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #6f191d, #8b2326);
    border-radius: 2px;
}

.footer-column h3 {
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    cursor: pointer;
    color: #555555;
}

.footer-column h3:hover {
    color: #6f191d;
    padding-left: 8px;
    transform: translateX(5px);
}

.footer-column a {
    color: #555555;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-column a:hover {
    color: #8b2326;
}

.footer-column a i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.footer-column a:hover i {
    transform: scale(1.2);
}

/* Logo del footer */
.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 180px;
    height: auto;
    transition: all 0.3s ease;
}

.footer-logo img:hover {
    filter: drop-shadow(0 0 10px rgba(111, 25, 29, 0.3));
    transform: scale(1.05);
}

/* Sección de copyright */
.footer-bottom {
    background: #f5f5f5;
    padding: 1.5rem 0;
    text-align: center;
    border-top: 2px solid #6f191d;
}

.footer-bottom h4 {
    font-size: 0.9rem;
    color: #666666;
    margin: 0;
    font-weight: 400;
}

.footer-bottom a {
    color: #6f191d;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #8b2326;
    text-decoration: underline;
}

/* Botón flotante de chatbot */
.chatbot-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #6f191d, #8b2326);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(111, 25, 29, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.chatbot-button:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 35px rgba(111, 25, 29, 0.6);
}

.chatbot-button i {
    font-size: 1.8rem;
    color: #ffffff;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.chatbot-button::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(111, 25, 29, 0.4);
    animation: ripple 1.5s ease-out infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Tooltip del chatbot */
.chatbot-tooltip {
    position: fixed;
    bottom: 105px;
    right: 30px;
    background: #ffffff;
    color: #333;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    white-space: nowrap;
}

.chatbot-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #ffffff;
}

.chatbot-button:hover+.chatbot-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 110px;
}

/* Responsividad */
@media (max-width: 992px) {
    .footer-column h2 {
        font-size: 1.2rem;
    }

    .trust-badges-container {
        gap: 2rem;
    }

    .trust-badge img {
        width: 180px;
    }
}

@media (max-width: 768px) {
    .footer-professional {
        padding: 3rem 0 0 0;
    }

    .trust-badges-section {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }

    .trust-badges-container {
        gap: 1.5rem;
    }

    .trust-badge {
        padding: 1rem 1.5rem;
    }

    .trust-badge img {
        width: 160px;
    }

    .footer-content {
        padding: 0 1rem 1.5rem 1rem;
    }

    .footer-column {
        margin-bottom: 1.5rem;
    }

    .chatbot-button {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .chatbot-button i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .footer-column h2 {
        font-size: 1.1rem;
    }

    .footer-column h3 {
        font-size: 0.85rem;
    }

    .trust-badge img {
        width: 140px;
    }

    .footer-logo img {
        width: 140px;
    }
}