/* Services page specific styles */
.services-page .site-header {
  top: 30px;
}

.services-heading {
  background: var(--pale);
  padding: 190px 0 49px;
  text-align: center;
}

.services-heading h1 {
  font-size: 2.875rem;
  line-height: 1.6;
  color: var(--green);
}

.services-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  margin-top: 10px;
}

.section-intro {
  text-align: center;
  margin-bottom: 50px;
}

.section-intro p {
  margin-top: 14px;
}

.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-detail-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 25px #153b2306;
  transition: transform .2s, box-shadow .2s;
}

.service-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 35px #153b2315;
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--pale);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.service-icon-box img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.service-card-header h2 {
  font-size: 1.3rem;
  color: var(--green);
}

.service-detail-card p {
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 18px;
}

.service-points {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  border-top: 1px solid #edf2e9;
  padding-top: 16px;
  flex: 1;
}

.service-points li {
  position: relative;
  padding-right: 18px;
  font-size: 0.875rem;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 8px;
}

.service-points li:before {
  content: '';
  position: absolute;
  right: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--leaf);
}

.service-action-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--leaf);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s, gap .2s;
}

.service-action-link:hover {
  color: var(--green);
  gap: 10px;
}

.services-features {
  background: #f7faf4;
  padding: 70px 0;
  border-block: 1px solid var(--line);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.feature-item {
  text-align: center;
}

.feature-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--leaf);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.85;
}

.feature-item h3 {
  font-size: 1.15rem;
  color: var(--green);
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted);
}

.services-cta-section {
  padding-block: 50px 80px;
}

.services-cta-box {
  background: linear-gradient(135deg, #0c5240 0%, #16392e 100%);
  color: #fff;
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
}

.services-cta-box h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #fff;
}

.services-cta-box p {
  font-size: 1.05rem;
  color: #d4e3dc;
  margin-bottom: 28px;
}

.services-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.services-cta-btn {
  min-height: 52px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  white-space: normal;
  border-radius: 40px;
}

@media (max-width: 960px) {
  .services-heading {
    padding-top: 172px;
    padding-bottom: 40px;
  }
  .services-detail-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .services-page .site-header {
    top: 16px;
  }
  .services-heading {
    padding-top: 140px;
    padding-bottom: 34px;
  }
  .services-heading h1 {
    font-size: 1.875rem;
  }
  .services-detail-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .services-cta-box {
    padding: 36px 20px 40px;
  }
  .services-cta-box h2 {
    font-size: 1.55rem;
    line-height: 1.5;
  }
  .services-cta-box p {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }
  .services-cta-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 330px;
    margin: 0 auto;
  }
  .services-cta-btn {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 0.88rem;
  }
}
