/*
 * Canonical reusable centered/text-only Hero presentation.
 * Shared by Services overview, FAQ and Client Stories variants.
 * Layout geometry and typography are owned here; page-specific modules may
 * add narrowly scoped presentation differences without redefining the base.
 */
.cm-home-hero.cm-hero-layout-service_text_only{
  background:var(--cm-body,#ECF2F8);
  background-image:none;
}
.cm-home-hero.cm-hero-layout-service_text_only::before{display:none}
.cm-home-hero.cm-hero-layout-service_text_only .cm-home-hero-overlay{display:none}
.cm-hero-layout-service_text_only .cm-home-hero-inner{
  box-sizing:border-box;
  width:min(var(--cm-site-max-width),calc(100% - var(--cm-nonhome-hero-gutter)));
  max-width:var(--cm-site-max-width);
  margin:0 auto;
  display:block;
  min-height:0;
  padding-top:var(--cm-nonhome-hero-pad-y,20px);
  padding-bottom:var(--cm-nonhome-hero-pad-y,20px);
  text-align:center;
}
.cm-home-hero.cm-hero-layout-service_text_only .cm-home-hero-copy{
  width:100%;
  max-width:none;
  margin:0 auto;
  text-align:center;
}
.cm-hero-layout-service_text_only .cm-home-hero-promise{
  display:block;
  margin:0 auto 12px;
  color:#5f6f82;
  font-size:24px;
  line-height:1.15;
  font-weight:700;
  letter-spacing:.01em;
  text-align:center;
  text-transform:none;
}
.cm-home-hero.cm-hero-layout-service_text_only .cm-home-hero-title{
  width:100%;
  max-width:none;
  margin:0 auto;
  color:var(--cm-heading,#1b2733);
  font-size:clamp(34px,3vw,var(--cm-h1-desktop,48px));
  line-height:1.08;
  letter-spacing:-.036em;
  text-align:center;
  white-space:normal;
  overflow:visible;
}
.cm-home-hero.cm-hero-layout-service_text_only .cm-home-hero-description{
  max-width:900px;
  margin:22px auto 0;
  color:rgba(38,52,66,.82);
  font-size:var(--cm-desc-desktop,17px);
  line-height:1.65;
  text-align:center;
}
.cm-home-hero.cm-hero-layout-service_text_only .cm-home-hero-benefits{
  display:grid;
  grid-template-columns:repeat(3,max-content);
  align-items:center;
  justify-content:center;
  column-gap:38px;
  row-gap:0;
  width:100%;
  margin:28px auto 0;
  padding:0;
  list-style:none;
}
.cm-hero-layout-service_text_only .cm-home-hero-benefits li{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-width:0;
  margin:0;
  padding:0;
  border:0;
  color:var(--cm-heading,#1b2733);
  font-size:15px;
  line-height:1.45;
  white-space:nowrap;
}
.cm-hero-layout-service_text_only .cm-home-hero-benefits li>span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  flex:0 0 22px;
  border-radius:50%;
  color:#17854d;
  background:#eaf7ef;
  font-size:13px;
  font-weight:900;
}
.cm-hero-layout-service_text_only .cm-home-hero-benefits strong{font-weight:700}

/* Optional centered-Hero background media. */
.cm-home-hero.cm-hero-layout-service_text_only.cm-has-bg-image{background-image:none}
.cm-home-hero.cm-hero-layout-service_text_only.cm-has-bg-image .cm-home-hero-inner{
  position:relative;
  isolation:isolate;
  background-image:none;
}
.cm-home-hero.cm-hero-layout-service_text_only.cm-has-bg-image .cm-home-hero-inner::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  opacity:var(--cm-service-bg-opacity,.70);
  background-image:var(--cm-service-bg-image);
  background-position:var(--cm-service-bg-position,center center);
  background-size:var(--cm-service-bg-size,cover);
  background-repeat:no-repeat;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 var(--cm-service-edge-blend,12%),#000 calc(100% - var(--cm-service-edge-blend,12%)),transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 var(--cm-service-edge-blend,12%),#000 calc(100% - var(--cm-service-edge-blend,12%)),transparent 100%);
}
.cm-home-hero.cm-hero-layout-service_text_only.cm-has-bg-image .cm-home-hero-copy{position:relative;z-index:2}

@media (min-width:681px) and (max-width:1000px){
  .cm-hero-layout-service_text_only .cm-home-hero-promise{font-size:22px;margin-bottom:11px}
  .cm-home-hero.cm-hero-layout-service_text_only .cm-home-hero-title{
    width:100%;
    max-width:none;
    font-size:var(--cm-h1-tablet,42px);
    white-space:normal;
  }
  .cm-home-hero.cm-hero-layout-service_text_only .cm-home-hero-benefits{
    grid-template-columns:repeat(3,max-content);
    column-gap:24px;
  }
}

@media(max-width:760px){
  .cm-home-hero.cm-hero-layout-service_text_only .cm-home-hero-benefits{
    grid-template-columns:1fr;
    justify-items:center;
    row-gap:12px;
  }
}

@media(max-width:680px){
  .cm-hero-layout-service_text_only .cm-home-hero-promise{
    font-size:20px;
    margin-bottom:10px;
  }
  .cm-home-hero.cm-hero-layout-service_text_only .cm-home-hero-title{
    width:100%;
    max-width:none;
    letter-spacing:-.028em;
    text-wrap:balance;
    white-space:normal;
    overflow:visible;
    overflow-wrap:normal;
    word-break:normal;
  }
  .cm-home-hero.cm-hero-layout-service_text_only .cm-home-hero-description{
    margin-top:18px;
  }
  .cm-home-hero.cm-hero-layout-service_text_only .cm-home-hero-benefits{
    grid-template-columns:1fr;
    justify-items:center;
    row-gap:7px;
    margin-top:18px;
  }
  .cm-hero-layout-service_text_only .cm-home-hero-benefits li{
    gap:7px;
    line-height:1.35;
    white-space:normal;
    text-align:center;
  }
  .cm-hero-layout-service_text_only .cm-home-hero-benefits li>span{
    width:20px;
    height:20px;
    flex-basis:20px;
    font-size:12px;
  }
}

/* Services overview mobile: centered title, left description, and a compact 2 + 1 benefit grid. */
@media(max-width:680px){
  .cm-home-hero.cm-hero-layout-service_text_only.cm-hero-system-services_page_overview_hero .cm-home-hero-copy{
    max-width:none;
    margin:0;
    text-align:left;
  }
  .cm-home-hero.cm-hero-layout-service_text_only.cm-hero-system-services_page_overview_hero .cm-home-hero-promise{
    width:100%;
    margin:0 0 10px;
    text-align:center;
  }
  .cm-home-hero.cm-hero-layout-service_text_only.cm-hero-system-services_page_overview_hero .cm-home-hero-title{
    max-width:none;
    margin-left:0;
    margin-right:0;
    text-align:center;
  }
  .cm-home-hero.cm-hero-layout-service_text_only.cm-hero-system-services_page_overview_hero .cm-home-hero-title>span{
    display:block;
    white-space:nowrap;
  }
  .cm-home-hero.cm-hero-layout-service_text_only.cm-hero-system-services_page_overview_hero .cm-home-hero-description{
    max-width:none;
    margin-left:0;
    margin-right:0;
    text-align:left;
  }
  .cm-home-hero.cm-hero-layout-service_text_only.cm-hero-system-services_page_overview_hero .cm-home-hero-benefits{
    display:grid;
    grid-template-columns:max-content max-content;
    align-items:start;
    justify-content:start;
    column-gap:14px;
    row-gap:7px;
    width:100%;
    max-width:none;
    margin-left:0;
    margin-right:0;
    text-align:left;
  }
  .cm-home-hero.cm-hero-layout-service_text_only.cm-hero-system-services_page_overview_hero .cm-home-hero-benefits li{
    display:flex;
    width:auto;
    min-width:0;
    align-items:flex-start;
    justify-content:flex-start;
    gap:7px;
    white-space:nowrap;
    text-align:left;
  }
  .cm-home-hero.cm-hero-layout-service_text_only.cm-hero-system-services_page_overview_hero .cm-home-hero-benefits li>span{
    width:20px;
    height:20px;
    flex:0 0 20px;
    border:1px solid #b9e4ca;
    border-radius:50%;
    background:#eaf7ef;
    color:#17854d;
  }
  .cm-home-hero.cm-hero-layout-service_text_only.cm-hero-system-services_page_overview_hero .cm-home-hero-benefits strong{
    color:#344257;
  }
}
