/* BioMedMe chat robot: a full-body robot fixed bottom-right that opens a WhatsApp chat.
   While the page scrolls it floats and tumbles as if in zero gravity (assets/chat-robot.js),
   then rights itself when scrolling stops. */
.chat-robot{position:fixed;right:max(24px,env(safe-area-inset-right,0px));bottom:calc(14px + env(safe-area-inset-bottom,0px));z-index:70;display:flex;align-items:center;gap:8px;text-decoration:none;-webkit-tap-highlight-color:transparent;}
.chat-robot-bot{position:relative;width:64px;height:104px;flex:none;transform-origin:50% 55%;will-change:transform;filter:drop-shadow(0 8px 14px rgba(6,40,69,.30)) drop-shadow(0 0 1px rgba(255,255,255,.9));}
.chat-robot-bot svg{display:block;width:100%;height:100%;overflow:visible;}
.chat-robot .cr-idle{animation:cr-float 3.6s ease-in-out infinite;}
.chat-robot.floating .cr-idle{animation:none;}
.chat-robot .cr-eye{animation:cr-blink 4.6s infinite;transform-box:fill-box;transform-origin:center;}
.chat-robot .cr-light{animation:cr-light 1.8s ease-in-out infinite;}
.chat-robot .cr-mouth-o{opacity:0;transition:opacity .2s;}
.chat-robot .cr-mouth-smile{transition:opacity .2s;}
.chat-robot.floating .cr-mouth-o{opacity:1;}
.chat-robot.floating .cr-mouth-smile{opacity:0;}
.chat-robot:focus-visible{outline:none;}
.chat-robot:focus-visible .chat-robot-bot{outline:3px solid #00A6A6;outline-offset:4px;border-radius:14px;}
@keyframes cr-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes cr-blink{0%,92%,100%{transform:scaleY(1)}95%{transform:scaleY(.1)}}
@keyframes cr-light{0%,100%{opacity:1}50%{opacity:.35}}
@media (max-width:640px){
  .chat-robot-bot{width:52px;height:85px;}
}
@media (prefers-reduced-motion:reduce){
  .chat-robot .cr-idle,.chat-robot .cr-eye,.chat-robot .cr-light{animation:none;}
}

/* Always-visible WhatsApp label next to the robot */
.chat-robot-pill{order:-1;display:inline-flex;align-items:center;gap:7px;padding:9px 14px 9px 11px;border-radius:999px;background:#25D366;color:#fff;font:700 13.5px/1 'Inter',system-ui,sans-serif;box-shadow:0 8px 20px rgba(37,211,102,.35);white-space:nowrap;transition:transform .25s;}
.chat-robot-pill svg{width:18px;height:18px;flex:none;}
.chat-robot:hover .chat-robot-pill,.chat-robot:focus-visible .chat-robot-pill{transform:translateY(-2px);}
@media (max-width:640px){ .chat-robot-pill{padding:8px 12px 8px 10px;font-size:13px;} }
/* Click: the robot sprints across the screen before WhatsApp opens */
.chat-robot.running .chat-robot-pill{opacity:0;transition:opacity .15s;}
.chat-robot.running .cr-idle{animation:none;}
