:root {
  --bg: #f7f7f8;
  --bg-2: #ffffff;
  --card: #ffffff;
  --text: #1f2328;
  --muted: #6b7280;
  --accent: #f58220;
  --line: #e6e7ea;
  --shadow: 0 8px 24px rgba(16,24,40,.08);
  --radius: 12px;
  --transition: 0.25s ease;
}
/* Floating call button — mobile only */
.call-btn{
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom));
  right: calc(20px + env(safe-area-inset-right));
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, #0000);

  z-index: 9999;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  -webkit-tap-highlight-color: transparent; /* ładniejszy tap na mobile */
}

/* Ikona SVG dziedziczy kolor z .call-btn */
.call-btn svg{
  width: 24px; height: 24px;
  fill: currentColor;
  pointer-events: none;
}

/* Interakcje */
.call-btn:hover{ transform: translateY(-2px); }
.call-btn:active{ transform: translateY(0); }
.call-btn:focus-visible{
  outline: 3px solid color-mix(in srgb, var(--accent) 35%, #fff 65%);
  outline-offset: 3px;
}

/* Ukryj na większych ekranach – pokazuj tylko na telefonach */
@media (min-width: 768px){
  .call-btn{ display: none; }
}

/* Opcjonalnie: pulsujący efekt „dzwonienia” */
.call-btn--pulse{
  position: fixed;
  isolation: isolate; /* żeby puls był pod przyciskiem */
}
.call-btn--pulse::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.35;
  transform: scale(1);
  z-index: -1;
  animation: callPulse 1.8s ease-out infinite;
}

/* Szanuj ustawienia dostępności */
@media (prefers-reduced-motion: reduce){
  .call-btn,
  .call-btn::after{ transition: none; animation: none; }
}

@keyframes callPulse{
  0%   { transform: scale(1);   opacity: 0.35; }
  70%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* (Opcjonalnie) wariant na jasnym tle: dodaj delikatny ring */
.call-btn.call-btn--ring{
  box-shadow:
    0 2px 8px rgba(0,0,0,.06),
    0 0 0 8px color-mix(in srgb, var(--accent) 15%, #0000);
}
