/*
 * Services section — three journey-based cards on a soft cream background.
 * Anne's annotation #2: only ONE "Find Out More" CTA below the grid, no
 * repetitive Learn More on each card.
 */

.services {
  background: var(--bg-soft);
  padding-block: var(--section-py);
}

.services__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--sp-8);
}
.services__eyebrow { margin-bottom: var(--sp-3); }
.services__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-3);
}
.services__lede {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-green) 0%, var(--color-sage) 100%);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: rgba(79, 126, 74, 0.2);
}
.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(79, 126, 74, 0.10), rgba(196, 215, 155, 0.18));
  color: var(--color-green-dark);
  display: grid;
  place-items: center;
  margin-bottom: var(--sp-5);
}
.service-card__icon svg { width: 28px; height: 28px; }

.service-card__tagline {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: var(--sp-2);
}

.service-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-charcoal);
  margin-bottom: var(--sp-3);
}

.service-card__body {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.services__cta {
  display: flex;
  justify-content: center;
  margin-top: var(--sp-7);
}

@media (min-width: 700px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
  }
}
@media (min-width: 1100px) {
  .services__grid { gap: var(--sp-6); }
}
