/* Floating contact: photo (not clickable) + «Напишите мне» button → menu with Telegram / MAX / WhatsApp. Monochrome; brand colour only on hover. */
.fab__wrap { position: relative; }
.fab__label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 14px;
  background: var(--inv-bg); color: var(--inv-text); padding: 10px 16px; border-radius: 999px; transition: scale .15s ease-out; }
.fab__label:active { scale: .96; }
.fab__label:focus-visible, .fab__item:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.fab__chev { font-family: var(--display); font-size: 13px; transition: rotate .3s cubic-bezier(0.16, 1, 0.3, 1); }
.fab.is-open .fab__chev { rotate: 180deg; }
/* 28px above the button = 18px above the photo (the 64px photo sits 10px higher than the 44px button) */
.fab__menu { position: absolute; right: 0; bottom: calc(100% + 28px); width: 240px; padding: 8px; border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--ring), 0 16px 40px rgb(0 0 0 / .45);
  opacity: 0; visibility: hidden; translate: 0 8px; scale: .96; transform-origin: bottom right;
  transition: opacity .2s ease-out, translate .3s cubic-bezier(0.16, 1, 0.3, 1), scale .3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear .3s; }
.fab.is-open .fab__menu { opacity: 1; visibility: visible; translate: 0 0; scale: 1; transition: opacity .2s ease-out, translate .3s cubic-bezier(0.16, 1, 0.3, 1), scale .3s cubic-bezier(0.16, 1, 0.3, 1); }
/* concentric radius: menu 20 = item 12 + padding 8 */
.fab__item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: var(--text); font-size: 15px; font-weight: 500; transition: background-color .15s ease-out; }
.fab__item:hover { background: var(--surface-2); }
.fab__ico { width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; background: var(--surface-2); box-shadow: 0 0 0 1px var(--ring); transition: background-color .2s ease-out; }
.fab__ico img { width: 20px; height: 20px; }
.fab__item:hover .fab__ico--tg { background: #26A5E4; }
.fab__item:hover .fab__ico--max { background: #471AFF; }
.fab__item:hover .fab__ico--wa { background: #25D366; }
.fab__name { flex: 1; }
.fab__go { font-family: var(--display); font-size: 14px; color: var(--text-2); transition: translate .2s ease-out; }
.fab__item:hover .fab__go { translate: 2px -2px; color: var(--text); }
@media (prefers-reduced-motion: reduce) { .fab__menu, .fab__chev { transition: none; } }
