.cg-services-section {
  padding:60px 4.5% 85px;
  background:#fff;
  color:#071d3b
}

.cg-section-top {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:30px;
  margin-bottom:26px
}

.cg-section-top .eyebrow {
  font-size:12px;
  color:#0759ff;
  letter-spacing:.16em;
  font-weight:800
}

.cg-section-top h2 {
  font-size:clamp(30px,2.7vw,44px);
  letter-spacing:-.045em;
  line-height:1.12;
  margin:12px 0 0
}

.cg-section-top>a {
  font-size:13px;
  color:#0759ff;
  font-weight:750;
  white-space:nowrap
}

.cg-cards {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:15px
}

.cg-service {
  background:white;
  border:1px solid #dce5f0;
  border-radius:9px;
  overflow:hidden;
  box-shadow:0 10px 28px #0b25420a;
  transition:transform .2s,box-shadow .2s
}

.cg-service:hover {
  transform:translateY(-5px);
  box-shadow:0 16px 35px #0b25421b
}

.cg-service>img {
  display:block;
  width:100%;
  height:145px;
  object-fit:cover
}

.cg-service-body {
  padding:19px;
  min-height:248px;
  display:flex;
  flex-direction:column
}

.cg-glyph {
  font-size:28px;
  color:#0759ff;
  line-height:1;
  margin-bottom:12px
}

.cg-service h3 {
  font-size:17px;
  line-height:1.28;
  letter-spacing:-.03em;
  margin:0 0 12px;
  font-weight:750;
  color:#071d3b
}

.cg-service p {
  font-size:13px;
  line-height:1.65;
  color:#627593;
  margin:0 0 15px
}

.cg-service-body>a {
  margin-top:auto;
  font-size:24px;
  color:#08274f
}

@media(max-width:1250px) {
  .cg-cards {
    grid-template-columns:repeat(3,1fr)
  }
  .cg-service>img {
    height:190px
  }
  .cg-service-body {
    min-height:210px
  }
  
}

@media(max-width:800px) {
  .cg-cards {
    grid-template-columns:repeat(2,1fr)
  }
  
}

@media(max-width:560px) {
  .cg-services-section {
    padding:45px 20px 65px
  }
  .cg-section-top {
    align-items:start;
    flex-direction:column;
    gap:14px
  }
  .cg-cards {
    grid-template-columns:1fr
  }
  .cg-service>img {
    height:200px
  }
  .cg-service-body {
    min-height:190px
  }
  
}

@media(prefers-reduced-motion:reduce) {
  .cg-service {
    transition:none
  }
  
}
