/* TSBC contact: native Wix Form inside a compact, accessible modal.
   This file controls presentation only; validated submission remains in contact-popup.js. */
body.tsbc-modal-open{overflow:hidden}
.tsbc-contact-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(680px,calc(100vw - 34px));max-width:none;max-height:min(92dvh,860px);padding:0;border:1px solid #d7deda;border-radius:14px;background:#fff;color:#102c43;box-shadow:0 27px 100px #071d2c3d;overflow:hidden}
.tsbc-contact-dialog::backdrop{background:#091f31aa;backdrop-filter:blur(3px)}
.tsbc-dialog-shell{display:block;max-height:inherit}
.tsbc-dialog-content{position:relative;padding:29px 34px 26px;max-height:min(92dvh,860px);box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain}
.tsbc-dialog-close{position:absolute;top:18px;right:21px;width:39px;height:39px;border:1px solid #ccd6d5;border-radius:50%;background:#fff;color:#17384f;font-size:25px;line-height:30px;cursor:pointer;z-index:1}
.tsbc-dialog-close:hover{background:#eef2f0}
.tsbc-dialog-kicker{font-size:12px;letter-spacing:.1em;font-weight:750;color:#8a663f;margin:0 0 8px}
.tsbc-dialog-form-head h2{font-size:clamp(28px,3.4vw,36px);line-height:1.15;letter-spacing:-.035em;font-weight:750;margin:0 45px 7px 0;color:#102c43}
.tsbc-dialog-form-head h2:focus{outline:none}
.tsbc-dialog-subtitle{font-size:15.5px;color:#4e6370;line-height:1.45;margin:0 0 21px}
.tsbc-dialog-loading{margin:22px 0;color:#526b76}
.tsbc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px;row-gap:11px}
.tsbc-field{min-width:0;display:flex;flex-direction:column;gap:5px}
.tsbc-field:nth-child(3),.tsbc-field:nth-child(6),.tsbc-field:nth-child(7){grid-column:1 / -1}
.tsbc-field label{font-size:13px;font-weight:680;color:#284352;line-height:1.3}
.tsbc-required{color:#a07841}
.tsbc-field input:not([type=checkbox]),.tsbc-field select,.tsbc-field textarea{box-sizing:border-box;width:100%;min-height:41px;padding:9px 11px;border:1px solid #cdd8d8;border-radius:6px;background:#f9fbfa;color:#17344b;font:inherit;font-size:15px;line-height:1.4;transition:border-color .15s,background .15s}
.tsbc-field textarea{min-height:84px;resize:vertical}
.tsbc-field input:focus,.tsbc-field select:focus,.tsbc-field textarea:focus{border-color:#917044;background:#fff;outline:2px solid #c9af86;outline-offset:1px}
.tsbc-field input[aria-invalid=true],.tsbc-field select[aria-invalid=true],.tsbc-field textarea[aria-invalid=true]{border-color:#aa4545}
.tsbc-field-error{font-size:12px;color:#a43232;margin:0}
.tsbc-field-error:empty{display:none}
.tsbc-form-notice{font-size:12px;line-height:1.5;color:#60737d;margin:13px 0 10px}
.tsbc-form-error{font-size:13px;line-height:1.5;color:#aa3232;margin:10px 0}
.tsbc-form-error:empty{display:none}
.tsbc-form-submit{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:47px;padding:11px 17px;border:0;border-radius:5px;background:#102c43;color:#fff;font-size:16px;font-weight:750;cursor:pointer;transition:background .15s}
.tsbc-form-submit:hover:not(:disabled){background:#284e65}
.tsbc-form-submit:disabled{opacity:.65;cursor:wait}
.tsbc-form-hint{margin:10px 0 0;color:#657883;font-size:12px;line-height:1.4}
.tsbc-form-success{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:260px;outline:none}
.tsbc-form-success h3{font-size:31px;line-height:1.2;margin:15px 0 5px;color:#102c43}
.tsbc-form-success p{font-size:16px;line-height:1.55;color:#455d6b}
.tsbc-success-check{display:grid;place-items:center;background:#dff0e4;color:#235e38;border-radius:50%;width:43px;height:43px;font-size:24px}
.tsbc-success-close{margin-top:14px;padding:11px 23px;background:#102c43;color:#fff;font:inherit;border:0;border-radius:5px;cursor:pointer}
:where(.tsbc-contact-dialog button):focus-visible{outline:3px solid #bd945c;outline-offset:3px}
@media(max-width:700px){
 .tsbc-contact-dialog{width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0}
 .tsbc-dialog-content{max-height:100dvh;min-height:100dvh;padding:27px 21px 35px}
 .tsbc-dialog-close{top:17px;right:18px}
 .tsbc-dialog-form-head h2{font-size:30px}
 .tsbc-dialog-subtitle{font-size:15px}
 .tsbc-form-grid{grid-template-columns:minmax(0,1fr);row-gap:13px}
 .tsbc-field:nth-child(n){grid-column:auto}
}
@media(max-width:370px){.tsbc-dialog-content{padding-inline:17px}.tsbc-dialog-form-head h2{font-size:27px}}
@media(prefers-reduced-motion:reduce){.tsbc-field input,.tsbc-field select,.tsbc-field textarea,.tsbc-form-submit{transition:none}}
@media(max-width:700px){
 /* Keep the submit action discoverable while the seven Wix-supplied fields scroll. */
 .tsbc-form-submit{position:sticky;bottom:0;z-index:3;box-shadow:0 -8px 18px rgba(255,255,255,.9)}
 .tsbc-form-hint{padding-bottom:20px}
}



/* TSBC evolved confirmation: same live Wix form, no extra CTA, personal editorial signoff */
.tsbc-contact-dialog.tsbc-dialog-is-complete {
  box-sizing: border-box;
  width: min(540px, calc(100vw - 28px));
  height: fit-content !important;
  min-height: 0 !important;
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 0;
  border: 1px solid #dbe2df;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  color: #102c43;
  box-shadow: 0 22px 76px rgb(14 38 52 / 19%);
}
.tsbc-dialog-is-complete .tsbc-dialog-shell { height: auto; min-height: 0; max-height: none; }
.tsbc-dialog-is-complete .tsbc-dialog-content {
  position: relative;
  box-sizing: border-box;
  height: auto !important;
  min-height: 0 !important;
  max-height: calc(100dvh - 28px);
  overflow-y: auto;
  padding: 0 !important;
}
.tsbc-dialog-is-complete .tsbc-dialog-form-head { display: none; }
.tsbc-dialog-is-complete .tsbc-form-success {
  display: block;
  min-height: 0 !important;
  margin: 0;
  padding: 0;
  outline: none;
}
.tsbc-confirmation-body { padding: 43px 45px 33px; }
.tsbc-dialog-is-complete .tsbc-confirmation-kicker {
  color: #8b603c;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: .085em;
  font-weight: 760;
  margin: 0 50px 22px 0;
}
.tsbc-dialog-is-complete .tsbc-confirmation-title {
  max-width: 100%;
  font-weight: 745;
  color: #102c43;
  font-size: clamp(33px, 3.25vw, 41px);
  letter-spacing: -.037em;
  line-height: 1.13;
  margin: 0 24px 22px 0;
}
.tsbc-dialog-is-complete .tsbc-confirmation-message {
  color: #425b67;
  font-size: clamp(17px, 1.45vw, 19px);
  line-height: 1.6;
  max-width: 39ch;
  margin: 0;
}
.tsbc-confirmation-signoff {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
  border-top: 1px solid #dce2df;
  background: #f5f6f4;
  padding: 21px 45px 25px;
}
.tsbc-confirmation-signoff img {
  display: block;
  grid-row: 1 / span 2;
  grid-column: 1;
  width: 68px;
  height: 68px;
  object-fit: cover;
  object-position: 50% 23%;
  border-radius: 50%;
  background: #e7e9e7;
}
.tsbc-confirmation-person {grid-column:2; grid-row:1; align-self:end;}
.tsbc-confirmation-name { display: block; font-size: 20px; font-weight: 755; line-height: 1.2; color: #102c43; }
.tsbc-confirmation-role { display: block; font-size: 14px; line-height: 1.5; color: #5b6f79; margin-top: 3px; }
.tsbc-confirmation-company {
  display: block;
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  font-size: 14px;
  font-weight: 525;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: #3d5360;
  white-space: nowrap;
  margin-top: 3px;
}
.tsbc-dialog-is-complete .tsbc-dialog-close {
  position: absolute;
  top: 19px;
  right: 20px;
  width: 39px;
  height: 39px;
  border: 1px solid #cbd5d5;
  border-radius: 50%;
  background: #fff;
  color: #193a50;
  font-size: 24px;
  line-height: 1;
  z-index: 2;
  cursor: pointer;
}
.tsbc-dialog-is-complete .tsbc-dialog-close:hover {background: #edf2f1;}
.tsbc-dialog-is-complete .tsbc-dialog-close:focus-visible {outline: 3px solid #b68450; outline-offset: 3px;}
@media(max-width:700px) {
 .tsbc-contact-dialog.tsbc-dialog-is-complete {width:calc(100vw - 28px);height:fit-content!important;max-height:calc(100dvh - 26px);border-radius:14px;border:1px solid #dbe2df}
 .tsbc-dialog-is-complete .tsbc-dialog-content {padding:0!important;min-height:0!important;max-height:calc(100dvh - 26px)}
 .tsbc-confirmation-body {padding:37px 29px 31px}
 .tsbc-dialog-is-complete .tsbc-confirmation-title {font-size:clamp(30px,8.3vw,36px);margin-bottom:19px}
 .tsbc-dialog-is-complete .tsbc-confirmation-message {font-size:17px;line-height:1.59}
 .tsbc-confirmation-signoff {padding:21px 29px 23px;grid-template-columns:66px minmax(0,1fr);gap:0 14px}
 .tsbc-confirmation-signoff img {width:66px;height:66px}
}
@media(max-width:360px) {
 .tsbc-confirmation-body {padding:33px 23px 27px}
 .tsbc-dialog-is-complete .tsbc-confirmation-title {font-size:30px}
 .tsbc-confirmation-signoff {padding:20px 23px 23px;grid-template-columns:60px minmax(0,1fr);gap:0 13px}
 .tsbc-confirmation-signoff img {width:60px;height:60px;grid-row:1;}
 .tsbc-confirmation-person {align-self:center;grid-row:1}
 .tsbc-confirmation-company {grid-column:1 / -1;grid-row:2;margin-top:12px;font-size:14px;white-space:normal}
}
@media(prefers-reduced-motion:reduce){.tsbc-dialog-is-complete{scroll-behavior:auto}}