I have been a real estate agent since before condominiums and gated communities even existed in Costa Rica. Even in those days, security was an issue. Due to a lack of social welfare and being a developing country, petty thievery and breaking and entering has always existed in Costa Rica, so the creation of condominiums was a good idea.
Costa Rican law regulates the effective collection of condominium maintenance fees, and the consequences of non-payment can be as severe as being evicted and losing your property.