/* Calypsion — "Talk to an engineer" callback widget (rendered by callback.js on every page) */
.cbx { --cbx-navy: #071722; --cbx-ink: #0C2230; --cbx-teal: #0E9C9C; --cbx-cyan: #6FE3E3; --cbx-amber: #F5900B; --cbx-on: #22C58B;
  font-family: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif; }

/* ---- launcher ---- */
.cbx-launch { position: fixed; right: 24px; bottom: 24px; z-index: 95; display: inline-flex; align-items: center; gap: 12px; padding: 7px 20px 7px 7px; border-radius: 999px; border: 1px solid rgba(111,227,227,.35); background: rgba(7,23,34,.92); color: #fff; cursor: pointer; box-shadow: 0 14px 40px rgba(7,23,34,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: inherit; transition: transform .25s ease, opacity .3s ease, box-shadow .25s ease; }
.cbx-launch:hover { transform: translateY(-2px); box-shadow: 0 18px 50px rgba(7,23,34,.45); }
.cbx-launch:focus-visible { outline: 3px solid var(--cbx-cyan); outline-offset: 3px; }
.cbx-ic { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--cbx-teal); font-size: 16px; flex: none; }
.cbx-ic::before, .cbx-ic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--cbx-teal); animation: cbx-ring 2.4s ease-out infinite; }
.cbx-ic::after { animation-delay: 1.2s; }
@keyframes cbx-ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.75); opacity: 0; } }
.cbx-lt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.cbx-lt b { font-size: 14.5px; font-weight: 600; }
.cbx-lt small { display: inline-flex; align-items: center; gap: 6px; font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #9FB6C3; margin-top: 3px; }
.cbx-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cbx-amber); flex: none; }
.cbx.open .cbx-launch { opacity: 0; pointer-events: none; transform: scale(.9); }
body:has(.hero.intro) .cbx-launch { opacity: 0; pointer-events: none; }     /* home page: wait for the hero intro */
body.cbx-ready .to-top { bottom: 92px; }

/* ---- panel ---- */
.cbx-panel { position: fixed; right: 24px; bottom: 24px; z-index: 96; width: min(380px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; border-radius: 20px; background: #fff; color: #33454E; box-shadow: 0 30px 90px rgba(7,23,34,.4); transform-origin: bottom right; transform: translateY(16px) scale(.96); opacity: 0; visibility: hidden; transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .25s ease, visibility 0s .3s; }
.cbx.open .cbx-panel { transform: none; opacity: 1; visibility: visible; transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .25s ease; }
.cbx-hd { position: relative; padding: 20px 20px 18px; background: var(--cbx-navy); color: #fff; overflow: hidden; }
.cbx-hd::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(111,227,227,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(111,227,227,.08) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.cbx-hd > * { position: relative; z-index: 1; }
.cbx-x { position: absolute; right: 12px; top: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; font-size: 15px; }
.cbx-x:hover { background: rgba(255,255,255,.16); }
.cbx-k { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--cbx-cyan); }
.cbx-hd h2 { margin: 6px 0 10px; font-size: 21px; line-height: 1.2; color: #fff; letter-spacing: -.01em; }
.cbx-st { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.45; color: #CFE0EE; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.cbx-st .cbx-dot { margin-top: 6px; }
.cbx-st b { color: #fff; font-weight: 600; }
.cbx-bd { padding: 18px 20px 20px; }
.cbx-direct { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cbx-direct a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); transition: background .2s, border-color .2s; }
.cbx-direct a:hover { background: rgba(255,255,255,.12); border-color: var(--cbx-cyan); color: #fff; }
.cbx-direct i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 14px; }
.cbx-direct .tel i { background: var(--cbx-teal); }
.cbx-direct .wa i { background: #25D366; font-size: 16px; }
.cbx-direct span { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.cbx-direct b { font-size: 14px; font-weight: 600; }
.cbx-direct small { font-size: 11.5px; color: #9FB6C3; white-space: nowrap; }
.cbx-note { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13px; color: #A9BCC7; }
.cbx-note i { color: var(--cbx-cyan); font-size: 12px; }
.cbx-or { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #5A6B72; }
.cbx-or::before, .cbx-or::after { content: ""; flex: 1; height: 1px; background: #E3E9EC; }
.cbx-ctx { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #0A6E6E; background: #EAF7F7; border: 1px solid #CDEBEB; padding: 5px 10px; border-radius: 8px; margin-bottom: 14px; }
.cbx-f { display: block; margin-bottom: 12px; }
.cbx-f > span { display: block; font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #5A6B72; margin-bottom: 6px; }
.cbx-in { display: flex; align-items: center; gap: 10px; border: 1px solid #DCE3E7; border-radius: 11px; padding: 0 12px; background: #F8FAFB; transition: border-color .2s, box-shadow .2s, background .2s; }
.cbx-in:focus-within { border-color: var(--cbx-teal); background: #fff; box-shadow: 0 0 0 3px rgba(14,156,156,.15); }
.cbx-in i { color: #8A9AA2; font-size: 13px; }
.cbx-in input, .cbx-in select { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 15px "IBM Plex Sans", sans-serif; color: #0C2230; padding: 11px 0; }
.cbx-in.bad { border-color: #E5484D; box-shadow: 0 0 0 3px rgba(229,72,77,.12); }
.cbx-pre { font: 600 14px "IBM Plex Mono", monospace; color: #0C2230; padding-right: 10px; border-right: 1px solid #DCE3E7; }
.cbx-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cbx-slot { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 9px 11px; border-radius: 11px; border: 1px solid #DCE3E7; background: #fff; cursor: pointer; font: inherit; text-align: left; transition: border-color .2s, background .2s; }
.cbx-slot b { font-size: 13.5px; font-weight: 600; color: #0C2230; }
.cbx-slot small { font-size: 11.5px; color: #5A6B72; }
.cbx-slot:hover { border-color: #9FD9D9; }
.cbx-slot[aria-pressed="true"] { border-color: var(--cbx-teal); background: #EAF7F7; box-shadow: inset 0 0 0 1px var(--cbx-teal); }
.cbx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cbx-go { width: 100%; display: inline-flex; justify-content: center; align-items: center; gap: 10px; margin-top: 6px; padding: 13px 18px; border: 0; border-radius: 12px; background: var(--cbx-teal); color: #fff; font: 600 15.5px "IBM Plex Sans", sans-serif; cursor: pointer; transition: background .2s; }
.cbx-go:hover { background: #0A6E6E; }
.cbx-go[aria-busy="true"] { opacity: .75; pointer-events: none; }
.cbx-err { min-height: 0; font-size: 13px; color: #C2352F; margin: 2px 0 0; }
.cbx-err:empty { display: none; }
.cbx-alt { display: flex; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed #DCE3E7; }
.cbx-alt a { flex: 1; display: inline-flex; justify-content: center; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #0C2230; padding: 9px 10px; border-radius: 10px; border: 1px solid #DCE3E7; text-decoration: none; transition: border-color .2s, background .2s; }
.cbx-alt a:hover { border-color: var(--cbx-teal); background: #F4FBFB; }
.cbx-alt .wa i { color: #25D366; } .cbx-alt .tel i { color: var(--cbx-teal); }
.cbx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- sent state: a call ticket ---- */
.cbx-done { display: none; padding: 22px 20px 20px; text-align: left; }
.cbx.sent .cbx-form { display: none; }
.cbx.sent .cbx-done { display: block; }
.cbx-ok { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #EAF7F7; color: var(--cbx-teal); font-size: 22px; animation: cbx-pop .5s cubic-bezier(.2,1.4,.4,1); }
@keyframes cbx-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.cbx-done h3 { margin: 14px 0 6px; font-size: 19px; color: #0C2230; }
.cbx-done p { margin: 0 0 14px; font-size: 14px; line-height: 1.55; }
.cbx-tk { border: 1px dashed #B9DADA; border-radius: 14px; padding: 4px 14px; background: #FAFDFD; }
.cbx-tk div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #EEF2F4; font-size: 13.5px; }
.cbx-tk div:last-child { border-bottom: 0; }
.cbx-tk dt { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #5A6B72; padding-top: 2px; }
.cbx-tk dd { margin: 0; font-weight: 600; color: #0C2230; text-align: right; }
.cbx-again { margin-top: 14px; background: none; border: 0; padding: 0; color: #0A6E6E; font: 600 14px "IBM Plex Sans", sans-serif; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 600px) {
  .cbx-launch { right: 14px; bottom: 14px; padding-right: 14px; }
  .cbx-lt small { display: none; }
  .cbx-panel { right: 0; left: 0; bottom: 0; width: 100%; max-height: 88vh; border-radius: 22px 22px 0 0; transform: translateY(100%); transform-origin: bottom center; }
  .cbx.open .cbx-panel { transform: none; }
  body.cbx-ready .to-top { bottom: 80px; right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .cbx-ic::before, .cbx-ic::after { animation: none; opacity: 0; }
}
@media print { .cbx { display: none; } }
