/* ============================================
   Services Page Styles
   ============================================ */

/* ---- Service Row ---- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.service-row--reverse {
  direction: rtl;
}

.service-row--reverse > * {
  direction: ltr;
}

.service-row__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--gray-100);
  box-shadow: var(--shadow-lg);
  position: relative;
}


.service-row__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-row__image:hover img {
  transform: scale(1.03);
}

.service-row__content h3 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-md);
}

.service-row__content p {
  color: var(--gray-500);
  line-height: var(--lh-normal);
  margin-bottom: var(--space-lg);
}

.service-row__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.service-row__feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--gray-600);
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity var(--transition-reveal), transform var(--transition-reveal);
}

.is-visible .service-row__feature {
  opacity: 1;
  transform: translateX(0);
}

.is-visible .service-row__feature:nth-child(1) { transition-delay: 100ms; }
.is-visible .service-row__feature:nth-child(2) { transition-delay: 200ms; }
.is-visible .service-row__feature:nth-child(3) { transition-delay: 300ms; }
.is-visible .service-row__feature:nth-child(4) { transition-delay: 400ms; }

.service-row__feature svg {
  width: 20px;
  height: 20px;
  color: var(--white);
  background-color: var(--teal-600);
  border-radius: var(--radius-full);
  padding: 3px;
  flex-shrink: 0;
}

/* Service row label — pill style */
.service-row .section-label {
  border-left: none;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
  padding-top: var(--space-xs);
  padding-bottom: var(--space-xs);
  background: rgba(13, 155, 133, 0.08);
  border-radius: var(--radius-full);
}

/* ---- Why Choose Us ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  counter-reset: why-counter;
}

.why-grid .icon-card {
  position: relative;
  counter-increment: why-counter;
}

.why-grid .icon-card::before {
  content: counter(why-counter, decimal-leading-zero);
  position: absolute;
  top: var(--space-md);
  right: var(--space-lg);
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: var(--fw-bold);
  color: var(--navy-800);
  opacity: 0.04;
  line-height: 1;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .service-row--reverse {
    direction: ltr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }
}
