/* Shared performance & mobile — shanghaifair.in */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
img, video, iframe { max-width: 100%; height: auto; }
img[loading="lazy"] { content-visibility: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 12px 20px;
  background: #0f172a;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus { left: 16px; top: 16px; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
  margin-top: 16px;
  padding-top: 16px;
  font-size: 12px;
}
.footer-legal a {
  color: #64748b;
  text-decoration: none;
}
.footer-legal a:hover { color: #0f172a; text-decoration: underline; }

.float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.2s;
}
.float-wa:hover { transform: scale(1.08); }

/* Mobile touch & layout fixes */
@media (max-width: 768px) {
  .v-nav-content,
  .nav-container,
  .nav-content,
  .v-nav-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .v-hero h1,
  h1 { font-size: clamp(1.75rem, 8vw, 2.5rem) !important; }
  .v-content-box,
  .v-form-card,
  .sourcing-form-card,
  .form-card { padding: 24px !important; }
  .v-flex-grid,
  .flex-row,
  .flex-container,
  .phases-container { flex-direction: column !important; gap: 32px !important; }
  .v-stats,
  .stats-bar,
  .info-grid { flex-wrap: wrap !important; gap: 20px !important; }
  .lead-form { flex-direction: column !important; }
  .lead-form input { width: 100% !important; }
  .footer-main-grid { grid-template-columns: 1fr !important; }
  .v-app-grid,
  .v-app-sites { grid-template-columns: 1fr !important; }
  iframe { min-height: 200px; }
}

@media (max-width: 480px) {
  .float-wa { bottom: 16px; right: 16px; width: 52px; height: 52px; font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
