/* Lending conversion standard (Nick 2026-11-16), sections A and B, for pages that do not use a shared
   Astro template. One component: the 619 call link in the header (desktop) and ONE mobile contact bar
   (.sticky-cta, the same class name the answers and nick-nagy templates already use). The bar is fixed
   to the bottom below 768 px, keeps an 84 px right gutter for the chat bubble, gives the page an equal
   bottom padding, and hides while a field has focus (see /contact-bar.js). Tap targets are 44 px or more. */
:root{--cbar-bg:#101b2a;--cbar-ink:#f6f3ed;--cbar-accent:#b59057;--cbar-accent-ink:#101b2a}
.hcall,.cbar-topline a{display:none!important}
@media(min-width:768px){
  .hcall,.truststrip a.hcall{display:inline-flex!important;align-items:center;min-height:44px;margin-left:auto;margin-right:18px;font:600 14px/1.2 -apple-system,system-ui,"Segoe UI",sans-serif;color:#fff;text-decoration:none;white-space:nowrap}
  .hcall:hover{text-decoration:underline}
  .cbar-topline{display:flex;justify-content:flex-end;background:var(--cbar-bg);padding:4px 20px}
  .cbar-topline a{display:inline-flex!important;align-items:center;min-height:44px;margin:0;font:600 14px/1.2 -apple-system,system-ui,"Segoe UI",sans-serif;color:var(--cbar-ink);text-decoration:none;white-space:nowrap}
  .cbar-topline a:hover{text-decoration:underline}
}
.sticky-cta{display:none}
@media(max-width:767px){
  .sticky-cta{display:flex;gap:8px;align-items:stretch;position:fixed;left:0;right:0;bottom:0;z-index:40;
    background:var(--cbar-bg);border-top:1px solid rgba(181,144,87,.45);
    padding:10px 84px calc(10px + env(safe-area-inset-bottom)) 16px;box-shadow:0 -6px 20px rgba(0,0,0,.25)}
  .sticky-cta .cbar-call{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:72px;min-height:48px;padding:0 16px;
    font:700 15px/1 -apple-system,system-ui,"Segoe UI",sans-serif;color:var(--cbar-ink);text-decoration:none;border:1.5px solid rgba(246,243,237,.55);border-radius:6px}
  .sticky-cta .cbar-next{display:inline-flex;align-items:center;justify-content:center;flex:1;min-width:0;min-height:48px;padding:0 12px;
    font:700 15px/1.15 -apple-system,system-ui,"Segoe UI",sans-serif;color:var(--cbar-accent-ink);background:var(--cbar-accent);text-decoration:none;text-align:center;border-radius:6px}
  body.has-cbar{padding-bottom:calc(68px + env(safe-area-inset-bottom))}
  body.cbar-hide .sticky-cta{display:none}
}
@media(prefers-reduced-motion:reduce){.sticky-cta,.sticky-cta *{transition:none!important;animation:none!important}}

/* Chat widget on mobile: seat the bubble inside the bar's right gutter so its auto-greeting opens upward from the bar, not from above it. The greeting itself renders inside the widget iframe and is controlled in GHL. */
@media(max-width:767px){chat-widget,#chat-widget-container,#lc_text-widget{bottom:calc(10px + env(safe-area-inset-bottom))!important;right:10px!important}}
