/* Canonical Services Showcase — shared by Homepage and Services page. */
.cm-services-section{
  background:var(--cm-services-bg,#ecf2f8);
  padding-top:var(--cm-services-pt,72px);
  padding-bottom:var(--cm-services-pb,72px);
}
.cm-services-container{
  width:min(var(--cm-site-max-width),calc(100% - var(--cm-site-gutter-desktop)));
  margin:0 auto;
}
.cm-services-header{
  max-width:860px;
  margin:0 auto 34px;
  text-align:center;
}
.cm-services-header:empty{display:none}
.cm-services-label{
  display:block;
  margin:0 auto 10px;
  color:#5f6f82;
  font-size:24px;
  line-height:1.15;
  font-weight:700;
  letter-spacing:.01em;
  text-transform:none;
}
.cm-services-header h2{
  margin:0;
  color:#17212b;
  font-size:30px;
  line-height:1.18;
  font-weight:760;
  letter-spacing:-.02em;
  text-align:center;
}
.cm-services-header p{
  max-width:820px;
  margin:16px auto 0;
  color:#5e6a75;
  font-size:16px;
  line-height:1.7;
  text-align:center;
}
.cm-services-grid{
  display:grid;
  grid-template-columns:repeat(var(--cm-services-desktop,3),minmax(0,1fr));
  gap:22px;
}
.cm-service-card,
.cm-service-mobile-card{
  color:inherit;
  text-decoration:none;
}
.cm-service-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:300px;
  padding:26px;
  overflow:hidden;
  border:1px solid rgba(22,163,74,.12);
  border-radius:16px;
  background:#fff;
  box-shadow:0 9px 24px rgba(38,52,66,.06);
  transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;
}
.cm-service-card.is-linked{cursor:pointer}
.cm-service-card:hover,
.cm-service-card.is-linked:hover{
  transform:translateY(-8px);
  border-color:rgba(22,163,74,.28);
  box-shadow:0 18px 38px rgba(38,52,66,.12);
}
.cm-service-card:focus-visible,
.cm-service-mobile-card:focus-visible{
  outline:3px solid rgba(22,163,74,.25);
  outline-offset:3px;
}
.cm-service-card-top,
.cm-service-mobile-head{
  display:flex;
  align-items:center;
  gap:14px;
}
.cm-service-card-top{min-height:54px}
.cm-service-icon,
.cm-service-mobile-icon{
  display:grid;
  place-items:center;
  flex:0 0 auto;
  background:rgba(200,33,41,.07);
}
.cm-service-icon{
  width:52px;
  height:52px;
  border-radius:13px;
  transition:transform .28s ease,background-color .28s ease;
}
.cm-service-card:hover .cm-service-icon{
  transform:scale(1.08);
  background:rgba(200,33,41,.11);
}
.cm-service-icon-img{
  display:block;
  width:34px;
  height:34px;
  object-fit:contain;
}
.cm-service-icon-fallback{
  color:rgb(200,33,41);
  font-size:30px;
  line-height:1;
}
.cm-service-card h3{
  margin:0;
  color:#15202a;
  font-size:20px;
  line-height:1.25;
  font-weight:730;
}
.cm-service-description{
  margin:20px 0 0;
  color:#64717c;
  font-size:16px;
  line-height:1.7;
}
.cm-service-benefits,
.cm-service-mobile-benefits{
  padding:0;
  list-style:none;
}
.cm-service-benefits{
  display:grid;
  gap:10px;
  margin:22px 0 26px;
}
.cm-service-benefits li,
.cm-service-mobile-benefits li{
  display:flex;
  align-items:flex-start;
  gap:9px;
  color:#34414c;
}
.cm-service-benefits li{font-size:13px;line-height:1.45}
.cm-service-benefits li>span:first-child,
.cm-service-mobile-benefits li>span:first-child{
  flex:0 0 auto;
  color:#16a34a;
  font-weight:800;
}
.cm-service-accent{
  position:absolute;
  left:26px;
  right:26px;
  bottom:0;
  height:3px;
  border-radius:999px 999px 0 0;
  background:rgb(200,33,41);
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .32s ease;
}
.cm-service-card:hover .cm-service-accent{transform:scaleX(1)}
.cm-service-view-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  align-self:flex-end;
  margin-top:auto;
  margin-bottom:8px;
  padding:9px 16px;
  border:2px solid var(--cm-view-border,#16a34a);
  border-radius:999px;
  background:#fff;
  color:var(--cm-view-text,#15803d);
  font-size:14px;
  font-weight:650;
  line-height:1;
  transition:background-color .22s ease,color .22s ease,border-color .22s ease,transform .22s ease;
}
.cm-service-view-pill.is-bottom_left{align-self:flex-start}
.cm-service-view-pill.is-bottom_right{align-self:flex-end}
.cm-service-view-arrow{font-size:16px}
.cm-service-card.is-linked:hover .cm-service-view-pill,
.cm-service-card.is-linked:focus-visible .cm-service-view-pill,
.cm-service-mobile-card.is-linked:hover .cm-service-view-pill,
.cm-service-mobile-card.is-linked:focus-visible .cm-service-view-pill{
  background:var(--cm-view-hover-bg,#16a34a);
  border-color:var(--cm-view-hover-bg,#16a34a);
  color:var(--cm-view-hover-text,#fff);
}
.cm-services-mobile-carousel{display:none}

@media(max-width:1000px){
  .cm-services-grid{grid-template-columns:repeat(var(--cm-services-tablet,2),minmax(0,1fr))}
  .cm-service-card{min-height:285px;padding:23px}
  .cm-service-accent{left:23px;right:23px}
  .cm-services-label{font-size:22px}
  .cm-services-header h2{font-size:28px}
  .cm-service-card h3{font-size:19px}
}

@media(max-width:680px){
  .cm-services-section{
    padding-top:min(var(--cm-services-pt,72px),52px);
    padding-bottom:min(var(--cm-services-pb,72px),52px);
  }
  .cm-services-container{width:calc(100% - 22px)}
  .cm-services-header{margin-bottom:24px}
  .cm-services-label{font-size:20px;margin-bottom:9px}
  .cm-services-header h2{font-size:26px;line-height:1.18}
  .cm-services-header p{margin-top:14px;font-size:14px;line-height:1.6}
  .cm-services-grid{display:none}
  .cm-services-mobile-carousel{
    display:grid;
    grid-template-columns:1fr;
    gap:14px;
    width:min(100%,calc(100vw - 32px));
    margin-inline:auto;
  }
  .cm-services-mobile-group{
    width:100%;
    min-width:0;
  }
  .cm-services-mobile-viewport{
    overflow:hidden;
    width:100%;
    border-radius:18px;
    touch-action:pan-y;
    transition:height .28s ease;
  }
  .cm-services-mobile-track{
    display:flex;
    align-items:flex-start;
    width:100%;
    transform:translate3d(0,0,0);
    will-change:transform;
  }
  .cm-service-mobile-card{
    box-sizing:border-box;
    flex:0 0 100%;
    width:100%;
    min-width:100%;
    display:flex;
    flex-direction:column;
    min-height:0;
    padding:16px;
    gap:10px;
    border:1px solid rgba(22,163,74,.14);
    border-radius:16px;
    background:rgba(255,255,255,.94);
    box-shadow:0 10px 28px rgba(38,52,66,.08);
  }
  .cm-service-mobile-head{gap:12px}
  .cm-service-mobile-icon{
    width:46px;
    height:46px;
    flex-basis:46px;
    border-radius:11px;
  }
  .cm-service-mobile-icon .cm-service-icon-img{width:31px;height:31px}
  .cm-service-mobile-head strong{
    margin:0;
    color:#17212b;
    font-size:17px;
    line-height:1.25;
  }
  .cm-service-mobile-card>small{
    display:block;
    margin:0;
    color:#66737f;
    font-size:13px;
    line-height:1.5;
  }
  .cm-service-mobile-benefits{
    display:grid;
    gap:6px;
    margin:2px 0 0;
  }
  .cm-service-mobile-benefits li{font-size:12px;line-height:1.38}
  .cm-service-view-pill-mobile{
    margin-top:6px;
    margin-bottom:0;
    padding:6px 11px;
    font-size:var(--cm-view-mobile-size,10px);
  }
  .cm-services-mobile-dots{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    margin:7px 0 0;
    min-height:12px;
  }
  .cm-services-mobile-dot{
    width:7px;
    height:7px;
    padding:0;
    border:0;
    border-radius:999px;
    background:#b8c4d1;
    cursor:pointer;
    transition:width .2s ease,background-color .2s ease,transform .2s ease;
  }
  .cm-services-mobile-dot.is-active{
    width:20px;
    background:#1677e8;
  }
  .cm-services-mobile-dot:focus-visible{
    outline:2px solid #1677e8;
    outline-offset:3px;
  }
}

@media(prefers-reduced-motion:reduce){
  .cm-service-card,.cm-service-icon,.cm-service-accent,.cm-service-view-pill,.cm-services-mobile-track,.cm-services-mobile-dot{transition:none}
  .cm-service-card:hover,.cm-service-card:hover .cm-service-icon{transform:none}
}

/* Homepage keeps its approved compact vertical rhythm. */
@media(min-width:1001px){
  .home .cm-services-section{padding-top:38px;padding-bottom:42px}
}
@media(min-width:681px) and (max-width:1000px){
  .home .cm-services-section{padding-top:34px;padding-bottom:38px}
}
@media(max-width:680px){
  .home .cm-services-section{padding-top:28px;padding-bottom:32px}
}
