Endogenous Price Stickiness, Trend Inflation, and Macroeconomic Stability