/* styazhka365 — social icons + chat in header */
.ap-top-soc{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  gap:8px;
}
.ap-top-soc a{
  display:block;
  width:28px;
  height:28px;
  flex:0 0 28px;
  line-height:0;
}
.ap-top-soc a svg{
  width:100%;
  height:100%;
  display:block;
  border-radius:6px;
}
.ap-top-soc a:hover,
.ap-top-soc a:focus-visible{ opacity:.86; }

.first-block .header .ap-top-soc{
  margin-top:6px;
  align-self:center;
}

.footer .logo .social.ap-top-soc{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:flex-start;
}
.footer .logo .social.ap-top-soc a{
  margin-right:0;
  width:32px;
  height:32px;
  flex:0 0 32px;
}
.footer .logo .social.ap-top-soc a svg{
  border-radius:50%;
}

/* Chat — oval volumetric button */
.first-block .header .phone2 .st365-callback-chat{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  margin-top:2px;
  padding:8px 18px 9px;
  border:0;
  border-radius:999px;
  cursor:pointer;
  font:inherit;
  font-size:15px;
  line-height:1.2;
  font-weight:600;
  letter-spacing:.01em;
  color:#fff;
  background:
    linear-gradient(180deg, #1a9a90 0%, #0f766e 48%, #0a5c56 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.35) inset,
    0 -2px 0 rgba(0,0,0,.12) inset,
    0 4px 0 #084843,
    0 6px 14px rgba(8,72,67,.4);
  text-shadow:0 1px 0 rgba(0,0,0,.12);
  -webkit-appearance:none;
  appearance:none;
  transition:transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.first-block .header .phone2 .st365-callback-chat .fa{
  font-size:15px;
  color:#fff;
}
.first-block .header .phone2 .st365-callback-chat:hover,
.first-block .header .phone2 .st365-callback-chat:focus{
  color:#fff;
  outline:none;
  filter:brightness(1.04);
  box-shadow:
    0 1px 0 rgba(255,255,255,.4) inset,
    0 -2px 0 rgba(0,0,0,.1) inset,
    0 5px 0 #084843,
    0 8px 18px rgba(8,72,67,.45);
}
.first-block .header .phone2 .st365-callback-chat:active{
  transform:translateY(3px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.2) inset,
    0 1px 0 #084843,
    0 2px 6px rgba(8,72,67,.35);
  filter:brightness(.98);
}

@media (max-width:991px){
  .first-block .header .ap-top-soc{ display:none; }
}

@media (max-width:767px){
  .first-block .header .ap-top-soc{ display:none; }
  /* mobile sticky header: phone + chat */
  .first-block .header .phone2{
    display:flex !important;
    flex-direction:column;
    align-items:flex-end;
    text-align:right;
  }
  .first-block .header .phone2 .tel{
    font-size:16px;
    margin-bottom:2px;
  }
  .first-block .header .phone2 .st365-callback-chat{
    display:inline-flex !important;
    font-size:13px;
    padding:6px 14px 7px;
  }
  .gotop{ bottom:70px !important; }
}

.apl-vc-dock{ z-index:10050; }
.ap-top-soc a img{width:100%;height:100%;display:block;border-radius:50%;object-fit:cover;}
.ap-top-soc a svg{border-radius:50%;}
.gowt .whatsapp-ico{width:67px;height:67px;padding:0;background:transparent;border-radius:50%;display:block;}


/* Desktop: one phone only (.phone with icon); .phone2 keeps Chat */
@media (min-width:768px){
  .first-block .header .phone2 .tel{display:none!important;}
}

/* FAB volumetric */
.gochat .chat-ico{
  width:67px;
  height:67px;
  padding:0;
  border:0;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:28px;
  background:linear-gradient(180deg, #1a9a90 0%, #0f766e 48%, #0a5c56 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.35) inset,
    0 -2px 0 rgba(0,0,0,.18) inset,
    0 4px 0 #084843,
    0 6px 14px rgba(8,72,67,.4);
  text-shadow:0 1px 0 rgba(0,0,0,.15);
  transition:transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.gochat:hover .chat-ico,
.gochat:focus .chat-ico{
  filter:brightness(1.05);
  box-shadow:
    0 1px 0 rgba(255,255,255,.4) inset,
    0 -2px 0 rgba(0,0,0,.14) inset,
    0 5px 0 #084843,
    0 8px 18px rgba(8,72,67,.45);
}
.gochat:active .chat-ico{
  transform:translateY(3px);
  filter:brightness(.98);
  box-shadow:
    0 1px 0 rgba(255,255,255,.2) inset,
    0 1px 0 #084843,
    0 2px 6px rgba(8,72,67,.35);
}

.gowt a,
.gotg a{
  display:block;
  border-radius:50%;
  line-height:0;
  transition:transform .12s ease, filter .12s ease;
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,.25))
    drop-shadow(0 4px 0 rgba(0,0,0,.22))
    drop-shadow(0 6px 12px rgba(0,0,0,.28));
}
.gowt a:hover,
.gotg a:hover,
.gowt a:focus,
.gotg a:focus{
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,.3))
    drop-shadow(0 5px 0 rgba(0,0,0,.24))
    drop-shadow(0 8px 16px rgba(0,0,0,.32))
    brightness(1.04);
}
.gowt a:active,
.gotg a:active{
  transform:translateY(3px);
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,.15))
    drop-shadow(0 1px 0 rgba(0,0,0,.2))
    drop-shadow(0 2px 6px rgba(0,0,0,.25))
    brightness(.98);
}
.gowt img,
.gotg img,
.gowt .whatsapp-ico{
  display:block;
  width:67px;
  height:67px;
  border-radius:50%;
  padding:0;
  background:transparent;
}