/**
 * Footer BussJets — 3 columnas: marca/legal | navegación | redes y contacto
 */

body .footer {
    background-color: #002A44;
    width: 100%;
    max-width: 100%;
    padding: clamp(2.75rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
    box-sizing: border-box;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
}

body .footer,
body .footer * {
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body .footer-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 2.5rem);
    width: 100%;
    max-width: min(1280px, 100%);
    margin: 0 auto;
    align-items: start;
}

body .footer-column {
    display: flex;
    flex-direction: column;
}

body .footer-column-brand {
    align-items: flex-start;
    text-align: left;
}

body .footer-column-nav {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(0.55rem, 1.2vw, 0.75rem);
}

body .footer-legal {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
}

body .footer-column-contact {
    align-items: flex-end;
    text-align: right;
    gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

body .footer-logo-link {
    display: block;
    width: fit-content;
    line-height: 0;
}

body .footer-logo {
    width: clamp(9rem, 18vw, 11.5rem);
    max-width: 100%;
    height: auto;
    display: block;
}

body .footer-legal-link,
body .footer-copyright {
    font-size: clamp(0.72rem, 1vw, 0.82rem);
    font-weight: 400;
    line-height: 1.45;
    color: #ffffff;
    text-decoration: none;
}

body .footer-legal-link:hover,
body .footer-legal-link:focus-visible {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

body .footer-copyright {
    margin: 0.15rem 0 0;
}

body .footer-nav-link {
    display: block;
    font-size: clamp(0.82rem, 1.15vw, 0.95rem);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffffff !important;
    text-decoration: none;
    line-height: 1.35;
    transition: opacity 0.2s ease;
}

body .footer-nav-link:hover,
body .footer-nav-link:focus-visible {
    opacity: 0.75;
}

body .footer-social-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.45rem, 1vw, 0.65rem);
}

body .footer-social-icons a {
    display: block;
    line-height: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

body .footer-social-icons a:hover,
body .footer-social-icons a:focus-visible {
    opacity: 0.85;
    transform: translateY(-1px);
}

body .footer-social-icons img {
    display: block;
    width: clamp(2.35rem, 4vw, 2.75rem);
    height: auto;
}

body .footer-emails {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
}

body .footer-email-link {
    font-size: clamp(0.78rem, 1.05vw, 0.88rem);
    font-weight: 400;
    line-height: 1.45;
    color: #ffffff !important;
    text-decoration: none;
}

body .footer-email-link:hover,
body .footer-email-link:focus-visible {
    opacity: 0.8;
    text-decoration: underline;
}

@media (min-width: 901px) {
    body .footer-content {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
        gap: clamp(1.5rem, 3vw, 2.5rem);
        align-items: center;
    }

    body .footer-column-nav {
        justify-self: center;
    }

    body .footer-column-contact {
        justify-self: end;
    }
}

@media (max-width: 900px) {
    body .footer-column-brand,
    body .footer-column-nav,
    body .footer-column-contact {
        align-items: center;
        text-align: center;
    }

    body .footer-legal {
        align-items: center;
    }

    body .footer-social-icons,
    body .footer-emails {
        align-items: center;
        justify-content: center;
    }
}
