/* Accessibilità, menu mobile e chat su telefono. Il resto sta in services.css. */
a, button, summary { touch-action: manipulation; }
.skip-link {
  position: fixed; z-index: 3000; top: 8px; left: 12px;
  padding: 12px 18px; border-radius: var(--r-pill);
  color: var(--text-inv); background: var(--bg-dark);
  transform: translateY(-200%); font-weight: 500;
}
.skip-link:focus { transform: none; }
.has-chat .site-footer { padding-bottom: 96px; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: var(--margin); right: var(--margin);
    flex-direction: column; align-items: stretch; gap: 4px; padding: var(--s2);
    background: var(--white); border-radius: var(--r-frame); box-shadow: var(--shadow);
    max-height: calc(100dvh - 80px); overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 48px; font-size: 17px; }
  .site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--surface); }
  .site-nav .nav-cta { justify-content: center; }
  .bot-fab { right: 16px; bottom: 16px; padding: 8px; }
  .bot-fab-label { display: none; }
  .bot-popup { inset: auto 8px 80px auto; width: calc(100vw - 16px); height: min(620px, calc(100dvh - 100px)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
