/* OptiTech quote / trial form v1.0.0 — scoped under .otqf-host */
.otqf-host{--ot-red:#AA1641;--ot-red-dark:#7d0f30;--ot-ink:#20262B;--ot-muted:#5A606A;--ot-line:#D8DDE0;--ot-soft:#E3E5E8;--ot-ok:#2F7D5B;
  font-family:Montserrat,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--ot-ink);font-size:14px;line-height:1.5;text-align:left}
.otqf-host *,.otqf-host *::before,.otqf-host *::after{box-sizing:border-box}
.otqf{background:#fff;border:1px solid var(--ot-soft);border-top:4px solid var(--ot-red);border-radius:8px;padding:32px 36px;display:flex;flex-direction:column;gap:20px;margin:0}
.otqf-head{display:flex;flex-direction:column;gap:6px}
.otqf-title{margin:0;font-size:24px;font-weight:700;line-height:1.25;color:var(--ot-ink);text-transform:none;letter-spacing:0}
.otqf-sub{margin:0;font-size:14px;color:var(--ot-muted)}
.otqf fieldset{border:0;margin:0;padding:0;min-width:0}
.otqf-want legend{font-size:13px;font-weight:600;margin:0 0 8px;padding:0;color:var(--ot-ink);text-transform:none;letter-spacing:0;border:0;width:auto}
.otqf-seg{display:flex;gap:8px;flex-wrap:wrap}
.otqf-segbtn{position:relative;margin:0;cursor:pointer}
.otqf-segbtn input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.otqf-segbtn span{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:1px solid var(--ot-line);border-radius:4px;background:#fff;color:var(--ot-ink);font-size:14px;font-weight:500}
.otqf-segbtn input:checked+span{background:var(--ot-ink);border-color:var(--ot-ink);color:#fff}
.otqf-segbtn input:focus-visible+span{outline:2px solid var(--ot-ink);outline-offset:2px}
.otqf-section{font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--ot-muted);border-bottom:1px solid var(--ot-soft);padding-bottom:6px}
.otqf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.otqf-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.otqf-wide{grid-column:1/-1}
.otqf-field label{font-size:13px;font-weight:500;color:var(--ot-ink);margin:0;text-transform:none;letter-spacing:0}
.otqf-req{color:var(--ot-red)}
.otqf-opt{font-weight:400;color:var(--ot-muted)}
.otqf input[type=text],.otqf input[type=email],.otqf input[type=tel],.otqf input[type=number],.otqf select,.otqf textarea{
  width:100%;height:40px;margin:0;border:1px solid var(--ot-line);border-radius:4px;padding:0 12px;background:#fff;color:var(--ot-ink);
  font:inherit;font-size:14px;box-shadow:none;max-width:none}
.otqf select{padding:0 8px;appearance:auto}
.otqf textarea{height:auto;min-height:84px;padding:10px 12px;resize:vertical}
.otqf input::placeholder,.otqf textarea::placeholder{color:#8A9099}
.otqf input:focus,.otqf select:focus,.otqf textarea:focus{outline:2px solid var(--ot-ink);outline-offset:0;border-color:var(--ot-ink)}
.otqf-msg{margin:0;font-size:13px;line-height:1.45;font-weight:400;color:var(--ot-red)}
.otqf-msg:empty{display:none}
.otqf-msg a,.otqf-alert a,.otqf-note a{color:var(--ot-red);text-decoration:underline}
.otqf .otqf-has-error input,.otqf .otqf-has-error select,.otqf .otqf-has-error textarea{border-color:var(--ot-red);background:#FFF6F8}
.otqf-has-ok .otqf-msg{color:var(--ot-ok)}
.otqf-check{display:flex;gap:10px;align-items:flex-start;font-size:13px;font-weight:400;text-transform:none;letter-spacing:0;color:var(--ot-muted);line-height:1.45;margin:0;cursor:pointer}
.otqf-check span{font-weight:400}
.otqf-check input{margin:2px 0 0;width:16px;height:16px;flex:none}
.otqf-hp{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
.otqf-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.otqf-ts{min-height:65px;display:flex;flex-direction:column;gap:4px;flex:1 1 300px;min-width:0;max-width:420px}
.otqf-ts-box{width:100%}
.otqf-ts-off{min-height:0}
.otqf-submit{min-height:44px;padding:0 28px;border:0;border-radius:4px;background:var(--ot-red);color:#fff;font:inherit;font-size:15px;font-weight:600;cursor:pointer;margin:0;text-transform:none;letter-spacing:0;line-height:44px}
.otqf-submit:hover{background:var(--ot-red-dark)}
.otqf-submit:focus-visible{outline:2px solid var(--ot-ink);outline-offset:2px}
.otqf-submit[disabled]{opacity:.7;cursor:progress}
.otqf-alert{margin:0;padding:10px 12px;border:1px solid var(--ot-red);border-radius:4px;background:#FFF6F8;color:var(--ot-red);font-size:13px}
.otqf-note{margin:0;font-size:12px;color:var(--ot-muted)}
.otqf-done{gap:10px}
.otqf-done p{margin:0;font-size:15px}
.otqf-done:focus{outline:none}
@media (max-width:640px){
  .otqf{padding:24px 18px}
  .otqf-grid{grid-template-columns:minmax(0,1fr)}
  .otqf-title{font-size:21px}
  .otqf-actions{flex-direction:column;align-items:stretch}
  .otqf-submit{width:100%}
  .otqf input,.otqf select,.otqf textarea{font-size:16px} /* no iOS zoom */
}
/* postprocessor.vn product popup wrapper */
.lightbox-content.otqf-popup{max-width:760px!important;padding:0!important;background:transparent!important;margin-top:96px!important;margin-bottom:40px!important}
/* the site header is fixed with a very high z-index: while our popup is open, put it behind the overlay */
body:has(.mfp-wrap .otqf-popup) #header{z-index:1000!important}
@media (max-width:640px){.lightbox-content.otqf-popup{margin-top:72px!important}}
