/* Pie de sitio y documentación legal XEXEX */

.xex-site-footer {
    background: #000;
    color: rgba(255, 255, 255, .88);
    margin-top: 3rem;
    font-size: .9rem;
}

.xex-site-footer a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
}

.xex-site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.xex-site-footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 1.25rem;
}

.xex-site-footer-brand img {
    height: 36px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.xex-site-footer h6 {
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: .85rem;
}

.xex-site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.xex-site-footer li {
    margin-bottom: .45rem;
}

.xex-site-footer li a {
    font-size: .86rem;
}

.xex-site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .15);
    margin-top: 2rem;
    padding: 1rem 0 .5rem;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.25rem;
    align-items: center;
    justify-content: space-between;
    font-size: .8rem;
    color: rgba(255, 255, 255, .65);
}

.xex-site-footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1rem;
}

/* Documentos legales */
.xex-legal-doc {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    padding: 2rem 2.25rem;
    margin-bottom: 2rem;
    max-width: 960px;
}

.xex-legal-doc-header {
    border-bottom: 2px solid #004036;
    padding-bottom: 1rem;
    margin-bottom: 1.75rem;
}

.xex-legal-doc-header h1 {
    font-size: 1.65rem;
    font-weight: 700;
    color: #004036;
    margin: 0 0 .35rem;
}

.xex-legal-doc-meta {
    font-size: .82rem;
    color: #6c757d;
}

.xex-legal-body h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a3a34;
    margin: 1.75rem 0 .75rem;
}

.xex-legal-body h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #2d524a;
    margin: 1.25rem 0 .5rem;
}

.xex-legal-body p,
.xex-legal-body li {
    font-size: .92rem;
    line-height: 1.65;
    color: #333;
}

.xex-legal-body ul,
.xex-legal-body ol {
    padding-left: 1.35rem;
    margin-bottom: 1rem;
}

.xex-legal-body table {
    width: 100%;
    font-size: .85rem;
    margin: 1rem 0;
    border-collapse: collapse;
}

.xex-legal-body th,
.xex-legal-body td {
    border: 1px solid #dee2e6;
    padding: .5rem .65rem;
    vertical-align: top;
}

.xex-legal-body th {
    background: #f4f7f6;
    font-weight: 600;
}

.xex-legal-toc {
    background: #f8faf9;
    border-left: 4px solid #004036;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: .88rem;
}

.xex-legal-toc ol {
    margin-bottom: 0;
}

/* Banner cookies */
.xex-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1080;
    background: #1a1a1a;
    color: #eee;
    padding: 1rem 1.25rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .25);
    transform: translateY(100%);
    transition: transform .35s ease;
}

.xex-cookie-banner.xex-cookie-visible {
    transform: translateY(0);
}

.xex-cookie-banner-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.xex-cookie-banner p {
    margin: 0;
    font-size: .85rem;
    flex: 1 1 280px;
    line-height: 1.5;
}

.xex-cookie-banner a {
    color: #7ec8b8;
}

body.xex-has-bottomnav .xex-cookie-banner.xex-cookie-visible {
    bottom: var(--xex-bottomnav-h, 56px);
}

@media (max-width: 767.98px) {
    .xex-legal-doc {
        padding: 1.25rem 1rem;
    }

    .xex-site-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
