.home-how {
  padding: 48px 0 56px;
  background: #eef3f7;
}

.home-how__title {
  margin: 0 0 24px;
  color: #32c4d6;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.home-how__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.home-how__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 22px 20px;
  background: #ffffff;
  border: 1px solid #e4e8ef;
  border-radius: 13px;
  box-shadow: 0 10px 13px 0 rgba(0, 0, 0, 0.1);
}

.home-how__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.home-how__num {
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #32c4d6;
  color: #ffffff;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.home-how__card-title {
  margin: 0;
  color: #111111;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.home-how__card-text {
  margin: 0 0 16px;
  color: #2b2d38;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.home-how__tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.home-how__tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 10px 6px 8px;
  background: #ffffff;
  border: 1px solid #e4e8ef;
  border-radius: 13px;
}

.home-how__tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #2b2d38;
}

.home-how__tile-icon svg {
  display: block;
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
}

.home-how__tile-label {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  color: #111111;
  font-family: "Roboto", sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 100%;
}

.home-how__ops {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.home-how__op {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 10px;
  background: #f7f9fb;
  border-radius: 10px;
}

.home-how__op-avatar {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.home-how__op-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}

.home-how__op-name {
  overflow: hidden;
  color: #111111;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-how__op-city {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #2b2d38;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}

.home-how__op-city svg {
  flex-shrink: 0;
}

.home-how__profile-demo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 10px;
  background: #f7f9fb;
  border-radius: 10px;
}

.home-how__profile-demo .home-how__op {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  background: transparent;
}

.home-how__profil {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid #888887;
  border-radius: 40px;
  color: #2b2d38;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .home-how {
    padding: 32px 0 40px;
  }

  .home-how__cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-how__card {
    padding: 18px 16px 16px;
  }

  .home-how__tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-how__tile-label {
    font-size: 10px;
  }
}

@media (max-width: 640px) {
  .home-how__tiles {
    grid-template-columns: 1fr 1fr;
  }
}
