.km-servicesSection{
  background: transparent;
  padding-bottom: 110px;
}

.km-servicesSection__head{
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.km-servicesSection__title{
  margin-bottom: 14px;
}

.km-servicesSection__desc{
  font-size: 1rem;
  line-height: 1.75;
  color: var(--km-text);
  max-width: 720px;
  margin: 0 auto;
}

.km-servicesGrid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.km-serviceCard{
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--km-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .06);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.km-serviceCard:hover{
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, .12);
  border-color: rgba(0,0,0,.08);
}

.km-serviceCard__media{
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  background: #f3f5f8;
  overflow: hidden;
}

.km-serviceCard__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.km-serviceCard:hover .km-serviceCard__media img{
  transform: scale(1.05);
}

.km-serviceCard__placeholder{
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eef2f7 0%, #dde5ef 100%);
}

.km-serviceCard__body{
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 22px;
}

.km-serviceCard__title{
  margin-bottom: 12px;
  font-size: clamp(1.15rem, 1.4vw, 1.45rem);
}

.km-serviceCard__title a{
  color: var(--km-secondary);
  text-decoration: none;
}

.km-serviceCard__title a:hover{
  color: var(--km-primary);
}

.km-serviceCard__desc{
  margin-bottom: 20px;
  color: var(--km-text);
  line-height: 1.75;
  font-size: .98rem;
}

.km-serviceCard__footer{
  margin-top: auto;
}

.km-serviceCard__btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  color: var(--km-primary);
  transition: gap .25s ease, color .25s ease;
}

.km-serviceCard__btn:hover{
  gap: 14px;
  color: var(--km-secondary);
}

@media (max-width: 991px){
  .km-servicesGrid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .km-servicesSection__head{
    margin-bottom: 34px;
  }
}

@media (max-width: 767px){
  .km-servicesGrid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .km-serviceCard{
    border-radius: 18px;
  }

  .km-serviceCard__body{
    padding: 20px 18px 18px;
  }

  .km-servicesSection__desc{
    font-size: .96rem;
    line-height: 1.7;
  }
}

@media (max-width: 991px){
  .km-servicesSection{
    padding-bottom: 88px;
  }
}

@media (max-width: 767px){
  .km-servicesSection{
    padding-bottom: 72px;
  }
}