.services-section {
  padding: 60px 0;
  background: #fbf7f0;
}

.services-section .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-heading {
  font-family: 'Cormorant Garamond', serif;
  color: #0b5a2c;
  font-size: 36px;
  margin: 0 0 8px;
}

.section-sub {
  color: #6b6b6b;
  margin: 0 0 32px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.card {
  background: #faf8f4;
  border-radius: 6px;
  padding: 34px 28px;
  box-shadow: 0 1px 0 rgba(9, 90, 44, 0.04);
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 46px;
  height: 46px;
}

.card-title {
  color: #0b5a2c;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  margin: 0 0 12px;
}

.card-desc {
  color: #8b8b8b;
  flex: 1;
  line-height: 1.7;
}

.card hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 20px 0;
}

.card-foot {
  color: #2b8a25;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
}

/* ---------------------------------------------------------------------------
   Standalone services page layout (2-column grid to match home design)
   ------------------------------------------------------------------------ */
.services .services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 0 auto;
}

.services .service-card {
  background: #faf8f4;
  border-radius: 6px;
  padding: 24px;
  box-shadow: 0 1px 0 rgba(9, 90, 44, 0.04);
  display: flex;
  flex-direction: column;
  min-height: 260px;
  position: relative;
  overflow: hidden;
  transition: background 0.35s;
}

.services .service-card .service-icon {
  font-size: 28px;
  margin-bottom: 14px;
  background: var(--forest);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.services .service-card h3 {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--forest);
}

.services .service-card p {
  color: #6b6b6b;
  flex: 1;
  margin-bottom: 12px;
  font-size: 0.92rem;
  line-height: 1.75;
  font-weight: 300;
}

/* Hover underline + background/icon transitions (match home page behavior) */
.services .service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--fern));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.services .service-card:hover::before {
  transform: scaleX(1);
}

.services .service-card:hover {
  background: var(--parchment);
}

.services .service-card:hover .service-icon {
  background: var(--moss);
}

/* Responsive adjustments */
@media (max-width: 980px) {
  .services .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .service-cards {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: unset;
  }
}

/* Remove the cream/beige background on the standalone services page so cards sit on white */
.services {
  background: transparent !important;
}

.services .services-grid {
  background: transparent !important;
}
