/* ==========================================================================
   HS CONSTRUCTION — Pływający przycisk "POGOTOWIE 24H" (FAB)
   Styl Gacor: kanciasty, pomarańczowy, wersaliki. Renderowany globalnie
   w mu-plugins/hs-site.php.
   ========================================================================== */

.hs-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 26px;
  border-radius: var(--hs-radius, 0);
  background: var(--hs-accent, #F77223);
  color: #FFFFFF;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  box-shadow: 0 14px 34px -14px rgba(20, 20, 20, 0.8);
  transition: background-color 0.3s ease;
}

.hs-fab:hover { background: var(--hs-ink, #141414); color: #FFFFFF; }

/* Pulsująca kropka statusu ("gotowość operacyjna") */
.hs-fab__dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FFFFFF;
  flex: none;
}

/* Dwa rozchodzące się pierścienie — efekt ripple */
.hs-fab__dot::before,
.hs-fab__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  animation: hs-ripple 2.4s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
.hs-fab__dot::after { animation-delay: 1.2s; }

@keyframes hs-ripple {
  0%   { transform: scale(1);   opacity: 0.7; }
  70%  { transform: scale(3.2); opacity: 0;   }
  100% { transform: scale(3.2); opacity: 0;   }
}

/* Ta sama kropka służy jako plakietka w stopce — tam na pomarańczowo */
.hs-footer__badge .hs-fab__dot { background: var(--hs-accent, #F77223); }
.hs-footer__badge .hs-fab__dot::before,
.hs-footer__badge .hs-fab__dot::after { background: rgba(247, 114, 35, 0.6); }

@media (max-width: 767px) {
  .hs-fab { right: 14px; bottom: 14px; padding: 15px 20px; font-size: 0.75rem; letter-spacing: 1.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .hs-fab__dot::before,
  .hs-fab__dot::after { animation: none; }
}
