/* Quote / enquiry pop-up (js: openModal() in head-open.php). The AliveCRM form is loaded into #modal-form-container the first time a button opens it.
   Markup lives at the end of footer.php. Page-agnostic: every selector starts with .alv-modal. */
.alv-modal{position:fixed;inset:0;z-index:2147483000;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(71,0,0,.62);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);box-sizing:border-box}
.alv-modal.active{display:flex}
.alv-modal-box{position:relative;width:100%;max-width:720px;max-height:calc(100vh - 40px);overflow-y:auto;overscroll-behavior:contain;padding:clamp(22px,3vw,34px);border-radius:24px;background:#fff;box-shadow:0 32px 80px rgba(0,0,0,.35);box-sizing:border-box}
.alv-modal-close{position:absolute;top:12px;right:12px;z-index:2;display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:50%;background:#470000;color:#fff;font-size:17px;line-height:1;cursor:pointer;transition:background .2s ease}
.alv-modal-close:hover,.alv-modal-close:focus-visible{background:#ff0000;outline:none}
#modal-form-container{padding-top:8px}
#modal-form-container iframe{display:block;width:100%;min-height:360px;border:0}
@media(max-width:575px){.alv-modal{padding:10px}.alv-modal-box{max-height:calc(100vh - 20px);border-radius:18px;padding:20px 14px}}

/* AliveCRM form embedded in a page (contact, get a quote, home, services, hire pages): the script drops an iframe right where the tag is */
.alv-form-embed{width:100%;min-height:360px}
.alv-form-embed iframe{display:block;width:100%;border:0}

/* concise privacy notice under the enquiry forms (form-privacy-notice.php) */
.form-privacy-notice{max-width:640px;margin:16px auto 0;padding:14px 18px;border:1px solid rgba(71,0,0,.14);border-left:4px solid #ff0000;border-radius:14px;background:#fff7f7;color:#3a3a3a;font-size:14.5px;line-height:1.55;text-align:left}
.form-privacy-notice p{margin:0 0 6px;color:inherit;font-size:inherit;line-height:inherit}
.form-privacy-notice p:last-child{margin-bottom:0}
html body .form-privacy-notice .form-privacy-notice__title:not(#_){display:flex;align-items:center;gap:8px;margin-bottom:6px;color:#470000;font-weight:800}
.form-privacy-notice__title i{color:#ff0000}
.form-privacy-notice a{color:#ff0000;font-weight:700;text-decoration:underline;text-underline-offset:3px}
