/* Shared crtcai.com header + phone call/text bar. One copy, injected by tools/site_nav.py (do not hand-edit the HTML blocks).
   Colours: CRTC golden tokens (standards/brand/tokens.json, dark). Selectors are prefixed so page CSS cannot restyle them. */
header.cnav{position:sticky;top:0;z-index:40;margin:0;padding:0;background:rgba(5,6,7,.97);border:0;border-bottom:1px solid rgba(255,255,255,.12);box-shadow:none;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
header.cnav .cnav-in{max-width:1120px;margin:0 auto!important;padding:0 16px;min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
header.cnav .cnav-brand{display:inline-flex;align-items:center;min-height:48px;color:#fff;font-weight:800;font-size:1.15rem;text-decoration:none}
header.cnav .cnav-brand span{color:#1CD612;margin-left:.28em}
header.cnav,header.cnav *{box-sizing:border-box;margin:0;line-height:1.2;letter-spacing:normal;text-transform:none;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
header.cnav .cnav-t{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
header.cnav .cnav-b{display:none;align-items:center;justify-content:center;min-height:44px;min-width:76px;padding:0 14px;border:1px solid rgba(255,255,255,.24);border-radius:10px;color:#fff;font-weight:700;font-size:.95rem;cursor:pointer;background:transparent}
header.cnav .cnav-t:focus-visible+.cnav-b{outline:2px solid #4CEB3F;outline-offset:2px}
header.cnav nav.cnav-links{display:flex;gap:4px;align-items:center;margin:0;padding:0;background:none;border:0;position:static;max-height:none;overflow:visible;visibility:visible;opacity:1;transform:none;width:auto;box-shadow:none}
header.cnav nav.cnav-links a{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border-radius:10px;color:#fff;font-weight:600;font-size:.98rem;text-decoration:none;background:none;border:0}
header.cnav nav.cnav-links a:hover{background:#1B1F23}
header.cnav nav.cnav-links a[aria-current=page]{color:#4CEB3F}
header.cnav nav.cnav-links a.cnav-cta{background:#1CD612;color:#050607;font-weight:800}
header.cnav nav.cnav-links a.cnav-cta[aria-current=page]{color:#050607}
header.cnav nav.cnav-links a.cnav-minor{color:#B4BCB6;font-weight:500}
@media (max-width:860px){
  header.cnav .cnav-b{display:inline-flex}
  header.cnav nav.cnav-links{display:none!important;flex-basis:100%;flex-direction:column;align-items:stretch;gap:2px;padding:4px 0 12px}
  header.cnav .cnav-t:checked~nav.cnav-links{display:flex!important}
  header.cnav nav.cnav-links a{min-height:48px;font-size:1.05rem}
  header.cnav nav.cnav-links a.cnav-cta{justify-content:center}
}
/* Phone call/text bar: fixed to the bottom on phones and tablets only. */
.cbar{display:none}
@media (max-width:860px){
  .cbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:45;gap:8px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:rgba(5,6,7,.97);border-top:1px solid rgba(255,255,255,.12);font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
  .cbar a{flex:1;display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:10px;border:1px solid rgba(255,255,255,.24);color:#fff;font-weight:700;font-size:1rem;text-decoration:none}
  .cbar a.cbar-go{background:#1CD612;border-color:#1CD612;color:#050607;font-weight:800}
  body.has-cbar{padding-bottom:72px}
}
/* tablets: the chat pill sits above the call/text bar */
@media (min-width:621px) and (max-width:860px){body.has-cbar .crtc-chat-btn{bottom:84px}body.has-cbar .crtc-chat-panel{bottom:144px}}
header.cnav::before,header.cnav::after,header.cnav *::before,header.cnav *::after{content:none!important;display:none!important}
/* Footer links on pages that use the shared header: full-height tap targets (44 px) at phone width. */
@media (max-width:860px){body.has-cbar footer a{display:inline-block;min-height:44px;line-height:44px;padding:0 4px}}
/* Standalone links on the main local-owner pages: 44 px tap targets at phone width (contact list, service cards, apps page). */
@media (max-width:860px){
  body.has-cbar .get li>a,body.has-cbar article.card h3>a,body.has-cbar nav.jump a,body.has-cbar .app small a,body.has-cbar .ctas>a,body.has-cbar .contact>a,body.has-cbar .who a,body.has-cbar .qw-top a,body.has-cbar a.qw-down,body.has-cbar a.mail,body.has-cbar .cta>a[href^="tel:"],body.has-cbar .cta>a[href="/"]{display:inline-flex;align-items:center;min-height:44px}
}
/* FAQ rows: 44 px tap height at phone width. */
@media (max-width:860px){body.has-cbar details>summary{min-height:44px;padding-top:10px;padding-bottom:10px;box-sizing:border-box}}
