.kst-wrap {
  width: 100%;
}

.kst-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.kst-tab {
  appearance: none;
  border: 1px solid rgba(0,0,0,0.08);
  background: #ffffff;
  color: #2b2b2b;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease;
}

.kst-tab.is-active {
  background: #5b5678;
  color: #ffffff;
  border-color: rgba(0,0,0,0);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.kst-grid {
  display: grid;
  gap: 26px;
}

.kst-cols-1 { grid-template-columns: 1fr; }
.kst-cols-2 { grid-template-columns: repeat(2, 1fr); }
.kst-cols-3 { grid-template-columns: repeat(3, 1fr); }
.kst-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
  .kst-cols-3, .kst-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .kst-cols-2, .kst-cols-3, .kst-cols-4 { grid-template-columns: 1fr; }
}

.kst-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.14);
  border: 1px solid rgba(0,0,0,0.06);
  transform: translateY(0);
  transition: transform 260ms ease, box-shadow 260ms ease;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.kst-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.18);
}

.kst-card-top {
  background: #5b5678;
  min-height: 155px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kst-icon {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.kst-icon i {
  font-size: 40px;
  color: rgba(255,255,255,0.92);
  line-height: 1;
}

.kst-card-top-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.kst-card-top-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(91,86,120,0.75), rgba(91,86,120,0.35));
}

.kst-card-body {
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.kst-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.kst-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  color: #2c2c2c;
}

.kst-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(91,86,120,0.12);
  color: #5b5678;
  white-space: nowrap;
}

.kst-desc p {
  margin: 0;
  color: rgba(0,0,0,0.68);
  line-height: 1.6;
}

.kst-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(0,0,0,0.72);
}

.kst-list li {
  margin: 8px 0;
}

.kst-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 12px;
}

.kst-link {
  text-decoration: none;
  font-weight: 700;
  color: rgba(0,0,0,0.62);
}

.kst-link:hover {
  color: #2c2c2c;
}

.kst-btn {
  text-decoration: none;
  background: #5b5678;
  color: #ffffff;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.kst-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.kst-table-wrap {
  width: 100%;
}

.kst-table {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  background: #ffffff;
}

.kst-thead {
  display: grid;
  grid-template-columns: 2.2fr 1.1fr 1.2fr 1.6fr 1fr;
  background: #5b5678;
  color: #ffffff;
  font-weight: 800;
}

.kst-th {
  padding: 26px 24px;
  font-size: 20px;
}

.kst-th-action {
  text-align: center;
}

.kst-tr {
  display: grid;
  grid-template-columns: 2.2fr 1.1fr 1.2fr 1.6fr 1fr;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,0.10);
}

.kst-td {
  padding: 26px 24px;
  color: rgba(0,0,0,0.72);
  font-size: 20px;
}

.kst-servicecell {
  display: flex;
  align-items: center;
  gap: 16px;
}

.kst-svc-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5b5678;
}

.kst-svc-icon i {
  font-size: 28px;
  line-height: 1;
}

.kst-svc-title {
  font-weight: 900;
  color: #5b5678;
  font-size: 26px;
  line-height: 1.1;
}

.kst-svc-sub {
  margin-top: 6px;
  color: rgba(0,0,0,0.58);
  font-size: 18px;
  font-weight: 600;
}

.kst-price {
  font-weight: 900;
  color: #5b5678;
  font-size: 26px;
}

.kst-td-action {
  text-align: center;
}

@media (max-width: 980px) {
  .kst-thead {
    display: none;
  }

  .kst-tr {
    grid-template-columns: 1fr;
  }

  .kst-td {
    padding: 18px 18px;
    border-top: 1px solid rgba(0,0,0,0.08);
  }

  .kst-td:first-child {
    border-top: none;
  }

  .kst-td-action {
    text-align: left;
  }
}