/**
 * Footer - idéntico a Mendoza (Mendoza-argentina.html + main.css)
 * Cargar después de base y vistas para que siempre aplique.
 */

.footer {
    background-color: #212121;
    width: 100%;
    max-width: 100%;
    padding: var(--section-padding-y, 3rem) var(--container-padding, 10%);
    box-sizing: border-box;
    overflow-x: hidden;
}

.footer * {
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.footer-column-logo .footer-logo-link {
    display: block;
    width: fit-content;
}

.footer-logo {
    width: 10rem;
    max-width: 100%;
    height: auto;
    display: block;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 1rem 0 0.5rem;
    padding: 0;
}

.footer-legal {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    padding: 0;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: underline;
}

.footer-legal-link:hover {
    color: white !important;
}

.footer-contact-block {
    margin-bottom: 1.25rem;
}

.footer-contact-block:last-child {
    margin-bottom: 0;
}

.footer-contact-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.25rem;
}

.footer-contact-value {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.footer-contact-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer-contact-link:hover {
    color: white !important;
}

.footer-support-section {
    margin-bottom: 1.5rem;
}

.footer-social-section .footer-title {
    padding-top: 0;
}

.footer-social-icons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.footer-title {
    font-size: 1rem;
    color: #00a0e0;
    padding: 1rem 0 0.5rem;
}

.footer-column-support .footer-title:first-child {
    padding-top: 0;
}

.footer-a {
    font-size: 0.9rem;
    color: white !important;
    font-weight: 700;
    padding: 0.5rem 0 0;
    display: block;
}

.footer .social {
    margin: 0;
    width: 3rem;
    height: auto;
}

@media (min-width: 1024px) {
    .footer-content {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto auto;
        gap: 0 3rem;
        max-width: var(--container-max, 1200px);
        margin: 0 auto;
        align-items: flex-start;
    }

    .footer-top-line {
        grid-column: 2 / 5;
        grid-row: 1;
        height: 1.5px;
        background: #ffffff;
        margin-top: 0;
        margin-bottom: 2rem;
    }

    .footer-column-logo {
        grid-row: 1 / 3;
        grid-column: 1;
    }

    .footer-column-contact {
        grid-row: 2;
        grid-column: 2;
        margin-top: 0; /* Asegurar nivelación */
    }

    .footer-column-support {
        grid-row: 2;
        grid-column: 3;
    }

    .footer-column-newsletter {
        grid-row: 2;
        grid-column: 4;
    }

    .footer-column {
        min-width: 0;
        padding: 0;
    }

    .footer-column-support .footer-title:first-child,
    .footer-column-newsletter .footer-newsletter-title:first-child {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .footer-column-contact .footer-contact-block:first-child {
        margin-top: 0 !important;
    }

    .footer-logo {
        width: 12rem;
    }

    .footer-title {
        font-size: 1rem;
    }

    .footer-a {
        font-size: 0.9rem;
    }

    .footer-contact-label {
        font-size: 0.85rem;
    }

    .footer-contact-value {
        font-size: 0.85rem;
    }
}

/* Newsletter Styles */
.footer-column-newsletter {
    display: flex;
    flex-direction: column;
}

.footer-newsletter-title {
    color: #00B8F2;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
}

.footer-newsletter-desc {
    color: white;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 1rem 0 1.5rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 100;
}

.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-newsletter-input {
    background: transparent;
    border: 1px solid white;
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    color: white;
    font-family: "Montserrat", sans-serif;
    font-size: 0.9rem;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.footer-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter-btn {
    background: white;
    color: black;
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-weight: 700;
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.footer-newsletter-btn:hover {
    background: #00B8F2;
    color: white;
}