/* Plovoucí zkratka na časté dotazy (kulaté tlačítko vpravo dole).
   Barvy bere z proměnných webu, s náhradními hodnotami. */
.faq-root {
  --faq-accent: var(--accent, #ff5a1f);
  --faq-accent-2: var(--accent-2, #ff9f1c);
  --faq-on-accent: var(--on-accent, #0c0c0c);
  --faq-ease: var(--ease, cubic-bezier(.2, .7, .2, 1));
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  transition: opacity .2s var(--faq-ease);
}
.faq-toggle {
  display: grid; place-items: center; box-sizing: border-box;
  width: 56px; height: 56px; border-radius: 50%; text-decoration: none;
  background: linear-gradient(135deg, var(--faq-accent), var(--faq-accent-2));
  color: var(--faq-on-accent);
  box-shadow: 0 12px 30px -8px rgba(255, 90, 31, .55), 0 2px 6px rgba(0, 0, 0, .35);
  transition: transform .2s var(--faq-ease), filter .2s var(--faq-ease);
}
.faq-toggle:hover { filter: brightness(1.08); transform: translateY(-2px); }
.faq-toggle:active { transform: scale(.96); }
.faq-toggle:focus-visible { outline: 2px solid var(--faq-accent-2); outline-offset: 3px; }
.faq-toggle svg { width: 26px; height: 26px; }

@media (min-width: 560px) {
  .faq-root { right: 24px; bottom: 24px; }
}

/* Telefon: tlačítko sedí nad lištou s hlavním CTA a u formuláře nebo u dotazů mizí */
@media (max-width: 819px) {
  body:has(.cta-dock) .faq-root { bottom: 88px; }
  .at-form .faq-root, .at-faq .faq-root { opacity: 0; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-root, .faq-toggle { transition: none; }
}
