At Creative Care’s serene hilltop campus in Malibu, Calif., patients typically pay more than $35,000 a month to be treated for addiction and mental health problems against the backdrop of a spectacular Pacific Ocean view.

On Friday, just a few hours after an early-morning evacuation order from the city, all anyone could see were flames.

The Woolsey Fire, one of several major fires burning across California, eventually destroyed four of the complex’s seven buildings. Other rehabilitation centers in Malibu, including Alo House Recovery Centers, sustained significant damage. Seasons in Malibu said it had lost one of its four houses.

Since starting last week, the Woolsey Fire has killed at least three people and wiped out more than 500 structures. The Camp Fire, north of Sacramento, has killed at least 63, and thousands of people around the state have lost their homes. By Friday, smoke had pushed pollution levels in Northern California past those in some of the worst-ranked cities in China and India.