/* healingplacepsychiatry.com: production-only pieces on top of style.css (the approved design, unchanged).
   Hero's New Patient form frame, the contact form note, policy pages. */

/* Hero New Patient form (appointments.html#book), hp | np pattern */
.funnel { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-height: 420px; scroll-margin-top: 110px; }
.funnel-frame { display: block; width: 100%; height: 720px; border: 0; background: transparent; }
.funnel-status { position: absolute; inset: 0; display: grid; place-items: center; padding: 28px; background: var(--white); text-align: center; }
.funnel.is-ready .funnel-status { display: none; }
.funnel-loading { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); margin: 0; }
.funnel-fallback { display: none; max-width: 46ch; }
.funnel-fallback-h { font-family: var(--display); font-size: 1.35rem; color: var(--plum-800); margin: 0 0 .4em; }
.funnel.is-fallback .funnel-loading { display: none; }
.funnel.is-fallback .funnel-fallback { display: block; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--lav-200); border-top-color: var(--plum-600); animation: hp-spin .9s linear infinite; }
@keyframes hp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

.assist-how { margin: 14px 0 0; font-size: .95rem; color: var(--muted); }

/* Contact form */
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 4px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--lav-100); color: var(--plum-800); font-size: .95rem; }
.form-note[data-tone="error"] { background: #fbecec; color: #7a1f1f; }
.inq-error { margin: -2px 0 0; color: #9b1c1c; font-size: .9rem; font-weight: 500; }
.contact-form [aria-invalid="true"] { border-color: #b42318; }

/* Policy pages and 404 */
.pol { padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 84px); }
.pol-in { max-width: 760px; }
.pol h2.pol-major { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); margin: 1.6em 0 .5em; }
.pol h3 { font-size: 1.12rem; margin: 1.4em 0 .35em; color: var(--plum-800); }
.pol p { margin: 0 0 .7em; }
.pol-list { margin: 0 0 1em 1.2em; padding: 0; }
.pol-list li { margin: .25em 0; }
