.whatsappContact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: calc(100vw - 32px);
  padding: 11px 15px 11px 11px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  color: #fff;
  background: rgba(22,16,29,.92);
  box-shadow: 0 18px 48px rgba(0,0,0,.38);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.whatsappContact:hover {
  transform: translateY(-3px);
  border-color: rgba(37,211,102,.55);
  box-shadow: 0 20px 52px rgba(0,0,0,.42), 0 0 0 4px rgba(37,211,102,.08);
}

.whatsappContact:focus-visible {
  outline: 3px solid #25d366;
  outline-offset: 3px;
}

.whatsappMark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 8px 22px rgba(37,211,102,.24);
}

.whatsappMark::before {
  content: "";
  width: 22px;
  height: 22px;
  background: #082e17;
  -webkit-mask: url("assets/icons/chats-circle.svg") center / contain no-repeat;
  mask: url("assets/icons/chats-circle.svg") center / contain no-repeat;
}

.whatsappCopy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.whatsappCopy b {
  font-size: 13px;
  line-height: 1.25;
}

.whatsappCopy small {
  color: rgba(255,255,255,.63);
  font-size: 10px;
  line-height: 1.35;
  white-space: nowrap;
}

/* Keep the quiz controls clear; the WhatsApp entry returns with the result. */
.readyCheckPage:not(.quizComplete) .whatsappContact {
  display: none;
}

/* The result already has a full WhatsApp CTA, so a floating duplicate only
   covers the score card. */
.readyCheckPage .whatsappContact {
  display: none;
}

@media (max-width: 920px) {
  /* Mobile pages keep their in-flow plan and footer contact links. A fixed
     bubble obscures content on narrow screens, so it is desktop-only. */
  .whatsappContact {
    display: none;
  }
}

@media (max-width: 560px) {
  .whatsappContact {
    right: 12px;
    bottom: 12px;
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .whatsappMark {
    width: 38px;
    height: 38px;
  }

  .whatsappCopy { display: none; }
}
