.services-kinds {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 100px 20px;
  align-self: stretch;
  background: #E8E6D4;
}

.services-kinds__heading {
  align-self: stretch;
  color: #18383C;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  white-space: pre-line;
}

.services-kinds__heading span {
  display: block;
  color: var(--color-orange);
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-style: italic;
  font-weight: 500;
  line-height: normal;
  margin-top: 5px;
}

.services-kinds__wrapper {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.services-kinds__row {
  display: flex;
  gap: 10px;
  width: 100%;
  align-items: stretch;
}

.kinds-card {
  display: flex;
  width: 575px;
  padding: 20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  border-radius: 8px;
  border: 1px solid rgba(118, 130, 74, 0.60);
  background: rgba(118, 130, 74, 0.05);
  box-sizing: border-box;
}

/* Зеленая тема */
.kinds-card--green {
  background: var(--color-orange);
}

/* Карточка с изображением */
.kinds-card--image-only {
  flex: 1 0 0;
  align-self: stretch;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0;
  border: none;
}

/* Иконка */
.kinds-card__icon {
  display: flex;
  width: 30px;
  height: 30px;
  padding: 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  aspect-ratio: 1 / 1;
  border-radius: 100px;
  background: var(--color-orange);
}

/* Иконка на зеленой карточке — фон меняется на светлый */
.kinds-card--green .kinds-card__icon,
.kinds-card__icon--green {
  background: #E8E6D4;
}

/* SVG внутри иконки по умолчанию светлый */
.kinds-card__icon-inner svg {
  width: 100%;
  height: 100%;
  fill: #E8E6D4;
}

/* SVG на зеленой карточке — перекрашиваем в зеленый */
.kinds-card--green .kinds-card__icon-inner svg,
.kinds-card__icon-inner--green svg {
  fill: var(--color-orange) !important;
}

/* Порядковый номер, если иконки нет */
.kinds-card__number {
  color: #E8E6D4;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  line-height: normal;
}

/* Номер на зеленой карточке */
.kinds-card--green .kinds-card__number {
  color: var(--color-orange);
}

/* Название */
.kinds-card__name {
  align-self: stretch;
  color: #18383C;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-style: italic;
  font-weight: 600;
  line-height: normal;
}

/* Описание */
.kinds-card__desc {
  align-self: stretch;
  color: #18383C;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* Название и описание на зеленой карточке */
.kinds-card--green .kinds-card__name,
.kinds-card--green .kinds-card__desc {
  color: #E8E6D4;
}