.services-page {
  width: min(calc(100% - (2 * var(--page-gutter))), var(--content-width));
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 88px);
}
.services-intro {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.services-kicker {
  margin: 0 0 14px;
  color: #d9f43d;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.services-title {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 6vw, 68px);
  letter-spacing: -.065em;
  line-height: .96;
}
.services-copy {
  max-width: 560px;
  margin: clamp(18px, 2.5vw, 24px) 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.65;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.service-card {
  position: relative;
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: #171e19;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.service-card:hover,
.service-card:focus-within {
  border-color: rgba(217, 244, 61, .7);
  transform: translateY(-3px);
}
.service-number {
  display: block;
  margin-bottom: clamp(16px, 2vw, 24px);
  color: #d9f43d;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
}
.service-detail {
  margin: 0;
  max-height: calc(1.65em * 3);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
  line-height: 1.65;
}
.service-card-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d9f43d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.service-card-more::after {
  content: '↓';
  font-size: 14px;
}
.service-card.is-expanded .service-detail {
  max-height: none;
  -webkit-line-clamp: unset;
  overflow: visible;
  display: block;
}
.service-card.is-expanded .service-card-more::after {
  content: '↑';
}
.services-cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(48px, 7vw, 80px);
  padding: clamp(30px, 5vw, 54px);
  border-radius: 8px;
  background: #d9f43d;
  color: #111;
}
.services-cta .services-kicker {
  margin-bottom: 12px;
  color: #3f4800;
}
.services-cta h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 58px);
  letter-spacing: -.06em;
  line-height: .96;
}
.services-cta a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 20px;
  border: 1px solid #111;
  border-radius: 999px;
  color: #111;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}
@media (max-width: 820px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-card {
    min-height: 220px;
    padding: 24px;
  }
  .service-number {
    margin-bottom: clamp(16px, 2vw, 24px);
  }
  .services-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 600px) {
  .services-page {
    width: min(calc(100% - (2 * var(--page-gutter))), var(--content-width));
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .services-cta a {
    width: 100%;
    justify-content: center;
  }
}

.service-card-more[hidden] { display: none; }

/* Uniform service card sizing — compact, responsive, no oversized bottom space. */
.service-card {
  box-sizing: border-box;
  height: 190px;
  min-height: 190px;
  max-height: 190px;
  overflow: hidden;
}

@media (max-width: 820px) {
  .service-card {
    height: 180px;
    min-height: 180px;
    max-height: 180px;
  }
}

@media (max-width: 600px) {
  .service-card {
    height: 175px;
    min-height: 175px;
    max-height: 175px;
    padding: 20px;
  }
}
