/* Общая панель связи на публичных страницах RU и EN. */
body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
html { scroll-padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
.dock#contact-dock {
  position: fixed; z-index: 30; inset: auto 0 0; display: flex; justify-content: center;
  padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  background: rgba(6,16,32,.95); border-top: 1px solid #304155; backdrop-filter: blur(12px);
}
#contact-dock .messenger-choice {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px;
  width: min(100%, 440px); margin: 0;
}
#contact-dock .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  position: relative; isolation: isolate; overflow: hidden; min-height: 50px; padding: 8px 12px;
  color: #062134; font-size: 16px; font-weight: 700; border: 1px solid rgb(255 255 255 / 58%);
}
#contact-dock .btn svg { width: 28px; height: 28px; flex: none; }
#contact-dock .msg-whatsapp { background: linear-gradient(110deg,#34e394,#85f5b5); }
#contact-dock .msg-telegram { background: linear-gradient(110deg,#48bcff,#9cddff); }
#contact-dock .btn:focus-visible { outline: 3px solid white; outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  #contact-dock .btn::after {
    content: ""; position: absolute; inset: -70% -40%; pointer-events: none;
    background: linear-gradient(110deg,transparent 41%,rgb(255 255 255 / 35%) 50%,transparent 59%);
    animation: messenger-glint 6s ease-in-out infinite;
  }
  #contact-dock .msg-telegram::after { animation-delay: .18s; }
}
@keyframes messenger-glint {
  0%, 64% { transform: translateX(-70%); }
  92%, 100% { transform: translateX(70%); }
}
@media print {
  .dock#contact-dock { display: none; }
  body { padding-bottom: 0; }
}
