/* v14.48 — the wordmark in the top bar.
   "CONTACT CENTER" sat on two lines, left-aligned and widely spaced under QORYVEX when the bar got crowded (the
   brand shrank to make room). Now: the brand never shrinks, the tagline stays on one line, centred under the name
   and about as wide, in a quieter tone so QORYVEX leads. Loaded after nav.css on every page. */
.nav .brand{flex:none;gap:12px}
.nav .brand .wm{display:flex;flex-direction:column;align-items:center;gap:6px;line-height:1}
.nav .brand .wm-name{white-space:nowrap;font-size:22px;letter-spacing:.22em;margin-right:-.22em}
.nav .brand small{
  display:block;white-space:nowrap;text-align:center;
  font-size:8.5px;font-weight:600;line-height:1;letter-spacing:.48em;margin-right:-.48em;
  text-transform:uppercase;color:rgba(214,206,255,.78)
}
/* A narrower desktop bar (about 1100–1280 px): a slightly smaller wordmark leaves room for the menu. */
@media (max-width:1280px){
  .nav .brand img{width:40px;height:40px}
  .nav .brand .wm-name{font-size:19px}
  .nav .brand small{font-size:7.5px}
}

/* v14.56 — the footer's bottom bar is centred: copyright and email on one line, the links on a centred row below. */
.qf-bottom{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:14px}
.qf-bottom>span{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;margin:0 auto}
.qf-bottom .qf-links{justify-content:center!important;column-gap:24px;row-gap:8px}

/* v14.59 — header layout and motion.
   Layout (desktop only, above the 980 px burger breakpoint): the bar spans the full width, so the logo sits near the
   left edge and Book a Demo near the right; the menu is centred between them with more space between items, and no
   label wraps ("Why Switch" stays on one line). Dropdowns are unchanged. */
@media (min-width:981px){
  .nav .wrap{box-sizing:border-box;max-width:none;width:100%;padding-left:clamp(20px,2.8vw,44px);padding-right:clamp(20px,2.8vw,44px)}
  .nav .nv{flex:1 1 auto;min-width:0;gap:clamp(2px,.9vw,14px)}
  .nav .nv>:first-child{margin-left:auto}
  .nav .nv-cta{margin-left:auto}
  .nav .nv-btn,.nav .nv-link{white-space:nowrap}
}
/* Narrower laptops: tighter tracking and padding so everything fits on one line without wrapping. */
@media (min-width:981px) and (max-width:1320px){
  .nav .nv{gap:0}
  .nav .nv-btn,.nav .nv-link{padding:10px 9px;letter-spacing:.1em}
}
@media (min-width:981px) and (max-width:1140px){
  .nav .wrap{gap:14px}
  .nav .nv-btn,.nav .nv-link{padding:10px 7px;letter-spacing:.06em;font-size:12px}
  .nav .nv-cta.qx-cta{padding-left:14px}
}

/* Book a Demo, "opens up": a calendar disc sits inside the pill; on hover or keyboard focus the pill widens to say
   what is being booked. brand.js adds the two spans; without JavaScript the button is unchanged. */
.nav .nv-cta.qx-cta{display:inline-flex;align-items:center;gap:10px;padding:5px 5px 5px 18px;line-height:1;transition:box-shadow .3s}
.nav .nv-cta .qx-more{max-width:0;opacity:0;overflow:hidden;white-space:nowrap;font-weight:500;font-size:12.5px;
  transition:max-width .35s cubic-bezier(.2,.8,.2,1),opacity .25s}
.nav .nv-cta .qx-cal{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;
  background:rgba(14,10,28,.32);transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.nav .nv-cta .qx-cal svg{width:15px;height:15px}
.nav .nv-cta:hover .qx-more,.nav .nv-cta:focus-visible .qx-more{max-width:150px;opacity:.95}
/* Where the bar is tight, the hover note shortens to "15 min" so the button never pushes past the edge. */
@media (max-width:1399px){.nav .nv-cta .qx-long{display:none}}
.nav .nv-cta:hover .qx-cal,.nav .nv-cta:focus-visible .qx-cal{transform:rotate(-8deg) scale(1.06)}
.nav .nv-cta:hover{box-shadow:0 14px 34px -12px rgba(124,108,255,.95)}
@media (max-width:980px){
  .nav .nv-cta.qx-cta{padding:9px 9px 9px 18px;justify-content:center}
  .nav .nv-cta .qx-more{display:none}
}

/* The tagline under QORYVEX, "channels": once per visit it flicks through Voice, Chat, WhatsApp, Email and Social,
   then lands on CONTACT CENTER. brand.js runs it; reduced-motion settings skip it entirely. */
.nav .brand small.qx-tick{position:relative;overflow:hidden}
.nav .brand small.qx-tick .qx-final{display:inline-block;opacity:0;transform:translateY(100%)}
.nav .brand small.qx-tick .qx-w{position:absolute;left:0;right:0;top:0;text-align:center;opacity:0;transform:translateY(100%);margin-right:-.48em}
.nav .brand small.qx-tick.qx-go .qx-w{animation:qxTick .62s cubic-bezier(.2,.8,.2,1) both}
.nav .brand small.qx-tick .qx-w{color:#EC9A78;font-weight:700}
.nav .brand small.qx-tick.qx-go .qx-final{animation:qxLand .5s cubic-bezier(.2,.8,.2,1) both}
@keyframes qxTick{0%{opacity:0;transform:translateY(100%)}22%,72%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-100%)}}
@keyframes qxLand{to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  .nav .brand small.qx-tick .qx-final{opacity:1;transform:none;animation:none!important}
  .nav .brand small.qx-tick .qx-w{display:none}
  .nav .nv-cta .qx-more,.nav .nv-cta .qx-cal{transition:none}
}

/* v14.77 CIN line in footer (Companies Act 2013, s.12 / Rule 26) */
.qf-bottom .qf-cin{display:block;max-width:760px;line-height:1.6;text-align:center;font-size:12px;letter-spacing:.04em;color:var(--mauve-2,var(--mauve2,#8e88b0))}
