/* Scroll animation base */
.qy-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.qy-animate--left {
  transform: translateX(-30px);
}
.qy-animate--right {
  transform: translateX(30px);
}
.qy-animate.qy-visible {
  opacity: 1;
  transform: translate(0);
}

/* Stagger children */
.qy-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.qy-stagger.qy-visible > *:nth-child(1) { transition-delay: 0.05s; }
.qy-stagger.qy-visible > *:nth-child(2) { transition-delay: 0.1s; }
.qy-stagger.qy-visible > *:nth-child(3) { transition-delay: 0.15s; }
.qy-stagger.qy-visible > *:nth-child(4) { transition-delay: 0.2s; }
.qy-stagger.qy-visible > *:nth-child(5) { transition-delay: 0.25s; }
.qy-stagger.qy-visible > *:nth-child(6) { transition-delay: 0.3s; }
.qy-stagger.qy-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth scroll for anchor links */
html { scroll-behavior: smooth; }

/* Shared CTA button style */
.qy-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: #66886D;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.qy-cta-pill:hover {
  background: #577a5e;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(102,136,109,0.35);
  color: #fff;
  text-decoration: none;
}
.qy-cta-pill svg {
  width: 16px; height: 16px;
  stroke: #fff; fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}
.qy-cta-pill:hover svg {
  transform: translateX(3px);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .qy-animate, .qy-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
