/* Smooth scrolling polish (public pages only) */
html { scroll-padding-top: 90px; }
#uidtProg { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: var(--accent-yellow, #f59e0b); z-index: 99999; pointer-events: none; will-change: transform; }
/* scroll reveal: hidden only when JS is running (html.rv-on), so nothing stays invisible if JS fails */
html.rv-on .rv:not(.rv-in) { opacity: 0; }
html.rv-on .rv.rv-in { animation: rvUp .65s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: var(--rv-d, 0s); }
@keyframes rvUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.rv-on .rv:not(.rv-in) { opacity: 1; }
  html.rv-on .rv.rv-in { animation: none; }
  #uidtProg { display: none; }
}

/* map iframe wheel ko na pakde: click karne par hi map interactive hota hai */
.map-section iframe, .footer-map-iframe { pointer-events: none; }
.map-on iframe, .map-on.footer-map-iframe { pointer-events: auto; }
.magic-reveal { transition: opacity .6s ease-out, transform .6s ease-out; }
