.services-page {
  background: #f7f9fb;
}

.services-hero {
  position: relative;
  min-height: 300px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.services-hero__bg {
  position: absolute;
  inset: 0;
}

.services-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(12, 32, 10, 0.92) 0%, rgba(35, 72, 20, 0.88) 50%, rgba(55, 95, 32, 0.82) 100%);
}

.services-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 40px 0;
}

.services-hero__content h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 12px;
  color: #ffffff;
}

.services-hero__content p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.94);
}

.services-list {
  padding: 42px 0 64px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  background: #fff;
  border: 1px solid #e2e6e3;
  border-radius: 12px;
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(13, 35, 19, 0.08);
}

.service-card__image {
  display: block;
  border-radius: 10px;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: transform .3s ease;
}

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

.service-card h2 {
  font-size: 1.05rem;
  margin: 12px 0 8px;
  color: #1f2822;
  min-height: 44px;
}

.service-card p {
  margin: 0 0 12px;
  color: #5c625f;
  font-size: .95rem;
  line-height: 1.5;
  flex: 1;
}

.service-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  background: #8bc34a;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  transition: background .2s ease;
}

.service-card__btn:hover {
  background: #8bc34a;
  filter: brightness(0.94);
}

.services-seo-content {
  padding: 0 0 72px;
}

.services-seo-content .container {
  width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.services-seo-scroll {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  height: 300px !important;
  max-height: 300px !important;
  overflow-y: auto !important;
  background: #ffffff;
  border: 1px solid #dfe5df;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(14, 34, 18, 0.06);
}

.services-seo-scroll h2 {
  font-size: 1.35rem;
  line-height: 1.4;
  margin: 20px 0 10px;
  color: #8bc34a;
}

.services-seo-scroll h2:first-child {
  margin-top: 0;
}

.services-seo-scroll p {
  margin: 0 0 16px;
  color: #2f3a33;
  line-height: 1.78;
  font-size: 1rem;
}

.services-seo-scroll a {
  color: #8bc34a;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1200px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .services-seo-scroll {
    height: 250px !important;
    max-height: 250px !important;
    padding: 18px;
  }

  .services-seo-scroll h2 {
    font-size: 1.15rem;
  }
}
