/* tinytask.software — lightbox, marquee, floating header helpers */

html { scroll-behavior: smooth; }

.top-nav-wrapper {
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.top-nav-wrapper.is-scrolled {
  background: rgba(15, 23, 42, 0.92) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  border-color: rgba(59, 130, 246, 0.2) !important;
}

#menu-drawer.is-open {
  display: flex !important;
}

.quote-scroll {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.quote-lane {
  display: flex;
  width: max-content;
  gap: 1.25rem;
  animation: review-scroll 45s linear infinite;
}

.quote-lane:hover {
  animation-play-state: paused;
}

@keyframes review-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

#tt-lightbox {
  display: none;
}

#tt-lightbox.is-open {
  display: flex;
}

.help-stack__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.help-stack__item.is-open .help-stack__body {
  max-height: 1200px;
}

.help-stack__item.is-open .help-stack-chevron {
  transform: rotate(180deg);
}

.zoom-hit {
  cursor: zoom-in;
}

#tt-cta-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 45;
}

html[dir="rtl"] #tt-cta-float {
  right: auto;
  left: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .quote-lane { animation: none; }
  html { scroll-behavior: auto; }
}

/* Visible breadcrumbs (UX + SEO) */
.path-crumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: #64748b;
}

.path-crumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: #475569;
  pointer-events: none;
}

.path-crumb a {
  color: #00d4ff;
  text-decoration: none;
}

.path-crumb a:hover {
  color: #00f5ff;
  text-decoration: underline;
}

.path-crumb li[aria-current="page"] {
  color: #71717a;
}
