/* --- FOOTER STYLES (Dark & Minimal) --- */

.site-footer {
    background-color: var(--bx-dark); /* El tono más oscuro de negro */
    color: var(--bx-gray-secondary);
    padding: 4rem 0 2rem;
    border-top: 3px solid var(--bx-brand); /* Línea roja superior */
    font-size: 0.95rem;
}

/* Títulos */
.footer-heading {
    color: var(--bx-white);
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

/* Pequeña línea amarilla bajo los títulos */
.footer-heading::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--bx-yellow);
    margin-top: 8px;
    border-radius: 2px;
}

/* Enlaces */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--bx-gray-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--bx-brand); /* Rojo al pasar el mouse */
    padding-left: 5px; /* Desplazamiento sutil */
}

/* Redes Sociales */
.footer-brand i {
    color: var(--bx-white); /* Corregimos el text-dark del HTML */
    background: rgba(255,255,255,0.05);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.footer-brand i:hover {
    background: var(--bx-brand);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 31, 46, 0.4);
}

/* Newsletter Input */
.newsletter-group {
    display: flex;
    position: relative;
}

.newsletter-input {
    width: 100%;
    padding: 12px 15px;
    padding-right: 50px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    color: white;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--bx-brand);
}

.btn-newsletter {
    position: absolute;
    right: 5px;
    top: 5px;
    background: var(--bx-brand);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-newsletter:hover {
    background: var(--bx-brand-hover);
}

/* Copyright area */
.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
}

/*BOTONES WSP Y CHATBOT*/

.btn-chatbot, .btn-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    line-height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Botón de WhatsApp (Abajo) */
.btn-whatsapp {
    bottom: 20px;
    background-color: #25d366;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    color: #FFF;
    transform: scale(1.1);
}

/* Botón de Mensaje (Arriba del de WhatsApp) */
.btn-chatbot {
    bottom: 90px; /* 20px de margen + 60px del botón de abajo + 10px de separación */
    background-color: #007bff;
}

.btn-chatbot:hover {
    background-color: #0c5cb3;
    color: #FFF;
    transform: scale(1.1);
}