.lead-capture-form .specific-service-field,.lead-capture-form .custom-service-field{margin-top:14px}
.lead-capture-form .specific-service-field>label,.lead-capture-form .custom-service-field>label{display:block;margin-bottom:7px;font-size:12px;color:#315175}
.lead-capture-form .specific-service-field select{display:block;width:100%;min-height:44px;padding:10px 12px;border:1px solid #bdd3f0;border-radius:8px;background:#f1f6ff;color:#17385e;font:inherit;font-size:13px}
.specific-service-selections{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:10px 0 0;padding:0}
.specific-service-selections:empty{display:none}
.specific-service-selections li{display:flex;align-items:center;gap:8px;max-width:100%;padding:5px 8px 5px 10px;background:#e4eeff;border:1px solid #bcd2f6;border-radius:6px;color:#164687;font-size:12px}
.specific-service-selections li>span{overflow-wrap:anywhere;min-width:0}
.specific-service-selections button{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border:0;background:transparent;color:#164687;font-size:22px;cursor:pointer}
.specific-service-selections button:focus-visible,.specific-service-field select:focus-visible{outline:2px solid #2563eb;outline-offset:2px}

/* Short steps keep the enquiry usable without an inner scroll container. */
#home{overflow:clip}
#home .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}
#home .hero-left{position:sticky;top:115px;align-self:start;min-width:0}
#home .hero-right{min-width:0;min-height:0}
#home .deco-card1,#home .deco-card2{position:absolute;pointer-events:none}
#home .deco-card1{top:55px;right:-48px;width:110px;height:100px;padding:12px;opacity:.35}
#home .deco-card2{top:300px;left:auto;right:-84px;width:76px;padding:8px;z-index:1}
#home .deco-card2 .deco-label{font-size:9px}
#home .hero-form{position:relative;inset:auto;transform:none;width:min(100%,440px);max-width:100%;margin-left:auto;display:flex;flex-direction:column;max-height:none;overflow:visible;scroll-margin-top:112px}
#home .hero-form>h3,#home .hero-form>p{flex-shrink:0}
#heroQuickForm{min-height:0;overflow:visible;padding:3px 0 0}
#heroQuickForm .hf-field,#heroQuickForm .f-row{min-width:0}
#heroQuickForm input,#heroQuickForm select,#heroQuickForm textarea{max-width:100%;min-width:0}
#heroQuickForm input:not([type=hidden]),#heroQuickForm select,#heroQuickForm .service-choice{min-height:44px}
#heroQuickForm input::placeholder,#heroQuickForm textarea::placeholder{color:#5b7394;opacity:1}
@media(max-width:1100px){#home .hero-grid{grid-template-columns:minmax(0,1fr);gap:24px}#home .hero-left{position:static}#home .hero-right{margin-top:0}#home .hero-form{width:min(100%,680px);margin-inline:auto}#home .deco-card1,#home .deco-card2{display:none}}
@media(max-height:750px){#home .hero-left{position:static}}
@media(max-width:600px){#home .hero-form{padding:18px;scroll-margin-top:104px}#heroQuickForm .hf-field input,#heroQuickForm .hf-field select,#heroQuickForm .hf-field textarea{font-size:16px}}
@media(max-height:450px){#home .hero-form{padding:12px 16px}#home .hero-form>p{margin-bottom:6px}}
.hero-form-progress{display:flex;gap:20px;margin:4px 0 14px;border-bottom:1px solid #d9e6f8;font-size:11px;color:#526b8a}
.hero-form-progress>span{padding:8px 0;border-bottom:2px solid transparent}
.hero-form-progress>[aria-current=step]{border-bottom-color:#2563eb;color:#164687;font-weight:700}
#heroQuickForm [hidden]{display:none!important}
.hero-form-actions{display:flex;align-items:center;gap:12px;margin-top:12px}
#heroQuickForm .hero-form-actions>.btn{flex:1;width:auto!important;margin:0!important}
.hero-form-back{min-height:44px;padding:8px 12px;border:1px solid #bdd3f0;border-radius:6px;background:#f1f6ff;color:#315175;cursor:pointer;font:inherit;font-size:13px}
#heroQuickForm .f-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#heroQuickForm .service-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.hero-form-back:focus-visible{outline:2px solid #2563eb;outline-offset:3px}
.enquiry-contact-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
.enquiry-contact-panel>.f-row{display:contents}
.enquiry-contact-panel>.hf-field,.enquiry-contact-panel>.f-group{order:1;min-width:0}
.enquiry-contact-panel>.f-row:nth-child(3)>.hf-field,.enquiry-contact-panel>.f-row:nth-child(3)>.f-group{order:2;min-width:0}
#heroQuickForm .hero-form-progress{gap:18px;margin-bottom:8px}
#heroQuickForm .specific-service-field,#heroQuickForm .custom-service-field{margin-top:8px}
@media(max-width:600px){#home .hero-form{padding:16px}#heroQuickForm .service-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}#heroQuickForm .service-choice{font-size:11px;padding:6px;min-width:0}#home .hero-form>p{margin-bottom:6px}}

#contact .contact-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:36px}
#contact .contact-left{position:sticky;top:115px;align-self:start;min-width:0}
#contact .form-wrap{width:100%;max-width:680px;min-width:0;justify-self:end;padding:26px}
#leadForm{min-width:0;overflow:visible}
#leadForm [hidden]{display:none!important}
#leadForm .f-group{margin-bottom:12px}
#leadForm input,#leadForm select,#leadForm textarea{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
#leadForm .service-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#leadForm .hero-form-actions>.btn{flex:1;width:auto!important;margin:0!important}
#leadForm .hero-form-progress{margin-bottom:16px}
@media(max-width:1100px){#contact .contact-grid{grid-template-columns:minmax(0,1fr);gap:28px}#contact .contact-left{position:static}#contact .form-wrap{justify-self:center}}
@media(max-height:650px){#contact .contact-left{position:static}}
@media(max-width:600px){#contact .form-wrap{padding:18px}#leadForm .service-choice{font-size:12px;padding:8px;min-width:0}#leadForm .f-group input,#leadForm .f-group select,#leadForm .f-group textarea{font-size:16px}}
