Preheat the oven: Set to 375°F (190°C). Lightly grease a 9x13-inch baking dish with butter or oil.
Prep the veggies: Steam or blanch broccoli (and cauliflower, if using) for 2–3 minutes until crisp-tender. Drain well to avoid excess moisture.
Cook the bacon: In a skillet, cook bacon until crisp.
Cool slightly and chop. Reserve 1–2 teaspoons of bacon fat if you want extra flavor in the sauce.
Make the creamy ranch sauce: In a mixing bowl, whisk cream cheese, sour cream, heavy cream, ranch seasoning, garlic powder, onion powder, and a pinch of salt and pepper. If the cream cheese is too firm, microwave it for 15–20 seconds first.
Stir until smooth.
Assemble the casserole: In a large bowl, combine chicken, broccoli, cauliflower, half the bacon, and half the cheddar. Pour in the ranch sauce and mix until everything is coated.
Layer and top: Spread the mixture evenly in the baking dish. Sprinkle the remaining cheddar and the mozzarella on top.
Finish with the remaining bacon.
Bake: Bake for 18–22 minutes, until the cheese is melted and bubbling at the edges.
Optional broil: For golden, crisp cheese, broil for 1–2 minutes at the end. Watch closely.
Garnish and serve: Let it rest for 5 minutes. Sprinkle with chopped chives or green onions.
Taste and adjust salt and pepper if needed.