/* The Delegate, v32. Fixed on wide screens and docked in the footer on compact layouts. */
.sa-contact-bot,
.sa-contact-bot *,
.sa-contact-bot *::before,
.sa-contact-bot *::after {
  box-sizing: border-box;
}

.sa-contact-bot {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 80;
  display: block;
  width: 96px;
  height: 112px;
  color: var(--authentic-2, #173f35);
  text-decoration: none;
}

.sa-contact-bot-sprite {
  position: relative;
  display: block;
  width: 96px;
  height: 112px;
  transform: rotate(1deg);
  transform-origin: 72% 86%;
  transition: transform .24s ease;
}

.sa-contact-bot-frame {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sa-contact-bot-sprite::after {
  content: '';
  position: absolute;
  left: 27%;
  top: 65%;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(37, 211, 102, .85);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.65);
}

.sa-contact-bot.is-introducing .sa-contact-bot-frame {
  animation: sa-delegate-offer 900ms cubic-bezier(.22, .76, .2, 1) 1 both;
  transform-origin: 27% 65%;
}

.sa-contact-bot.is-introducing .sa-contact-bot-sprite::after {
  animation: sa-whatsapp-cue 650ms ease-out 430ms 1;
}

@keyframes sa-delegate-offer {
  0%,
  100% {
    transform: translate(0, 0) rotate(0);
  }

  42% {
    transform: translate(-5px, -2px) rotate(-.8deg);
  }

  68% {
    transform: translate(-2px, -1px) rotate(-.25deg);
  }
}

@keyframes sa-whatsapp-cue {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.65);
  }

  35% {
    opacity: .7;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.65);
  }
}

.sa-contact-bot-copy {
  position: absolute;
  right: 84px;
  bottom: 24px;
  display: block;
  width: min(224px, calc(100vw - 124px));
  padding: 9px 3px 8px;
  border-bottom: 3px solid rgba(39, 70, 230, .72);
  background: rgba(251, 252, 251, .97);
  opacity: 0;
  pointer-events: none;
  transform: translateX(7px) rotate(-1deg);
  transition: opacity .2s ease, transform .2s ease;
}

.sa-contact-bot-copy::after {
  content: '';
  position: absolute;
  left: 7px;
  right: 21px;
  bottom: -6px;
  height: 2px;
  border-radius: 50%;
  background: rgba(36, 94, 77, .32);
  transform: rotate(1deg);
}

.sa-contact-bot-copy strong {
  display: block;
  font-family: var(--display, Georgia, serif);
  font-size: .96rem;
  font-weight: 500;
  line-height: 1.22;
}

.sa-contact-bot:hover .sa-contact-bot-copy,
.sa-contact-bot:focus-visible .sa-contact-bot-copy {
  opacity: 1;
  transform: translateX(0) rotate(-1deg);
}

.sa-contact-bot:hover .sa-contact-bot-sprite,
.sa-contact-bot:focus-visible .sa-contact-bot-sprite {
  transform: translate(-4px, -3px) rotate(-1deg);
}

.sa-contact-bot:focus-visible {
  border-radius: 30%;
  outline: 3px solid var(--synthetic, #2746e6);
  outline-offset: 5px;
}

.sa-contact-bot.is-avoiding-framework {
  right: -24px;
  width: 76px;
  height: 88px;
}

.sa-contact-bot.is-avoiding-framework .sa-contact-bot-sprite {
  width: 76px;
  height: 88px;
}

.sa-contact-bot.is-avoiding-framework .sa-contact-bot-copy {
  visibility: hidden;
  opacity: 0;
}

@media (max-width: 1399px) {
  .footer .wrap,
  .quiet-page .quiet-footer {
    padding-bottom: 112px;
  }

  .sa-contact-bot,
  .sa-contact-bot.is-avoiding-framework {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 2;
    width: 78px;
    height: 91px;
    margin: -103px max(14px, env(safe-area-inset-right)) 12px auto;
  }

  .sa-contact-bot-sprite,
  .sa-contact-bot.is-avoiding-framework .sa-contact-bot-sprite {
    width: 78px;
    height: 91px;
  }

  .sa-contact-bot-copy,
  .sa-contact-bot.is-introducing .sa-contact-bot-copy {
    display: none;
  }
}

@media (max-width: 620px) {
  .footer .wrap,
  .quiet-page .quiet-footer {
    padding-bottom: 98px;
  }

  .sa-contact-bot,
  .sa-contact-bot.is-avoiding-framework {
    right: auto;
    bottom: auto;
    width: 70px;
    height: 82px;
    margin: -91px max(8px, env(safe-area-inset-right)) 9px auto;
  }

  .sa-contact-bot-sprite,
  .sa-contact-bot.is-avoiding-framework .sa-contact-bot-sprite {
    width: 70px;
    height: 82px;
  }

  .sa-contact-bot-copy {
    display: none;
    right: 61px;
    bottom: 14px;
    width: min(150px, calc(100vw - 90px));
    padding: 7px 3px 6px;
    border-bottom-width: 2px;
    opacity: 0;
    transform: none;
  }

  .sa-contact-bot-copy strong {
    font-size: .78rem;
    line-height: 1.2;
  }

  .sa-contact-bot:hover .sa-contact-bot-copy,
  .sa-contact-bot:focus-visible .sa-contact-bot-copy,
  .sa-contact-bot.is-introducing .sa-contact-bot-copy {
    transform: none;
  }

  .sa-contact-bot-sprite::after {
    width: 16px;
    height: 16px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .sa-contact-bot-sprite,
  .sa-contact-bot-copy,
  .sa-contact-bot-frame,
  .sa-contact-bot-sprite::after {
    animation: none;
    transition: none;
  }

  .sa-contact-bot-sprite::after {
    display: none;
  }
}
