Cook pasta: Boil ziti in salted water until al dente (about 1–2 minutes less than package directions). Drain.
Sauté spinach: In a skillet, heat olive oil, add garlic, and cook spinach until wilted (or stir in thawed, squeezed spinach). Season lightly.
Mix filling: In a bowl, combine ricotta, half of the parmesan, ½ cup mozzarella, spinach, Italian seasoning, salt, and pepper.
Assemble: Toss pasta with marinara. In a 9x9-inch baking dish, layer half the pasta, spread ricotta-spinach mixture, then add the rest of the pasta.
Top: Sprinkle remaining mozzarella and parmesan.
Bake: Cover with foil and bake at 190°C / 375°F for 15 minutes. Remove foil and bake another 10–15 minutes until bubbly and golden.
Serve: Rest 5 minutes. Garnish with parsley and enjoy warm.