/* Urnebi.ge WhatsApp mascot. */
.quick-contact{background:transparent;box-shadow:none;border-radius:0;padding:0;align-items:flex-end;gap:10px;pointer-events:none;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom))}
.quick-contact>a,.quick-contact>button{pointer-events:auto}
.quick-contact .quick-whatsapp{position:relative;order:3;display:block;width:179.541px;height:179.541px;padding:0;min-height:0;border-radius:18px;background:transparent;filter:none;line-height:0}
body[data-view] .quick-contact .quick-whatsapp {
  width: 112px;
  height: 150px;
}
.quick-whatsapp .mascot-sprite {
  position: absolute;
  height: calc(100% - 50px);
  aspect-ratio: 5 / 6;
  inset: 0 auto auto 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.quick-whatsapp .mascot-image {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 40%, 10% 40%, 24% 36%, 26% 28%, 23% 23%, 0 21%);
}
.quick-whatsapp .mascot-hand {
  /* The layers overlap at the cuff so the glove stays attached as it pivots. */
  clip-path: polygon(0 20%, 23% 22%, 26% 27%, 26% 36.5%, 10% 41.5%, 0 41.5%);
  transform-origin: 17% 38%;
  animation: bin-greeting 2.4s ease-in-out infinite;
}
.quick-whatsapp .mascot-expression { opacity: 0; }
.quick-whatsapp .mascot-eyes {
  clip-path: inset(31.8% 22.7% 55.8% 43.5%);
  animation: bin-blink 6s linear infinite;
}
.quick-whatsapp .mascot-mouth {
  clip-path: inset(44.1% 30% 45.8% 52.7%);
  animation: bin-talk 6s linear infinite;
}
.quick-whatsapp.is-paused :is(.mascot-hand, .mascot-expression) {
  animation-play-state: paused;
}
@keyframes bin-blink {
  0%, 3%, 7%, 63%, 67%, 100% { opacity: 0; }
  4%, 6%, 64%, 66% { opacity: 1; }
}
@keyframes bin-talk {
  0%, 2%, 7%, 10%, 15%, 18%, 100% { opacity: 0; }
  3%, 6%, 11%, 14%, 16%, 17% { opacity: 1; }
}
.quick-whatsapp .whatsapp-glyph {
  position: absolute;
  box-sizing: border-box;
  width: 54px;
  height: 54px;
  padding: 10px;
  right: 50%;
  bottom: 0;
  transform: translateX(50%);
  color: white;
  background: #128447;
  border-radius: 50%;
  box-shadow: 0 4px 10px #10322040;
}
@keyframes bin-greeting {
  0%, 44%, 100% { transform: none; }
  8%, 24% { transform: rotate(-15deg); }
  16%, 32% { transform: rotate(7deg); }
}
@media (max-width: 600px) {
  body[data-view] .quick-contact .quick-whatsapp { width: 86px; height: 115px; }
  .quick-whatsapp .mascot-sprite { height: calc(100% - 43px); }
  .quick-whatsapp .whatsapp-glyph { width: 46px; height: 46px; padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .quick-whatsapp :is(.mascot-hand, .mascot-expression) { animation: none; }
}

.quick-contact .quick-call{margin-bottom:8px;box-shadow:0 3px 14px #0002;order:1}
.quick-contact .mascot-pause{order:2;margin-bottom:8px;width:36px;height:36px;border:1px solid #ddd;border-radius:50%;background:#fff;color:#222;font-size:14px;cursor:pointer}
.quick-whatsapp:focus-visible,.mascot-pause:focus-visible{outline:3px solid #147d46;outline-offset:4px}

@media(max-width:600px){.quick-contact{right:max(8px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));gap:6px}.quick-contact .quick-whatsapp{width:130.968px;height:130.968px}.quick-contact .quick-call{padding:10px 12px}.quick-contact .mascot-pause{width:32px;height:32px}}

/* No persistent animation icon. Text controls appear only for keyboard focus. */
.quick-contact .mascot-pause{position:relative;opacity:0;pointer-events:none;border:0;background:transparent;box-shadow:none}
.quick-contact .mascot-pause:focus-visible{opacity:1;pointer-events:auto;outline:none}
.quick-contact .mascot-pause:focus-visible::after{content:attr(data-label);position:absolute;right:0;bottom:0;white-space:nowrap;font:600 13px/1.3 system-ui;padding:12px;background:#fff;color:#193f50;border:2px solid #147d46;border-radius:12px;box-shadow:0 2px 12px #0002}
@media(prefers-reduced-motion:reduce){.quick-contact .mascot-pause{visibility:hidden}}

/* Badge-only replacement; retain original URNEBI robot and animation. */
.quick-whatsapp .whatsapp-glyph{padding:0;background:transparent;box-shadow:none;object-fit:contain}

/* User-approved four-pose lid animation. Preserve contact controls and badge. */
.quick-whatsapp .mascot-sprite{aspect-ratio:3/4;background-image:url('/assets/mascot/lid-open-sheet.png');background-size:400% 100%;background-repeat:no-repeat;animation:approved-bin-lid 4.1s steps(1,end) infinite}
.quick-whatsapp .mascot-sprite>img{visibility:hidden;animation:none}
@keyframes approved-bin-lid{0%,100%{background-position:0% 0}39.0244%,91.4634%{background-position:33.333333% 0}47.561%,82.9268%{background-position:100% 0}56.0976%{background-position:66.666667% 0}}
.quick-whatsapp.is-paused .mascot-sprite{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.quick-whatsapp .mascot-sprite{animation:none;background-position:0 0}}

/* Independent clean body, lid and waving arm layers. */
.quick-whatsapp .mascot-sprite{background:none;animation:none}
.quick-whatsapp .mascot-sprite::before,.quick-whatsapp .mascot-sprite::after{content:'';position:absolute;inset:0;background:url('/assets/mascot/body-clean-sheet.png') no-repeat;background-size:400% 100%}
.quick-whatsapp .mascot-sprite::before{clip-path:inset(32% 0 0);background-position:0 0}
.quick-whatsapp .mascot-sprite::after{clip-path:inset(0 0 68%);animation:approved-bin-lid 4.1s steps(1,end) infinite}
.quick-whatsapp .clean-wave-arm{position:absolute;display:block;left:5%;top:28%;width:39%;aspect-ratio:1;background:url('/assets/mascot/wave-arm.png') center/contain no-repeat;transform-origin:80% 78%;animation:clean-arm-wave 2.8s ease-in-out infinite;z-index:3}
@keyframes clean-arm-wave{0%,65%,100%{transform:rotate(0deg)}15%,45%{transform:rotate(-9deg)}30%,55%{transform:rotate(7deg)}}
.quick-whatsapp.is-paused .mascot-sprite::after,.quick-whatsapp.is-paused .clean-wave-arm{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.quick-whatsapp .mascot-sprite::after,.quick-whatsapp .clean-wave-arm{animation:none}}
