/* Silver contact dials; only the return-to-top dial has an outer progress scale. */
#floatContactHabaX928 {
  position: fixed;
  z-index: 99999;
  right: 18px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

#floatContactHabaX928 .floating-contact__dial {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: 0;
  padding: 0;
  border: 1px solid #dce4e9;
  border-radius: 50%;
  background: conic-gradient(from 20deg, #f2f5f7, #a3adb5 18%, #f7fafb 36%, #87959f 55%, #dce5eb 72%, #a8c5d4 80%, #b1bcc4 90%, #f2f5f7);
  color: #172b3a;
  box-shadow: inset 0 0 0 2px rgba(33, 49, 60, 0.25), inset 0 2px 4px rgba(255, 255, 255, 0.8), 0 4px 12px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

#floatContactHabaX928 .floating-contact__dial::before {
  position: absolute;
  z-index: -1;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: radial-gradient(ellipse at 28% 14%, rgba(255, 255, 255, 0.4), transparent 62%);
  content: "";
  pointer-events: none;
}

#floatContactHabaX928 .floating-contact__dial:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 2px rgba(33, 49, 60, 0.25), inset 0 2px 4px #fff, 0 5px 18px rgba(0, 124, 176, 0.25);
}

#floatContactHabaX928 .floating-contact__dial:focus-visible {
  outline: 2px solid var(--haba-accent, #007cb0);
  outline-offset: 5px;
}

.floating-contact__icon { display: block; width: 23px; height: 23px; pointer-events: none; }
.floating-contact__icon--whatsapp { width: 26px; height: 26px; }
.floating-contact__top .floating-contact__icon { position: absolute; top: 10px; width: 20px; height: 20px; }
.floating-contact__progress-text { position: absolute; bottom: 7px; font-size: 9px; font-weight: 700; line-height: 1; letter-spacing: 0; }

.floating-contact__progress-ring {
  position: absolute;
  inset: -11px;
  width: calc(100% + 22px);
  height: calc(100% + 22px);
  overflow: visible;
  pointer-events: none;
}

.floating-contact__tick { stroke: #9caeb9; opacity: 0.5; transition: stroke 120ms ease, opacity 120ms ease, filter 120ms ease; }
.floating-contact__tick.is-active {
  stroke: var(--haba-accent, #007cb0);
  opacity: 1;
  filter: drop-shadow(0 0 1.3px var(--haba-accent, #007cb0));
}

#floatContactHabaX928 .floating-contact__top:not(.is-visible) { visibility: hidden; opacity: 0; pointer-events: none; }
#ui-to-top { display: none !important; visibility: hidden !important; pointer-events: none !important; }

@media (max-width: 575px) {
  #floatContactHabaX928 { right: 15px; bottom: 20px; gap: 13px; }
  #floatContactHabaX928 .floating-contact__dial { width: 50px; height: 50px; }
  .floating-contact__top .floating-contact__icon { top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  #floatContactHabaX928 .floating-contact__dial,
  .floating-contact__tick { transition: none; }
}

.floating-contact__label { display: none; }
@media (max-width: 575px) {
  .floating-contact__full-contact .floating-contact__icon { display: none; }
  .floating-contact__full-contact .floating-contact__label {
    display: block;
    font-size: 8.5px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.2px;
  }
}

/* Compact dials leave the two-column introduction clear on narrow phones. */
@media (max-width: 375px) {
  #floatContactHabaX928 { right: 14px; bottom: 16px; gap: 10px; }
  #floatContactHabaX928 .floating-contact__dial { width: 44px; height: 44px; }
  .floating-contact__top .floating-contact__icon { top: 6px; }
  .floating-contact__progress-text { bottom: 5px; }
}

/* The full-contact shortcut is only needed on smaller screens. */
@media (min-width: 992px) {
  #floatContactHabaX928 .floating-contact__full-contact { display: none; }
}
