/* Quiet, consistent practice-area cards with room for bilingual copy. */
#services .services-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-auto-rows:1fr;
  gap:22px;
  max-width:1140px;
  margin-inline:auto;
  border:0;
  background:transparent;
}
#services .service-card{
  position:relative;
  display:flex;
  flex-direction:column;
  grid-column:auto;
  align-items:flex-start;
  gap:22px;
  min-width:0;
  min-height:294px;
  padding:30px 28px;
  border:1px solid #e0e5e4;
  border-radius:18px;
  background:#fff;
  box-shadow:0 5px 20px rgba(16,37,51,.035);
  transition:border-color .2s,box-shadow .2s;
}
#services .service-card::after{
  content:"";
  position:absolute;
  top:42px;
  right:28px;
  width:34px;
  height:2px;
  border-radius:2px;
  background:#cfb27f;
}
#services .service-icon{
  --paper:#f6efe3;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  width:58px;
  height:58px;
  margin:0;
  padding:11px;
  border:1px solid #eee2cc;
  border-radius:16px;
  background:var(--paper);
  color:#ae874a;
}
#services .service-copy{width:100%}
#services .service-copy > h3{
  margin:0 0 12px;
  color:#132d3c;
  font-size:1.25rem;
  font-weight:600;
  line-height:1.5;
  letter-spacing:0;
  overflow-wrap:anywhere;
  text-wrap:pretty;
}
#services .service-copy > p{margin:0;color:#536570;font-size:1rem;line-height:1.85;overflow-wrap:anywhere}
html:lang(en) #services .service-copy > h3{min-height:3em}
@media(hover:hover){
  #services .service-card:hover{border-color:#cbb17f;box-shadow:0 10px 28px rgba(16,37,51,.07)}
}
@media(max-width:1040px){
  #services .services-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
}
@media(max-width:600px){
  #services .services-grid{grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;gap:16px}
  #services .service-card{gap:18px;min-height:0;padding:24px;border-radius:16px}
  #services .service-card::after{top:36px;right:24px}
  #services .service-icon{width:54px;height:54px;padding:10px;border-radius:14px}
  #services .service-copy > h3{margin-bottom:10px;min-height:0}
  html:lang(en) #services .service-copy > h3{min-height:0}
}
@media(prefers-reduced-motion:reduce){
  #services .service-card{transition:none}
}
