/* =============================== */
/*  ESTILOS DEL FOOTER PRINCIPAL   */
/* =============================== */
.site-footer {
    background-color: #000000;
    color: rgba(245, 247, 250, 0.72);
    padding: 1.2rem 2rem 3rem;
    margin-top: auto;
}

.site-footer__inner {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 2.7rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.site-footer__brand {
    display: flex;
    align-items: flex-end;
}

.site-footer__logo {
    width: 8.2rem;
    height: auto;
}

.site-footer__meta {
    display: grid;
    justify-items: end;
    gap: 0.85rem;
}

.site-footer__social {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
}

.site-footer__social a {
    width: 2.2rem;
    height: 2.2rem;
    display: grid;
    place-items: center;
    font-size: 0.74rem;
    text-transform: lowercase;
}

.site-footer__social a img {
    width: 1.35rem;
    height: 1.35rem;
    display: block;
}

.site-footer__links {
    display: grid;
    gap: 0.45rem;
    justify-items: end;
}

.site-footer__links a,
.site-footer__copy {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: -0.04em;
    color: rgba(245, 247, 250, 0.47);
}

.site-footer__link-button {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: -0.04em;
    color: rgba(245, 247, 250, 0.47);
    cursor: pointer;
}

.privacy-modal[hidden] {
    display: none;
}

.privacy-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
}

.privacy-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.privacy-modal__dialog {
    position: relative;
    width: min(calc(100% - 2rem), 48rem);
    max-height: calc(100vh - 2rem);
    margin: 1rem auto;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.25rem;
    background:
        radial-gradient(circle at top, rgba(252, 18, 7, 0.14), transparent 28%),
        #0c1320;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.4);
}

.privacy-modal__content {
    padding: 2rem 1.5rem 1.6rem;
}

.privacy-modal__close {
    position: sticky;
    top: 0.75rem;
    left: calc(100% - 3.2rem);
    width: 2.5rem;
    height: 2.5rem;
    margin: 0.75rem 0.75rem -3.25rem auto;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 1;
}

.privacy-modal__eyebrow {
    margin: 0 0 0.5rem;
    color: #fc1207;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.privacy-modal__title {
    margin: 0 0 1rem;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.privacy-modal__content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.7;
}

.privacy-modal__section {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.privacy-modal__section h3 {
    margin: 0 0 0.45rem;
    color: #ffffff;
    font-size: 1.1rem;
    letter-spacing: -0.03em;
}

.privacy-modal__content a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

body.has-modal-open {
    overflow: hidden;
}

@media (max-width: 980px) {
    .site-footer {
        padding: 1.75rem 1rem 2.5rem;
    }

    .site-footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__meta,
    .site-footer__links {
        justify-items: start;
    }

    .site-footer__social {
        justify-content: flex-start;
    }

    .site-footer__logo {
        width: 6.6rem;
    }

    .site-footer__social a {
        width: 2rem;
        height: 2rem;
    }

    .site-footer__social a img {
        width: 1.1rem;
        height: 1.1rem;
    }

    .site-footer__links a,
    .site-footer__link-button,
    .site-footer__copy {
        font-size: 0.92rem;
    }

    .privacy-modal__dialog {
        width: calc(100% - 1rem);
        max-height: calc(100vh - 1rem);
        margin: 0.5rem auto;
        border-radius: 1rem;
    }

    .privacy-modal__content {
        padding: 1.4rem 1rem 1.1rem;
    }

    .privacy-modal__content p {
        font-size: 0.95rem;
    }
}
