/* ===========================
   LEGAL — FULLTIQUETES
=========================== */

.ft-legal-main {
    min-height: 100vh;
}

/* ─── HEADER con gradiente ─── */
.ft-legal-header {
    background: linear-gradient(90deg, #181818 0%, #474747 100%);
    padding: 4rem 0 3rem;
    text-align: center;
}

.ft-legal-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.ft-legal-title-card {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 20px;
    padding: 1.1rem 2.5rem;
}

.ft-legal-icon {
    color: var(--ft-primary);
    font-size: 1.8rem;
    line-height: 1;
}

.ft-legal-title-card h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #fff;
    margin: 0;
    line-height: 1;
}

.ft-legal-updated {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    margin: 0;
}

/* ─── BODY fondo claro ─── */
.ft-legal-body {
    background: #e0e0e0;
    padding: 3rem 0 4rem;
}

.ft-legal-grid {
    display: grid;
    grid-template-columns: 1fr 8px;
    gap: 1.5rem;
    align-items: start;
}

/* ─── CONTENIDO CON SCROLL ─── */
.ft-legal-content-wrap {
    background: transparent;
    max-height: calc(100vh - 320px);
    overflow-y: auto;
    padding-right: 1rem;
    scrollbar-width: none;
}

.ft-legal-content-wrap::-webkit-scrollbar {
    display: none;
}

.ft-legal-content {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #333;
}

.ft-legal-content p {
    margin-bottom: 1.1rem;
}

.ft-legal-content h3 {
    color: #111;
    font-weight: 700;
    font-size: 1.05rem;
    margin: 2rem 0 0.75rem;
    border-left: 3px solid var(--ft-primary);
    padding-left: 0.75rem;
}

.ft-legal-content ul,
.ft-legal-content ol {
    padding-left: 1.25rem;
    margin-bottom: 1.1rem;
}

.ft-legal-content li {
    margin-bottom: 0.4rem;
    color: #444;
}

.ft-legal-content strong {
    color: var(--ft-primary);
    font-weight: 700;
}

/* ─── BARRA DE PROGRESO LATERAL ─── */
.ft-legal-progress {
    position: sticky;
    top: 80px;
    height: calc(100vh - 320px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.ft-progress-track {
    width: 4px;
    height: 100%;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    overflow: hidden;
}

.ft-progress-fill {
    width: 100%;
    height: 0%;
    background: var(--ft-primary);
    border-radius: 999px;
    transition: height 100ms linear;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 767.98px) {
    .ft-legal-header {
        padding: 2.5rem 0 2rem;
    }

    .ft-legal-title-card {
        padding: 0.9rem 1.5rem;
        gap: 0.75rem;
        border-radius: 14px;
    }

    .ft-legal-icon {
        font-size: 1.4rem;
    }

    .ft-legal-content-wrap {
        max-height: calc(100vh - 260px);
        padding-right: 0.5rem;
    }

    .ft-legal-progress {
        height: calc(100vh - 260px);
    }
}