Lower left description error. The second "Detection-off" delay is R7 C2, not R6.
It looks like you want a delay of approx. 3.3 seconds. No way with an LM324. In a 12 V system, the delay will be around 1/5 milliseconds (assuming a 50 mA output saturation current).
1. What is the value of Vcc?
Without getting into the LM324 / LM339 output voltage range details-
2. The value of the X1 sensor sets the trip point Vcc-percentage for all four comparators - 0.5RC, RC, 2RC, whatever. What is its expected value during normal operation with normal ambient lighting?
For example, the R5-C1 delay period will equal exactly 1 x R x C only if the reference voltage at IC1B pin 5 equals exactly 0.632 x Vcc, and that reference voltage depends on X1.
Opinion - I think you will get more stable performance if you change the IC to an LM339, and add pull up resistors to the Q1 and Q2 gates, something in the 10K to 100K range. Note the significantly different pinouts.
ak