/* CAD BOLT audit fixes: legal links, stat notes, mobile sticky bar, language toast */
.cb-legal{display:flex;flex-wrap:wrap;gap:6px 18px;justify-content:center;padding:12px 16px;font-size:.82rem;border-top:1px solid rgba(255,255,255,.08)}
.cb-legal a{display:inline!important;color:#b7c4d1!important;text-decoration:none;padding:0!important}
.cb-legal a:hover{color:#F37021!important}
.cb-paylegal{display:block;margin:8px 0 0;font-size:.78rem;line-height:1.5;color:#9fb0c2;text-align:center}
.cb-paylegal a{color:#F37021!important;text-decoration:underline}
.cb-stat-note{margin:14px 0 0;text-align:center;font-size:.78rem;opacity:.7}
.cb-stat-note-inline{opacity:.7;font-size:.75rem}
@media(min-width:901px){#partners .partner-grid{display:flex;flex-wrap:wrap;justify-content:center}#partners .partner-card{flex:0 1 calc(25% - 1rem);min-width:200px}}
.cb-mbar{display:none}
@media(max-width:760px){
  .cb-mbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:9000;gap:8px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:rgba(5,15,25,.96);border-top:1px solid rgba(243,112,33,.4);backdrop-filter:blur(8px)}
  .cb-mbar a{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;height:44px;border-radius:999px;font:700 .95rem/1 Inter,system-ui,sans-serif;text-decoration:none}
  .cb-mbar .q{background:#F37021;color:#fff}
  .cb-mbar .w{background:#25D366;color:#06281a}
  .cb-mbar svg{width:18px;height:18px}
  body{padding-bottom:64px}
  .float-quote,.wa-fab{display:none!important}
  .cbl-prompt{left:10px!important;right:10px!important;bottom:72px!important;transform:none!important;max-width:none!important;padding:6px 8px 6px 12px!important;gap:8px!important;font-size:.8rem!important;flex-wrap:nowrap!important;opacity:0;pointer-events:none;transition:opacity .35s}
  html.cb-toast-ok .cbl-prompt{opacity:1;pointer-events:auto}
  .cbl-prompt .cbl-go{padding:5px 10px!important;white-space:nowrap}
}
@keyframes cbToast{to{opacity:1;pointer-events:auto}}

/* ui-fix: no sideways page scroll (it slid fixed/absolute visuals over hero content) */
html,body{overflow-x:clip;max-width:100%}

/* hdr-fix: responsive story header (index, planner, render, 2d-to-3d, assistant) */
.site-header .nav{gap:.75rem}
.site-header .nav>.logo{flex:0 0 auto;margin-inline-end:1rem}
.site-header .nav-right{flex:0 0 auto;min-width:0}
.site-header .nav-right>.nav-cta,.site-header .nav-right>.nav-toggle,.site-header .nav-right .cbl-btn{flex:0 0 auto}
.site-header .nav-right>.nav-toggle{display:inline-flex!important}
@media (max-width:1360px){
  .site-header .nav-quick{display:none!important}
  .site-header .nav-right>a.icon-btn:not(.nav-toggle){display:none!important}
}
@media (max-width:1100px){.site-header .nav-right>a[href="/portal"],.site-header .nav-right>.nav-book{display:none!important}}
@media (max-width:820px){
  .site-header .nav-right>.nav-cta{display:inline-flex!important;align-items:center;height:40px;padding:0 1rem;font-size:.78rem;white-space:nowrap}
}
@media (max-width:420px){
  .site-header .nav{width:calc(100% - 1.5rem)!important}
  .site-header .logo-tagline{display:none}
  .site-header .nav-right{gap:.35rem!important}
  .site-header .nav-right>.nav-cta{height:38px;padding:0 .75rem;font-size:.72rem}
}
.nav-overlay .cb-ov-extra{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.4rem}
/* hdr-fix: hero copy always clears the fixed header, at any width / zoom */
.story-panel.panel-hero{top:calc(var(--header-h,76px) + 1.25rem);display:flex;flex-direction:column;justify-content:flex-end;justify-content:safe flex-end}
.story-panel.panel-hero .hero-title{font-size:clamp(2.2rem,min(6.2vw,10.5vh),6.4rem)}
@media (max-width:820px){.story-panel.panel-hero .hero-title{font-size:clamp(2.2rem,min(12vw,7.5vh),3.6rem)}}
.story.is-static .story-panel.panel-hero{top:auto;display:block}
/* hdr-fix: service-page header (header-v2) fits 961-1240px without clipping */
@media (min-width:961px) and (max-width:1240px){
  .site-header .nav-menu{gap:.2rem .95rem!important}
  .site-header .nav-menu>li>a:not(.nav-cta),.site-header .nav-drop-btn{font-size:.72rem!important;letter-spacing:.05em!important}
  .site-header .nav-cta{padding:0 1rem!important}
}

/* hdr2: progressive collapse classes set by cb-audit.js fit check */
.site-header.cbx-1 .nav-right>.nav-book{display:none!important}
.site-header.cbx-2 .nav-right>a.icon-btn:not(.nav-toggle){display:none!important}
.site-header.cbx-3 .nav-right>a[href="/portal"]{display:none!important}
.site-header.cbx-4 .nav-quick{display:none!important}
.site-header .nav-right>.nav-quick{flex:0 0 auto}
/* RTL: off-screen honeypots must not create sideways scroll; sticky bar icons fixed size */
html[dir="rtl"] .cbm-hp,html[dir="rtl"] div[aria-hidden="true"][style*="left:-9999px"]{left:0!important;right:auto!important;top:0;clip-path:inset(50%);opacity:0;pointer-events:none}
.cb-mbar svg{width:18px!important;height:18px!important;flex:none}.cb-mbar a{min-width:0}
