/* Review-only contact styling, matched to the Freemium Quotes form. */
.by5-contact-shell{flex:1;display:grid;place-items:center;padding:64px 32px}
.by5-contact-shell .bs-contact[hidden]{display:none!important}
.by5-contact-shell .bs-contact{width:100%;margin:0;padding:0;background:transparent;color:var(--by5-text-dark);font:400 16px/1.7 Inter,Arial,sans-serif;scroll-margin-top:170px}
.by5-contact-shell .bs-contact-inner{box-sizing:border-box;width:min(900px,100%);margin-inline:auto;padding:54px 58px 42px;border-radius:24px;background:#fff;box-shadow:0 10px 35px #17232112}
.by5-contact-shell .bs-contact-heading{margin:0 0 38px}
.by5-contact-shell .bs-contact-eyebrow{margin:0 0 10px;color:var(--by5-teal);font-size:12px;font-weight:700;line-height:1.5;letter-spacing:.12em;text-transform:uppercase}
.by5-contact-shell #bs-contact-title{font-size:22px;font-weight:800;line-height:1.13;letter-spacing:-.045em;margin:0;color:var(--by5-teal-dark);overflow-wrap:anywhere}
.by5-contact-shell #bs-contact-title:focus{outline:none}
.by5-contact-shell #bs-contact-form{margin:0}
.by5-contact-shell .bs-contact-field{display:block;min-width:0;margin:0 0 20px;font-size:16px;font-weight:700;line-height:1.4}
.by5-contact-shell .bs-contact-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:32px;row-gap:20px;margin:0 0 20px}
.by5-contact-shell .bs-contact-grid .bs-contact-field{margin:0}
.by5-contact-shell :is(input:not([type="checkbox"]),select,textarea){box-sizing:border-box;display:block;width:100%;min-width:0;height:58px;margin-top:9px;padding:0 17px;border:1px solid var(--by5-border);border-radius:12px;background:var(--by5-bg-soft);color:var(--by5-text-dark);font:400 18px/1.3 Inter,Arial,sans-serif;outline-offset:3px}
.by5-contact-shell .bs-contact-grid input{width:80%}
.by5-contact-shell select{cursor:pointer;padding-right:38px}
.by5-contact-shell option{background:var(--by5-bg-soft);color:var(--by5-text-dark)}
.by5-contact-shell textarea{height:auto;min-height:140px;padding:14px 17px;line-height:1.5;resize:vertical}
.by5-contact-shell :is(input,textarea)::placeholder{color:var(--by5-text-muted);opacity:1}
.by5-contact-shell :is(input,select,textarea):focus-visible{outline:3px solid var(--by5-teal);outline-offset:3px}
.by5-contact-shell .bs-contact-privacy{display:flex;align-items:flex-start;gap:12px;margin:0 0 20px;color:var(--by5-text-muted);font-size:13px;font-weight:400;line-height:1.65}
.by5-contact-shell input[type="checkbox"]{width:18px;height:18px;flex:0 0 18px;margin:2px 0 0;accent-color:var(--by5-teal)}
.by5-contact-shell a{color:var(--by5-teal);text-underline-offset:4px}
.by5-contact-shell .bs-contact-local-note{margin:0 0 20px;color:var(--by5-text-muted);font-size:14px;line-height:1.65}
.by5-contact-shell .bs-contact-submit{display:flex;align-items:center;justify-content:center;width:160px;max-width:100%;height:50px;margin:0 auto;padding:12px 8px;border:2px solid var(--by5-teal);border-radius:5px;background:var(--by5-teal);color:#000;font:750 14px/1.1 Inter,Arial,sans-serif;cursor:pointer;transition:background-color 160ms ease,color 160ms ease,border-color 160ms ease;appearance:none}
.by5-contact-shell .bs-contact-submit:not(:disabled):hover,.by5-contact-shell .bs-contact-submit:focus-visible{background:var(--by5-mint);color:var(--by5-teal);border-color:var(--by5-mint)}
.by5-contact-shell .bs-contact-submit:focus-visible{outline:3px solid var(--by5-text-dark);outline-offset:4px}
.by5-contact-shell .bs-contact-submit:disabled{opacity:.5;cursor:default}
.by5-contact-shell .bs-contact-feedback{font-size:14px;line-height:1.55;margin:18px 0 0;color:var(--by5-text-dark)}
.by5-contact-shell .bs-contact-feedback:empty{display:none}
.by5-contact-shell .bs-contact-tagline{font-size:16px;font-weight:700;line-height:1.6;color:var(--by5-teal);margin:28px 0 0;text-align:center}
@media(max-width:650px){.by5-contact-shell{padding:28px 16px}.by5-contact-shell .bs-contact-inner{padding:30px 24px;border-radius:20px}.by5-contact-shell .bs-contact-heading{margin-bottom:28px}.by5-contact-shell .bs-contact-grid{grid-template-columns:minmax(0,1fr);gap:18px}.by5-contact-shell .bs-contact-grid input{width:100%}.by5-contact-shell :is(input:not([type="checkbox"]),select,textarea){font-size:16px}.by5-contact-shell .bs-contact-privacy{font-size:13px}}
@media(min-width:800px) and (max-width:899px){.by5-contact-shell .bs-contact-submit{width:140px}}
@media(max-width:950px){.by5-contact-shell .bs-contact{scroll-margin-top:136px}}
@media(prefers-reduced-motion:reduce){.by5-contact-shell .bs-contact-submit{transition:none}}
/* Integration with Homepage B's shared contact styles. */
.by5-contact-shell .bs-contact-inner{max-width:900px}
.by5-contact-shell .bs-contact-submit{min-width:0;min-height:50px}
#contact.bs-contact-updated-page{scroll-margin-top:170px}
@media(max-width:950px){#contact.bs-contact-updated-page{scroll-margin-top:136px}}

/* Shared page heading outside the white enquiry form; one standard heading/form gap. */
#contact>.bs-contact-page-heading{box-sizing:border-box;width:calc(100% - 64px);max-width:900px;margin-inline:auto;padding-top:52px}
#contact>.by5-contact-shell{padding-top:0}
@media(max-width:1199px){#contact>.bs-contact-page-heading{padding-top:34px}}
@media(max-width:650px){#contact>.bs-contact-page-heading{width:calc(100% - 32px);padding-top:28px}}
