/* ===========================================================================
   Pływający panel kontaktu („czat").

   Nie jest to czat na żywo — to skrót do trzech dróg kontaktu. Nazwa klasy
   została z makiety. Występuje na czterech podstronach ofertowych.
   =========================================================================== */

.chat-fab {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 300;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--beige);
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(26, 26, 28, .22);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, background .25s ease;
}
.chat-fab:hover { background: var(--beige-dark); transform: translateY(-2px); }
.chat-fab svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 1.6; }

.chat-panel {
  position: fixed;
  bottom: 100px; right: 26px;
  z-index: 300;
  width: 340px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(26, 26, 28, .22);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: .28s cubic-bezier(.2, 0, .2, 1);
}
.chat-panel.open { opacity: 1; visibility: visible; transform: none; }

.chat-head { background: var(--ink); color: #fff; padding: 22px 24px; }
.chat-head h4 { font-size: 17px; font-weight: 400; margin-bottom: 4px; }
.chat-head p { font-size: 13px; opacity: .7; font-weight: 300; display: flex; align-items: center; gap: 8px; }
.chat-head .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ecb6a; display: inline-block; }

.chat-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }

.chat-opt {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 300;
  color: var(--ink);
  transition: border-color .25s ease, background .25s ease;
  background: #fff;
  text-align: left;
}
.chat-opt:hover { border-color: var(--beige); background: var(--bg-alt); }
.chat-opt .ico {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg-alt);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--beige-dark);
}

.chat-foot { padding: 0 18px 18px; font-size: 11.5px; color: #9a9a9f; text-align: center; }

@media (max-width: 600px) {
  .chat-fab { bottom: 18px; right: 18px; }
  .chat-panel { bottom: 88px; right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-fab, .chat-panel { transition: none; }
}
