
.services-pill,
.services-hero-panel,
.seo-feature-card,
.services-tech-pill,
.services-final-cta,
.service-detail,
.service-row,
[data-animate] {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

.services-hero {
  padding-top: 6rem;
  padding-bottom: 4.5rem;
}

.services-hero .hero-title {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.services-hero .hero-subtitle {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.services-hero-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.services-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px; 
  padding: 1.2rem 2rem;
  box-shadow: var(--shadow-soft);
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  width: 150px;
  height: 150px;

  gap: 0.8rem;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.services-pill i {
  color: var(--accent-soft);
  font-size: 1.8rem;
}

@media (max-width: 576px) {
  .services-pill {
    white-space: normal;
  }
}

.services-hero-panel {
  position: relative;
  padding: 1.8rem 1.7rem 1.9rem;
}

.services-hero-panel h2 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.service-rows {
  max-width: 900px;
  margin: 0 auto;
}

.service-rows .service-row + .service-row {
  margin-top: 1.2rem;
}

.service-row {
  padding: 26px 24px;
}

.service-detail {
  margin-bottom: 3.5rem;
}

.service-detail:last-of-type {
  margin-bottom: 0;
}

.service-detail h2 {
  font-size: 1.8rem;
  margin-bottom: 0.7rem;
}

.service-media-panel img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);

  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.service-detail-alt {
  margin-top: 1.5rem;
}

.seo-feature-card {
  background: var(--bg-card-soft);
  padding: 1.5rem 1.3rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.seo-feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.seo-feature-card ul {
  margin-top: 0.6rem;
}

.services-tech-grid {
  margin-top: 1.2rem;
}

.services-tech-pill {
  background: var(--bg-card-soft);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-soft);
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.services-guarantees {
  padding: 1.8rem 1.7rem 1.8rem;
}

.services-final-cta {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2.3rem 1.9rem 2.1rem;
  text-align: center;
}

[data-animate] {
  opacity: 0;
  transform: translateY(14px) translateZ(0);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-animate].in-view {
  opacity: 1;
  transform: translateY(0) translateZ(0);
}

@media (max-width: 991.98px) {
  .services-hero {
    padding-top: 5.2rem;
  }

  .services-hero .hero-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {

  .services-hero-pills {
    flex-direction: column;
    gap: 1.4rem;
    width: 100%;
  }

  .services-pill {
    width: 100%;
    max-width: 100%;
    height: auto;

     border-radius: 12px; 
    padding: 1.2rem;

    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    gap: 1rem;
  }

  .services-pill i {
    font-size: 1.6rem;
  }
}
