/* Homepage quick contact and one reusable consultation form. */
body.home.xmtx-quick-ready .xmtx .xmtx-header-phone,
body.home.xmtx-quick-ready .xmtx .xmtx-header-cta{display:none}
body.home .xmtx .xmtx-quick-header-actions{
  display:flex;align-items:center;gap:6px;flex:none;
}
body.home .xmtx .xmtx-quick-header-actions a,
body.home .xmtx .xmtx-quick-header-actions button{
  display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px;
  margin:0;padding:8px 11px;border:1px solid #cbdff7;border-radius:9px;
  background:#f4f9ff;color:#145097;font:700 12px/1.25 'Be Vietnam Pro',Arial,sans-serif;
  text-decoration:none;text-transform:none;white-space:nowrap;cursor:pointer;
}
body.home .xmtx .xmtx-quick-header-actions small{font:600 11px/1.25 'Be Vietnam Pro',Arial,sans-serif}
body.home .xmtx .xmtx-quick-header-actions .xmtx-quick-header-form{background:#0868e8;border-color:#0868e8;color:#fff}
body.home .xmtx .xmtx-quick-header-actions a:hover{background:#e3f0ff;color:#0757bd}
body.home .xmtx .xmtx-quick-header-actions .xmtx-quick-header-form:hover{background:#0757bd}
body.home .xmtx .xmtx-quick-header-actions :focus-visible{outline:3px solid #5da3ff;outline-offset:2px}

body.home .xmtx-quick-dock{
  position:fixed;right:12px;top:50%;bottom:auto;z-index:60;
  display:flex;flex-direction:column;align-items:center;gap:5px;width:76px;padding:6px;
  border:1px solid #cbdff7;border-radius:14px;background:#fff;
  box-shadow:0 14px 38px #143d7030;
  opacity:0;visibility:hidden;transform:translate(12px,-50%);
  transition:opacity .18s,transform .18s,visibility .18s;
}
body.home .xmtx-quick-dock.is-visible{opacity:1;visibility:visible;transform:translateY(-50%)}
body.home.xmtx-quick-open .xmtx-quick-dock{visibility:hidden}
body.home .xmtx-quick-dock a,
body.home .xmtx-quick-dock button{
  display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:48px;
  padding:8px 4px;margin:0;border:0;border-radius:9px;background:#eef5ff;
  color:#145097;font:700 11px/1.35 'Be Vietnam Pro',Arial,sans-serif;
  text-decoration:none;text-transform:none;white-space:nowrap;cursor:pointer;
}
body.home .xmtx-quick-dock .xmtx-quick-dock-form{background:#0868e8;color:#fff}
body.home .xmtx-quick-dock a:hover{background:#dcecff;color:#0757bd}
body.home .xmtx-quick-dock .xmtx-quick-dock-form:hover{background:#0757bd}
body.home .xmtx-quick-dock :focus-visible,
body.home .xmtx-quick-dialog :focus-visible{outline:3px solid #5da3ff;outline-offset:2px}

body.home.xmtx-quick-open{overflow:hidden}
body.home .xmtx-quick-dialog:not([open]){display:none}
body.home .xmtx-quick-dialog[open]{
  position:fixed;inset:0;z-index:1000;box-sizing:border-box;
  width:min(760px,calc(100vw - 32px));height:min(92dvh,940px);
  max-width:none;max-height:none;margin:auto;padding:0;
  border:1px solid #d6e6f8;border-radius:20px;background:#fff;
  box-shadow:0 24px 70px #0b2a55a0;overflow:hidden;
}
body.home .xmtx-quick-dialog::backdrop{background:#091f3ab3;backdrop-filter:blur(3px)}
body.home .xmtx-quick-frame{display:flex;flex-direction:column;height:100%;min-height:0}
body.home .xmtx-quick-header{
  flex:none;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;
  padding:20px 24px 10px;background:#fff;
}
body.home .xmtx-quick-heading span{display:block;margin-bottom:4px;color:#0868e8;font-size:10px;font-weight:700;letter-spacing:.09em}
body.home .xmtx-quick-heading h2{margin:0;color:#142e50;font:700 24px/1.3 Manrope,'Be Vietnam Pro',Arial,sans-serif}
body.home .xmtx-quick-close{
  display:grid;place-items:center;flex:none;width:42px;height:42px;margin:0;padding:0;
  border:1px solid #dce8f7;border-radius:10px;background:#f5f9ff;
  color:#24476f;font:400 30px/1 Arial,sans-serif;cursor:pointer;
}
body.home .xmtx-quick-contact{display:flex;gap:9px;padding:0 24px 16px;border-bottom:1px solid #e1ebf7}
body.home .xmtx-quick-contact a{
  display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 15px;
  border:1px solid #c9dcf6;border-radius:9px;background:#f4f9ff;
  color:#145097;font-size:12px;font-weight:700;text-decoration:none;
}
body.home .xmtx-quick-contact a:hover{background:#e3f0ff}
body.home .xmtx-quick-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 24px 24px}
body.home .xmtx-quick-dialog .xmtx-form-column{width:100%;max-width:100%;flex-basis:100%;padding:0}
body.home .xmtx-quick-dialog .xmtx-form-column>.col-inner{width:100%;max-width:none}
body.home .xmtx-quick-dialog .xmtx-form-slot{padding:0;border:0;border-radius:0;box-shadow:none}
body.home .xmtx-quick-dialog .xmtx-form-slot-head{display:none}
body.home .xmtx-quick-dialog .xmtx-form-status{scroll-margin-top:12px}

@media(max-width:1199px){
  body.home .xmtx .xmtx-quick-header-actions small{display:none}
}
@media(max-width:999px){
  body.home .xmtx .xmtx-quick-header-actions{margin-left:auto}
}
@media(max-width:1023px){
  body.home .xmtx-quick-dock{top:auto;right:12px;bottom:12px;flex-direction:row;width:auto;transform:translateY(12px)}
  body.home .xmtx-quick-dock.is-visible{transform:none}
  body.home .xmtx-quick-dock a,
  body.home .xmtx-quick-dock button{width:auto;min-width:62px;min-height:44px;padding:8px 10px}
}
@media(max-width:767px){
  body.home .xmtx .xmtx-quick-header-actions a,
  body.home .xmtx .xmtx-quick-header-actions button{padding:8px 9px;font-size:11px}
}
@media(max-width:549px){
  body.home.xmtx-quick-ready .xmtx .xmtx-header-cta{display:inline-flex}
  body.home .xmtx .xmtx-quick-header-actions{display:none}
  body.home .xmtx-quick-dock{display:none}
  body.home .xmtx-mobile-cta.xmtx-quick-mobile-bar{gap:6px;padding-inline:10px}
  body.home .xmtx-quick-mobile-bar .xmtx-mobile-call,
  body.home .xmtx-quick-mobile-bar .xmtx-mobile-zalo,
  body.home .xmtx-quick-mobile-bar .xmtx-mobile-primary{min-width:0;min-height:44px;font-size:11px;white-space:nowrap}
  body.home .xmtx-quick-mobile-bar .xmtx-mobile-call{flex:1;gap:5px}
  body.home .xmtx-quick-mobile-bar .xmtx-mobile-zalo{
    display:flex;align-items:center;justify-content:center;flex:1;min-height:44px;
    border:1px solid #b9d5f6;border-radius:9px;background:#f1f7ff;
    color:#145097;font-weight:700;text-decoration:none;
  }
  body.home .xmtx-quick-mobile-bar .xmtx-mobile-primary{flex:1.35;padding:8px 7px}
  body.home.xmtx-quick-open .xmtx-mobile-cta{visibility:hidden}
  body.home .xmtx-quick-dialog[open]{width:100vw;height:100dvh;border:0;border-radius:0}
  body.home .xmtx-quick-header{padding:15px 16px 8px}
  body.home .xmtx-quick-heading h2{font-size:21px}
  body.home .xmtx-quick-contact{padding:0 16px 12px}
  body.home .xmtx-quick-contact a{flex:1;padding:8px 7px;font-size:11px}
  body.home .xmtx-quick-scroll{padding:16px 18px calc(24px + env(safe-area-inset-bottom))}
  body.home .xmtx-quick-dialog .xmtx-form-grid{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){
  body.home .xmtx-quick-dock{transition:none}
}
