/* ===== ESTILOS DEL FOOTER ===== */
footer {
    background: black;
    color: white;
    padding: 50px 0 0;
    margin-top: auto;
    font-family: 'Poppins', sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Sección principal del footer ===== */
.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

/* Marca */
.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: red;
}

.footer-brand h3 span {
    color: white;
}

.footer-brand p {
    color: #b2bec3;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Redes sociales */
.footer-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-social .social-link {
    width: 45px;
    height: 45px;
    background: red;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social .social-link:hover {
    background: white;
    color: black;
    transform: translateY(-3px);
}

/* Títulos */
.footer-contact h4,
.footer-links h4,
.footer-cta h4 {
    
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Contacto */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: #dfe6e9;
    font-size: 0.95rem;
}

.contact-item i {
    color: red;
    margin-right: 1rem;
    font-size: 1.1rem;
    margin-top: 0.2rem;
    min-width: 20px;
}

/* Enlaces rápidos */
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #dfe6e9;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: red;
}

/* CTA WhatsApp */
.footer-cta p {
    color: #b2bec3;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    background: red;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.whatsapp-btn:hover {
    background: red;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* ===== Footer inferior ===== */
.footer-bottom {
    border-top: 1px solid #4b6584;
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #b2bec3;
    margin: 0;
    font-size: 0.85rem;
}

.legal-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.legal-links a {
    color: #b2bec3;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.legal-links a:hover {
    color: red;
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand,
    .footer-contact,
    .footer-links,
    .footer-cta {
        align-items: center;
    }

    .footer-contact .contact-item {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .legal-links {
        justify-content: center;
    }
}
