/* Scoped, finite gestures. No page content is changed or hidden by the guide. */
.nf-guide{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:80;color:#182a40;font:14px/1.5 Arial,sans-serif;max-width:calc(100vw - 32px)}
.nf-guide *, .nf-guide *:before{box-sizing:border-box}.nf-guide [hidden]{display:none!important}
.nf-guide button,.nf-guide a{font:inherit}.nf-guide button{cursor:pointer}.nf-guide button:focus-visible,.nf-guide a:focus-visible{outline:3px solid #0068d1;outline-offset:4px}
.nf-guide-dock{display:flex;align-items:flex-end;justify-content:flex-end;gap:8px}
.nf-guide-launcher{border:0;background:transparent;color:inherit;padding:0;position:relative;display:flex;flex-direction:column;align-items:center;width:106px;min-height:44px;border-radius:24px}
.nf-guide-launcher img{display:block;width:106px;height:auto;filter:drop-shadow(0 5px 7px #17375619);transform-origin:50% 85%;transition:transform .25s}
.nf-guide-launcher:hover img{transform:translateY(-3px) rotate(-3deg)}
.nf-guide-label{background:#fff;border:1px solid #dce5f1;padding:4px 10px;border-radius:14px;box-shadow:0 3px 12px #112b4710;font-size:11px;line-height:1.4;white-space:nowrap}
.nf-guide-minimize{border:1px solid #dce5f1;background:#fff;color:#637285;border-radius:50%;width:28px;height:28px;min-width:28px;margin-bottom:4px;display:grid;place-items:center;font-size:18px}
.nf-guide[data-compact="true"] .nf-guide-launcher{width:54px}.nf-guide[data-compact="true"] .nf-guide-launcher img{width:54px}.nf-guide[data-compact="true"] .nf-guide-label,.nf-guide[data-compact="true"] .nf-guide-minimize{display:none}
.nf-guide-tip{position:absolute;right:118px;bottom:32px;width:208px;background:#fff;border:1px solid #dce5f1;border-radius:16px 16px 0 16px;box-shadow:0 8px 28px #142c4812;padding:14px 28px 14px 16px;font-size:13px}
.nf-guide-tip button{position:absolute;top:4px;right:4px;width:24px;height:24px;border:0;background:transparent;color:#64748b;font-size:18px}
.nf-guide-panel{width:350px;max-width:calc(100vw - 32px);max-height:min(630px,calc(100dvh - 190px));overflow-y:auto;background:#fff;border:1px solid #dce5f1;border-radius:22px;box-shadow:0 18px 60px #142c4826;margin-bottom:10px;overscroll-behavior:contain}
.nf-guide-header{padding:18px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #edf1f7;background:#f7faff;border-radius:22px 22px 0 0}.nf-guide-header img{width:42px;height:46px;object-fit:contain}.nf-guide-header strong{display:block;font-size:15px}.nf-guide-header span{color:#667589;font-size:12px}.nf-guide-close{margin-left:auto;flex-shrink:0;width:32px;height:32px;border:0;background:#fff;border-radius:50%;font-size:22px;color:#42556c}
.nf-guide-body{padding:20px}.nf-guide-body h2{font-size:19px;line-height:1.3;margin:0 0 10px;letter-spacing:-.4px}.nf-guide-context{color:#586c81;margin:0 0 18px;font-size:13px}
.nf-guide-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.nf-guide-option{min-height:54px;padding:11px 12px;text-align:left;border:1px solid #e0e7f1;border-radius:12px;background:#fff;color:#213c59;font-size:12px!important;transition:background .2s,border-color .2s}.nf-guide-option:hover,.nf-guide-option[aria-pressed="true"]{background:#edf5ff;border-color:#94bce9}
.nf-guide-answer{padding-top:18px;margin-top:18px;border-top:1px solid #e5ebf4}.nf-guide-answer h3{font-size:15px;margin:0 0 8px}.nf-guide-answer p{font-size:13px;color:#586c81;margin:0 0 12px}.nf-guide-answer a{display:inline-flex;align-items:center;min-height:38px;color:#0068d1;font-weight:bold;text-decoration:none}.nf-guide-contact{display:flex;justify-content:center;align-items:center;min-height:44px;background:#0068d1;border-radius:24px;text-decoration:none;color:#fff;padding:10px 18px;margin-top:18px}.nf-guide-footnote{font-size:11px!important;color:#798697;text-align:center;margin:10px 0 0}
@media(prefers-reduced-motion:no-preference){.nf-guide[data-gesture="hello"] .nf-guide-launcher img{animation:nf-guide-hello 1.2s ease-in-out 1}.nf-guide[data-gesture="look"] .nf-guide-launcher img{animation:nf-guide-look .8s ease-in-out 1}.nf-guide[data-gesture="answer"] .nf-guide-launcher img{animation:nf-guide-nod .65s ease-in-out 1}.nf-guide-panel{animation:nf-guide-open .22s ease-out 1}.nf-guide-tip{animation:nf-guide-open .3s ease-out 1}
@keyframes nf-guide-hello{0%,100%{transform:rotate(0)}25%{transform:rotate(-7deg) translateY(-3px)}55%{transform:rotate(6deg) translateY(-3px)}80%{transform:rotate(-3deg)}}@keyframes nf-guide-look{0%,100%{transform:rotate(0)}50%{transform:rotate(-6deg) translateY(-3px)}}@keyframes nf-guide-nod{0%,100%{transform:translateY(0)}50%{transform:translateY(4px)}}@keyframes nf-guide-open{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}
@media(max-width:600px){.nf-guide{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom))}.nf-guide-launcher,.nf-guide-launcher img{width:70px}.nf-guide-label{font-size:10px}.nf-guide-tip{right:82px;bottom:26px;width:185px}.nf-guide-panel{max-height:calc(100dvh - 136px)}.nf-guide-minimize{width:26px;height:26px;min-width:26px}}
/* Navigation takes priority, especially when the mobile menu covers the screen. */
body:has(.services-menu[open],.menu-toggle[aria-expanded="true"]) .nf-guide{visibility:hidden;pointer-events:none}
@media(prefers-reduced-motion:reduce){.nf-guide *, .nf-guide *:before{animation:none!important;transition:none!important}.nf-guide-launcher:hover img{transform:none}}
@media print{.nf-guide{display:none!important}}

/* Assistant: all content stays inside the existing non-modal mascot panel. */
.nf-guide-panel{width:390px;max-height:min(740px,calc(100dvh - 180px))}
.nf-guide-body{padding:16px}.nf-guide-context{margin:14px 0 12px}.nf-guide-body>.nf-guide-context{display:none}
.nf-chat-log{max-height:260px;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:10px;padding:2px 4px 8px 2px}
.nf-chat-message{padding:12px;border-radius:14px;background:#edf5ff;overflow-wrap:anywhere;flex-shrink:0}
.nf-chat-message strong{font-size:11px;color:#426080}.nf-chat-message p{white-space:pre-wrap;margin:5px 0 0;font-size:13px;line-height:1.55}
.nf-chat-user{background:#0068d1;color:#fff;margin-left:24px}.nf-chat-user strong{color:#e2efff}.nf-chat-user[data-pending]{opacity:.7}
.nf-chat-links{display:flex;flex-direction:column;gap:4px;margin-top:8px}.nf-chat-links a{color:#0068d1;font-size:12px;min-height:30px;display:flex;align-items:center}
.nf-chat-status{font-size:12px;color:#49637d;margin:8px 0}.nf-chat-status:empty{display:none}.nf-chat-privacy{font-size:11px;color:#586c81;margin:8px 0;line-height:1.5}
.nf-chat-input-label{display:block;font-size:12px;font-weight:bold;margin:10px 0 5px}
.nf-chat-input,.nf-chat-summary{font:14px/1.5 Arial,sans-serif;display:block;width:100%;min-width:0;resize:vertical;max-height:160px;min-height:64px;border:1px solid #a9bed5;border-radius:12px;padding:10px;color:#182a40;background:#fff}
.nf-chat-input:focus-visible,.nf-chat-summary:focus-visible{outline:3px solid #0068d1;outline-offset:2px}
.nf-chat-actions{display:flex;gap:10px;margin-top:8px;align-items:center}.nf-chat-send{border:0;border-radius:20px;background:#0068d1;color:#fff;padding:9px 18px;min-height:42px}.nf-chat-reset{border:0;background:transparent;color:#426080;padding:8px;min-height:42px;font-size:12px!important}
.nf-chat button:disabled{cursor:default;opacity:.55}.nf-chat-prepare{width:100%;border:1px solid #a9bed5;background:#fff;border-radius:20px;color:#0068d1;min-height:42px;padding:8px 12px;margin:10px 0 14px}
.nf-chat-review{padding:12px;background:#f7faff;border:1px solid #e0e7f1;border-radius:14px;margin:0 0 14px}.nf-chat-review h3{font-size:14px;margin:0}.nf-chat-whatsapp{display:flex;justify-content:center;align-items:center;border-radius:20px;background:#0068d1;color:#fff;text-decoration:none;min-height:44px;padding:8px;margin-top:10px}
.nf-guide-options{border-top:1px solid #e0e7f1;padding-top:12px}.nf-guide-header{position:sticky;top:0;z-index:1}.nf-guide-contact{margin-top:12px}
@media(max-width:600px){.nf-guide-panel{max-height:calc(100dvh - 136px)}.nf-chat-log{max-height:190px}.nf-guide-body{padding:14px}.nf-chat-input,.nf-chat-summary{font-size:16px}}

/* Leave the footer and workbench controls free. The launcher keeps a small accessible presence. */
.nf-guide[data-footer="true"]{bottom:104px}.nf-guide[data-footer="true"] .nf-guide-launcher{width:60px}.nf-guide[data-footer="true"] .nf-guide-stage{width:60px;height:64px}.nf-guide[data-footer="true"] .nf-guide-label,.nf-guide[data-footer="true"] .nf-guide-minimize,.nf-guide[data-footer="true"] .nf-guide-pause{display:none}
.nf-guide-shortcuts{border-top:1px solid #d9e2ee;margin-top:14px;padding-top:10px}.nf-guide-shortcuts>summary{cursor:pointer;color:#426080;font-size:13px;padding:6px 0}.nf-guide-shortcuts[open] .nf-guide-options{margin-top:12px}
@media(max-width:600px){.nf-guide-panel{max-height:calc(100dvh - 100px);width:min(390px,calc(100vw - 24px))}.nf-chat-log{max-height:clamp(190px,38dvh,330px)}.nf-guide[data-footer="true"]{bottom:100px}.nf-guide-context{font-size:12px;margin-bottom:8px}}
