/* Self-contained contact widget. Uses the site's existing font only. */
body:has(.quick-contacts) { padding-bottom: 88px; }
.quick-contacts { position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); z-index: 800; font-family: inherit; color: #171c27; }
.quick-contacts[hidden], .quick-contacts [hidden] { display: none !important; }
.quick-contacts svg { display: block; width: 24px; height: 24px; flex: none; }
.qc-trigger { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 22px; border: 1px solid rgba(255,255,255,.5); border-radius: 30px; background: #1047ed; color: #fff; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; box-shadow: 0 6px 24px rgba(8,35,102,.25); }
.qc-trigger:hover { background: #1138b8; }
.quick-contacts .qc-close { display: none; }
.qc-trigger[aria-expanded="true"] .qc-chat { display: none; }
.qc-trigger[aria-expanded="true"] .qc-close { display: block; }
.qc-panel { position: absolute; right: 0; bottom: calc(100% + 12px); width: min(306px, calc(100vw - 32px)); max-height: calc(100dvh - 112px - env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; padding: 10px; background: #fff; border: 1px solid #dce2ef; border-radius: 18px; box-shadow: 0 14px 50px rgba(15,28,59,.2); }
.qc-caption { margin: 4px 8px 10px; font-size: 12px; font-weight: 800; color: #606b7d; }
.qc-link { display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 10px; border-radius: 10px; color: #171c27; text-decoration: none; }
.qc-link:hover { background: #edf2ff; }
.qc-link + .qc-link { margin-top: 4px; }
.qc-link strong { display: block; font-size: 15px; line-height: 1.5; font-weight: 800; }
.qc-link small { display: block; font-size: 12px; line-height: 1.5; color: #606b7d; }
.qc-service-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #edf2ff; color: #1047ed; flex: none; }
.qc-whatsapp .qc-service-icon { color: #087b54; background: #e9faf2; }
.qc-telegram .qc-service-icon { color: #096b9f; background: #eaf6ff; }
.qc-arrow { margin-left: auto; color: #e55243; font-size: 18px; }
.qc-trigger:focus-visible, .qc-link:focus-visible { outline: 3px solid #ff6758; outline-offset: 3px; }
@media (max-width: 600px) {
  .quick-contacts { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
  .qc-trigger { width: 56px; height: 56px; padding: 0; border-radius: 50%; }
  .qc-trigger-label { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .qc-trigger { transition: background .15s ease, box-shadow .15s ease; }
  .qc-panel { animation: qc-reveal .15s ease-out; }
  @keyframes qc-reveal { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
}
