.site-footer {
    margin-top: auto;
    background: linear-gradient(to top, var(--verde-oscuro), var(--verdemasoscuro));
    border-top: 1px solid rgba(255,255,255,.08);
}

/* =====================================================
   FOOTER TOP: marca + navegación + contacto
===================================================== */

.footer-top {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 1.5rem 2rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 2.5rem;
}

.footer-marca {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.footer-logo-unq {
    height: 52px;
    width: auto;
}

.footer-descripcion {
    color: rgba(255,255,255,.75);
    font-size: .88rem;
    line-height: 1.6;
    max-width: 320px;
}

.btn-footer-cta {
    display: inline-block;
    margin-top: .3rem;
    padding: .75rem 1.5rem;
    border-radius: 999px;
    background: var(--amarillo);
    color: #111;
    text-decoration: none;
    font-family: var(--subtitulo);
    font-weight: 700;
    font-size: .88rem;
    transition: .25s ease;
}

.btn-footer-cta:hover {
    transform: translateY(-2px) scale(1.03);
}

.footer-columna h4 {
    color: var(--amarillo);
    font-family: var(--subtitulo);
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.footer-nav a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
    font-size: .92rem;
    transition: color .25s ease;
    width: fit-content;
}

.footer-nav a:hover {
    color: var(--amarillo);
}

.footer-contacto {
    display: flex;
    flex-direction: column;
    gap: .9rem;
}

.footer-contacto-item {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    color: rgba(255,255,255,.8);
    text-decoration: none;
    font-size: .88rem;
    line-height: 1.4;
    background: none;
    border: none;
    padding: 0;
    text-align: left;
    font-family: var(--texto);
    cursor: default;
}

.footer-contacto-item svg {
    width: 17px;
    height: 17px;
    fill: var(--verde-claro);
    flex-shrink: 0;
    margin-top: .1rem;
}

a.footer-contacto-item,
button.footer-contacto-btn {
    cursor: pointer;
    transition: color .25s ease;
}

a.footer-contacto-item:hover,
button.footer-contacto-btn:hover {
    color: var(--amarillo);
}

button.footer-contacto-btn:hover svg {
    fill: var(--amarillo);
}

/* =====================================================
   FOOTER BOTTOM: copyright + volver arriba + redes
===================================================== */

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 2rem;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-volver-arriba {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    cursor: pointer;
    transition: .25s ease;
}

.footer-volver-arriba svg {
    width: 16px;
    height: 16px;
    fill: white;
}

.footer-volver-arriba:hover {
    background: var(--amarillo);
    border-color: var(--amarillo);
    transform: translateY(-3px);
}

.footer-volver-arriba:hover svg {
    fill: #111;
}

.footer-copy {
    flex: 1;
    text-align: center;
    color: rgba(255,255,255,.75);
    font-size: .88rem;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: rgba(255,255,255,.85);
    transition: color .25s ease, transform .25s ease;
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-social:hover {
    color: var(--amarillo);
    transform: translateY(-3px);
}

.footer-social:focus-visible,
.footer-volver-arriba:focus-visible,
.btn-footer-cta:focus-visible {
    outline: 2px solid var(--amarillo);
    outline-offset: 4px;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }

    .footer-marca {
        align-items: flex-start;
    }
}

@media (max-width: 600px) {

    .footer-top {
        padding: 2.5rem 1.25rem 1.5rem;
    }

    .footer-marca,
    .footer-columna {
        align-items: center;
        text-align: center;
    }

    .footer-marca {
        display: flex;
        align-items: center;
    }

    .footer-descripcion {
        max-width: 320px;
    }

    .footer-nav {
        align-items: center;
    }

    .footer-nav a {
        width: auto;
    }

    .footer-contacto {
        align-items: center;
    }

    .footer-contacto-item {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        padding: 1.5rem 1.25rem 1.75rem;
        gap: 1rem;
    }

    .footer-copy {
        order: 2;
    }

    .footer-volver-arriba {
        order: 1;
    }

    .footer-socials {
        order: 3;
    }
}

@media (max-width: 420px) {

    .footer-logo-unq {
        height: 44px;
    }

    .footer-social {
        width: 32px;
        height: 32px;
    }

    .footer-social svg {
        width: 18px;
        height: 18px;
    }

    .footer-copy {
        font-size: .8rem;
    }
}