/* 20261026-building-contact-01 — building design pages: the enquiry form asks for email, project address and phone.
   React's original phone/name block stays hidden once bcf.js has added the new fields (html[data-bcf="1"]).
   Until then it, the form intro and the hero summary line are invisible (bcf.js rewrites them); the 4 s animation
   shows them again if the script never runs. The extra bottom padding reserves the height of the third field. */
#lead-form > .form-step:not(.bcf-step) { visibility: hidden; padding-bottom: var(--bcf-extra-field, 84px); animation: bcf-reveal 0s 4s forwards; }
html[data-bcf="1"] #lead-form > .form-step:not(.bcf-step) { display: none !important; }
html:not([data-bcf="1"]) #lead-form .lead-card__header p,
html:not([data-bcf="1"]) .hero .approval-hero-summary { visibility: hidden; animation: bcf-reveal 0s 4s forwards; }
@keyframes bcf-reveal { to { visibility: visible; } }

/* .form-step, .field-error and .form-message set display, which would override [hidden]. */
#lead-form [data-bcf-step] [hidden],
#lead-form [data-bcf-step][hidden] { display: none !important; }
