.service-header-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.service-catalog-note{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:18px;
  padding:22px 24px;
}

.service-catalog-note h2{
  margin:5px 0 6px;
}

.service-catalog-note p{
  margin:0;
  color:var(--muted,#64748b);
}

.service-catalog-note>strong{
  display:grid;
  place-items:center;
  min-width:68px;
  height:68px;
  border-radius:22px;
  background:#f0edff;
  color:#6552e8;
  font-size:26px;
}

.service-catalog-kicker,
.service-group-heading span{
  color:#6d5dfc;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
}

.service-category-tabs{
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding:2px 2px 14px;
  scrollbar-width:thin;
}

.service-category-tab{
  border:1px solid #e2e6ef;
  background:#fff;
  color:#334155;
  border-radius:999px;
  padding:10px 14px;
  font:inherit;
  font-weight:700;
  white-space:nowrap;
  cursor:pointer;
}

.service-category-tab span{
  display:inline-grid;
  place-items:center;
  min-width:24px;
  height:24px;
  margin-left:6px;
  padding:0 7px;
  border-radius:999px;
  background:#f3f4f8;
  color:#64748b;
  font-size:12px;
}

.service-category-tab.active{
  background:#6552e8;
  border-color:#6552e8;
  color:#fff;
  box-shadow:0 10px 22px rgba(101,82,232,.18);
}

.service-category-tab.active span{
  background:rgba(255,255,255,.18);
  color:#fff;
}

.service-groups{
  display:grid;
  gap:18px;
}

.service-group{
  padding:0;
  overflow:hidden;
}

.service-group-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:22px 24px 18px;
  border-bottom:1px solid #edf0f5;
}

.service-group-heading h2{
  margin:4px 0 0;
}

.service-group-heading>strong{
  display:grid;
  place-items:center;
  min-width:42px;
  height:42px;
  padding:0 12px;
  border-radius:14px;
  background:#f0edff;
  color:#6552e8;
  font-size:18px;
}

.service-list{
  display:grid;
}

.service-item{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:center;
  padding:20px 24px;
  border-bottom:1px solid #edf0f5;
}

.service-item:last-child{
  border-bottom:0;
}

.service-item-title{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.service-item-title h3{
  margin:0;
  font-size:17px;
}

.service-item-title>span{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  background:#f3f4f8;
  color:#64748b;
  font-size:12px;
  font-weight:700;
}

.service-item-main p{
  max-width:820px;
  margin:8px 0 0;
  color:#64748b;
  line-height:1.55;
  font-size:14px;
}

.service-item-price{
  min-width:140px;
  text-align:right;
}

.service-item-price small{
  display:block;
  color:#8b5cf6;
  font-weight:800;
  letter-spacing:.1em;
  font-size:10px;
}

.service-item-price>strong{
  display:block;
  margin:3px 0 8px;
  font-size:19px;
}

.service-item-price .badge{
  display:inline-flex;
}

.field textarea{
  width:100%;
  border:1px solid #dfe4ec;
  border-radius:12px;
  padding:12px 14px;
  font:inherit;
  resize:vertical;
  min-height:96px;
  background:#fff;
}

.field textarea:focus{
  outline:2px solid rgba(109,93,252,.18);
  border-color:#6d5dfc;
}

.service-from-field{
  display:flex;
  align-items:flex-end;
}

.service-from-field label{
  display:flex;
  align-items:center;
  gap:9px;
  min-height:44px;
  font-weight:700;
}

.service-from-field input{
  width:18px;
  height:18px;
}

@media (max-width:760px){
  .service-catalog-note{
    align-items:flex-start;
    padding:18px;
  }

  .service-catalog-note>strong{
    min-width:54px;
    height:54px;
    border-radius:17px;
    font-size:21px;
  }

  .service-group-heading{
    padding:18px;
  }

  .service-item{
    grid-template-columns:1fr;
    gap:14px;
    padding:18px;
  }

  .service-item-price{
    min-width:0;
    text-align:left;
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
  }

  .service-item-price small{
    width:100%;
  }

  .service-item-price>strong{
    margin:0;
  }

  .service-header-actions{
    width:100%;
  }

  .service-header-actions .secondary-btn,
  .service-header-actions .primary-btn{
    flex:1;
  }
}
