/* Portino - pływający widżet "Pobierz demo" (lewy dolny róg, wszystkie strony z ofertą) */
.demo-w { position: fixed; left: 20px; bottom: 20px; z-index: 64; pointer-events: none; opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .6s cubic-bezier(.22, 1, .36, 1); }
.demo-w.is-in { opacity: 1; transform: none; pointer-events: auto; }
.demo-w__float { transform: translateY(var(--lag, 0px)); transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.demo-w__bob { animation: demo-bob 4.5s ease-in-out infinite; }
@keyframes demo-bob { 50% { transform: translateY(-5px); } }

.demo-w__card { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 6px 12px; align-items: center; width: 290px; padding: 16px 16px 14px; border-radius: 20px;
  background: var(--card, #fffdf9); box-shadow: inset 0 0 0 1px rgba(217, 164, 65, .45), 0 18px 40px -14px rgba(40, 25, 15, .45), 0 4px 10px rgba(40, 25, 15, .08); }
.demo-w__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, #f3c56b, #d9a441); }
.demo-w__ico svg { width: 24px; height: 24px; fill: none; stroke: #2b221d; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.demo-w__txt b { display: block; font: 400 18px/1.15 var(--serif, Georgia, serif); color: var(--ink, #2b221d); }
.demo-w__txt small { display: block; margin-top: 3px; font: 500 10px/1.3 var(--mono, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #8d8077); }
.demo-w__btn { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; padding: 12px 16px; border-radius: 999px;
  background: var(--ink, #2b221d); color: var(--paper, #fbf8f3); font: 600 14px/1 var(--sans, sans-serif); text-decoration: none; transition: background .3s, transform .3s; }
.demo-w__btn:hover { background: var(--terra, #c9603f); transform: translateY(-1px); }
.demo-w__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.demo-w__acc { grid-column: 1 / -1; justify-self: center; font: 600 12px/1.2 var(--sans, sans-serif); color: var(--terra, #c9603f); text-decoration: underline; text-underline-offset: 3px; }
.demo-w__close { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; color: var(--muted, #8d8077); font: 400 20px/1 sans-serif; cursor: pointer; }
.demo-w__close:hover { background: rgba(43, 34, 29, .07); color: var(--ink, #2b221d); }

/* zwinięty: mały przycisk */
.demo-w__pill { display: none; align-items: center; gap: 8px; padding: 11px 16px 11px 12px; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, #f3c56b, #d9a441); color: #2b221d; font: 700 13px/1 var(--sans, sans-serif);
  box-shadow: 0 12px 28px -10px rgba(40, 25, 15, .5); }
.demo-w__pill svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.demo-w.is-min .demo-w__card { display: none; }
.demo-w.is-min .demo-w__pill { display: inline-flex; }

@media (max-width: 640px) {
  .demo-w { left: 12px; bottom: 12px; }
  .demo-w__card { width: min(290px, calc(100vw - 24px)); }
}
@media (prefers-reduced-motion: reduce) {
  .demo-w__bob { animation: none; }
  .demo-w__float { transition: none; }
}
