/* Belaire.Money — calculators, Maggie chat, universal footer (Oct 2026).
   Navy #0B1F3A + gold #C6A15B, matching the Belaire brand.
   All text is at least 1rem (never below 12pt). */

/* ---------- Calculators (side by side, stacked on phones) ---------- */
.bm-calcs{background:#0b1f3a;color:#f4efe6;padding:clamp(3.5rem,8vw,6rem) 5vw}
.bm-calcs h2{font-family:var(--serif,Georgia,serif);font-size:clamp(2.6rem,4.5vw,4rem);color:#e6cd97;margin:0 0 .75rem}
.bm-calcs>p{font-size:1.15rem;color:#e9e2d5;max-width:760px;margin:0 0 2.5rem}
.bm-calcs-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;max-width:1100px}
.bm-calc{background:#fbf8f1;color:#181412;border-radius:14px;padding:2rem;box-shadow:0 18px 40px rgba(0,0,0,.35)}
.bm-calc h3{font-family:var(--serif,Georgia,serif);font-size:2rem;color:#0b1f3a;margin:0 0 1.25rem}
.bm-calc label{display:block;font-size:1rem;font-weight:600;margin:.9rem 0 .35rem;color:#181412}
.bm-calc input{width:100%;font-size:1rem;padding:.7rem .8rem;border:1px solid #c9bfae;border-radius:8px;background:#fff;color:#181412;box-sizing:border-box}
.bm-calc button{margin-top:1.25rem;width:100%;font-size:1.05rem;font-weight:700;color:#181412;background:linear-gradient(180deg,#e6cd97,#c6a15b);border:1px solid #8a6d2f;border-radius:10px;padding:.85rem;cursor:pointer;box-shadow:0 6px 0 #8a6d2f,0 10px 18px rgba(0,0,0,.25)}
.bm-calc button:active{transform:translateY(4px);box-shadow:0 2px 0 #8a6d2f,0 4px 10px rgba(0,0,0,.25)}
.bm-calc-result{margin-top:1.25rem;background:#0b1f3a;color:#e6cd97;border-radius:10px;padding:1rem 1.2rem;font-size:1.15rem;line-height:1.5;min-height:3.4rem}
.bm-calc-result .bm-pass{color:#9ed39e;font-weight:700}
.bm-calc-result .bm-fail{color:#f0a5a5;font-weight:700}
.bm-calc-note{font-size:1rem;color:#756e67;margin-top:.9rem}
@media(max-width:820px){.bm-calcs-grid{grid-template-columns:1fr}}

/* ---------- Maggie chat button: 3D popping, embossed gold ---------- */
#bm-maggie-btn{position:fixed;right:22px;bottom:22px;z-index:9999;display:flex;align-items:center;gap:.55rem;font-family:var(--sans,"DM Sans",sans-serif);font-size:1.05rem;font-weight:700;color:#181412;background:linear-gradient(180deg,#f0dda6 0%,#e6cd97 38%,#c6a15b 100%);border:1px solid #8a6d2f;border-radius:999px;padding:.9rem 1.35rem;cursor:pointer;box-shadow:0 8px 0 #8a6d2f,0 16px 28px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.7);transition:transform .18s ease,box-shadow .18s ease}
#bm-maggie-btn:hover{transform:translateY(-3px) scale(1.04);box-shadow:0 11px 0 #8a6d2f,0 22px 34px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.7)}
#bm-maggie-btn:active{transform:translateY(3px) scale(1);box-shadow:0 4px 0 #8a6d2f,0 8px 16px rgba(0,0,0,.3)}
#bm-maggie-btn .bm-dot{width:11px;height:11px;border-radius:50%;background:#2e7d32;box-shadow:0 0 0 3px rgba(46,125,50,.25)}
/* ---------- Maggie chat panel ---------- */
#bm-maggie-panel{position:fixed;right:22px;bottom:96px;z-index:9999;width:370px;max-width:calc(100vw - 32px);background:#fbf8f1;border:1px solid #c9bfae;border-radius:16px;box-shadow:0 24px 50px rgba(0,0,0,.4);display:none;flex-direction:column;overflow:hidden;font-family:var(--sans,"DM Sans",sans-serif)}
#bm-maggie-panel.bm-open{display:flex}
#bm-maggie-panel .bm-head{background:#0b1f3a;color:#e6cd97;padding:1rem 1.2rem;display:flex;justify-content:space-between;align-items:center}
#bm-maggie-panel .bm-head strong{font-size:1.15rem}
#bm-maggie-panel .bm-head button{background:none;border:none;color:#e6cd97;font-size:1.5rem;line-height:1;cursor:pointer}
#bm-maggie-panel .bm-hours{background:#fdf3d7;color:#5a4510;font-size:1rem;padding:.7rem 1.2rem;border-bottom:1px solid #e3c77f}
#bm-maggie-panel .bm-msgs{padding:1rem 1.2rem;height:300px;overflow-y:auto;display:flex;flex-direction:column;gap:.7rem}
#bm-maggie-panel .bm-msg{font-size:1rem;line-height:1.5;padding:.7rem .9rem;border-radius:12px;max-width:88%}
#bm-maggie-panel .bm-msg.bm-maggie{background:#0b1f3a;color:#f4efe6;align-self:flex-start;border-bottom-left-radius:4px}
#bm-maggie-panel .bm-msg.bm-user{background:#e6cd97;color:#181412;align-self:flex-end;border-bottom-right-radius:4px}
#bm-maggie-panel .bm-form{display:flex;gap:.5rem;padding:.8rem;border-top:1px solid #ddd2bd;background:#fff}
#bm-maggie-panel .bm-form input{flex:1;font-size:1rem;padding:.7rem .8rem;border:1px solid #c9bfae;border-radius:8px;min-width:0}
#bm-maggie-panel .bm-form button{font-size:1rem;font-weight:700;color:#fff;background:#0b1f3a;border:none;border-radius:8px;padding:.7rem 1rem;cursor:pointer}

/* ---------- Universal footer (verbatim copy, navy + gold) ---------- */
.bm-universal-footer{background:#0b1f3a;color:#f4efe6;padding:2.5rem 5vw 2rem}
.bm-universal-footer .bm-foot-line1{display:flex;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;font-size:1.05rem;color:#f4efe6;padding-bottom:1.25rem;border-bottom:1px solid rgba(230,205,151,.35)}
.bm-universal-footer .bm-foot-line2{font-size:1rem;color:#e6cd97;padding-top:1.25rem;display:flex;flex-wrap:wrap;gap:.35rem .5rem;align-items:baseline}
.bm-universal-footer .bm-foot-line2 a{color:#e6cd97;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.bm-universal-footer .bm-foot-line2 a:hover{color:#fff}
