Billable Hour or Flat Fee?

I’ve been at firms that are strictly billable hour and firms that do mix of flat fee work and billable hour work. So far, clients like the flat fee model - no surprise bills, I get it - and I’m wondering if more legal work could move in the direction of flat fees or capped fees. Of course with most litigation it seems difficult to limit yourself to a flat fee. What are your firms doing?