/* Epione Appointment Popup – matches the staging design */
html.ehv-appt-lock { overflow: hidden; }
.ehv-appt[hidden] { display: none; }
.ehv-appt { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity .25s; }
.ehv-appt.is-open { opacity: 1; }
.ehv-appt__backdrop { position: absolute; inset: 0; background: rgba(0, 29, 84, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.ehv-appt__panel { position: relative; box-sizing: border-box; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 20px; padding: 40px 36px 32px; box-shadow: 0 30px 80px rgba(0, 20, 60, .25); font-family: "Open Sans", Arial, sans-serif; color: #20241f; text-align: left; transform: translateY(12px); transition: transform .25s; }
.ehv-appt.is-open .ehv-appt__panel { transform: none; }
.ehv-appt__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 999px; background: #f8f5ee; color: #001d54; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ehv-appt__close:hover, .ehv-appt__close:focus-visible { background: #efeae0; }
.ehv-appt__eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #17aa60; }
.ehv-appt__title { margin: 0 0 10px; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 32px; line-height: 1.15; color: #20241f; text-transform: none; letter-spacing: normal; }
.ehv-appt__title em { font-style: italic; color: #17aa60; }
.ehv-appt__lead { margin: 0 0 24px; font-size: 15px; line-height: 1.6; color: #585c61; }
#request-appointment .ehv-appt-fields p { margin: 0 0 16px; }
#request-appointment .ehv-appt-fields label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: #001d54; }
#request-appointment .wpcf7-form-control-wrap { display: block; }
#request-appointment input.wpcf7-text, #request-appointment input.wpcf7-tel, #request-appointment input.wpcf7-email, #request-appointment select.wpcf7-select { box-sizing: border-box; width: 100%; height: 50px; margin: 0; padding: 0 16px; border: 1px solid rgba(0, 20, 60, .18); border-radius: 12px; background: #fff; font-family: inherit; font-size: 15px; color: #20241f; box-shadow: none; }
#request-appointment select.wpcf7-select { -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23001d54' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center; }
#request-appointment input.wpcf7-text:focus, #request-appointment input.wpcf7-tel:focus, #request-appointment input.wpcf7-email:focus, #request-appointment select.wpcf7-select:focus { outline: none; border-color: #17aa60; box-shadow: 0 0 0 3px rgba(23, 170, 96, .18); }
#request-appointment .ehv-appt-submit { margin: 24px 0 0; }
#request-appointment input.wpcf7-submit { box-sizing: border-box; width: 100%; padding: 0 16px; line-height: 1; letter-spacing: normal; box-shadow: none; height: 52px; margin: 0; border: 0; border-radius: 999px; background: #001d54; color: #fff; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s; text-transform: none; }
#request-appointment input.wpcf7-submit:hover, #request-appointment input.wpcf7-submit:focus-visible { background: #003087; }
#request-appointment .wpcf7-spinner { display: block; margin: 12px auto 0; }
#request-appointment .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; color: #b42318; }
#request-appointment .wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
#request-appointment .wpcf7 form.sent .wpcf7-response-output { border-color: #17aa60; background: #e8f3ec; color: #1a5e3c; }
@media (max-width: 480px) {
  .ehv-appt__panel { padding: 32px 22px 24px; border-radius: 16px; }
  .ehv-appt__title { font-size: 27px; }
}
