.modal-open {
    overflow: hidden;
}

.footer-bottom__inner a {
    transition: color var(--transition), opacity var(--transition);
}

.footer-bottom__inner a:hover {
    color: var(--gold);
}

/* =========================
   MODALES FOOTER
========================= */

.vec-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(20, 20, 20, 0.58);
}

.vec-modal__dialog {
    position: relative;
    width: min(100%, 980px);
    max-height: min(88vh, 920px);
    overflow: auto;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.vec-modal__content {
    padding: 34px 30px 26px;
}

.vec-modal__content h2 {
    margin: 0 0 20px;
    color: var(--gold-dark);
    font-size: 1.18rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vec-modal__content p {
    margin: 0 0 16px;
    color: #666666;
    font-size: 0.92rem;
    line-height: 1.8;
    letter-spacing: 0.03em;
}

.vec-modal__content a {
    color: var(--gold-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.vec-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: #f3f1ec;
    color: #4a4a4a;
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.vec-modal__close:hover {
    background: var(--gold);
    color: #ffffff;
    transform: scale(1.03);
}

.vec-modal__actions {
    margin-top: 22px;
    display: flex;
    justify-content: flex-end;
}

.vec-modal__button {
    min-width: 210px;
    min-height: 44px;
    padding: 10px 18px;
    border: 0;
    border-radius: 10px;
    background: var(--gold);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.vec-modal__button:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
}

/* =========================
   COOKIE BANNER
========================= */

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9998;
}

.cookie-banner__box {
    width: min(100%, 980px);
    margin: 0 auto;
    background: #16202e;
    color: #ffffff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-banner__box {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-banner__text {
    flex: 1;
    min-width: 240px;
}

.cookie-banner__title {
    margin-bottom: 6px;
    font-size: 1rem;
    font-weight: 700;
}

.cookie-banner__desc {
    font-size: 0.89rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-banner__btn {
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.cookie-banner__btn:hover {
    transform: translateY(-1px);
}

.cookie-banner__btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #ffffff;
}

.cookie-banner__btn--soft {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.cookie-banner__btn--primary {
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #ffffff;
}

/* =========================
   COOKIE PREF MODAL
========================= */

.cookie-pref-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(20, 20, 20, 0.58);
}

.cookie-pref-modal__dialog {
    width: min(100%, 860px);
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.cookie-pref-modal__header {
    padding: 18px 22px;
    background: #f5f2ec;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cookie-pref-modal__title {
    color: var(--gold-dark);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cookie-pref-modal__close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: #ece8e0;
    color: #444444;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.cookie-pref-modal__body {
    padding: 24px 22px 22px;
}

.cookie-pref-modal__body p {
    margin: 0 0 16px;
    color: #666666;
    font-size: 0.92rem;
    line-height: 1.75;
}

.cookie-pref-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    overflow: hidden;
}

.cookie-pref-card__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    padding: 16px;
}

.cookie-pref-card__row--last {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.cookie-pref-card__title {
    margin-bottom: 4px;
    color: #353535;
    font-size: 0.92rem;
    font-weight: 700;
}

.cookie-pref-card__desc {
    color: #6d6d6d;
    font-size: 0.84rem;
    line-height: 1.6;
}

.cookie-pref-card__badge {
    flex-shrink: 0;
    padding: 7px 12px;
    border-radius: 999px;
    background: #dff2e0;
    color: #31673c;
    font-size: 0.78rem;
    font-weight: 700;
}

.cookie-pref-card__toggle {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    font-weight: 700;
    color: #353535;
    cursor: pointer;
}

.cookie-pref-modal__actions {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-pref-modal__btn {
    flex: 1;
    min-width: 220px;
    min-height: 46px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.cookie-pref-modal__btn--primary {
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #ffffff;
}

.cookie-pref-modal__btn--ghost {
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #ffffff;
    color: #353535;
}

/* =========================
   COOKIE MANAGE BUTTON
========================= */

.cookie-manage {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 9997;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #353535;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(6px);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 680px) {
    .vec-modal,
    .cookie-pref-modal {
        padding: 12px;
    }

    .vec-modal__content {
        padding: 26px 18px 20px;
    }

    .vec-modal__content h2 {
        font-size: 1rem;
        padding-right: 34px;
    }

    .vec-modal__content p {
        font-size: 0.86rem;
        line-height: 1.7;
    }

    .vec-modal__actions {
        justify-content: stretch;
    }

    .vec-modal__button {
        width: 100%;
        min-width: 0;
    }

    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .cookie-banner__actions {
        width: 100%;
    }

    .cookie-banner__btn {
        flex: 1 1 100%;
    }

    .cookie-pref-card__row {
        flex-direction: column;
    }

    .cookie-pref-card__badge,
    .cookie-pref-card__toggle {
        align-self: flex-start;
    }

    .cookie-pref-modal__actions {
        flex-direction: column;
    }

    .cookie-pref-modal__btn {
        width: 100%;
        min-width: 0;
    }

    .cookie-manage {
        left: 10px;
        bottom: 10px;
        max-width: calc(100% - 20px);
    }
}

.modal-open {
    overflow: hidden;
}