/* RNS Group shared enquiry popup — responsive, compact, and synchronized across all pages. */
:root{--rns-enq-navy:#21156f;--rns-enq-blue:#00aeca;--rns-enq-gold:#ffd60a;--rns-enq-ink:#20204b;--rns-enq-muted:#60658a;--rns-enq-line:#dce4ff}

.rns-enquiry-launch{position:fixed;right:20px;bottom:82px;z-index:2200;display:inline-flex;align-items:center;gap:9px;border:1px solid rgba(255,255,255,.7);border-radius:999px;padding:13px 18px;background:linear-gradient(115deg,#f4b942,#fff3d6);color:#172554;font:800 13px/1.1 "DM Sans",Arial,sans-serif;box-shadow:0 10px 28px rgba(23, 37, 84,.24);cursor:pointer;transition:transform .22s ease,box-shadow .22s ease}
.rns-enquiry-launch i{font-size:18px}.rns-enquiry-launch:hover{transform:translateY(-3px);box-shadow:0 15px 32px rgba(23, 37, 84,.3)}

/* Overlay owns viewport; the dialog itself never gets an inner scrollbar. */
.rns-enquiry-overlay{position:fixed!important;inset:0!important;z-index:6000!important;display:none;align-items:center;justify-content:center;padding:12px!important;margin:0!important;width:100%!important;height:100vh;height:100dvh;overflow:hidden!important;background:rgba(23, 37, 84,.72);backdrop-filter:blur(5px);overscroll-behavior:contain}
.rns-enquiry-overlay.is-open{display:flex;animation:rnsEnqFade .18s ease both}
.rns-enquiry-dialog,.rns-enquiry-dialog *{box-sizing:border-box}
.rns-enquiry-dialog{display:flex!important;flex-direction:column!important;align-self:center;margin:0!important;padding:0!important;width:min(760px,calc(100vw - 24px))!important;max-width:760px!important;max-height:calc(100vh - 24px)!important;max-height:calc(100dvh - 24px)!important;min-height:0!important;overflow:hidden!important;border:0!important;border-radius:18px!important;background:#fff;color:var(--rns-enq-ink);box-shadow:0 28px 90px rgba(0,0,0,.34);position:relative;animation:rnsEnqRise .22s ease both}
/* Important reset: the site's global `section { padding:... }` must not create a blank strip. */
section.rns-enquiry-dialog{padding:0!important;margin:0!important}
.rns-enquiry-dialog>.rns-enquiry-head{display:block;position:relative;flex:0 0 auto;margin:0!important;padding:15px 26px 13px!important;min-height:0!important;color:#fff;background:linear-gradient(115deg,#172554 0%,#087f8c 62%,#087f8c 100%);overflow:hidden;border:0!important;border-radius:0!important}
.rns-enquiry-head:after{content:"";position:absolute;width:240px;height:240px;border:1px solid rgba(255,255,255,.14);border-radius:50%;right:-72px;top:-124px;box-shadow:0 0 0 34px rgba(255,255,255,.035),0 0 0 68px rgba(255,255,255,.025);pointer-events:none}
.rns-enquiry-kicker{position:relative;z-index:1;display:inline-flex;align-items:center;gap:8px;color:#fff0c6;text-transform:uppercase;font-size:9px;font-weight:900;line-height:1.25;letter-spacing:1.25px;margin:0;padding:0}
.rns-enquiry-head h2{position:relative;z-index:1;font:800 clamp(22px,2.6vw,29px)/1.14 Manrope,Arial,sans-serif;margin:5px 42px 4px 0!important;padding:0!important;color:#fff;letter-spacing:-.45px}
.rns-enquiry-head p{position:relative;z-index:1;margin:0!important;padding:0!important;color:#f8fafc;font:400 12px/1.35 "DM Sans",Arial,sans-serif;max-width:560px}
.rns-enquiry-close{position:absolute;right:13px;top:13px;z-index:3;width:34px;height:34px;border:1px solid rgba(255,255,255,.45);border-radius:9px;background:rgba(255,255,255,.1);color:#fff;font-size:19px;cursor:pointer;display:grid;place-items:center;transition:background .2s,transform .2s}
.rns-enquiry-close:hover{background:rgba(255,255,255,.24);transform:rotate(4deg)}

.rns-enquiry-form{display:block;flex:0 1 auto;min-height:0;width:100%;margin:0!important;padding:17px 26px 18px!important;overflow:visible!important;background:#fff;border:0!important}
.rns-enquiry-form input[type=hidden]{display:none!important}
.rns-enquiry-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:10px 14px;margin:0!important;padding:0!important}
.rns-enquiry-field{display:block;min-width:0;margin:0!important;padding:0!important}
.rns-enquiry-field.full{grid-column:1/-1}
.rns-enquiry-field label{display:block;margin:0 0 4px!important;padding:0!important;color:#087f8c;font:800 11px/1.25 "DM Sans",Arial,sans-serif}
.rns-enquiry-field label em{color:#f4b942;font-style:normal}
.rns-enquiry-field input,.rns-enquiry-field select,.rns-enquiry-field textarea{display:block;width:100%;min-width:0;max-width:100%;margin:0!important;border:1px solid var(--rns-enq-line);border-radius:9px;padding:9px 11px;background:#f8fafc;color:#172554;font:500 12px/1.35 "DM Sans",Arial,sans-serif;outline:none;box-shadow:none;transition:border-color .18s,box-shadow .18s,background .18s;-webkit-appearance:none;appearance:none}
.rns-enquiry-field input,.rns-enquiry-field select{height:37px;min-height:37px}
.rns-enquiry-field select{padding-right:32px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23334b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center}
.rns-enquiry-field textarea{height:58px;min-height:58px;max-height:58px;resize:none}
.rns-enquiry-field input:focus,.rns-enquiry-field select:focus,.rns-enquiry-field textarea:focus{border-color:#087f8c;background:#fff;box-shadow:0 0 0 3px rgba(8, 127, 140,.12)}
.rns-enquiry-field input::placeholder,.rns-enquiry-field textarea::placeholder{color:#61758a;opacity:1}
.rns-enquiry-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 0!important;padding:0!important;flex-wrap:nowrap}
.rns-enquiry-note{font:500 10px/1.35 "DM Sans",Arial,sans-serif;color:#087f8c;margin:0!important;padding:0!important;max-width:58%}
.rns-enquiry-submit{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:9px;margin:0!important;border:0;border-radius:10px;background:linear-gradient(120deg,#f4b942,#fff3d6);color:#243447;font:900 12px/1 "DM Sans",Arial,sans-serif;padding:13px 17px;min-height:39px;white-space:nowrap;cursor:pointer;box-shadow:0 7px 18px rgba(244, 185, 66,.22);transition:transform .2s,box-shadow .2s}
.rns-enquiry-submit:hover{transform:translateY(-2px);box-shadow:0 11px 24px rgba(244, 185, 66,.34)}.rns-enquiry-submit:disabled{opacity:.65;cursor:wait;transform:none}
.rns-enquiry-status{display:none;margin:8px 0 0!important;border-radius:8px;padding:8px 10px;font:700 11px/1.3 "DM Sans",Arial,sans-serif;overflow-wrap:anywhere}
.rns-enquiry-status.show{display:block}.rns-enquiry-status.success{background:#f3f1ef;color:#087f8c;border:1px solid #dfdad4}.rns-enquiry-status.error{background:#fff8e7;color:#f4b942;border:1px solid #fff8e7}
.rns-enquiry-honeypot{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}
html.rns-enquiry-open,body.rns-enquiry-open{overflow:hidden!important;height:100%!important;overscroll-behavior:none!important}

@keyframes rnsEnqFade{from{opacity:0}to{opacity:1}}@keyframes rnsEnqRise{from{opacity:.6;transform:translateY(10px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}

/* Tablet and mobile: single-column fields, comfortable touch targets, no clipped horizontal content. */
@media(max-width:600px){
 .rns-enquiry-launch{right:12px;bottom:80px;padding:12px 14px;font-size:12px}
 .rns-enquiry-overlay{padding:8px!important}
 .rns-enquiry-dialog{width:calc(100vw - 16px)!important;max-width:480px!important;max-height:calc(100vh - 16px)!important;max-height:calc(100dvh - 16px)!important;border-radius:15px!important}
 .rns-enquiry-dialog>.rns-enquiry-head{padding:12px 15px 11px!important}
 .rns-enquiry-kicker{font-size:8px;letter-spacing:1px}
 .rns-enquiry-head h2{font-size:21px!important;line-height:1.13;margin:4px 37px 4px 0!important;letter-spacing:-.25px}
 .rns-enquiry-head p{font-size:10.5px;line-height:1.3}
 .rns-enquiry-close{width:30px;height:30px;top:9px;right:9px;border-radius:8px;font-size:17px}
 .rns-enquiry-form{padding:12px 15px 14px!important}
 .rns-enquiry-grid{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
 .rns-enquiry-field.full{grid-column:1!important}
 .rns-enquiry-field label{font-size:11px;margin-bottom:3px!important}
 .rns-enquiry-field input,.rns-enquiry-field select{height:37px;min-height:37px;padding:8px 10px;font-size:12px}
 .rns-enquiry-field textarea{height:52px;min-height:52px;max-height:52px;padding:8px 10px;font-size:12px}
 .rns-enquiry-footer{margin-top:10px!important;gap:10px;align-items:center;flex-direction:row;flex-wrap:nowrap}
 .rns-enquiry-note{font-size:9px;max-width:52%}
 .rns-enquiry-submit{padding:12px 13px;min-height:38px;font-size:11px}
}
@media(max-width:380px){
 .rns-enquiry-dialog{width:calc(100vw - 12px)!important;max-height:calc(100dvh - 12px)!important}
 .rns-enquiry-dialog>.rns-enquiry-head{padding:10px 12px 9px!important}
 .rns-enquiry-head h2{font-size:19px!important}
 .rns-enquiry-head p{font-size:10px}
 .rns-enquiry-form{padding:10px 12px 11px!important}
 .rns-enquiry-grid{gap:6px!important}
 .rns-enquiry-field input,.rns-enquiry-field select{height:34px;min-height:34px}
 .rns-enquiry-field textarea{height:45px;min-height:45px;max-height:45px}
 .rns-enquiry-note{display:none}
 .rns-enquiry-footer{display:block}
 .rns-enquiry-submit{width:100%;min-height:36px}
}
/* Short landscape viewports need a denser but still scroll-free form. */
@media(max-height:620px) and (min-width:601px){
 .rns-enquiry-overlay{padding:6px!important}
 .rns-enquiry-dialog{max-height:calc(100dvh - 12px)!important}
 .rns-enquiry-dialog>.rns-enquiry-head{padding:9px 22px 8px!important}
 .rns-enquiry-kicker{font-size:8px}
 .rns-enquiry-head h2{font-size:21px;margin-top:3px!important;margin-bottom:3px!important}
 .rns-enquiry-head p{font-size:10px;line-height:1.2}
 .rns-enquiry-form{padding:8px 22px 9px!important}
 .rns-enquiry-grid{gap:5px 12px!important}
 .rns-enquiry-field label{font-size:10px;margin-bottom:2px!important}
 .rns-enquiry-field input,.rns-enquiry-field select{height:30px;min-height:30px;padding:5px 9px}
 .rns-enquiry-field textarea{height:38px;min-height:38px;max-height:38px;padding:5px 9px}
 .rns-enquiry-footer{margin-top:6px!important}
 .rns-enquiry-submit{min-height:33px;padding:9px 13px}
}
@media(max-height:720px) and (max-width:600px){
 .rns-enquiry-overlay{padding:5px!important}
 .rns-enquiry-dialog{max-height:calc(100dvh - 10px)!important}
 .rns-enquiry-dialog>.rns-enquiry-head{padding-top:8px!important;padding-bottom:7px!important}
 .rns-enquiry-kicker{display:none}
 .rns-enquiry-head h2{font-size:19px!important;margin-top:2px!important;margin-bottom:3px!important}
 .rns-enquiry-head p{font-size:10px;line-height:1.2}
 .rns-enquiry-form{padding-top:8px!important;padding-bottom:9px!important}
 .rns-enquiry-grid{gap:6px!important}
 .rns-enquiry-field label{font-size:10px;margin-bottom:2px!important}
 .rns-enquiry-field input,.rns-enquiry-field select{height:33px;min-height:33px;padding:6px 9px}
 .rns-enquiry-field textarea{height:43px;min-height:43px;max-height:43px;padding:6px 9px}
 .rns-enquiry-footer{margin-top:7px!important}
 .rns-enquiry-submit{min-height:35px;padding:10px 12px}
}
@media(prefers-reduced-motion:reduce){.rns-enquiry-overlay.is-open,.rns-enquiry-dialog{animation:none!important}.rns-enquiry-launch,.rns-enquiry-close,.rns-enquiry-submit{transition:none!important}}
