/* ======================================================== */
/* 3_services: MATCHING SCREENSHOT EXACTLY                  */
/* ======================================================== */

.ecoproject-services-section {
  background: #f4f5f7;
  padding: 80px 0;
  position: relative;

  --srv-green: #419b52;
  --srv-green-hover: #358343;
  --srv-card-bg: #ffffff;
  --srv-text-dark: #222222;
  --srv-text-muted: #666666;
  --srv-border: #e5e7eb;
  --srv-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --srv-transition: all 0.3s ease;
  scroll-margin-top: 80px !important;
}

.ecoproject-services-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

.ecoproject-services-header {
  text-align: center;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ecoproject-services-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--srv-text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 12px 0;
}

.title-underline {
  width: 80px;
  height: 4px;
  background-color: var(--srv-green);
  border-radius: 2px;
}

.ecoproject-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ecoproject-service-card {
  background: var(--srv-card-bg);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: var(--srv-transition);
}

.ecoproject-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.ecoproject-service-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e2e8f0;
}

.ecoproject-service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--srv-transition);
}

.ecoproject-service-card:hover .ecoproject-service-img-wrap img {
  transform: scale(1.04);
}

.ecoproject-service-content {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
  align-items: center;
}

.ecoproject-service-name {
  font-size: 13px;
  font-weight: 800;
  color: #2b2b2b;
  text-transform: uppercase;
  margin: 0 0 14px 0;
  line-height: 1.35;
  letter-spacing: 0.2px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ecoproject-service-desc {
  font-size: 12px;
  color: var(--srv-text-muted);
  line-height: 1.5;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.ecoproject-service-action {
  width: 100%;
  margin-top: auto;
}

.ecoproject-service-phone-btn {
  display: inline-block;
  background-color: var(--srv-green);
  color: #ffffff !important;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  transition: var(--srv-transition);
  width: 70%;
  max-width: 180px;
}

.ecoproject-service-phone-btn:hover {
  background-color: var(--srv-green-hover);
  transform: translateY(-1px);
}

@media (max-width: 1199px) {
  .ecoproject-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .ecoproject-services-grid {
    grid-template-columns: 1fr;
  }
}
