/* Clean service grid: aligned cards without the animated connector lattice. */
body[data-page="home"] .service-grid__cards {
  align-items: stretch;
}

body[data-page="home"] .service-grid__cards .fx-lattice {
  display: none !important;
}

body[data-page="home"] .service-grid__cards .service-card {
  --card-offset: 0rem !important;
  translate: none;
}

@media (width <= 620px) {
  body[data-page="home"] .service-grid__cards.fx-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding-bottom: 0;
  }

  body[data-page="home"] .service-grid__cards .service-card.home-reveal,
  body[data-page="home"] .service-grid__cards .service-card.home-reveal:nth-of-type(n) {
    --service-stack-offset: 0rem;
    position: relative;
    top: auto;
    z-index: 1 !important;
    width: 100%;
    margin: 0;
    translate: none !important;
    box-shadow: none;
    scroll-margin-top: 6.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .service-grid__cards .service-card {
    translate: none !important;
  }
}
