/* Плавающая пульсирующая кнопка звонка — правая сторона (30.10) */
.kosa-call-fab{
  position:fixed; right:20px; bottom:22px; z-index:9998;
  width:62px; height:62px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(145deg,#8f3a34,#6d2521);
  color:#f7efe6; text-decoration:none;
  box-shadow:0 10px 26px rgba(109,37,33,.34), 0 2px 6px rgba(0,0,0,.12);
  transition:transform .18s ease, box-shadow .18s ease;
}
.kosa-call-fab svg{width:28px;height:28px;stroke:currentColor;fill:none;stroke-width:2}
.kosa-call-fab:hover{transform:translateY(-2px) scale(1.04);box-shadow:0 14px 32px rgba(109,37,33,.42)}
.kosa-call-fab::before,
.kosa-call-fab::after{
  content:""; position:absolute; inset:0; border-radius:50%;
  border:2px solid rgba(143,58,52,.55);
  animation:kosaPulse 2.6s ease-out infinite; pointer-events:none;
}
.kosa-call-fab::after{animation-delay:1.3s}
@keyframes kosaPulse{
  0%{transform:scale(1);opacity:.65}
  70%{transform:scale(1.55);opacity:0}
  100%{transform:scale(1.55);opacity:0}
}
@media (prefers-reduced-motion: reduce){
  .kosa-call-fab::before,.kosa-call-fab::after{animation:none}
}
@media(max-width:520px){
  .kosa-call-fab{width:56px;height:56px;right:14px;bottom:calc(16px + env(safe-area-inset-bottom))}
  .kosa-call-fab svg{width:25px;height:25px}
}

/* кнопка «наверх» — над трубкой (30.10) */
.kosa-up-fab{
  position:fixed; right:20px; bottom:96px; z-index:9997;
  width:56px; height:56px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:#ffffff; color:#7c2d2d; border:1px solid rgba(124,45,45,.3);
  box-shadow:0 8px 24px rgba(36,35,31,.22); cursor:pointer;
  opacity:0; visibility:hidden; transform:translateY(8px);
  transition:opacity .22s ease, transform .22s ease, visibility .22s;
}
.kosa-up-fab.is-visible{opacity:1;visibility:visible;transform:translateY(0)}
.kosa-up-fab:hover{background:#fff;box-shadow:0 12px 26px rgba(36,35,31,.2)}
.kosa-up-fab svg{width:24px;height:24px}
@media(max-width:520px){
  .kosa-up-fab{width:50px;height:50px;right:14px;bottom:calc(82px + env(safe-area-inset-bottom))}
  .kosa-up-fab svg{width:22px;height:22px}
}
