/* Existing full consultation form uses the same architectural language. */
.lead-modal-panel{background:#f3efe6!important;border:1px solid rgba(168,121,44,.45)!important;border-top:0!important;box-shadow:0 30px 90px rgba(5,16,29,.36)!important}.lead-modal-panel:before{content:'PRIVATE CONSULTATION';display:block;margin-bottom:18px;color:#a8792c;font-size:9px;font-weight:850;letter-spacing:.2em}.lead-modal-panel h3{font-family:Georgia,serif!important;font-weight:400!important;color:#0b1d33!important}.lead-modal-close{right:14px!important;top:12px!important;border:1px solid rgba(11,29,51,.22)!important;border-radius:50%;background:transparent!important}.lead-modal-panel input,.lead-modal-panel select{border-radius:0!important;border-color:rgba(11,29,51,.3)!important;background:rgba(255,255,255,.55)!important}.lead-modal-panel .btn-primary{border-radius:0!important;background:#0b1d33!important;color:#fff!important}.lead-modal-backdrop{background:rgba(7,18,31,.68)!important;backdrop-filter:blur(5px)!important}
/* Shared home-planning enquiry: centred, responsive and keyboard accessible. */
.scroll-lead-backdrop{position:fixed;inset:0;z-index:1300;background:rgba(15,28,28,.68);backdrop-filter:blur(5px)}
.scroll-lead[hidden],.scroll-lead-backdrop[hidden]{display:none!important}
.scroll-lead,.scroll-lead *{box-sizing:border-box}
.scroll-lead{animation:none!important;position:fixed;z-index:1301;top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;padding:34px 38px 28px;border:1px solid #d6c8af;border-top:4px solid #b28b4d;border-radius:18px;background:#f8f6f0;color:#1c2a2b;box-shadow:0 28px 100px #07151555}
.scroll-lead__close{position:absolute;right:16px;top:14px;width:44px;height:44px;border:1px solid #d3cec2;border-radius:50%;background:#fff;color:#1c2a2b;font-size:26px;cursor:pointer}
.scroll-lead__index{margin:0 52px 18px 0;font-size:10px;font-weight:700;letter-spacing:.16em;color:#76533c}
.scroll-lead h2{margin:0;padding-right:24px;font:400 34px/1.25 Georgia,serif;letter-spacing:0;color:#1c2a2b}
.scroll-lead>p{margin:14px 0 24px;font-size:14px;line-height:1.7;color:#58615c}
.scroll-lead form{display:grid;gap:16px}.scroll-lead__field{display:grid;gap:7px;min-width:0}
.scroll-lead label{font-size:13px;font-weight:600;line-height:1.5;letter-spacing:0;text-transform:none;color:#1c2a2b}
.scroll-lead input:not([type=checkbox]){width:100%;height:50px;border:1px solid #cfc9bc;border-radius:8px;background:#fff;padding:10px 13px;font:400 16px/1.5 var(--tm-sans);color:#1c2a2b;min-width:0}
.scroll-lead__phone{display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;border:1px solid #cfc9bc;border-radius:8px;background:#fff;overflow:hidden}
.scroll-lead__phone>span{text-align:center;font-size:14px;color:#76533c;border-right:1px solid #e3ddd2}.scroll-lead__phone input:not([type=checkbox]){border:0;border-radius:0}
.scroll-lead input:focus-visible{outline:2px solid #b28b4d;outline-offset:2px}.scroll-lead__phone:focus-within{outline:2px solid #b28b4d;outline-offset:2px}.scroll-lead__phone input:focus-visible{outline:none}
.scroll-lead .scroll-lead__consent{display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px;align-items:start;font-size:12px;font-weight:400;line-height:1.7;margin-top:2px}
.scroll-lead__consent input[type=checkbox]{appearance:auto;width:18px;height:18px;margin:3px 0 0;accent-color:#76533c;padding:0;flex-shrink:0}
.scroll-lead__error{margin:0;color:#a02e27;font-size:12px;line-height:1.5}.scroll-lead__error:empty{display:none}
.scroll-lead form button[type=submit]{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;width:100%;padding:14px 18px;border:0;border-radius:8px;background:#1c2a2b;color:#f8f6f0;font-size:13px;font-weight:600;cursor:pointer}.scroll-lead form button:disabled{opacity:.6;cursor:wait}
.scroll-lead button:focus-visible,.scroll-lead a:focus-visible{outline:3px solid #b28b4d;outline-offset:3px}.scroll-lead>small{display:block;margin-top:17px;font-size:11px;line-height:1.6;color:#65716a}
body.scroll-lead-open{overflow:hidden}
html[lang=ta] .scroll-lead h2{font:600 25px/1.6 var(--tm-tamil)}html[lang=ta] .scroll-lead label,html[lang=ta] .scroll-lead button{letter-spacing:0;line-height:1.7}

/* Explicit language visibility also covers forms injected after navigation initialization. */
html:not([lang=ta]) #scrollLead [data-nav-ta],html[lang=ta] #scrollLead [data-nav-en],
html:not([lang=ta]) .mobile-premium-actions [data-nav-ta],html[lang=ta] .mobile-premium-actions [data-nav-en]{display:none!important}
html[lang=ta] #scrollLead [data-nav-ta],html:not([lang=ta]) #scrollLead [data-nav-en],html[lang=ta] .mobile-premium-actions [data-nav-ta],html:not([lang=ta]) .mobile-premium-actions [data-nav-en]{display:inline!important}
body.scroll-lead-open .mobile-premium-actions,body.scroll-lead-open #headerAI,body.scroll-lead-open #mobileAI,body.scroll-lead-open .site-ai-button{display:none!important}
.mobile-premium-actions{display:none}
@media(max-width:960px){
 body{padding-bottom:calc(70px + env(safe-area-inset-bottom,0px))}
 .mobile-premium-actions{position:fixed!important;inset:auto 0 0!important;z-index:300!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;width:100%!important;margin:0!important;padding:0 0 env(safe-area-inset-bottom,0px)!important;background:#f8f6f0;border-top:1px solid #d1c8b7;box-shadow:0 -5px 20px #1c2a2b15;box-sizing:border-box}
 .mobile-premium-actions>a,.mobile-premium-actions>button{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:68px;padding:8px 5px;border:0;border-radius:0;text-decoration:none!important;background:#f8f6f0;color:#1c2a2b;font:600 11px/1.5 var(--tm-sans);cursor:pointer}
 .mobile-premium-actions>button{background:#b28b4d;color:#fff}.mobile-premium-actions>a:last-child{background:#168653;color:#fff}
 .mobile-premium-actions svg{width:20px;height:20px;fill:currentColor}
 .mobile-premium-actions :focus-visible{outline:3px solid #1c2a2b;outline-offset:-4px}
 #scrollLead.scroll-lead{top:var(--lead-viewport-top,0px)!important;left:0!important;right:0!important;bottom:auto!important;width:100%!important;max-width:100%!important;height:var(--lead-viewport-height,100dvh)!important;max-height:var(--lead-viewport-height,100dvh)!important;transform:none!important;animation:none!important;border-radius:0!important;padding:24px 22px calc(28px + env(safe-area-inset-bottom,0px));display:block;overflow-y:auto;overflow-x:hidden;touch-action:pan-y;-webkit-overflow-scrolling:touch}
 .scroll-lead__close{position:sticky;top:0;float:right;margin:-8px -6px 8px 12px;z-index:2;background:#f8f6f0}
 .scroll-lead__index{padding-top:10px;margin-bottom:24px}.scroll-lead h2{clear:both;font-size:29px;padding:0}.scroll-lead>p{margin:12px 0 20px;font-size:14px}.scroll-lead form{gap:16px}html[lang=ta] .scroll-lead h2{font-size:24px}
}
