.project-enquiry{padding:0;border:1px solid #dfe8f4;border-radius:24px;width:min(940px,calc(100% - 24px));max-height:90dvh;background:#fff;color:#292929;font-family:'DM Sans',sans-serif;box-shadow:0 28px 90px #15365540}.project-enquiry::backdrop{background:#10213999;backdrop-filter:blur(5px)}.pe-layout{display:grid;grid-template-columns:.85fr 1.15fr}.pe-intro{background:#f3f8ff;padding:40px 32px;border-inline-end:1px solid #e1ecfa}.pe-brand{font-size:23px;font-weight:700}.pe-brand span{color:#2387f7}.pe-intro small{display:block;margin-top:55px;letter-spacing:2px;color:#1a6dc3;font-weight:700}.pe-intro h2{font-size:34px;line-height:1.15;margin:16px 0}.pe-intro p{font-size:15px;line-height:1.7;color:#586575}.pe-intro strong{display:block;margin-top:60px}.pe-content{padding:36px 40px;position:relative}.pe-content h2{font-size:23px;margin:0 24px 8px 0}.pe-content>p{color:#586575;font-size:14px}.pe-close{position:absolute;inset-inline-end:16px;top:14px;border:0;border-radius:50%;width:32px;height:32px;font-size:24px;background:#edf2f8;cursor:pointer}.pe-content label{display:block;font-size:13px;font-weight:600;margin:16px 0 7px}.pe-content :is(input:not([type=hidden]),select,textarea){box-sizing:border-box;width:100%;padding:12px;border:1px solid #d8e1ed;border-radius:10px;background:#fff;color:#292929;font:14px 'DM Sans',sans-serif}.pe-content textarea{min-height:90px;resize:vertical}.pe-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.pe-content small{font-size:12px;color:#586575;display:block;margin-top:8px}.pe-submit{width:100%;border:0;border-radius:10px;padding:14px;background:#1a6dc3;color:#fff;font-weight:600;cursor:pointer;margin-top:18px}.pe-submit:disabled{opacity:.65;cursor:wait}.pe-privacy{font-size:11px;line-height:1.6;color:#586575}.pe-content a{color:#1a6dc3}.pe-whatsapp{display:block;border-top:1px solid #e8edf4;padding-top:16px;font-size:13px}#pe-status{font-size:13px;line-height:1.5}#pe-captcha{margin-top:16px;overflow:auto}.project-enquiry :focus-visible{outline:3px solid #2387f7;outline-offset:2px}body.dark-mode .project-enquiry{background:#222a35;color:#f7f9fc;border-color:#354153}body.dark-mode .pe-intro{background:#1b2533;border-color:#354153}body.dark-mode .project-enquiry :is(p,small){color:#c8d1dc}body.dark-mode .pe-content :is(input,select,textarea){background:#1b222c;color:#f7f9fc;border-color:#455268}body.dark-mode .pe-content a{color:#a3caff}@media(max-width:700px){.pe-layout{grid-template-columns:1fr}.pe-intro{padding:24px}.pe-intro small{margin-top:22px}.pe-intro h2{font-size:28px}.pe-intro strong,.pe-intro strong+p{display:none}.pe-content{padding:26px 24px}.pe-row{grid-template-columns:1fr;gap:0}}
/* Mobile enquiry is a full-screen form, not a scaled desktop card. */
@media(max-width:700px){
 dialog.project-enquiry{position:fixed;inset:0;margin:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;border:0;border-radius:0;overflow-y:auto;overflow-x:hidden}
 .project-enquiry .pe-layout{display:block;min-height:100%}
 .project-enquiry .pe-intro{display:none}
 .project-enquiry .pe-content{padding:24px 20px 36px;padding-bottom:max(36px,env(safe-area-inset-bottom));box-sizing:border-box}
 .project-enquiry .pe-content h2{margin:0 42px 8px 0;font-size:24px}
 .project-enquiry .pe-close{position:fixed;top:max(16px,env(safe-area-inset-top));inset-inline-end:16px;z-index:2;width:36px;height:36px;background:#e7edf5;color:#292929;box-shadow:0 2px 8px #0002}
 .project-enquiry .pe-row{display:grid;grid-template-columns:1fr;gap:0}
 .project-enquiry .pe-content :is(input:not([type=hidden]),select,textarea){font-size:16px;min-width:0}
 .project-enquiry .pe-content label{margin-top:14px}
 .project-enquiry #pe-captcha{max-width:100%;overflow-x:auto}
body.dark-mode .project-enquiry .pe-close{background:#354153;color:#f7f9fc}
}
/* Keep the desktop modal centered while its contents remain independently scrollable. */
@media(min-width:701px){
 dialog.project-enquiry[open]{position:fixed!important;inset:0!important;margin:auto!important;max-height:min(90dvh,900px);overflow-y:auto;overflow-x:hidden}
}
.project-enquiry{scrollbar-width:none}
.project-enquiry::-webkit-scrollbar{display:none}
.project-enquiry #pe-captcha{overflow:visible}
.project-enquiry .pe-required,.project-enquiry label[for="pe-message"]::after,.project-enquiry .pe-row+small::before{color:#e25353;font-weight:700}
.project-enquiry label[for="pe-message"]::after{content:' *'}
.project-enquiry .pe-row+small::before{content:'* ';}
