/* Readable service overview: a shared layout for Home and Services. */
.services {
  display: block;
}
.services .section-intro {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 38px;
}
.services-heading .eyebrow {
  font-size: 12px;
  margin-bottom: 20px;
}
.services-heading h2 {
  font-size: clamp(36px, 3.8vw, 50px);
  line-height: 1.15;
  max-width: 550px;
}
.services-lead p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
  max-width: 540px;
}
.services-lead .text-link {
  font-size: 15px;
  margin-top: 18px;
  min-height: 44px;
}
.services .service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  border: 0;
}
.service-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid #d5dbd1;
  background: #fffefa;
  min-width: 0;
}
.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 25px;
}
.service-card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: #edf0e8;
  color: var(--ink);
}
.service-card-icon svg {
  width: 33px;
  height: 33px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.service-card-number {
  color: #626d63;
  font-size: 13px;
}
.service-card h3 {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -.025em;
  margin-bottom: 13px;
}
.service-card > p {
  font-size: 17px;
  line-height: 1.7;
  color: #4c5b52;
  margin-bottom: 27px;
}
.service-card-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 16px 0 0;
  border-top: 1px solid #d5dbd1;
  margin-top: auto;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
.service-card-cta > span:last-child {
  font-size: 24px;
  transition: transform .2s;
}
.service-card-cta:hover > span:last-child {
  transform: translate(3px, -3px);
}
.service-card-cta:hover > span:first-child {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.service-card-featured {
  background: var(--ink);
  border-color: var(--ink);
  color: #fffef7;
}
.service-card-featured .service-card-icon {
  background: #3b5547;
  color: #f4f1df;
}
.service-card-tag {
  color: #e2e8d7;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-align: right;
}
.service-card-featured > p {
  color: #e0e6dd;
}
.service-card-featured .service-card-cta {
  border-color: #658071;
  color: #fffef7;
}
.service-card-featured .service-card-cta:focus-visible {
  outline-color: #f5dfb2;
}
html[lang=zh-CN] .service-card h3 {
  line-height: 1.4;
}
html[lang=zh-CN] .service-card-tag {
  font-size: 12px;
}
@media (max-width: 1100px) {
  .services .section-intro {gap: 40px;}
  .service-card {padding: 24px;}
  .service-card-tag {max-width: 125px;}
}
@media (max-width: 980px) {
  .services .service-list {grid-template-columns: repeat(2, minmax(0, 1fr));}
  .services .section-intro {align-items: start; gap: 30px;}
  .services-lead p {font-size: 17px;}
  .service-card-tag {max-width: none;}
}
@media (max-width: 640px) {
  .services .section-intro {grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px;}
  .services-heading h2, html[lang=zh-CN] .services-heading h2 {font-size: 34px;}
  .services-heading .eyebrow {font-size: 11px; margin-bottom: 15px;}
  .services-lead p {font-size: 17px;}
  .services-lead .text-link {font-size: 14px; margin-top: 12px;}
  .services .service-list {grid-template-columns: 1fr; gap: 16px;}
  .service-card {padding: 25px;}
  .service-card-top {margin-bottom: 20px;}
  .service-card h3 {font-size: 24px;}
  .service-card > p {font-size: 17px; margin-bottom: 22px;}
  .service-card-cta {font-size: 15px;}
  .service-card-tag {font-size: 11px;}
}
