Soviet-era sci-fi, The Final Circle of Paradise (Хищные Вещи Века) by Strugastky brothers.
It's really weird. MC poses as a writer in a peaceful resort town while investigating a case, but the townsfolk are just strange and unpleasant. There is a conflict between "intels" (high society type of people) and regular people, but it is still unclear if anyone is in the right.