/* Панель связи: только до десктопа (на десктопе телефоны в подвале и на «Контактах»). */
.progranat-contact-bar {
  display: none;
}

@media (max-width: 991px) {
  .progranat-contact-bar {
    position: fixed;
    z-index: 20;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(18, 18, 18, 0.92);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
  }

  .progranat-contact-bar__link {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    color: var(--pg-header-cream);
    font-family: var(--second-family, sans-serif);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
  }

  .progranat-contact-bar__link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .progranat-contact-bar__link--accent {
    border-color: transparent;
    background: linear-gradient(270deg, #ac7b43 -131.74%, #e1b17a 35.46%, #ac7b43 231.74%);
    color: #121212;
  }

  .progranat-contact-bar__link:focus-visible {
    outline: 2px solid var(--pg-header-cream);
    outline-offset: 2px;
  }

  /* Чтобы панель не закрывала низ подвала. */
  body.has-contact-bar {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
}
