﻿/* Pie de página - Redes y contacto */
footer {
    background: url('/images/layout/pieFondo.png') center/cover no-repeat;
    color: var(--white);
    padding: 1.2rem 2rem 0.9rem;
    position: relative;
    z-index: 2;
}

    footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(30, 86, 49, 0.70);
        z-index: 1;
    }

.footer-container, .footer-bottom {
    position: relative;
    z-index: 2;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-left {
    flex: 1;
    min-width: 300px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 0.8rem;
}

    .footer-logo img {
        height: 100%;
        width: auto;
        max-width: 180px;
        object-fit: contain;
    }

.footer-mission {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    max-width: 350px;
}

/* ICONOS DE REDES */
.social-icons {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.social-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
    overflow: hidden;
    background-color: transparent;
    border: 2px solid transparent;
}

    .social-icon img {
        width: 100%;
        height: 100%;
        padding: 8px;
        transition: var(--transition);
        object-fit: contain;
    }

    /* Ajuste especial para el ícono de Twitter/X (segundo ícono) */
    .social-icon:nth-child(2) img {
        padding: 3px;
        transform: scale(1.20);
    }

    .social-icon:hover {
        transform: scale(1.15);
        background-color: #FFFFFF;
        border-color: #FFFFFF;
    }

.footer-right {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.newsletter-column {
    flex: 1;
    min-width: 250px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

    .newsletter-form input {
        padding: 0.6rem 0.8rem;
        border-radius: 6px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        background-color: rgba(255, 255, 255, 0.1);
        color: #FFFFFF;
        font-size: 0.9rem;
    }

        .newsletter-form input::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }

.newsletter-btn {
    background-color: var(--light-green);
    color: var(--primary-green);
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

    .newsletter-btn:hover {
        background-color: #FFFFFF;
        transform: translateY(-2px);
    }

.footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--light-green);
    position: relative;
    padding-bottom: 0.4rem;
}

    .footer-column h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 35px;
        height: 2px;
        background-color: #FFFFFF;
    }

.footer-column p, .footer-column a {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.8rem;
    display: block;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

    .footer-column a:hover {
        color: var(--light-green);
        padding-left: 5px;
    }

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

    .contact-item i {
        color: var(--light-green);
        width: 18px;
    }

    .contact-item:last-child {
        align-items: flex-start;
    }

        .contact-item:last-child i {
            margin-top: 3px;
            font-size: 1.6rem;
        }

.whatsapp-link {
    color: #25D366;
    text-decoration: none;
    transition: var(--transition);
}

    .whatsapp-link:hover {
        color: #1da851;
    }

.address-link {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

    .address-link:hover {
        color: var(--light-green);
    }

    .address-link i {
        color: var(--light-green);
        margin-top: 3px;
        font-size: 1rem;
    }

.footer-bottom {
    max-width: 1300px;
    margin: 1.2rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    text-align: left;
    font-size: 0.85rem;
}

    .copyright p {
        margin-bottom: 0.2rem;
    }

.author {
    font-style: italic;
    color: var(--pastel-green);
    text-align: right;
    flex: 1;
    font-size: 0.85rem;
}
